Skip to content

Commit 304b48e

Browse files
committed
Run RuboCop on all Ruby versions >= 2
1 parent 36df8e5 commit 304b48e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Gemfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ group :test do
1313
gem 'addressable', '~> 2.3.8'
1414
gem 'backports'
1515
gem 'coveralls'
16-
gem 'mime-types', '~> 1.25', :platforms => [:jruby_18, :ruby_18]
1716
gem 'rack', '~> 1.2', :platforms => [:jruby_18, :jruby_19, :ruby_18, :ruby_19, :ruby_20, :ruby_21]
18-
gem 'rest-client', '~> 1.6.0', :platforms => [:jruby_18, :ruby_18]
1917
gem 'rspec', '>= 3'
20-
gem 'rubocop', '>= 0.37', :platforms => [:ruby_20, :ruby_21]
18+
gem 'rubocop', '>= 0.37', :platforms => [:ruby_20, :ruby_21, :ruby_22, :ruby_23]
2119
gem 'simplecov', '>= 0.9'
2220
gem 'yardstick'
2321

22+
platforms :jruby_18, :ruby_18 do
23+
gem 'mime-types', '~> 1.25'
24+
gem 'rest-client', '~> 1.6.0'
25+
end
26+
2427
platforms :ruby_18, :ruby_19 do
2528
gem 'json', '< 2.0'
2629
gem 'term-ansicolor', '< 1.4.0'

0 commit comments

Comments
 (0)