Skip to content

Commit 7222bc7

Browse files
committed
pin rubocop for rails
1 parent ace2f2b commit 7222bc7

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
@@ -57,9 +57,10 @@ if RUBY_VERSION <= '1.8.7'
5757
gem 'rubyzip', '< 1.0'
5858
end
5959

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

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

0 commit comments

Comments
 (0)