.rubocop_todo.yml in gris-0.6.1 vs .rubocop_todo.yml in gris-0.6.2
- old
+ new
@@ -1,78 +1,79 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2016-01-23 12:59:28 -0500 using RuboCop version 0.34.2.
+# on 2016-03-02 19:30:50 -0500 using RuboCop version 0.37.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
+# SupportedStyles: keyword, variable, start_of_line
Lint/EndAlignment:
Enabled: false
-# Offense count: 2
-Lint/NestedMethodDefinition:
- Exclude:
- - 'lib/gris/output_formatters/paginated_presenter.rb'
-
-# Offense count: 5
+# Offense count: 4
Metrics/AbcSize:
- Max: 38
+ Max: 37
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
- Max: 112
+ Max: 115
# Offense count: 3
Metrics/CyclomaticComplexity:
Max: 11
# Offense count: 81
-# Configuration parameters: AllowURI, URISchemes.
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
+# URISchemes: http, https
Metrics/LineLength:
Max: 159
-# Offense count: 11
+# Offense count: 12
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 32
# Offense count: 16
# Cop supports --auto-correct.
-# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep.
+# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep, IndentationWidth.
+# SupportedStyles: case, end
Style/CaseIndentation:
Enabled: false
-# Offense count: 22
-# Configuration parameters: Exclude.
+# Offense count: 21
Style/Documentation:
Enabled: false
# Offense count: 2
Style/DoubleNegation:
Exclude:
- 'lib/gris/generators/migration_generator.rb'
- 'lib/gris/output_formatters/presenter_link_helpers.rb'
# Offense count: 2
-# Configuration parameters: NamePrefix, NamePrefixBlacklist.
+# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
+# NamePrefix: is_, has_, have_
+# NamePrefixBlacklist: is_, has_, have_
+# NameWhitelist: is_a?
Style/PredicateName:
Exclude:
- 'lib/gris/generators/migration_generator.rb'
-# Offense count: 1
+# Offense count: 2
# Cop supports --auto-correct.
-# Configuration parameters: MultiSpaceAllowedForOperators.
+# Configuration parameters: AllowForAlignment.
Style/SpaceAroundOperators:
Exclude:
- 'gris.gemspec'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
+# Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
Style/TrivialAccessors:
Exclude:
- 'lib/gris/generators/migration_generator.rb'