mongoid-cached-json 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e75b4ba09bfba7f6c52d44ea4bc7e7287765c3679107435b27afabf910c51ac
4
- data.tar.gz: 1160dc6600d6ef6b18aa063ace9eddeac0ce5fe89902f15fd6855943f1989306
3
+ metadata.gz: 2eb956338cff6d5c5c259e29fc0307bab7023184518eb6b92c54250cdbf685b3
4
+ data.tar.gz: 8da71923ba0bbaca5e039792c62e1b7c100233ce620c4d2b32ce224ddd72d77e
5
5
  SHA512:
6
- metadata.gz: 5c1470b1e65cc3212a576b522fd54a2ef9851d917b967a3f5e17c404a23b292e168a7d7b8eb99ccd999064aa2e51f367b7bcb0daa3d805d682719128602d7bbc
7
- data.tar.gz: 8edc758906ee5b088c101babfd2cb2a4d54802cff2141baa16d223788c1e317cefcc16964081c07548346a202a38450c22a4d6087d876be4bc467900bf137794
6
+ metadata.gz: f51ccb56969c000cfec8743fa58e9843246f505201e8c81b67d43afb728b1d1ff82c4b25413e8cae7bd537531bdf06edfa654668d74d070cfeebd86d3f95495e
7
+ data.tar.gz: b8cd64ebaa2757275b4b33c8d6f1b5f077548c04c9bd3c700d33bf0802b9cb6bc4f7ff15977d10f16c653bbec93db78cfa4c307f481f71e49627dab08cc4476e
@@ -0,0 +1,11 @@
1
+ name: Danger Comment
2
+
3
+ on:
4
+ workflow_run:
5
+ workflows: [Danger]
6
+ types: [completed]
7
+
8
+ jobs:
9
+ comment:
10
+ uses: numbata/danger-pr-comment/.github/workflows/danger-comment.yml@v0.1.0
11
+ secrets: inherit
@@ -0,0 +1,13 @@
1
+ name: Danger
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, reopened, edited, synchronize]
6
+
7
+ jobs:
8
+ danger:
9
+ uses: numbata/danger-pr-comment/.github/workflows/danger-run.yml@v0.1.0
10
+ secrets: inherit
11
+ with:
12
+ ruby-version: '3.3'
13
+ bundler-cache: true
@@ -0,0 +1,67 @@
1
+ name: Test
2
+
3
+ on: [push, pull_request]
4
+
5
+ permissions:
6
+ contents: read
7
+
8
+ jobs:
9
+ test:
10
+ name: Ruby ${{ matrix.ruby }} / Mongoid ${{ matrix.mongoid }} / MongoDB ${{ matrix.mongodb }}
11
+ runs-on: ubuntu-22.04
12
+ timeout-minutes: 15
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ include:
17
+ - { ruby: '2.1.9', mongoid: '3', mongodb: '3.6', bundler: '1.17.3' }
18
+ - { ruby: '2.3.8', mongoid: '4', mongodb: '3.6', bundler: '2.3.26' }
19
+ - { ruby: '2.3.8', mongoid: '5', mongodb: '4.0', bundler: '2.3.26' }
20
+ - { ruby: '2.5.9', mongoid: '6', mongodb: '4.0', bundler: '2.3.26' }
21
+ - { ruby: '2.7.8', mongoid: '7', mongodb: '4.4', bundler: '2.4.22' }
22
+ - { ruby: '3.2', mongoid: '8', mongodb: '6.0', bundler: default }
23
+ - { ruby: '3.3', mongoid: '9', mongodb: '7.0', bundler: default }
24
+ - { ruby: '3.4', mongoid: '9', mongodb: '8.0', bundler: default }
25
+ - { ruby: '4.0', mongoid: '9', mongodb: '8.0', bundler: default }
26
+ env:
27
+ MONGOID_VERSION: ${{ matrix.mongoid }}
28
+ COVERAGE: ${{ matrix.ruby == '4.0' && 'true' || 'false' }}
29
+ services:
30
+ mongodb:
31
+ image: mongo:${{ matrix.mongodb }}
32
+ ports: ['27017:27017']
33
+ options: >-
34
+ --health-cmd "bash -c 'echo > /dev/tcp/127.0.0.1/27017'"
35
+ --health-interval 5s --health-timeout 5s --health-retries 20
36
+ memcached:
37
+ image: memcached:1.6
38
+ ports: ['11211:11211']
39
+ steps:
40
+ - uses: actions/checkout@v6
41
+ - uses: ruby/setup-ruby@v1
42
+ with:
43
+ ruby-version: ${{ matrix.ruby }}
44
+ bundler: ${{ matrix.bundler }}
45
+ bundler-cache: true
46
+ - run: bundle exec rake spec
47
+ - name: Report coverage to Coveralls
48
+ if: matrix.ruby == '4.0'
49
+ uses: coverallsapp/github-action@v2
50
+ with:
51
+ github-token: ${{ secrets.GITHUB_TOKEN }}
52
+ file: coverage/.resultset.json
53
+ format: simplecov
54
+
55
+ lint:
56
+ runs-on: ubuntu-22.04
57
+ env:
58
+ MONGOID_VERSION: '7'
59
+ RUBOCOP_VERSION: '1.92.0'
60
+ steps:
61
+ - uses: actions/checkout@v6
62
+ - uses: ruby/setup-ruby@v1
63
+ with:
64
+ ruby-version: '2.7.8'
65
+ bundler: '2.4.22'
66
+ bundler-cache: true
67
+ - run: bundle exec rake rubocop
data/.gitignore CHANGED
@@ -1,5 +1,6 @@
1
1
  # don't commit Gemfile.lock
