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

Limit rubocop to known working platforms #2376

Merged
merged 1 commit into from
Jan 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
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