11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2019-10-01 16:24:59 -0400 using RuboCop version 0.64 .0.
3+ # on 2025-07-18 18:25:48 UTC using RuboCop version 1.78 .0.
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
77# versions of RuboCop, may require this file to be generated again.
88
99# Offense count: 6
10- # Cop supports --auto-correct .
11- # Configuration parameters: EnforcedStyle, IndentationWidth.
12- # SupportedStyles: with_first_parameter, with_fixed_indentation
13- Layout/AlignParameters :
10+ # Configuration parameters: EnforcedStyle, AllowedGems, Include .
11+ # SupportedStyles: Gemfile, gems.rb, gemspec
12+ # Include: **/*.gemspec, **/Gemfile, **/gems.rb
13+ Gemspec/DevelopmentDependencies :
1414 Exclude :
15- - ' lib/ marqeta.rb '
15+ - ' marqeta.gemspec '
1616
1717# Offense count: 1
18- # Cop supports --auto-correct .
18+ # This cop supports safe autocorrection (--autocorrect) .
1919Layout/EmptyLineAfterGuardClause :
2020 Exclude :
2121 - ' lib/marqeta/user.rb'
2222
2323# Offense count: 1
24- # Cop supports --auto-correct.
25- Layout/LeadingBlankLines :
26- Exclude :
27- - ' marqeta.gemspec'
28-
29- # Offense count: 20
30- # Configuration parameters: CountComments, ExcludedMethods.
31- # ExcludedMethods: refine
32- Metrics/BlockLength :
33- Max : 442
24+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
25+ Metrics/AbcSize :
26+ Max : 21
3427
3528# Offense count: 1
36- # Configuration parameters: CountComments.
29+ # Configuration parameters: CountComments, CountAsOne .
3730Metrics/ClassLength :
3831 Max : 110
3932
40- # Offense count: 1
41- # Configuration parameters: CountComments, ExcludedMethods .
33+ # Offense count: 2
34+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns .
4235Metrics/MethodLength :
4336 Max : 15
4437
4538# Offense count: 1
39+ # This cop supports unsafe autocorrection (--autocorrect-all).
4640# Configuration parameters: EnforcedStyleForLeadingUnderscores.
4741# SupportedStylesForLeadingUnderscores: disallowed, required, optional
4842Naming/MemoizedInstanceVariableName :
@@ -51,64 +45,76 @@ Naming/MemoizedInstanceVariableName:
5145
5246# Offense count: 2
5347# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
54- # AllowedNames: io, id, to, by, on, in, at , ip, db
55- Naming/UncommunicativeMethodParamName :
48+ # AllowedNames: as, at, by, cc, db, id, if, in, io , ip, of, on, os, pp, to
49+ Naming/MethodParameterName :
5650 Exclude :
5751 - ' lib/marqeta/api_caller.rb'
5852
5953# Offense count: 11
6054RSpec/AnyInstance :
6155 Exclude :
62- - ' spec/marqeta/api_caller_spec.rb'
6356 - ' spec/marqeta/api_object_spec.rb'
6457 - ' spec/marqeta/card_spec.rb'
6558 - ' spec/marqeta/transaction_spec.rb'
6659
6760# Offense count: 1
68- # Configuration parameters: Prefixes.
61+ # Configuration parameters: Prefixes, AllowedPatterns .
6962# Prefixes: when, with, without
7063RSpec/ContextWording :
7164 Exclude :
7265 - ' spec/marqeta/api_caller_spec.rb'
7366
74- # Offense count: 4
75- # Configuration parameters: Max .
67+ # Offense count: 5
68+ # Configuration parameters: CountAsOne .
7669RSpec/ExampleLength :
77- Exclude :
78- - ' spec/marqeta/api_object_spec.rb'
79- - ' spec/marqeta/transaction_spec.rb'
80- - ' spec/marqeta/user_spec.rb'
70+ Max : 11
8171
8272# Offense count: 1
83- # Cop supports --auto-correct .
73+ # This cop supports safe autocorrection (--autocorrect) .
8474# Configuration parameters: EnforcedStyle.
8575# SupportedStyles: implicit, each, example
8676RSpec/HookArgument :
8777 Exclude :
8878 - ' spec/marqeta/transaction_spec.rb'
8979
90- # Offense count: 32
80+ # Offense count: 12
81+ # Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
82+ RSpec/IndexedLet :
83+ Exclude :
84+ - ' spec/marqeta/api_object_spec.rb'
85+
86+ # Offense count: 35
9187# Configuration parameters: .
9288# SupportedStyles: have_received, receive
9389RSpec/MessageSpies :
9490 EnforcedStyle : receive
9591
96- # Offense count: 8
97- # Configuration parameters: AggregateFailuresByDefault.
92+ # Offense count: 9
9893RSpec/MultipleExpectations :
9994 Max : 8
10095
96+ # Offense count: 55
97+ # Configuration parameters: AllowSubject.
98+ RSpec/MultipleMemoizedHelpers :
99+ Max : 13
100+
101101# Offense count: 36
102+ # Configuration parameters: AllowedGroups.
102103RSpec/NestedGroups :
103104 Max : 4
104105
106+ # Offense count: 1
107+ RSpec/StubbedMock :
108+ Exclude :
109+ - ' spec/marqeta/card_spec.rb'
110+
105111# Offense count: 1
106112RSpec/SubjectStub :
107113 Exclude :
108114 - ' spec/marqeta/api_object_spec.rb'
109115
110116# Offense count: 1
111- # Cop supports --auto-correct .
117+ # This cop supports safe autocorrection (--autocorrect) .
112118Style/ExpandPathArguments :
113119 Exclude :
114120 - ' marqeta.gemspec'
0 commit comments