config/default.yml in rubocop-rails-2.11.3 vs config/default.yml in rubocop-rails-2.12.0

- old
+ new

@@ -179,16 +179,18 @@ - postgresql Include: - db/migrate/*.rb Rails/ContentTag: - Description: 'Use `tag` instead of `content_tag`.' + Description: 'Use `tag.something` instead of `tag(:something)`.' Reference: + - 'https://github.com/rubocop/rubocop-rails/issues/260' - 'https://github.com/rails/rails/issues/25195' - 'https://api.rubyonrails.org/classes/ActionView/Helpers/TagHelper.html#method-i-content_tag' Enabled: true VersionAdded: '2.6' + VersionChanged: '2.12' Rails/CreateTableWithTimestamps: Description: >- Checks the migration for which timestamps are not included when creating a new table. @@ -497,10 +499,11 @@ VersionAdded: '2.8' Rails/Output: Description: 'Checks for calls to puts, print, etc.' Enabled: true + SafeAutoCorrect: false VersionAdded: '0.15' VersionChanged: '0.19' Include: - app/**/*.rb - config/**/*.rb @@ -605,10 +608,18 @@ Rails/RedundantReceiverInWithOptions: Description: 'Checks for redundant receiver in `with_options`.' Enabled: true VersionAdded: '0.52' +Rails/RedundantTravelBack: + Description: This cop checks for redundant `travel_back` calls. + Enabled: pending + VersionAdded: '2.12' + Include: + - spec/**/*.rb + - test/**/*.rb + Rails/ReflectionClassName: Description: 'Use a string for `class_name` option value in the definition of a reflection.' Enabled: true Safe: false VersionAdded: '0.64' @@ -711,9 +722,10 @@ Rails/ScopeArgs: Description: 'Checks the arguments of ActiveRecord scopes.' Enabled: true VersionAdded: '0.19' + VersionChanged: '2.12' Include: - app/models/**/*.rb Rails/ShortI18n: Description: 'Use the short form of the I18n methods: `t` instead of `translate` and `l` instead of `localize`.'