config/upstream.yml in cookstyle-7.7.2 vs config/upstream.yml in cookstyle-7.8.0

- old
+ new

@@ -201,10 +201,17 @@ - '**/Gemfile' - '**/gems.rb' #################### Gemspec ############################### +Gemspec/DateAssignment: + Description: 'Checks that `date =` is not used in gemspec file, it is set automatically when the gem is packaged.' + Enabled: pending + VersionAdded: '1.10' + Include: + - '**/*.gemspec' + Gemspec/DuplicatedAssignment: Description: 'An attribute assignment method calls should be listed only once in a gemspec.' Enabled: true VersionAdded: '0.52' Include: @@ -1444,27 +1451,35 @@ Lint/Debugger: Description: 'Check for debugger calls.' Enabled: true VersionAdded: '0.14' - VersionChanged: '0.49' - DebuggerReceivers: - - binding - - Kernel - - Pry + VersionChanged: '1.10' + DebuggerReceivers: [] # deprecated DebuggerMethods: - - debugger - - byebug - - remote_byebug - - pry - - remote_pry - - pry_remote - - console - - rescue - - save_and_open_page - - save_and_open_screenshot - - irb + # Groups are available so that a specific group can be disabled in + # a user's configuration, but are otherwise not significant. + Kernel: + - binding.irb + Byebug: + - byebug + - remote_byebug + - Kernel.byebug + - Kernel.remote_byebug + Capybara: + - save_and_open_page + - save_and_open_screenshot + Pry: + - binding.pry + - binding.remote_pry + - binding.pry_remote + - Pry.rescue + Rails: + - debugger + - Kernel.debugger + WebConsole: + - binding.console Lint/DeprecatedClassMethods: Description: 'Check for deprecated class method calls.' Enabled: true VersionAdded: '0.19' @@ -3085,10 +3100,12 @@ Description: >- Check that class- and module constants have visibility declarations. Enabled: false VersionAdded: '0.66' + VersionChanged: '1.10' + IgnoreModules: false # Checks that you have put a copyright in a comment before any code. # # You can override the default Notice in your .rubocop.yml file. # @@ -3422,9 +3439,14 @@ VersionAdded: '0.88' EnforcedStyle: braces SupportedStyles: - braces - no_braces + +Style/HashConversion: + Description: 'Avoid Hash[] in favor of ary.to_h or literal hashes.' + Enabled: pending + VersionAdded: '1.10' Style/HashEachMethods: Description: 'Use Hash#each_key and Hash#each_value.' StyleGuide: '#hash-each' Enabled: true