Skip to content

Commit 04fb677

Browse files
committed
(maint) update Gemfile to allow use of non-vulnerable rake version 12.3.3
1 parent 23eee56 commit 04fb677

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ gemspec
77

88
group :tests do
99
gem 'codecov'
10-
gem 'rake', '~> 10.0'
1110
gem 'rspec', '~> 3.0'
1211
# rubocop 0.58 throws when testing against ruby 2.1, so pin to the latest,
1312
# unless we're dealing with jruby...
1413
if RUBY_PLATFORM == 'java'
14+
# load a rake version that works on java
15+
gem 'rake', '~> 10.0'
1516
# load a rubocop version that works on java for the Rakefile
1617
gem 'parser', '2.3.3.1'
1718
gem 'rubocop', '0.41.2'
@@ -23,6 +24,8 @@ group :tests do
2324
gem 'parallel', '1.13.0'
2425
gem 'rubocop-rspec'
2526
else
27+
# the rake everyone else should be using
28+
gem 'rake', '~> 12.3'
2629
# 2.1-compatible analysis was dropped after version 0.58
2730
# This needs to be removed once we drop puppet4 support.
2831
gem 'rubocop', '~> 0.57.0'

0 commit comments

Comments
 (0)