1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Bring in Rails cops using rubocop-rails

After installing Rubocop 0.71, I received this warning:

    Rails cops will be removed from RuboCop 0.72. Use the `rubocop-rails` gem instead.

This commit follows these instructions.

[ci skip]
This commit is contained in:
Elliot Winkler 2019-06-07 21:57:40 -06:00
parent 53c4618fa2
commit 002f15b6c7
3 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,4 @@
require: rubocop-rails
AllCops:
TargetRubyVersion: 2.4
Layout/AlignParameters:

View file

@ -7,6 +7,7 @@ gem 'pry-byebug'
gem 'rake', '12.3.2'
gem 'rspec', '~> 3.6'
gem 'rubocop', require: false
gem 'rubocop-rails', require: false
gem 'zeus', require: false
# YARD

View file

@ -24,6 +24,7 @@ GEM
pry (~> 0.10)
pygments.rb (1.1.1)
multi_json (>= 1.0.0)
rack (2.0.7)
rainbow (3.0.0)
rake (12.3.2)
redcarpet (3.4.0)
@ -40,13 +41,16 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.6.0)
rspec-support (3.6.0)
rubocop (0.70.0)
rubocop (0.71.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.6)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.7)
rubocop-rails (2.0.0)
rack (>= 2.0)
rubocop (>= 0.70.0)
ruby-progressbar (1.10.1)
thor (0.20.0)
unicode-display_width (1.6.0)
@ -68,6 +72,7 @@ DEPENDENCIES
redcarpet
rspec (~> 3.6)
rubocop
rubocop-rails
yard
zeus