2
2
  Gemfile.lock
3
+ coverage/
3
4
 
4
5
  # rvm
5
6
  .rvmrc
data/.rubocop.yml CHANGED
@@ -2,5 +2,6 @@ AllCops:
2
2
  Exclude:
3
3
  - vendor/**/*
4
4
  - bin/**/*
5
+ NewCops: disable
5
6
 
6
7
  inherit_from: .rubocop_todo.yml
data/.rubocop_todo.yml CHANGED
@@ -1,26 +1,25 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2019-05-30 22:27:20 -0400 using RuboCop version 0.71.0.
3
+ # on 2026-10-17 02:13:27 UTC using RuboCop version 1.92.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 5
10
- # Configuration parameters: Include.
11
- # Include: **/*.gemfile, **/Gemfile, **/gems.rb
12
- Bundler/DuplicatedGem:
9
+ # Offense count: 1
10
+ Gemspec/RequiredRubyVersion:
13
11
  Exclude:
14
- - 'Gemfile'
12
+ - 'mongoid-cached-json.gemspec'
15
13
 
16
- # Offense count: 3
17
- # Cop supports --auto-correct.
14
+ # Offense count: 4
15
+ # This cop supports safe autocorrection (--autocorrect).
18
16
  Layout/EmptyLineAfterGuardClause:
19
17
  Exclude:
20
18
  - 'lib/mongoid-cached-json/cached_json.rb'
21
19
 
22
20
  # Offense count: 4
23
- # Cop supports --auto-correct.
21
+ # This cop supports safe autocorrection (--autocorrect).
22
+ # Configuration parameters: NumberOfEmptyLines.
24
23
  Layout/EmptyLineAfterMagicComment:
25
24
  Exclude:
26
25
  - 'lib/mongoid-cached-json.rb'
@@ -29,14 +28,24 @@ Layout/EmptyLineAfterMagicComment:
29
28
  - 'lib/mongoid-cached-json/key_references.rb'
30
29
 
31
30
  # Offense count: 16
32
- # Cop supports --auto-correct.
31
+ # This cop supports safe autocorrection (--autocorrect).
33
32
  # Configuration parameters: IndentationWidth.
34
33
  # SupportedStyles: special_inside_parentheses, consistent, align_brackets
35
- Layout/IndentFirstArrayElement:
34
+ Layout/FirstArrayElementIndentation:
36
35
  EnforcedStyle: consistent
37
36
 
38
37
  # Offense count: 1
39
- # Cop supports --auto-correct.
38
+ # This cop supports safe autocorrection (--autocorrect).
39
+ # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
40
+ # SupportedHashRocketStyles: key, separator, table
41
+ # SupportedColonStyles: key, separator, table
42
+ # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
43
+ Layout/HashAlignment:
44
+ Exclude:
45
+ - 'lib/mongoid-cached-json/cached_json.rb'
46
+
47
+ # Offense count: 1
48
+ # This cop supports safe autocorrection (--autocorrect).
40
49
  # Configuration parameters: EnforcedStyle.
41
50
  # SupportedStyles: symmetrical, new_line, same_line
42
51
  Layout/MultilineArrayBraceLayout:
@@ -44,7 +53,7 @@ Layout/MultilineArrayBraceLayout:
44
53
  - 'spec/cached_json_spec.rb'
45
54
 
46
55
  # Offense count: 4
47
- # Cop supports --auto-correct.
56
+ # This cop supports safe autocorrection (--autocorrect).
48
57
  # Configuration parameters: EnforcedStyle.
49
58
  # SupportedStyles: symmetrical, new_line, same_line
