Skip to content

Commit

Permalink
Move to latest RSpec; release v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Apr 22, 2024
1 parent d6d8ef8 commit 3d1be34
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 2.0.2 / 2024-04-22

* Upgrade RSpec to latest, fixeses a Ruby 2.5 install problem

## 2.0.1 / 2024-04-02

* Add MFA to gemspec
Expand Down
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
source 'https://rubygems.org'

# 3.2 workaround for RSpec 2.99, see https://bugs.ruby-lang.org/issues/17391
def File.exists?(f)exist?(f)end unless defined? File.exists?

gemspec
3 changes: 1 addition & 2 deletions lib/ruby_engine.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

module RubyEngine
VERSION = '2.0.1'
VERSION = '2.0.2'

@interpreter = RUBY_ENGINE.to_s

Expand Down Expand Up @@ -40,4 +40,3 @@ def truffleruby?
end
end

# J-_-L
4 changes: 2 additions & 2 deletions ruby_engine.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ['lib']
gem.metadata = { "rubygems_mfa_required" => "true" }

gem.add_development_dependency 'rake', '~> 13.0'
gem.add_development_dependency 'rspec', '~> 2.99'
gem.add_development_dependency 'rake', '~> 13.2'
gem.add_development_dependency 'rspec', '~> 3.13'
gem.add_development_dependency 'rubygems-tasks', '~> 0.2'
end
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
require 'rspec'
require 'ruby_engine'

RSpec.configure do |config|
config.expect_with(:rspec) { |c| c.syntax = :should }
end

0 comments on commit 3d1be34

Please sign in to comment.