Skip to content

Commit 6d41f64

Browse files
committed
pin rubocop for rails
1 parent e8e6857 commit 6d41f64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,10 @@ if RUBY_VERSION <= '1.8.7'
6060
gem 'rubyzip', '< 1.0'
6161
end
6262

63-
unless RUBY_VERSION >= '2.4.0'
63+
if RUBY_VERSION >= '2.0.0' && RUBY_VERSION < '2.2.0'
6464
# our current rubocop version doesnt support the json version required by Ruby 2.4
65-
gem 'rubocop', "~> 0.23.0", :platform => [:ruby_20, :ruby_21]
65+
# our rails rubocop setup only supports 2.0 and 2.1
66+
gem 'rubocop', "~> 0.23.0"
6667
end
6768

6869
custom_gemfile = File.expand_path("../Gemfile-custom", __FILE__)

0 commit comments

Comments
 (0)