.rubocop_todo.yml in http-2-0.8.2 vs .rubocop_todo.yml in http-2-0.8.3
- old
+ new
@@ -1,35 +1,37 @@
-# This configuration was generated by `rubocop --auto-gen-config`
-# on 2015-04-06 10:04:21 -0700 using RuboCop version 0.30.0.
+# This configuration was generated by
+# `rubocop --auto-gen-config`
+# on 2016-06-09 10:57:54 -0400 using RuboCop version 0.40.0.
# 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: 23
+# Offense count: 24
Metrics/AbcSize:
- Max: 186
+ Max: 185
# Offense count: 16
Metrics/BlockNesting:
Max: 5
-# Offense count: 7
+# Offense count: 5
# Configuration parameters: CountComments.
Metrics/ClassLength:
- Max: 331
+ Max: 325
# Offense count: 12
Metrics/CyclomaticComplexity:
Max: 60
-# Offense count: 349
-# Configuration parameters: AllowURI, URISchemes.
+# Offense count: 9
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
+# URISchemes: http, https
Metrics/LineLength:
- Max: 231
+ Max: 108
-# Offense count: 27
+# Offense count: 29
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 134
# Offense count: 1
@@ -39,8 +41,79 @@
# Offense count: 10
Metrics/PerceivedComplexity:
Max: 46
-# Offense count: 7
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: MaxKeyValuePairs.
+Performance/RedundantMerge:
+ Exclude:
+ - 'lib/http/2/server.rb'
+
+# Offense count: 4
Style/Documentation:
- Enabled: false
+ Exclude:
+ - 'spec/**/*'
+ - 'test/**/*'
+ - 'example/helper.rb'
+ - 'example/upgrade_server.rb'
+ - 'lib/tasks/generate_huffman_table.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/EmptyCaseCondition:
+ Exclude:
+ - 'example/upgrade_server.rb'
+
+# Offense count: 1
+# Configuration parameters: MinBodyLength.
+Style/GuardClause:
+ Exclude:
+ - 'lib/http/2/connection.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: SupportedStyles, IndentationWidth.
+# SupportedStyles: special_inside_parentheses, consistent, align_brackets
+Style/IndentArray:
+ EnforcedStyle: consistent
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+# SupportedStyles: symmetrical, new_line, same_line
+Style/MultilineArrayBraceLayout:
+ Exclude:
+ - 'spec/compressor_spec.rb'
+
+# Offense count: 16
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+# SupportedStyles: symmetrical, new_line, same_line
+Style/MultilineHashBraceLayout:
+ Exclude:
+ - 'spec/compressor_spec.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/MutableConstant:
+ Exclude:
+ - 'example/upgrade_server.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/RedundantSelf:
+ Exclude:
+ - 'lib/http/2/connection.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/UnneededInterpolation:
+ Exclude:
+ - 'spec/compressor_spec.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/ZeroLengthPredicate:
+ Exclude:
+ - 'lib/http/2/framer.rb'