config/upstream.yml in cookstyle-7.10.1 vs config/upstream.yml in cookstyle-7.11.1
- old
+ new
@@ -128,19 +128,19 @@
# value to "true".
AllowSymlinksInCacheRootDirectory: false
# What MRI version of the Ruby interpreter is the inspected code intended to
# run on? (If there is more than one, set this to the lowest version.)
# If a value is specified for TargetRubyVersion then it is used. Acceptable
- # values are specificed as a float (i.e. 2.5); the teeny version of Ruby
+ # values are specificed as a float (i.e. 3.0); the teeny version of Ruby
# should not be included. If the project specifies a Ruby version in the
# .tool-versions or .ruby-version files, Gemfile or gems.rb file, RuboCop will
# try to determine the desired version of Ruby by inspecting the
# .tool-versions file first, then .ruby-version, followed by the Gemfile.lock
# or gems.locked file. (Although the Ruby version is specified in the Gemfile
# or gems.rb file, RuboCop reads the final value from the lock file.) If the
# Ruby version is still unresolved, RuboCop will use the oldest officially
- # supported Ruby version (currently Ruby 2.4).
+ # supported Ruby version (currently Ruby 2.5).
TargetRubyVersion: ~
# Determines if a notification for extension libraries should be shown when
# rubocop is run. Keys are the name of the extension, and values are an array
# of gems in the Gemfile that the extension is suggested for, if not already
# included.
@@ -172,10 +172,24 @@
- '**/Gemfile'
- '**/gems.rb'
IgnoredGems: []
OnlyFor: []
+Bundler/GemVersion:
+ Description: 'Requires or forbids specifying gem versions.'
+ Enabled: false
+ VersionAdded: '1.14'
+ EnforcedStyle: 'required'
+ SupportedStyles:
+ - 'required'
+ - 'forbidden'
+ Include:
+ - '**/*.gemfile'
+ - '**/Gemfile'
+ - '**/gems.rb'
+ AllowedGems: []
+
Bundler/InsecureProtocolSource:
Description: >-
The source `:gemcutter`, `:rubygems` and `:rubyforge` are deprecated
because HTTP requests are insecure. Please change your source to
'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
@@ -1099,15 +1113,28 @@
- with_fixed_indentation
# By default, the indentation width from Layout/IndentationWidth is used
# But it can be overridden by setting this parameter
IndentationWidth: ~
+Layout/RedundantLineBreak:
+ Description: >-
+ Do not break up an expression into multiple lines when it fits
+ on a single line.
+ Enabled: false
+ InspectBlocks: false
+ VersionAdded: '1.13'
+
Layout/RescueEnsureAlignment:
Description: 'Align rescues and ensures correctly.'
Enabled: true
VersionAdded: '0.49'
+Layout/SingleLineBlockChain:
+ Description: 'Put method call on a separate line if chained to a single line block.'
+ Enabled: false
+ VersionAdded: '1.14'
+
Layout/SpaceAfterColon:
Description: 'Use spaces after colons.'
StyleGuide: '#spaces-operators'
Enabled: true
VersionAdded: '0.49'
@@ -1378,9 +1405,11 @@
Checks for ambiguous block association with method when param passed without
parentheses.
StyleGuide: '#syntax'
Enabled: true
VersionAdded: '0.48'
+ VersionChanged: '1.13'
+ IgnoredMethods: []
Lint/AmbiguousOperator:
Description: >-
Checks for ambiguous operators in the first argument of a
method invocation without parentheses.