.rubocop_todo.yml in rutl-0.1.3 vs .rubocop_todo.yml in rutl-0.1.4
- old
+ new
@@ -1,93 +1,69 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2018-05-26 12:34:26 -0700 using RuboCop version 0.56.0.
+# on 2018-06-03 15:06:48 -0700 using RuboCop version 0.56.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
-Metrics/AbcSize:
- Max: 16
-
# Offense count: 3
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
- Max: 48
+ Max: 74
-# Offense count: 4
+# Offense count: 3
# Configuration parameters: CountComments.
Metrics/MethodLength:
- Max: 19
+ Max: 13
-# Offense count: 1
-Naming/AccessorMethodName:
- Exclude:
- - 'lib/rutl/interface/null_interface.rb'
-
-# Offense count: 1
-RSpec/ExampleLength:
- Exclude:
- - 'spec/chrome_interface_spec.rb'
-
-# Offense count: 2
-RSpec/ExpectActual:
- Exclude:
- - 'spec/null_interface_spec.rb'
- - 'spec/rutl_spec.rb'
-
-# Offense count: 1
-RSpec/MultipleExpectations:
- Exclude:
- - 'spec/chrome_interface_spec.rb'
-
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: braces, no_braces, context_dependent
Style/BracesAroundHashParameters:
Exclude:
- 'spec/pages/internet_login_page.rb'
- 'spec/pages/page1.rb'
-# Offense count: 1
+# Offense count: 3
Style/ClassVars:
Exclude:
- 'lib/rutl/base_page.rb'
+ - 'lib/rutl/driver/null_driver_page_element.rb'
# Offense count: 4
-Style/MethodMissingSuper:
+# Configuration parameters: AllowedVariables.
+Style/GlobalVars:
Exclude:
- - 'lib/rutl/base_page.rb'
- 'lib/rutl/browser.rb'
- - 'lib/rutl/interface/base_interface.rb'
- - 'spec/spec_helper.rb'
+ - 'lib/rutl/interface/elements/base_element.rb'
+ - 'lib/rutl/interface/elements/element_context.rb'
+ - 'lib/rutl/interface/null_interface.rb'
# Offense count: 1
# Cop supports --auto-correct.
-Style/PerlBackrefs:
+Style/IfUnlessModifier:
Exclude:
- - 'lib/rutl/browser.rb'
+ - 'lib/rutl/interface/elements/element_context.rb'
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: implicit, explicit
-Style/RescueStandardError:
+# Offense count: 4
+Style/MethodMissingSuper:
Exclude:
- - 'lib/rutl/utilities.rb'
-
-# Offense count: 3
-# Cop supports --auto-correct.
-# Configuration parameters: AllowIfMethodIsEmpty.
-Style/SingleLineMethods:
- Exclude:
- 'lib/rutl/base_page.rb'
+ - 'lib/rutl/browser.rb'
+ - 'lib/rutl/interface/base_interface.rb'
+ - 'spec/spec_helper.rb'
# Offense count: 1
# 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/rutl/base_page.rb'
+
+# Offense count: 15
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# URISchemes: http, https
+Metrics/LineLength:
+ Max: 223