50
59
  Layout/MultilineHashBraceLayout:
@@ -52,7 +61,7 @@ Layout/MultilineHashBraceLayout:
52
61
  - 'spec/cached_json_spec.rb'
53
62
 
54
63
  # Offense count: 2
55
- # Cop supports --auto-correct.
64
+ # This cop supports safe autocorrection (--autocorrect).
56
65
  # Configuration parameters: EnforcedStyle.
57
66
  # SupportedStyles: symmetrical, new_line, same_line
58
67
  Layout/MultilineMethodCallBraceLayout:
@@ -60,11 +69,28 @@ Layout/MultilineMethodCallBraceLayout:
60
69
  - 'spec/cached_json_spec.rb'
61
70
 
62
71
  # Offense count: 1
72
+ # This cop supports unsafe autocorrection (--autocorrect-all).
63
73
  # Configuration parameters: AllowSafeAssignment.
64
74
  Lint/AssignmentInCondition:
65
75
  Exclude:
66
76
  - 'lib/mongoid-cached-json/cached_json.rb'
67
77
 
78
+ # Offense count: 7
79
+ # Configuration parameters: AllowedMethods.
80
+ # AllowedMethods: enums
81
+ Lint/ConstantDefinitionInBlock:
82
+ Exclude:
83
+ - 'spec/all_fields_spec.rb'
84
+ - 'spec/cache_version_spec.rb'
85
+ - 'spec/field_cache_spec.rb'
86
+ - 'spec/model_cache_spec.rb'
87
+
88
+ # Offense count: 1
89
+ # This cop supports unsafe autocorrection (--autocorrect-all).
90
+ Lint/NonDeterministicRequireOrder:
91
+ Exclude:
92
+ - 'spec/spec_helper.rb'
93
+
68
94
  # Offense count: 1
69
95
  # Configuration parameters: AllowKeywordBlockArguments.
70
96
  Lint/UnderscorePrefixedVariableName:
@@ -72,53 +98,59 @@ Lint/UnderscorePrefixedVariableName:
72
98
  - 'lib/mongoid-cached-json/cached_json.rb'
73
99
 
74
100
  # Offense count: 2
101
+ # This cop supports safe autocorrection (--autocorrect).
75
102
  Lint/UselessAssignment:
76
103
  Exclude:
77
104
  - 'lib/mongoid-cached-json/cached_json.rb'
78
105
  - 'spec/cached_json_spec.rb'
79
106
 
80
- # Offense count: 5
107
+ # Offense count: 7
108
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
81
109
  Metrics/AbcSize:
82
- Max: 45
110
+ Max: 79
83
111
 
84
- # Offense count: 22
85
- # Configuration parameters: CountComments, ExcludedMethods.
86
- # ExcludedMethods: refine
112
+ # Offense count: 31
113
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
114
+ # AllowedMethods: refine
87
115
  Metrics/BlockLength:
88
- Max: 488
116
+ Max: 497
89
117
 
90
118
  # Offense count: 2
91
- # Configuration parameters: CountBlocks.
119
+ # Configuration parameters: CountBlocks, CountModifierForms.
92
120
  Metrics/BlockNesting:
93
121
  Max: 4
94
122
 
95
- # Offense count: 4
123
+ # Offense count: 7
124
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
96
125
  Metrics/CyclomaticComplexity:
97
- Max: 15
126
+ Max: 21
98
127
 
99
- # Offense count: 9
100
- # Configuration parameters: CountComments, ExcludedMethods.
128
+ # Offense count: 11
129
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
101
130
  Metrics/MethodLength:
102
- Max: 41
131
+ Max: 39
103
132
 
104
133
  # Offense count: 1
105
- # Configuration parameters: CountComments.
134
+ # Configuration parameters: CountComments, CountAsOne.
106
135
  Metrics/ModuleLength:
107
- Max: 124
136
+ Max: 154
108
137
 
109
- # Offense count: 4
138
+ # Offense count: 6
139
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
110
140
  Metrics/PerceivedComplexity:
111
- Max: 16
141
+ Max: 22
112
142
 
113
143
  # Offense count: 1
114
- # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
144
+ # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
145
+ # CheckDefinitionPathHierarchyRoots: lib, spec, test, src
115
146
  # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
116
147
  Naming/FileName:
117
148
  Exclude:
149
+ - 'Rakefile.rb'
118
150
  - 'lib/mongoid-cached-json.rb'
119
151
 
120
152
  # Offense count: 1
121
- # Cop supports --auto-correct.
153
+ # This cop supports safe autocorrection (--autocorrect).
122
154
  # Configuration parameters: EnforcedStyle.
