diff --git a/.rubocop.yml b/.rubocop.yml index 7796cdab..df76c12b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -140,3 +140,55 @@ Style/FrozenStringLiteralComment: EnforcedStyle: always Exclude: - "spec/fixtures/**/*" + +Layout/EmptyLinesAroundAttributeAccessor: + Description: Keep blank lines around attribute accessors. + Enabled: false + +Layout/SpaceAroundMethodCallOperator: + Description: Checks method call operators to not have spaces around them. + Enabled: false + +Lint/DeprecatedOpenSSLConstant: + Description: Don't use algorithm constants for `OpenSSL::Cipher` and `OpenSSL::Digest`. + Enabled: false + +Lint/MixedRegexpCaptureTypes: + Description: Do not mix named captures and numbered captures in a Regexp literal. + Enabled: false + +Lint/RaiseException: + Description: Checks for `raise` or `fail` statements which are raising `Exception` class. + Enabled: false + +Lint/StructNewOverride: + Description: Disallow overriding the `Struct` built-in methods via `Struct.new`. + Enabled: false + +Style/ExponentialNotation: + Description: When using exponential notation, favor a mantissa between 1 (inclusive) and 10 (exclusive). + Enabled: false + +Style/HashEachMethods: + Description: Use Hash#each_key and Hash#each_value. + Enabled: false + +Style/HashTransformKeys: + Description: Prefer `transform_keys` over `each_with_object` and `map`. + Enabled: false + +Style/HashTransformValues: + Description: Prefer `transform_values` over `each_with_object` and `map`. + Enabled: false + +Style/RedundantRegexpCharacterClass: + Description: Checks for unnecessary single-element Regexp character classes. + Enabled: false + +Style/RedundantRegexpEscape: + Description: Checks for redundant escapes in Regexps. + Enabled: false + +Style/SlicingWithRange: + Description: Checks array slicing is done with endless ranges when suitable. + Enabled: false diff --git a/Gemfile.lock b/Gemfile.lock index e24d2acc..1b468f3d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -20,11 +20,11 @@ GEM ffi (~> 1.9) rspec-expectations (~> 3.4) thor (~> 1.0) - ast (2.4.0) + ast (2.4.1) backports (3.15.0) benchmark-ips (2.7.2) builder (3.2.4) - capybara (3.31.0) + capybara (3.32.2) addressable mini_mime (>= 0.1.3) nokogiri (~> 1.8) @@ -56,20 +56,18 @@ GEM ffi (1.12.1) ffi (1.12.1-java) gherkin (5.1.0) - jaro_winkler (1.5.4) - jaro_winkler (1.5.4-java) method_source (0.9.2) mini_mime (1.0.2) mini_portile2 (2.4.0) minitest (5.13.0) multi_json (1.14.1) multi_test (0.1.2) - nokogiri (1.10.7) + nokogiri (1.10.9) mini_portile2 (~> 2.4.0) - nokogiri (1.10.7-java) - parallel (1.19.1) - parser (2.7.0.2) - ast (~> 2.4.0) + nokogiri (1.10.9-java) + parallel (1.19.2) + parser (2.7.1.4) + ast (~> 2.4.1) power_assert (1.1.5) pry (0.12.2) coderay (~> 1.1.0) @@ -78,13 +76,14 @@ GEM coderay (~> 1.1.0) method_source (~> 0.9.0) spoon (~> 0.0) - public_suffix (4.0.3) - rack (2.1.1) + public_suffix (4.0.5) + rack (2.2.3) rack-test (1.1.0) rack (>= 1.0, < 3) rainbow (3.0.0) rake (13.0.1) - regexp_parser (1.6.0) + regexp_parser (1.7.1) + rexml (3.2.4) rspec (3.9.0) rspec-core (~> 3.9.0) rspec-expectations (~> 3.9.0) @@ -98,13 +97,17 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.9.0) rspec-support (3.9.2) - rubocop (0.79.0) - jaro_winkler (~> 1.5.1) + rubocop (0.85.1) parallel (~> 1.10) parser (>= 2.7.0.1) rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.7) + rexml + rubocop-ast (>= 0.0.3) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 1.7) + unicode-display_width (>= 1.4.0, < 2.0) + rubocop-ast (0.0.3) + parser (>= 2.7.0.1) ruby-progressbar (1.10.1) simplecov-html (0.12.2) spoon (0.0.6) @@ -112,7 +115,7 @@ GEM test-unit (3.3.5) power_assert thor (1.0.1) - unicode-display_width (1.6.1) + unicode-display_width (1.7.0) websocket-driver (0.7.1) websocket-extensions (>= 0.1.0) websocket-driver (0.7.1-java)