Skip to content

Commit

Permalink
Update rubocop to 0.85.1, enable pending cops
Browse files Browse the repository at this point in the history
  • Loading branch information
aried3r authored and jaredbeck committed Jun 15, 2020
1 parent 1a08ba1 commit fa8b1b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .rubocop.yml
Expand Up @@ -15,6 +15,9 @@ AllCops:
- gemfiles/vendor/bundle/**/* # This dir only shows up on travis ¯\_(ツ)_/¯
- spec/dummy_app/db/schema.rb # Generated, out of our control

# Enable pending cops so we can adopt the code before they are switched on.
NewCops: enable

# Set to lowest supported version
TargetRubyVersion: 2.4

Expand Down
2 changes: 1 addition & 1 deletion paper_trail.gemspec
Expand Up @@ -44,7 +44,7 @@ has been destroyed.
s.add_development_dependency "paper_trail-association_tracking", "~> 2.0.0"
s.add_development_dependency "rake", "~> 13.0"
s.add_development_dependency "rspec-rails", "~> 4.0"
s.add_development_dependency "rubocop", "~> 0.82.0"
s.add_development_dependency "rubocop", "~> 0.85.1"
s.add_development_dependency "rubocop-performance", "~> 1.4"
s.add_development_dependency "rubocop-rspec", "~> 1.35"

Expand Down
1 change: 1 addition & 0 deletions spec/dummy_app/app/models/song.rb
Expand Up @@ -34,6 +34,7 @@ def length
attribute :name, :string
else
attr_accessor :name

prepend OverrideSongAttributesTheRails4Way
end
end

0 comments on commit fa8b1b2

Please sign in to comment.