Skip to content

Commit

Permalink
Merge pull request #2376 from rspec/limit_rubocop
Browse files Browse the repository at this point in the history
Limit rubocop to known working platforms
  • Loading branch information
JonRowe committed Jan 27, 2017
2 parents fed8a62 + dbc7bb8 commit 88c05a9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Gemfile
Expand Up @@ -40,14 +40,8 @@ end

gem 'simplecov', '~> 0.8'

# There is no platform :ruby_193 and Rubocop only supports >= 1.9.3
unless RUBY_VERSION == "1.9.2"
platforms = [:ruby_19, :ruby_20, :ruby_21, :ruby_22]
# There is no platform :ruby_23 on JRuby currently.
platforms << :ruby_23 if Bundler::Dependency::PLATFORM_MAP[:ruby_23]
gem "rubocop",
"~> 0.32.1",
:platform => platforms
if RUBY_VERSION >= '1.9.3' && RUBY_VERSION < '2.4.0'
gem "rubocop", "~> 0.32.1"
end

gem 'test-unit', '~> 3.0' if RUBY_VERSION.to_f >= 2.2
Expand Down

0 comments on commit 88c05a9

Please sign in to comment.