File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,21 @@ group :tests do
12
12
gem 'license_finder' if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( '2.4.0' )
13
13
gem 'rake' , '~> 10.0'
14
14
gem 'rspec' , '~> 3.0'
15
- gem 'rubocop-rspec'
16
15
# rubocop 0.58 throws when testing against ruby 2.1, so pin to the latest,
17
16
# unless we're dealing with jruby...
18
17
if RUBY_PLATFORM == 'java'
18
+ # load any rubocop version that works on java for the Rakefile
19
19
gem 'rubocop'
20
- else
20
+ elsif Gem :: Version . new ( RUBY_VERSION ) < Gem :: Version . new ( '2.2.0' )
21
21
gem 'rubocop' , '0.57.2'
22
+ # the last version of parallel to support ruby 2.1
23
+ gem 'parallel' , '1.13.0'
24
+ gem 'rubocop-rspec'
25
+ else
26
+ # 2.1-compatible analysis was dropped after version 0.58
27
+ # This needs to be removed once we drop puppet4 support.
28
+ gem 'rubocop' , '~> 0.57.0'
29
+ gem 'rubocop-rspec'
22
30
end
23
31
gem 'simplecov-console'
24
32
# the test gems required for module testing
You can’t perform that action at this time.
0 commit comments