123
155
  # SupportedStyles: prefer_alias, prefer_alias_method
124
156
  Style/Alias:
@@ -126,7 +158,7 @@ Style/Alias:
126
158
  - 'lib/mongoid-cached-json/cached_json.rb'
127
159
 
128
160
  # Offense count: 1
129
- # Cop supports --auto-correct.
161
+ # This cop supports safe autocorrection (--autocorrect).
130
162
  # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
131
163
  # SupportedStyles: assign_to_condition, assign_inside_condition
132
164
  Style/ConditionalAssignment:
@@ -134,6 +166,7 @@ Style/ConditionalAssignment:
134
166
  - 'lib/mongoid-cached-json/cached_json.rb'
135
167
 
136
168
  # Offense count: 7
169
+ # Configuration parameters: AllowedConstants.
137
170
  Style/Documentation:
138
171
  Exclude:
139
172
  - 'spec/**/*'
@@ -146,18 +179,21 @@ Style/Documentation:
146
179
  - 'lib/mongoid-cached-json/mongoid_criteria.rb'
147
180
 
148
181
  # Offense count: 2
182
+ # This cop supports unsafe autocorrection (--autocorrect-all).
183
+ # Configuration parameters: EnforcedStyle.
184
+ # SupportedStyles: allowed_in_returns, forbidden
149
185
  Style/DoubleNegation:
150
186
  Exclude:
151
187
  - 'lib/mongoid-cached-json/cached_json.rb'
152
188
 
153
189
  # Offense count: 1
154
- # Cop supports --auto-correct.
190
+ # This cop supports safe autocorrection (--autocorrect).
155
191
  Style/EachWithObject:
156
192
  Exclude:
157
193
  - 'lib/mongoid-cached-json/hash.rb'
158
194
 
159
195
  # Offense count: 3
160
- # Cop supports --auto-correct.
196
+ # This cop supports safe autocorrection (--autocorrect).
161
197
  Style/Encoding:
162
198
  Exclude:
163
199
  - 'lib/mongoid-cached-json.rb'
@@ -165,26 +201,27 @@ Style/Encoding:
165
201
  - 'lib/mongoid-cached-json/config.rb'
166
202
 
167
203
  # Offense count: 1
204
+ # This cop supports safe autocorrection (--autocorrect).
168
205
  Style/EvalWithLocation:
169
206
  Exclude:
170
207
  - 'lib/mongoid-cached-json/config.rb'
171
208
 
172
- # Offense count: 46
173
- # Cop supports --auto-correct.
209
+ # Offense count: 50
210
+ # This cop supports unsafe autocorrection (--autocorrect-all).
174
211
  # Configuration parameters: EnforcedStyle.
175
- # SupportedStyles: always, never
212
+ # SupportedStyles: always, always_true, never
176
213
  Style/FrozenStringLiteralComment:
177
214
  Enabled: false
178
215
 
179
- # Offense count: 3
180
- # Cop supports --auto-correct.
216
+ # Offense count: 5
217
+ # This cop supports safe autocorrection (--autocorrect).
181
218
  Style/IfUnlessModifier:
182
219
  Exclude:
183
220
  - 'lib/mongoid-cached-json/cached_json.rb'
184
221
  - 'spec/cached_json_spec.rb'
185
222
 
186
223
  # Offense count: 5
187
- # Cop supports --auto-correct.
224
+ # This cop supports safe autocorrection (--autocorrect).
188
225
  # Configuration parameters: EnforcedStyle.
189
226
  # SupportedStyles: line_count_dependent, lambda, literal
190
227
  Style/Lambda:
@@ -196,52 +233,66 @@ Style/Lambda:
196
233
  - 'spec/support/sometimes_secret.rb'
197
234
 
198
235
  # Offense count: 1
199
- # Cop supports --auto-correct.
236
+ # This cop supports unsafe autocorrection (--autocorrect-all).
200
237
  # Configuration parameters: EnforcedStyle, Autocorrect.
201
- # SupportedStyles: module_function, extend_self
238
+ # SupportedStyles: module_function, extend_self, forbidden
202
239
  Style/ModuleFunction:
203
240
  Exclude:
204
241
  - 'lib/mongoid-cached-json/config.rb'
205
242
 
206
243
  # Offense count: 1
207
- # Cop supports --auto-correct.
208
- # Configuration parameters: EnforcedStyle.
244
+ # This cop supports unsafe autocorrection (--autocorrect-all).
245
+ # Configuration parameters: EnforcedStyle, Recursive.
209
246
  # SupportedStyles: literals, strict
210
247
  Style/MutableConstant:
