11# This configuration was generated by
22# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 100`
3- # on 2023-07-14 19:45:58 UTC using RuboCop version 1.54 .2.
3+ # on 2023-07-14 20:07:24 UTC using RuboCop version 1.50 .2.
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
@@ -14,14 +14,6 @@ Gemspec/DeprecatedAttributeAssignment:
1414 Exclude :
1515 - ' http.gemspec'
1616
17- # Offense count: 1
18- # Configuration parameters: EnforcedStyle, AllowedGems, Include.
19- # SupportedStyles: Gemfile, gems.rb, gemspec
20- # Include: **/*.gemspec, **/Gemfile, **/gems.rb
21- Gemspec/DevelopmentDependencies :
22- Exclude :
23- - ' http.gemspec'
24-
2517# Offense count: 56
2618# This cop supports safe autocorrection (--autocorrect).
2719# Configuration parameters: EnforcedStyle.
@@ -63,7 +55,6 @@ Layout/SpaceInsideHashLiteralBraces:
6355 - ' spec/support/ssl_helper.rb'
6456
6557# Offense count: 5
66- # Configuration parameters: AllowedParentClasses.
6758Lint/MissingSuper :
6859 Exclude :
6960 - ' lib/http/features/auto_deflate.rb'
@@ -72,7 +63,7 @@ Lint/MissingSuper:
7263 - ' lib/http/features/normalize_uri.rb'
7364 - ' spec/lib/http/features/instrumentation_spec.rb'
7465
75- # Offense count: 9
66+ # Offense count: 8
7667# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
7768Metrics/AbcSize :
7869 Exclude :
@@ -93,14 +84,14 @@ Metrics/ClassLength:
9384 - ' lib/http/headers.rb'
9485 - ' lib/http/request.rb'
9586
96- # Offense count: 3
87+ # Offense count: 2
9788# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
9889Metrics/CyclomaticComplexity :
9990 Exclude :
10091 - ' lib/http/chainable.rb'
10192 - ' lib/http/client.rb'
10293
103- # Offense count: 13
94+ # Offense count: 12
10495# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
10596Metrics/MethodLength :
10697 Exclude :
@@ -267,14 +258,13 @@ RSpec/EmptyLineAfterSubject:
267258 - ' spec/lib/http/uri_spec.rb'
268259 - ' spec/lib/http_spec.rb'
269260
270- # Offense count: 54
261+ # Offense count: 52
271262# Configuration parameters: Max, CountAsOne.
272263RSpec/ExampleLength :
273264 Exclude :
274265 - ' spec/lib/http/client_spec.rb'
275266 - ' spec/lib/http/connection_spec.rb'
276267 - ' spec/lib/http/features/auto_deflate_spec.rb'
277- - ' spec/lib/http/features/logging_spec.rb'
278268 - ' spec/lib/http/headers_spec.rb'
279269 - ' spec/lib/http/options/features_spec.rb'
280270 - ' spec/lib/http/options/headers_spec.rb'
@@ -536,18 +526,11 @@ Style/RedundantConstantBase:
536526 Exclude :
537527 - ' spec/lib/http/headers_spec.rb'
538528
539- # Offense count: 2
540- # This cop supports safe autocorrection (--autocorrect).
541- Style/RedundantCurrentDirectoryInPath :
542- Exclude :
543- - ' spec/spec_helper.rb'
544-
545- # Offense count: 6
529+ # Offense count: 1
546530# This cop supports safe autocorrection (--autocorrect).
547- Style/RedundantRegexpArgument :
531+ Style/RedundantRegexpEscape :
548532 Exclude :
549- - ' spec/lib/http/client_spec.rb'
550- - ' spec/lib/http/connection_spec.rb'
533+ - ' lib/http/headers.rb'
551534
552535# Offense count: 1
553536# This cop supports unsafe autocorrection (--autocorrect-all).
0 commit comments