.rubocop_todo.yml in trailblazer-finder-0.1.1 vs .rubocop_todo.yml in trailblazer-finder-0.1.2
- old
+ new
@@ -1,52 +1,201 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2018-03-05 19:59:14 +0100 using RuboCop version 0.53.0.
+# on 2018-03-14 21:09:38 +0100 using RuboCop version 0.53.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: 1
# Cop supports --auto-correct.
-# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
-# Include: **/*.gemfile, **/Gemfile, **/gems.rb
-Bundler/OrderedGems:
+Layout/CommentIndentation:
Exclude:
- - 'Gemfile'
+ - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
Layout/EmptyLines:
Exclude:
- 'spec/trailblazer/operation/finder_spec.rb'
-# Offense count: 3
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
+Layout/EmptyLinesAroundModuleBody:
+ Exclude:
+ - 'lib/trailblazer/finder/adapters/sequel/predicates.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: normal, rails
+Layout/IndentationConsistency:
+ Exclude:
+ - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: Width, IgnoredPatterns.
+Layout/IndentationWidth:
+ Exclude:
+ - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Layout/SpaceAroundKeyword:
+ Exclude:
+ - 'spec/trailblazer/finder/features/predicates_spec.rb'
+
+# Offense count: 4
+# Cop supports --auto-correct.
+# Configuration parameters: AllowForAlignment.
+Layout/SpaceAroundOperators:
+ Exclude:
+ - 'spec/trailblazer/finder/features/predicates_spec.rb'
+
+# Offense count: 4
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
+# SupportedStyles: space, no_space
+# SupportedStylesForEmptyBraces: space, no_space
+Layout/SpaceBeforeBlockBraces:
+ Exclude:
+ - 'lib/trailblazer/finder/adapters/sequel/predicates.rb'
+
+# Offense count: 8
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
+# SupportedStyles: space, no_space
+# SupportedStylesForEmptyBraces: space, no_space
+Layout/SpaceInsideBlockBraces:
+ Exclude:
+ - 'lib/trailblazer/finder/adapters/sequel/predicates.rb'
+
+# Offense count: 4
+# Cop supports --auto-correct.
+Layout/SpaceInsideParens:
+ Exclude:
+ - 'lib/trailblazer/finder/utils/splitter.rb'
+
+# Offense count: 5
+# Cop supports --auto-correct.
+Layout/TrailingWhitespace:
+ Exclude:
+ - 'lib/trailblazer/finder/filter.rb'
+ - 'spec/trailblazer/finder/adapters/active_record/base_spec.rb'
+ - 'spec/trailblazer/finder/adapters/data_mapper/base_spec.rb'
+ - 'spec/trailblazer/finder/adapters/sequel/base_spec.rb'
+
+# Offense count: 1
+Lint/DuplicateMethods:
+ Exclude:
+ - 'lib/trailblazer/finder/utils/splitter.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
+Lint/UnusedMethodArgument:
+ Exclude:
+ - 'lib/trailblazer/finder/adapters/sequel/predicates.rb'
+
+# Offense count: 2
+Metrics/AbcSize:
+ Max: 18
+
+# Offense count: 8
+# Configuration parameters: CountComments.
+Metrics/MethodLength:
+ Max: 51
+
+# Offense count: 5
RSpec/DescribeClass:
Exclude:
+ - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb'
- 'spec/trailblazer/operation/finder_spec.rb'
- 'spec/trailblazer/operation/paging_spec.rb'
+ - 'spec/trailblazer/operation/predicates_spec.rb'
- 'spec/trailblazer/operation/sorting_spec.rb'
-# Offense count: 14
+# Offense count: 40
+# Configuration parameters: CustomTransform, IgnoredWords.
+RSpec/ExampleWording:
+ Exclude:
+ - 'spec/trailblazer/finder/adapters/active_record/predicates_spec.rb'
+ - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb'
+ - 'spec/trailblazer/finder/features/predicates_spec.rb'
+ - 'spec/trailblazer/operation/predicates_spec.rb'
+
+# Offense count: 2
# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: prefer_alias, prefer_alias_method
+Style/Alias:
+ Exclude:
+ - 'lib/trailblazer/finder/utils/splitter.rb'
+
+# Offense count: 18
+# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
Exclude:
- 'spec/trailblazer/operation/finder_spec.rb'
- 'spec/trailblazer/operation/paging_spec.rb'
+ - 'spec/trailblazer/operation/predicates_spec.rb'
- 'spec/trailblazer/operation/sorting_spec.rb'
-# Offense count: 10
+# Offense count: 1
# Cop supports --auto-correct.
+Style/IfUnlessModifier:
+ Exclude:
+ - 'lib/trailblazer/finder/utils/deep_locate.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: IncludeSemanticChanges.
+Style/NonNilCheck:
+ Exclude:
+ - 'lib/trailblazer/finder/predicates.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Style/ParallelAssignment:
+ Exclude:
+ - 'lib/trailblazer/finder/utils/splitter.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Style/PerlBackrefs:
+ Exclude:
+ - 'lib/trailblazer/finder/utils/splitter.rb'
+
+# Offense count: 160
+# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- - 'Gemfile'
+ - 'lib/trailblazer/finder/adapters/sequel/predicates.rb'
+ - 'lib/trailblazer/finder/features/predicate.rb'
+ - 'spec/trailblazer/finder/adapters/active_record/predicates_spec.rb'
+ - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb'
+ - 'spec/trailblazer/finder/features/predicates_spec.rb'
+ - 'spec/trailblazer/operation/predicates_spec.rb'
-# Offense count: 89
+# Offense count: 16
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
+# SupportedStyles: percent, brackets
+Style/WordArray:
+ Exclude:
+ - 'spec/trailblazer/finder/adapters/active_record/predicates_spec.rb'
+ - 'spec/trailblazer/finder/adapters/sequel/predicates_spec.rb'
+ - 'spec/trailblazer/finder/features/predicates_spec.rb'
+ - 'spec/trailblazer/operation/predicates_spec.rb'
+
+# Offense count: 151
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
- Max: 128
+ Max: 172