211
248
  Exclude:
212
249
  - 'lib/mongoid-cached-json/version.rb'
213
250
 
214
- # Offense count: 2
215
- # Cop supports --auto-correct.
251
+ # Offense count: 1
252
+ # Configuration parameters: AllowedMethods.
253
+ # AllowedMethods: respond_to_missing?
254
+ Style/OptionalBooleanParameter:
255
+ Exclude:
256
+ - 'lib/mongoid-cached-json/cached_json.rb'
257
+
258
+ # Offense count: 3
259
+ # This cop supports safe autocorrection (--autocorrect).
216
260
  Style/OrAssignment:
217
261
  Exclude:
218
262
  - 'lib/mongoid-cached-json/cached_json.rb'
219
263
 
220
264
  # Offense count: 2
221
- # Cop supports --auto-correct.
265
+ # This cop supports safe autocorrection (--autocorrect).
222
266
  # Configuration parameters: PreferredDelimiters.
223
267
  Style/PercentLiteralDelimiters:
224
268
  Exclude:
225
269
  - 'spec/array_spec.rb'
226
270
 
227
271
  # Offense count: 1
228
- # Cop supports --auto-correct.
229
- # Configuration parameters: EnforcedStyle.
272
+ # This cop supports unsafe autocorrection (--autocorrect-all).
273
+ # Configuration parameters: EnforcedStyle, AllowedCompactTypes.
230
274
  # SupportedStyles: compact, exploded
231
275
  Style/RaiseArgs:
232
276
  Exclude:
233
277
  - 'lib/mongoid-cached-json/cached_json.rb'
234
278
 
235
279
  # Offense count: 1
236
- # Cop supports --auto-correct.
237
- # Configuration parameters: ConvertCodeThatCanStartToReturnNil, Whitelist.
238
- # Whitelist: present?, blank?, presence, try, try!
280
+ # This cop supports unsafe autocorrection (--autocorrect-all).
281
+ Style/RedundantInterpolation:
282
+ Exclude:
283
+ - 'spec/cached_json_spec.rb'
284
+
285
+ # Offense count: 2
286
+ # This cop supports unsafe autocorrection (--autocorrect-all).
287
+ # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
288
+ # AllowedMethods: present?, blank?, presence, try, try!
239
289
  Style/SafeNavigation:
240
290
  Exclude:
291
+ - 'lib/mongoid-cached-json/cached_json.rb'
241
292
  - 'lib/mongoid-cached-json/key_references.rb'
242
293
 
243
294
  # Offense count: 2
244
- # Cop supports --auto-correct.
295
+ # This cop supports safe autocorrection (--autocorrect).
245
296
  # Configuration parameters: EnforcedStyle.
246
297
  # SupportedStyles: only_raise, only_fail, semantic
247
298
  Style/SignalException:
@@ -249,30 +300,32 @@ Style/SignalException:
249
300
  - 'lib/mongoid-cached-json/cached_json.rb'
250
301
  - 'spec/cached_json_spec.rb'
251
302
 
252
- # Offense count: 13
253
- # Cop supports --auto-correct.
303
+ # Offense count: 14
304
+ # This cop supports safe autocorrection (--autocorrect).
254
305
  # Configuration parameters: MinSize.
255
306
  # SupportedStyles: percent, brackets
256
307
  Style/SymbolArray:
257
308
  EnforcedStyle: brackets
258
309
 
259
310
  # Offense count: 1
260
- # Cop supports --auto-correct.
311
+ # This cop supports unsafe autocorrection (--autocorrect-all).
312
+ # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
313
+ # AllowedMethods: define_method
314
+ Style/SymbolProc:
315
+ Exclude:
316
+ - 'spec/support/json_manager.rb'
317
+
318
+ # Offense count: 1
319
+ # This cop supports safe autocorrection (--autocorrect).
261
320
  # Configuration parameters: EnforcedStyle, AllowSafeAssignment.
262
321
  # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
263
322
  Style/TernaryParentheses:
264
323
  Exclude:
265
324
  - 'lib/mongoid-cached-json/cached_json.rb'
266
325
 
267
- # Offense count: 1
268
- # Cop supports --auto-correct.
269
- Style/UnneededInterpolation:
270
- Exclude:
271
- - 'spec/cached_json_spec.rb'
272
-
273
- # Offense count: 200
274
- # Cop supports --auto-correct.
275
- # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
326
+ # Offense count: 56
327
+ # This cop supports safe autocorrection (--autocorrect).
328
+ # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
276
329
  # URISchemes: http, https
277
- Metrics/LineLength:
330
+ Layout/LineLength:
278
331
  Max: 202