.rubocop.yml in narou-1.7.0 vs .rubocop.yml in narou-1.7.1
- old
+ new
@@ -1,419 +1,419 @@
-# This configuration was generated by `rubocop --auto-gen-config`
-# on 2014-09-08 11:40:33 +0900 using RuboCop version 0.26.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: 2
-Lint/AmbiguousOperator:
- Enabled: false
-
-# Offense count: 6
-# Configuration parameters: AllowSafeAssignment.
-Lint/AssignmentInCondition:
- Enabled: false
-
-# Offense count: 2
-# Cop supports --auto-correct.
-Lint/BlockAlignment:
- Enabled: true
-
-# Offense count: 43
-# Cop supports --auto-correct.
-Lint/DeprecatedClassMethods:
- Enabled: true
-
-# Offense count: 2
-Lint/Eval:
- Enabled: false
-
-# Offense count: 2
-Lint/HandleExceptions:
- Enabled: false
-
-# Offense count: 2
-Lint/LiteralInCondition:
- Enabled: true
-
-# Offense count: 4
-Lint/ParenthesesAsGroupedExpression:
- Enabled: true
-
-# Offense count: 1
-# Cop supports --auto-correct.
-Lint/RescueException:
- Enabled: false
-
-# Offense count: 5
-Lint/UnderscorePrefixedVariableName:
- Enabled: false
-
-# Offense count: 5
-# Cop supports --auto-correct.
-Lint/UnusedBlockArgument:
- Enabled: true
-
-# Offense count: 20
-# Cop supports --auto-correct.
-Lint/UnusedMethodArgument:
- Enabled: false
-
-# Offense count: 15
-Lint/UselessAssignment:
- Enabled: true
-
-# Offense count: 8
-Metrics/BlockNesting:
- Max: 4
-
-# Offense count: 16
-# Configuration parameters: CountComments.
-Metrics/ClassLength:
- Max: 863
-
-# Offense count: 50
-Metrics/CyclomaticComplexity:
- Max: 34
-
-# Offense count: 181
-# Configuration parameters: AllowURI.
-Metrics/LineLength:
- Max: 138
-
-# Offense count: 158
-# Configuration parameters: CountComments.
-Metrics/MethodLength:
- Max: 80
-
-# Offense count: 42
-Metrics/PerceivedComplexity:
- Max: 38
-
-# Offense count: 29
-Style/AccessorMethodName:
- Enabled: false
-
-# Offense count: 19
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
-Style/AlignHash:
- Enabled: false
-
-# Offense count: 16
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/AndOr:
- Enabled: false
-
-# Offense count: 741
-Style/AsciiComments:
- Enabled: false
-
-# Offense count: 2
-# Cop supports --auto-correct.
-Style/BlockComments:
- Enabled: false
-
-# Offense count: 89
-# Cop supports --auto-correct.
-Style/Blocks:
- Enabled: false
-
-# Offense count: 5
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/BracesAroundHashParameters:
- Enabled: false
-
-# Offense count: 9
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/ClassAndModuleChildren:
- Enabled: false
-
-# Offense count: 6
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/ClassCheck:
- Enabled: false
-
-# Offense count: 55
-Style/ClassVars:
- Enabled: false
-
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: PreferredMethods.
-Style/CollectionMethods:
- Enabled: false
-
-# Offense count: 1
-# Cop supports --auto-correct.
-Style/ColonMethodCall:
- Enabled: true
-
-# Offense count: 1
-# Cop supports --auto-correct.
-Style/CommentIndentation:
- Enabled: false
-
-# Offense count: 1
-Style/ConstantName:
- Enabled: false
-
-# Offense count: 60
-Style/Documentation:
- Enabled: false
-
-# Offense count: 5
-Style/DoubleNegation:
- Enabled: false
-
-# Offense count: 1
-# Cop supports --auto-correct.
-Style/EmptyLines:
- Enabled: true
-
-# Offense count: 2
-Style/EndOfLine:
- Enabled: false
-
-# Offense count: 4
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/FormatString:
- Enabled: false
-
-# Offense count: 41
-# Configuration parameters: AllowedVariables.
-Style/GlobalVars:
- Enabled: false
-
-# Offense count: 17
-# Configuration parameters: MinBodyLength.
-Style/GuardClause:
- Enabled: false
-
-# Offense count: 12
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/HashSyntax:
- Enabled: false
-
-# Offense count: 81
-# Configuration parameters: MaxLineLength.
-Style/IfUnlessModifier:
- Enabled: false
-
-# Offense count: 9
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/IndentHash:
- Enabled: false
-
-# Offense count: 1
-# Cop supports --auto-correct.
-Style/IndentationWidth:
- Enabled: true
-
-# Offense count: 1
-Style/Lambda:
- Enabled: true
-
-# Offense count: 9
-# Cop supports --auto-correct.
-Style/LeadingCommentSpace:
- Enabled: false
-
-# Offense count: 16
-# Cop supports --auto-correct.
-Style/LineEndConcatenation:
- Enabled: false
-
-# Offense count: 1
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/MethodName:
- Enabled: false
-
-# Offense count: 3
-Style/ModuleFunction:
- Enabled: false
-
-# Offense count: 5
-Style/MultilineBlockChain:
- Enabled: false
-
-# Offense count: 2
-Style/MultilineTernaryOperator:
- Enabled: false
-
-# Offense count: 2
-# Cop supports --auto-correct.
-Style/NegatedIf:
- Enabled: true
-
-# Offense count: 1
-Style/NestedTernaryOperator:
- Enabled: false
-
-# Offense count: 5
-# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
-Style/Next:
- Enabled: false
-
-# Offense count: 2
-# Cop supports --auto-correct.
-Style/Not:
- Enabled: true
-
-# Offense count: 2
-# Cop supports --auto-correct.
-Style/NumericLiterals:
- MinDigits: 6
-
-# Offense count: 22
-# Cop supports --auto-correct.
-# Configuration parameters: PreferredDelimiters.
-Style/PercentLiteralDelimiters:
- Enabled: false
-
-# Offense count: 72
-# Cop supports --auto-correct.
-Style/PerlBackrefs:
- Enabled: false
-
-# Offense count: 7
-# Configuration parameters: NamePrefix, NamePrefixBlacklist.
-Style/PredicateName:
- Enabled: false
-
-# Offense count: 14
-# Cop supports --auto-correct.
-# Configuration parameters: AllowMultipleReturnValues.
-Style/RedundantReturn:
- Enabled: false
-
-# Offense count: 8
-# Cop supports --auto-correct.
-Style/RedundantSelf:
- Enabled: false
-
-# Offense count: 3
-# Configuration parameters: MaxSlashes.
-Style/RegexpLiteral:
- Enabled: false
-
-# Offense count: 7
-Style/RescueModifier:
- Enabled: false
-
-# Offense count: 2
-Style/SelfAssignment:
- Enabled: false
-
-# Offense count: 28
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/SignalException:
- Enabled: false
-
-# Offense count: 11
-# Cop supports --auto-correct.
-Style/SpaceAfterComma:
- Enabled: false
-
-# Offense count: 74
-# Cop supports --auto-correct.
-Style/SpaceAroundOperators:
- Enabled: false
-
-# Offense count: 3
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/SpaceBeforeBlockBraces:
- Enabled: false
-
-# Offense count: 3
-# Cop supports --auto-correct.
-Style/SpaceBeforeComma:
- Enabled: false
-
-# Offense count: 2
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
-Style/SpaceInsideBlockBraces:
- Enabled: false
-
-# Offense count: 2
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
-Style/SpaceInsideHashLiteralBraces:
- Enabled: false
-
-# Offense count: 15
-# Cop supports --auto-correct.
-Style/SpaceInsideRangeLiteral:
- Enabled: false
-
-# Offense count: 12
-# Cop supports --auto-correct.
-Style/SpecialGlobalVars:
- Enabled: false
-
-# Offense count: 3278
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/StringLiterals:
- Enabled: false
-
-# Offense count: 2
-# Cop supports --auto-correct.
-# Configuration parameters: IgnoredMethods.
-Style/SymbolProc:
- Enabled: false
-
-# Offense count: 48
-# Cop supports --auto-correct.
-Style/Tab:
- Enabled: false
-
-# Offense count: 4
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/TrailingBlankLines:
- Enabled: false
-
-# Offense count: 14
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
-Style/TrailingComma:
- Enabled: false
-
-# Offense count: 15
-# Cop supports --auto-correct.
-Style/TrailingWhitespace:
- Enabled: false
-
-# Offense count: 9
-# Cop supports --auto-correct.
-# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
-Style/TrivialAccessors:
- Enabled: false
-
-# Offense count: 1
-Style/UnlessElse:
- Enabled: false
-
-# Offense count: 2
-# Cop supports --auto-correct.
-Style/UnneededPercentQ:
- Enabled: false
-
-# Offense count: 2
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/VariableName:
- Enabled: false
-
-# Offense count: 3
-# Cop supports --auto-correct.
-Style/WordArray:
- MinSize: 3
+# This configuration was generated by `rubocop --auto-gen-config`
+# on 2014-09-08 11:40:33 +0900 using RuboCop version 0.26.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: 2
+Lint/AmbiguousOperator:
+ Enabled: false
+
+# Offense count: 6
+# Configuration parameters: AllowSafeAssignment.
+Lint/AssignmentInCondition:
+ Enabled: false
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Lint/BlockAlignment:
+ Enabled: true
+
+# Offense count: 43
+# Cop supports --auto-correct.
+Lint/DeprecatedClassMethods:
+ Enabled: true
+
+# Offense count: 2
+Lint/Eval:
+ Enabled: false
+
+# Offense count: 2
+Lint/HandleExceptions:
+ Enabled: false
+
+# Offense count: 2
+Lint/LiteralInCondition:
+ Enabled: true
+
+# Offense count: 4
+Lint/ParenthesesAsGroupedExpression:
+ Enabled: true
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Lint/RescueException:
+ Enabled: false
+
+# Offense count: 5
+Lint/UnderscorePrefixedVariableName:
+ Enabled: false
+
+# Offense count: 5
+# Cop supports --auto-correct.
+Lint/UnusedBlockArgument:
+ Enabled: true
+
+# Offense count: 20
+# Cop supports --auto-correct.
+Lint/UnusedMethodArgument:
+ Enabled: false
+
+# Offense count: 15
+Lint/UselessAssignment:
+ Enabled: true
+
+# Offense count: 8
+Metrics/BlockNesting:
+ Max: 4
+
+# Offense count: 16
+# Configuration parameters: CountComments.
+Metrics/ClassLength:
+ Max: 863
+
+# Offense count: 50
+Metrics/CyclomaticComplexity:
+ Max: 34
+
+# Offense count: 181
+# Configuration parameters: AllowURI.
+Metrics/LineLength:
+ Max: 138
+
+# Offense count: 158
+# Configuration parameters: CountComments.
+Metrics/MethodLength:
+ Max: 80
+
+# Offense count: 42
+Metrics/PerceivedComplexity:
+ Max: 38
+
+# Offense count: 29
+Style/AccessorMethodName:
+ Enabled: false
+
+# Offense count: 19
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
+Style/AlignHash:
+ Enabled: false
+
+# Offense count: 16
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/AndOr:
+ Enabled: false
+
+# Offense count: 741
+Style/AsciiComments:
+ Enabled: false
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Style/BlockComments:
+ Enabled: false
+
+# Offense count: 89
+# Cop supports --auto-correct.
+Style/Blocks:
+ Enabled: false
+
+# Offense count: 5
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/BracesAroundHashParameters:
+ Enabled: false
+
+# Offense count: 9
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/ClassAndModuleChildren:
+ Enabled: false
+
+# Offense count: 6
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/ClassCheck:
+ Enabled: false
+
+# Offense count: 55
+Style/ClassVars:
+ Enabled: false
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: PreferredMethods.
+Style/CollectionMethods:
+ Enabled: false
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/ColonMethodCall:
+ Enabled: true
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/CommentIndentation:
+ Enabled: false
+
+# Offense count: 1
+Style/ConstantName:
+ Enabled: false
+
+# Offense count: 60
+Style/Documentation:
+ Enabled: false
+
+# Offense count: 5
+Style/DoubleNegation:
+ Enabled: false
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/EmptyLines:
+ Enabled: true
+
+# Offense count: 2
+Style/EndOfLine:
+ Enabled: false
+
+# Offense count: 4
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/FormatString:
+ Enabled: false
+
+# Offense count: 41
+# Configuration parameters: AllowedVariables.
+Style/GlobalVars:
+ Enabled: false
+
+# Offense count: 17
+# Configuration parameters: MinBodyLength.
+Style/GuardClause:
+ Enabled: false
+
+# Offense count: 12
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/HashSyntax:
+ Enabled: false
+
+# Offense count: 81
+# Configuration parameters: MaxLineLength.
+Style/IfUnlessModifier:
+ Enabled: false
+
+# Offense count: 9
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/IndentHash:
+ Enabled: false
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/IndentationWidth:
+ Enabled: true
+
+# Offense count: 1
+Style/Lambda:
+ Enabled: true
+
+# Offense count: 9
+# Cop supports --auto-correct.
+Style/LeadingCommentSpace:
+ Enabled: false
+
+# Offense count: 16
+# Cop supports --auto-correct.
+Style/LineEndConcatenation:
+ Enabled: false
+
+# Offense count: 1
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/MethodName:
+ Enabled: false
+
+# Offense count: 3
+Style/ModuleFunction:
+ Enabled: false
+
+# Offense count: 5
+Style/MultilineBlockChain:
+ Enabled: false
+
+# Offense count: 2
+Style/MultilineTernaryOperator:
+ Enabled: false
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Style/NegatedIf:
+ Enabled: true
+
+# Offense count: 1
+Style/NestedTernaryOperator:
+ Enabled: false
+
+# Offense count: 5
+# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
+Style/Next:
+ Enabled: false
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Style/Not:
+ Enabled: true
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Style/NumericLiterals:
+ MinDigits: 6
+
+# Offense count: 22
+# Cop supports --auto-correct.
+# Configuration parameters: PreferredDelimiters.
+Style/PercentLiteralDelimiters:
+ Enabled: false
+
+# Offense count: 72
+# Cop supports --auto-correct.
+Style/PerlBackrefs:
+ Enabled: false
+
+# Offense count: 7
+# Configuration parameters: NamePrefix, NamePrefixBlacklist.
+Style/PredicateName:
+ Enabled: false
+
+# Offense count: 14
+# Cop supports --auto-correct.
+# Configuration parameters: AllowMultipleReturnValues.
+Style/RedundantReturn:
+ Enabled: false
+
+# Offense count: 8
+# Cop supports --auto-correct.
+Style/RedundantSelf:
+ Enabled: false
+
+# Offense count: 3
+# Configuration parameters: MaxSlashes.
+Style/RegexpLiteral:
+ Enabled: false
+
+# Offense count: 7
+Style/RescueModifier:
+ Enabled: false
+
+# Offense count: 2
+Style/SelfAssignment:
+ Enabled: false
+
+# Offense count: 28
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/SignalException:
+ Enabled: false
+
+# Offense count: 11
+# Cop supports --auto-correct.
+Style/SpaceAfterComma:
+ Enabled: false
+
+# Offense count: 74
+# Cop supports --auto-correct.
+Style/SpaceAroundOperators:
+ Enabled: false
+
+# Offense count: 3
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/SpaceBeforeBlockBraces:
+ Enabled: false
+
+# Offense count: 3
+# Cop supports --auto-correct.
+Style/SpaceBeforeComma:
+ Enabled: false
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
+Style/SpaceInsideBlockBraces:
+ Enabled: false
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
+Style/SpaceInsideHashLiteralBraces:
+ Enabled: false
+
+# Offense count: 15
+# Cop supports --auto-correct.
+Style/SpaceInsideRangeLiteral:
+ Enabled: false
+
+# Offense count: 12
+# Cop supports --auto-correct.
+Style/SpecialGlobalVars:
+ Enabled: false
+
+# Offense count: 3278
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/StringLiterals:
+ Enabled: false
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: IgnoredMethods.
+Style/SymbolProc:
+ Enabled: false
+
+# Offense count: 48
+# Cop supports --auto-correct.
+Style/Tab:
+ Enabled: false
+
+# Offense count: 4
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/TrailingBlankLines:
+ Enabled: false
+
+# Offense count: 14
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
+Style/TrailingComma:
+ Enabled: false
+
+# Offense count: 15
+# Cop supports --auto-correct.
+Style/TrailingWhitespace:
+ Enabled: false
+
+# Offense count: 9
+# Cop supports --auto-correct.
+# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
+Style/TrivialAccessors:
+ Enabled: false
+
+# Offense count: 1
+Style/UnlessElse:
+ Enabled: false
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Style/UnneededPercentQ:
+ Enabled: false
+
+# Offense count: 2
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+Style/VariableName:
+ Enabled: false
+
+# Offense count: 3
+# Cop supports --auto-correct.
+Style/WordArray:
+ MinSize: 3