Skip to content

Commit

Permalink
Merge pull request #1177 from rspec/update-rake
Browse files Browse the repository at this point in the history
Update rake dependency to avoid security warning
  • Loading branch information
JonRowe committed Apr 7, 2020
2 parents fb97fc0 + 2a4025b commit adf41cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ branch = File.read(File.expand_path("../maintenance-branch", __FILE__)).chomp
end
end

if RUBY_VERSION < '1.9.3'
gem 'rake', '< 11.0.0' # rake 11 requires Ruby 1.9.3 or later
elsif RUBY_VERSION < '2.0.0'
gem 'rake', '< 12.0.0' # rake 12 requires Ruby 2.0.0 or later
else
gem 'rake', '> 12.3.2'
end

gem 'coderay' # for syntax highlighting
gem 'yard', '~> 0.9.24', :require => false

Expand Down
2 changes: 1 addition & 1 deletion rspec-expectations.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "aruba", "~> 0.14.10"
s.add_development_dependency 'cucumber', '~> 1.3'
s.add_development_dependency 'minitest', '~> 5.2'
s.add_development_dependency 'rake', '~> 10.0.0'
s.add_development_dependency 'rake', '> 10.0.0'
end

0 comments on commit adf41cc

Please sign in to comment.