common_rubocop_rails.yml in radius-spec-0.5.0 vs common_rubocop_rails.yml in radius-spec-0.6.0

- old
+ new

@@ -25,10 +25,12 @@ Documentation: Enabled: false Metrics/BlockLength: Exclude: + - 'bin/setup' + - 'bin/update' - 'config/routes.rb' - 'spec/rails_helper.rb' # Rails foreign keys and indexes can get long. We want to ignore our annotation # comments which are for these entries. @@ -218,20 +220,16 @@ # # - http://api.rubyonrails.org/classes/ActiveRecord/CounterCache/ClassMethods.html # - http://api.rubyonrails.org/classes/ActiveRecord/Persistence.html # - http://api.rubyonrails.org/classes/ActiveRecord/Relation.html # +# Configuration parameters: Blacklist, Whitelist. # Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters Rails/SkipsModelValidations: - Blacklist: - - 'decrement_counter' - - 'increment_counter' - - 'toggle!' - - 'update_all' - - 'update_attribute' - - 'update_column' - - 'update_columns' - - 'update_counters' + Whitelist: + - 'decrement!' + - 'increment!' + - 'touch' # Rails uses compact style by default so we're disabling this with a :hammer: # for things likely to be generated by Rails (i.e. most things in app). # # Configuration parameters: AutoCorrect, EnforcedStyle.