config/upstream.yml in cookstyle-7.21.0 vs config/upstream.yml in cookstyle-7.22.3

- old
+ new

@@ -172,10 +172,24 @@ - '**/Gemfile' - '**/gems.rb' IgnoredGems: [] OnlyFor: [] +Bundler/GemFilename: + Description: 'Enforces the filename for managing gems.' + Enabled: true + VersionAdded: '1.20' + EnforcedStyle: 'Gemfile' + SupportedStyles: + - 'Gemfile' + - 'gems.rb' + Include: + - '**/Gemfile' + - '**/gems.rb' + - '**/Gemfile.lock' + - '**/gems.locked' + Bundler/GemVersion: Description: 'Requires or forbids specifying gem versions.' Enabled: false VersionAdded: '1.14' EnforcedStyle: 'required' @@ -1517,18 +1531,25 @@ - Kernel.byebug - Kernel.remote_byebug Capybara: - save_and_open_page - save_and_open_screenshot + debug.rb: + - binding.b + - binding.break + - Kernel.binding.b + - Kernel.binding.break Pry: - binding.pry - binding.remote_pry - binding.pry_remote - Pry.rescue Rails: - debugger - Kernel.debugger + RubyJard: + - jard WebConsole: - binding.console Lint/DeprecatedClassMethods: Description: 'Check for deprecated class method calls.' @@ -3147,11 +3168,11 @@ Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE). StyleGuide: '#annotate-keywords' Enabled: true VersionAdded: '0.10' - VersionChanged: '1.3' + VersionChanged: '1.20' Keywords: - TODO - FIXME - OPTIMIZE - HACK @@ -4690,11 +4711,12 @@ Style/StructInheritance: Description: 'Checks for inheritance from Struct.new.' StyleGuide: '#no-extend-struct-new' Enabled: true + SafeAutoCorrect: false VersionAdded: '0.29' - VersionChanged: '0.86' + VersionChanged: '1.20' Style/SwapValues: Description: 'This cop enforces the use of shorthand-style swapping of 2 variables.' StyleGuide: '#values-swapping' Enabled: pending