Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 2155868

Browse files
committed
Update rake dependency to avoid security warning
1 parent 63c03e5 commit 2155868

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ branch = File.read(File.expand_path("../maintenance-branch", __FILE__)).chomp
1313
end
1414
end
1515

16+
if RUBY_VERSION < '1.9.3'
17+
gem 'rake', '< 11.0.0' # rake 11 requires Ruby 1.9.3 or later
18+
elsif RUBY_VERSION < '2.0.0'
19+
gem 'rake', '< 12.0.0' # rake 12 requires Ruby 2.0.0 or later
20+
else
21+
gem 'rake', '>= 12.3.2'
22+
end
23+
1624
### dep for ci/coverage
1725
gem 'simplecov', '~> 0.8'
1826

rspec-support.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ Gem::Specification.new do |spec|
3535

3636
spec.required_ruby_version = '>= 1.8.7'
3737

38-
spec.add_development_dependency "rake", "~> 10.0.0"
38+
spec.add_development_dependency "rake", "> 10.0.0"
3939
spec.add_development_dependency "thread_order", "~> 1.1.0"
4040
end

0 commit comments

Comments
 (0)