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

Commit 88c05a9

Browse files
authored
Merge pull request #2376 from rspec/limit_rubocop
Limit rubocop to known working platforms
2 parents fed8a62 + dbc7bb8 commit 88c05a9

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Gemfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,8 @@ end
4040

4141
gem 'simplecov', '~> 0.8'
4242

43-
# There is no platform :ruby_193 and Rubocop only supports >= 1.9.3
44-
unless RUBY_VERSION == "1.9.2"
45-
platforms = [:ruby_19, :ruby_20, :ruby_21, :ruby_22]
46-
# There is no platform :ruby_23 on JRuby currently.
47-
platforms << :ruby_23 if Bundler::Dependency::PLATFORM_MAP[:ruby_23]
48-
gem "rubocop",
49-
"~> 0.32.1",
50-
:platform => platforms
43+
if RUBY_VERSION >= '1.9.3' && RUBY_VERSION < '2.4.0'
44+
gem "rubocop", "~> 0.32.1"
5145
end
5246

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

0 commit comments

Comments
 (0)