rubocop-nosolosoftware 1.16.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +200 -46
- data/rubocop-bundler.yml +4 -0
- data/rubocop-capybara.yml +38 -0
- data/rubocop-default.yml +6 -0
- data/rubocop-factory-bot.yml +34 -0
- data/rubocop-gemspec.yml +3 -0
- data/rubocop-lint.yml +20 -0
- data/rubocop-metrics.yml +5 -0
- data/rubocop-performance.yml +8 -0
- data/rubocop-rails.yml +68 -0
- data/rubocop-rspec.yml +85 -8
- data/rubocop-style.yml +108 -0
- metadata +43 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b169ccd9f1ea4f24874ceac1e74dbd10fb68f2552bec90ad0ddc6cc7ad55009d
|
4
|
+
data.tar.gz: 034015f49c9adad812469f51e2416c7b72d5ba91a429cf8c4065825a12252a8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cffab5a2f5b08bc521a5752e514689329bba84e4c941a247e5ad3609a62e991c48f558ed7a1b5b4d6f90636ab682a145ae6696bb9252b9535bf9e446457e294f
|
7
|
+
data.tar.gz: 2c8650db70b5b44ffa1660a07c481a663f339e9e9f53ae12b81961f056c13968d7065b3dbd5d837e7af3bd756bb1e8dfded877ed0f8458645f62cee3887fed10
|
data/CHANGELOG.md
CHANGED
@@ -6,55 +6,166 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
8
|
The following rules have been added:
|
9
|
+
|
10
|
+
## 1.18.0 - 2023-10-17
|
11
|
+
|
12
|
+
- Added new rules
|
13
|
+
- rubocop
|
14
|
+
- Style/RedundantLineContinuation (1.49.0)
|
15
|
+
- Style/DataInheritance (1.49.0)
|
16
|
+
- Lint/DuplicateMatchPattern (1.50.0)
|
17
|
+
- Style/ExactRegexpMatch (1.51.0)
|
18
|
+
- Style/RedundantArrayConstructor (1.52.0)
|
19
|
+
- Style/RedundantRegexpConstructor (1.52.0)
|
20
|
+
- Style/RedundantFilterChain (1.52.0)
|
21
|
+
- Lint/MixedCaseRange (1.53.0)
|
22
|
+
- Lint/RedundantRegexpQuantifiers (1.53.0)
|
23
|
+
- Style/RedundantCurrentDirectoryInPath (1.53.0)
|
24
|
+
- Style/ReturnNilInPredicateMethodDefinition (1.53.0)
|
25
|
+
- Style/YAMLFileRead (1.53.0)
|
26
|
+
- Bundler/DuplicatedGroup (1.56.0)
|
27
|
+
- Style/SingleLineDoEndBlock (1.57.0)
|
28
|
+
- rubocop-capybara
|
29
|
+
- Capybara/RSpec/PredicateMatcher (2.19.0)
|
30
|
+
- Capybara/RSpec/HaveSelector (2.19.0)
|
31
|
+
- Capybara/ClickLinkOrButtonStyle (2.19.0)
|
32
|
+
- rubocop-performance
|
33
|
+
- Performance/MapMethodChain (1.19.0)
|
34
|
+
- rubocop-rails
|
35
|
+
- Rails/ThreeStateBooleanColumn (2.19.0)
|
36
|
+
- Rails/SelectMap (2.21.0)
|
37
|
+
- Rails/DangerousColumnNames (2.21.0)
|
38
|
+
- Rails/UnusedRenderContent (2.21.0)
|
39
|
+
- Rails/RedundantActiveRecordAllMethod (2.21.0)
|
40
|
+
- rubocop-rspec
|
41
|
+
- RSpec/IndexedLet (2.20.0)
|
42
|
+
- RSpec/BeEmpty (2.20.0)
|
43
|
+
- RSpec/Rails/NegationBeValid (2.23.0)
|
44
|
+
- RSpec/ReceiveMessages (2.23.0)
|
45
|
+
- RSpec/EmptyMetadata (2.24.0)
|
46
|
+
- RSpec/Eq (2.24.0)
|
47
|
+
- RSpec/MetadataStyle (2.24.0)
|
48
|
+
- RSpec/SpecFilePathFormat (2.24.0)
|
49
|
+
- RSpec/SpecFilePathSuffix (2.24.0)
|
50
|
+
- rubocop-factory_bot
|
51
|
+
- FactoryBot/AssociationStyle (2.23.0)
|
52
|
+
- FactoryBot/FactoryAssociationWithStrategy (2.23.0)
|
53
|
+
- FactoryBot/IdSequence (2.23.0)
|
54
|
+
- FactoryBot/RedundantFactoryOption (2.23.0)
|
55
|
+
|
56
|
+
## 1.17.0 - 2023-03-14
|
57
|
+
|
58
|
+
- Added rubocop-capybara as deprecation rules in rubocop-rspec 2.18.0 [link](https://github.com/rubocop/rubocop-rspec/releases/tag/v2.18.0)
|
59
|
+
- Added new rules
|
60
|
+
- rubocop
|
61
|
+
- Lint/DuplicateMagicComment (1.37.0)
|
62
|
+
- Style/OperatorMethodCall (1.37.0)
|
63
|
+
- Style/RedundantStringEscape (1.37.0)
|
64
|
+
- Style/RedundantEach (1.38.0)
|
65
|
+
- Style/RedundantConstantBase (1.40.0)
|
66
|
+
- Style/RequireOrder (1.40.0)
|
67
|
+
- Style/ArrayIntersect (1.40.0)
|
68
|
+
- Style/RedundantDoubleSplatHashBraces (1.41.0)
|
69
|
+
- Style/ConcatArrayLiterals (1.41.0)
|
70
|
+
- Style/MapToSet (1.42.0)
|
71
|
+
- Style/MinMaxComparison (1.42.0)
|
72
|
+
- Style/YodaExpression (1.42.0)
|
73
|
+
- Lint/UselessRescue (1.43.0)
|
74
|
+
- Style/InvertibleUnlessCondition (1.44.0)
|
75
|
+
- Style/ComparableClamp (1.44.0)
|
76
|
+
- Gemspec/DevelopmentDependencies (1.44.0)
|
77
|
+
- Style/RedundantHeredocDelimiterQuotes (1.45.0)
|
78
|
+
- Metrics/CollectionLiteralLength (1.47.0)
|
79
|
+
- Style/DirEmpty (1.48.0)
|
80
|
+
- Style/FileEmpty (1.48.0)
|
81
|
+
- rubocop-rails
|
82
|
+
- Rails/FreezeTime (2.16.0)
|
83
|
+
- Rails/WhereMissing (2.16.0)
|
84
|
+
- Rails/RootPathnameMethods (2.16.0)
|
85
|
+
- Rails/TopLevelHashWithIndifferentAccess (2.16.0)
|
86
|
+
- Rails/ActionControllerFlashBeforeRender (2.16.0)
|
87
|
+
- Rails/ActiveSupportOnLoad (2.16.0)
|
88
|
+
- Rails/ToSWithArgument (2.16.0)
|
89
|
+
- Rails/ActionOrder (2.17.0)
|
90
|
+
- Rails/WhereNotWithMultipleConditions (2.17.0)
|
91
|
+
- Rails/IgnoredColumnsAssignment (2.17.0)
|
92
|
+
- Rails/ResponseParsedBody (2.18.0)
|
93
|
+
- rubocop-performance:
|
94
|
+
- Performance/ConcurrentMonotonicTime (1.12.0)
|
95
|
+
- rubocop-rspec
|
96
|
+
- RSpec/NoExpectationExample (2.13.0)
|
97
|
+
- RSpec/ClassCheck (2.13.0)
|
98
|
+
- RSpec/FactoryBot/ConsistentParenthesesStyle (2.14.0)
|
99
|
+
- RSpec/Rails/InferredSpecType (2.14.0)
|
100
|
+
- RSpec/SortMetadata (2.14.0)
|
101
|
+
- RSpec/FactoryBot/FactoryNameStyle (2.16.0)
|
102
|
+
- RSpec/DuplicatedMetadata (2.16.0)
|
103
|
+
- RSpec/PendingWithoutReason (2.16.0)
|
104
|
+
- RSpec/Rails/MinitestAssertions (2.17.0)
|
105
|
+
- RSpec/RedundantAround (2.19.0)
|
106
|
+
- RSpec/Rails/TravelAround (2.19.0)
|
107
|
+
- RSpec/ContainExactly (2.19.0)
|
108
|
+
- RSpec/MatchArray (2.19.0)
|
109
|
+
- RSpec/SkipBlockInsideExample (2.19.0)
|
110
|
+
- rubocop-capybara
|
111
|
+
- Capybara/SpecificFinders (2.17.1)
|
112
|
+
- Capybara/NegationMatcher (2.17.1)
|
113
|
+
- Capybara/SpecificActions (2.17.1)
|
114
|
+
- Capybara/MatchStyle (2.17.1)
|
115
|
+
|
9
116
|
## 1.16.0 - 2022-09-01
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
117
|
+
|
118
|
+
- Added new rules
|
119
|
+
- rubocop
|
120
|
+
- Lint/NonAtomicFileOperation (1.31.0)
|
121
|
+
- Layout/LineContinuationLeadingSpace (1.31.0)
|
122
|
+
- Layout/LineContinuationSpacing (1.31.0)
|
123
|
+
- Style/EmptyHeredoc (1.32.0)
|
124
|
+
- Layout/MultilineMethodParameterLineBreaks (1.32.0)
|
125
|
+
- Lint/RequireRangeParentheses (1.32.0)
|
126
|
+
- Style/MagicCommentFormat (1.35.0)
|
127
|
+
- rubocop-rails
|
128
|
+
- Rails/DotSeparatedKeys (1.15.0)
|
129
|
+
- Rails/StripHeredoc (1.15.0)
|
130
|
+
- Rails/ToFormattedS (1.15.0)
|
131
|
+
- Rails/RootPublicPath (1.15.0)
|
132
|
+
- rubocop-rspec
|
133
|
+
- RSpec/Capybara/SpecificMatcher (2.12.0)
|
134
|
+
- RSpec/Rails/HaveHttpStatus (2.12.0)
|
135
|
+
- Removed rules
|
136
|
+
- rubocop
|
137
|
+
- Gemspec/DateAssignment
|
138
|
+
|
30
139
|
## 1.15.0 - 2022-06-02
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
|
140
|
+
|
141
|
+
- Added new rules
|
142
|
+
- rubocop
|
143
|
+
- Gemspec/DependencyVersion (1.29)
|
144
|
+
- Gemspec/DeprecatedAttributeAssignment (1.30)
|
145
|
+
- Lint/RefinementImportMethods (1.27)
|
146
|
+
- Security/CompoundHash (1.28)
|
147
|
+
- Style/EnvHome (1.29)
|
148
|
+
- Style/FetchEnvVar (1.28)
|
149
|
+
- Style/MapCompactWithConditionalBlock (1.30)
|
150
|
+
- Style/NestedFileDirname (1.26)
|
151
|
+
- Style/ObjectThen (1.28)
|
152
|
+
- Style/RedundantInitialize (1.27)
|
153
|
+
- rubocop-rails
|
154
|
+
- Rails/I18nLocaleTexts (2.14)
|
155
|
+
- Rails/I18nLazyLookup (2.14)
|
156
|
+
- Rails/MigrationClassName (2.14)
|
157
|
+
- Rails/DuplicateAssociation (2.14)
|
158
|
+
- Rails/DuplicateScope (2.14)
|
159
|
+
- Rails/TransactionExitStatement (2.14)
|
160
|
+
- Rails/DeprecatedActiveModelErrorsMethods (2.14)
|
161
|
+
- Rails/ActionControllerTestCase (2.14)
|
162
|
+
- Rails/TableNameAssignment (2.14)
|
163
|
+
- rubocop-rspec
|
164
|
+
- RSpec/ChangeByZero (2.11.0)
|
165
|
+
- RSpec/VerifiedDoubleReference (2.10.0)
|
56
166
|
|
57
167
|
## 1.14.0 - 2022-03-04
|
168
|
+
|
58
169
|
- Added new rules
|
59
170
|
- rubocop-rails
|
60
171
|
- Rails/CompactBlank (2.13)
|
@@ -65,6 +176,7 @@ The following rules have been added:
|
|
65
176
|
- RSpec/BeNil (2.9)
|
66
177
|
|
67
178
|
## 1.13.0 - 2022-02-25
|
179
|
+
|
68
180
|
- Added new rules
|
69
181
|
- rubocop
|
70
182
|
- Lint/UselessRuby2Keywords (1.23)
|
@@ -83,9 +195,11 @@ The following rules have been added:
|
|
83
195
|
- RSpec/FactoryBot/SyntaxMethods (2.7.0)
|
84
196
|
|
85
197
|
## 1.12.1 - 2021-10-13
|
198
|
+
|
86
199
|
- No new changes. Previous gem was yanked.
|
87
200
|
|
88
201
|
## 1.12.0 - 2021-10-13
|
202
|
+
|
89
203
|
- Added new rules
|
90
204
|
- rubocop
|
91
205
|
- Lint/RequireRelativeSelfPath (1.22)
|
@@ -95,6 +209,7 @@ The following rules have been added:
|
|
95
209
|
- Style/SelectByRegexp (1.22)
|
96
210
|
|
97
211
|
## 1.11.0 - 2021-09-28
|
212
|
+
|
98
213
|
- Added new rules
|
99
214
|
- rubocop
|
100
215
|
- Lint/AmbiguousOperatorPrecedence (1.21)
|
@@ -106,38 +221,47 @@ The following rules have been added:
|
|
106
221
|
- RSpec/SubjectDeclaration (2.5)
|
107
222
|
|
108
223
|
### Changed
|
224
|
+
|
109
225
|
- Updated dependency rubocop to 1.21
|
110
226
|
- Updated dependency rubocop-rails to 2.12
|
111
227
|
- Updated dependency rubocop-rspec to 2.5
|
112
228
|
|
113
229
|
## 1.10.0 - 2021-08-25
|
230
|
+
|
114
231
|
### Changed
|
232
|
+
|
115
233
|
- Layout/SpaceAroundEqualsInParameterDefault has been changed to the default value (aka space)
|
116
234
|
|
117
235
|
## 1.9.0 - 2021-08-18
|
236
|
+
|
118
237
|
- Added new rules introduced in the 1.19 version.
|
119
238
|
- rubocop
|
120
239
|
- Lint/AmbiguousRange
|
121
240
|
- Style/RedundantSelfAssignmentBranch
|
122
241
|
|
123
242
|
### Changed
|
243
|
+
|
124
244
|
- Updated dependency rubocop to 1.19
|
125
245
|
|
126
246
|
## 1.8.1 - 2021-07-26
|
127
247
|
|
128
248
|
### Changed
|
249
|
+
|
129
250
|
- `config/routes/` directory should have the same rules as `config/routes.rb`
|
130
251
|
|
131
252
|
## 1.8.0 - 2021-06-29
|
253
|
+
|
132
254
|
- Added new rules introduced in the last version.
|
133
255
|
- rubocop
|
134
256
|
- Layout/LineEndStringConcatenationIndentation (1.18)
|
135
257
|
- Naming/InclusiveLanguage (1.18)
|
136
258
|
|
137
259
|
### Changed
|
260
|
+
|
138
261
|
- Updated dependency rubocop
|
139
262
|
|
140
263
|
## 1.7.0 - 2021-06-29
|
264
|
+
|
141
265
|
- Added new rules introduced in the last version.
|
142
266
|
- rubocop-rails
|
143
267
|
- Rails/AddColumnIndex (2.11)
|
@@ -150,11 +274,13 @@ The following rules have been added:
|
|
150
274
|
- RSpec/Rails/AvoidSetupHook (2.4)
|
151
275
|
|
152
276
|
### Changed
|
277
|
+
|
153
278
|
- Updated dependency rubocop-rails and rubocop-rspec
|
154
279
|
|
155
280
|
## 1.6.0 - 2021-06-08
|
156
281
|
|
157
282
|
### Added
|
283
|
+
|
158
284
|
- Added new rules introduced in the last version.
|
159
285
|
- rubocop
|
160
286
|
- Lint/EmptyInPattern (1.16)
|
@@ -170,11 +296,13 @@ The following rules have been added:
|
|
170
296
|
- Rails/TimeZoneAssignment (2.10)
|
171
297
|
|
172
298
|
### Changed
|
299
|
+
|
173
300
|
- Updated dependency rubocop-rails
|
174
301
|
|
175
302
|
## 1.5.0 - 2021-02-25
|
176
303
|
|
177
304
|
### Added
|
305
|
+
|
178
306
|
- Added new rules introduced in the last version.
|
179
307
|
- rubocop
|
180
308
|
- Gemspec/DateAssignment (1.10)
|
@@ -193,7 +321,9 @@ The following rules have been added:
|
|
193
321
|
- Style/IfWithBooleanLiteralBranches (1.9)
|
194
322
|
|
195
323
|
## 1.4.0 - 2020-12-15
|
324
|
+
|
196
325
|
### Added
|
326
|
+
|
197
327
|
- Added new rules introduced in the last version.
|
198
328
|
- rubocop
|
199
329
|
- Lint/UnexpectedBlockArity (1.5)
|
@@ -202,7 +332,9 @@ The following rules have been added:
|
|
202
332
|
- Rails/WhereEquals (2.9)
|
203
333
|
|
204
334
|
## 1.3.0 - 2020-11-25
|
335
|
+
|
205
336
|
### Added
|
337
|
+
|
206
338
|
- Added new rules introduced in the last version.
|
207
339
|
- rubocop
|
208
340
|
- Style/RedundantArgument (1.4)
|
@@ -214,24 +346,31 @@ The following rules have been added:
|
|
214
346
|
- Performance/MethodObjectAsBlock (1.9)
|
215
347
|
|
216
348
|
## 1.2.0 - 2020-11-13
|
349
|
+
|
217
350
|
### Added
|
351
|
+
|
218
352
|
- Added new rules introduced in the last version.
|
219
353
|
- Lint/DuplicateBranch (1.3)
|
220
354
|
- Lint/EmptyClass (1.3)
|
221
355
|
- Style/NilLambda (1.3)
|
222
356
|
|
223
357
|
## 1.1.0 - 2020-11-13
|
358
|
+
|
224
359
|
### Added
|
360
|
+
|
225
361
|
- Added new rules introduced in the last version.
|
226
362
|
- Lint/NoReturnInBeginEndBlocks (1.2)
|
227
363
|
- Style/CollectionCompact (1.2)
|
228
364
|
- Style/NegatedIfElseCondition (1.2)
|
229
365
|
|
230
366
|
### Changed
|
367
|
+
|
231
368
|
- Changed Naming/VariableNumber to start using snake_case
|
232
369
|
|
233
370
|
## 1.0.0 - 2020-11-04
|
371
|
+
|
234
372
|
### Added
|
373
|
+
|
235
374
|
- Added new rules introduced in the last version.
|
236
375
|
- Lint/DuplicateRegexpCharacterClassElement (1.1)
|
237
376
|
- Lint/EmptyBlock (1.1)
|
@@ -244,15 +383,18 @@ The following rules have been added:
|
|
244
383
|
- RSpec/Rails/HttpStatus (2.pre)
|
245
384
|
|
246
385
|
### Changed
|
386
|
+
|
247
387
|
- Removed shared enabled rules with rubocop 1.0
|
248
388
|
- Bump dependencies (rubocop 1.0 and rubocop-rspec 2.pre)
|
249
389
|
- Bump ruby version to use `...`
|
250
390
|
- Reordered some rules following the convention of namespace/file.
|
251
391
|
|
252
|
-
|
253
392
|
## 0.10.0 - 2020-11-04
|
393
|
+
|
254
394
|
### Added
|
395
|
+
|
255
396
|
- Added new rules introduced in the last version.
|
397
|
+
|
256
398
|
- Lint/HashCompareByIdentity (0.93)
|
257
399
|
- Lint/RedundantSafeNavigation (0.93)
|
258
400
|
- Style/ClassEqualityComparison (0.93)
|
@@ -261,10 +403,13 @@ The following rules have been added:
|
|
261
403
|
- RSpec/StubbedMock (1.44)
|
262
404
|
|
263
405
|
### Changed
|
406
|
+
|
264
407
|
- Bump dependencies
|
265
408
|
|
266
409
|
## 0.9.0 - 2020-09-18
|
410
|
+
|
267
411
|
### Added
|
412
|
+
|
268
413
|
- Added new rules introduced in the last version.
|
269
414
|
- Layout/BeginEndAlignment (0.91)
|
270
415
|
- Lint/ConstantDefinitionInBlock (0.91)
|
@@ -284,11 +429,13 @@ The following rules have been added:
|
|
284
429
|
- Rails/WhereNot (2.8)
|
285
430
|
|
286
431
|
### Changed
|
432
|
+
|
287
433
|
- Updated all the extensions.
|
288
434
|
|
289
435
|
## 0.8.0 - 2020-08-07
|
290
436
|
|
291
437
|
### Added
|
438
|
+
|
292
439
|
- Added new rules introduced in the last version.
|
293
440
|
- Lint/BinaryOperatorWithIdenticalOperands (0.89)
|
294
441
|
- Lint/DuplicateRescueException (0.89)
|
@@ -308,14 +455,17 @@ The following rules have been added:
|
|
308
455
|
## 0.7.0 - 2020-08-03
|
309
456
|
|
310
457
|
### Added
|
458
|
+
|
311
459
|
- Added rubocop-faker as new extension
|
312
460
|
|
313
461
|
### Changed
|
462
|
+
|
314
463
|
- Updated all the extensions, and configured new rules
|
315
464
|
|
316
465
|
## 0.6.0 - 2020-07-13
|
317
466
|
|
318
467
|
### Added
|
468
|
+
|
319
469
|
- Added new rules introduced in the last version.
|
320
470
|
- Lint/DeprecatedOpenSSLConstant (0.84)
|
321
471
|
- Lint/MixedRegexpCaptureTypes (0.85)
|
@@ -337,22 +487,26 @@ The following rules have been added:
|
|
337
487
|
## 0.5.0 - 2020-07-07
|
338
488
|
|
339
489
|
### Changed
|
490
|
+
|
340
491
|
- Actualizadas reglas
|
341
492
|
|
342
493
|
## 0.4.0 - 2020-02-26
|
343
494
|
|
344
495
|
### Changed
|
496
|
+
|
345
497
|
- Remove Style/BracesAroundHashParameters cop
|
346
498
|
|
347
499
|
## 0.3.0 - 2020-02-07
|
348
500
|
|
349
501
|
### Changed
|
502
|
+
|
350
503
|
- Set enforced style to braces_for_chaining in Style/BlockDelimiters cop.
|
351
504
|
- Relax required versions of rubocop gems.
|
352
505
|
|
353
506
|
## 0.2.0 - 2019-12-23
|
354
507
|
|
355
508
|
### Changed
|
509
|
+
|
356
510
|
- Move LineLength cop from Metrics to Layout and require rubocop 0.78.0.
|
357
511
|
|
358
512
|
## [0.1.0] - 2019-12-03
|
data/rubocop-bundler.yml
CHANGED
@@ -0,0 +1,38 @@
|
|
1
|
+
#
|
2
|
+
## https://github.com/rubocop/rubocop-capybara/
|
3
|
+
#
|
4
|
+
|
5
|
+
require: rubocop-capybara
|
6
|
+
|
7
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaraspecificmatcher
|
8
|
+
Capybara/SpecificMatcher:
|
9
|
+
Enabled: true
|
10
|
+
|
11
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaraspecificfinders
|
12
|
+
Capybara/SpecificFinders:
|
13
|
+
Enabled: true
|
14
|
+
|
15
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaranegationmatcher
|
16
|
+
Capybara/NegationMatcher:
|
17
|
+
Enabled: true
|
18
|
+
EnforcedStyle: have_no
|
19
|
+
|
20
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaraspecificactions
|
21
|
+
Capybara/SpecificActions:
|
22
|
+
Enabled: true
|
23
|
+
|
24
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaramatchstyle
|
25
|
+
Capybara/MatchStyle:
|
26
|
+
Enabled: true
|
27
|
+
|
28
|
+
# https://docs.rubocop.org/rubocop-capybara/cops_capybara_rspec.html#capybararspecpredicatematcher
|
29
|
+
Capybara/RSpec/PredicateMatcher:
|
30
|
+
Enabled: true
|
31
|
+
|
32
|
+
# https://docs.rubocop.org/rubocop-capybara/cops_capybara_rspec.html#capybararspechaveselector
|
33
|
+
Capybara/RSpec/HaveSelector:
|
34
|
+
Enabled: true
|
35
|
+
|
36
|
+
# https://docs.rubocop.org/rubocop-capybara/cops_capybara.html#capybaraclicklinkorbuttonstyle
|
37
|
+
Capybara/ClickLinkOrButtonStyle:
|
38
|
+
Enabled: true
|
data/rubocop-default.yml
CHANGED
@@ -1,12 +1,18 @@
|
|
1
1
|
inherit_from:
|
2
2
|
- rubocop-all.yml
|
3
3
|
- rubocop-bundler.yml
|
4
|
+
- rubocop-capybara.yml
|
5
|
+
- rubocop-factory-bot.yml
|
6
|
+
- rubocop-faker.yml
|
4
7
|
- rubocop-gemspec.yml
|
5
8
|
- rubocop-layout.yml
|
6
9
|
- rubocop-lint.yml
|
7
10
|
- rubocop-metrics.yml
|
8
11
|
- rubocop-naming.yml
|
9
12
|
- rubocop-performance.yml
|
13
|
+
- rubocop-rails.yml
|
14
|
+
- rubocop-rake.yml
|
15
|
+
- rubocop-rspec.yml
|
10
16
|
- rubocop-security.yml
|
11
17
|
- rubocop-style.yml
|
12
18
|
|
@@ -0,0 +1,34 @@
|
|
1
|
+
#
|
2
|
+
## https://www.rubydoc.info/gems/rubocop-factory_bot/
|
3
|
+
#
|
4
|
+
|
5
|
+
require: rubocop-factory_bot
|
6
|
+
|
7
|
+
# https://docs.rubocop.org/rubocop-factory_bot/cops_factorybot.html#factorybotsyntaxmethods
|
8
|
+
FactoryBot/SyntaxMethods:
|
9
|
+
Enabled: true
|
10
|
+
|
11
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybotconsistentparenthesesstyle
|
12
|
+
FactoryBot/ConsistentParenthesesStyle:
|
13
|
+
Enabled: true
|
14
|
+
|
15
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybotfactorynamestyle
|
16
|
+
FactoryBot/FactoryNameStyle:
|
17
|
+
Enabled: true
|
18
|
+
|
19
|
+
# https://docs.rubocop.org/rubocop-factory_bot/cops_factorybot.html#factorybotassociationstyle
|
20
|
+
FactoryBot/AssociationStyle:
|
21
|
+
Enabled: true
|
22
|
+
EnforcedStyle: explicit
|
23
|
+
|
24
|
+
# https://docs.rubocop.org/rubocop-factory_bot/cops_factorybot.html#factorybotfactoryassociationwithstrategy
|
25
|
+
FactoryBot/FactoryAssociationWithStrategy:
|
26
|
+
Enabled: true
|
27
|
+
|
28
|
+
# https://docs.rubocop.org/rubocop-factory_bot/cops_factorybot.html#factorybotidsequence
|
29
|
+
FactoryBot/IdSequence:
|
30
|
+
Enabled: true
|
31
|
+
|
32
|
+
# https://docs.rubocop.org/rubocop-factory_bot/cops_factorybot.html#factorybotredundantfactoryoption
|
33
|
+
FactoryBot/RedundantFactoryOption:
|
34
|
+
Enabled: true
|
data/rubocop-gemspec.yml
CHANGED
data/rubocop-lint.yml
CHANGED
@@ -115,3 +115,23 @@ Lint/ConstantOverwrittenInRescue:
|
|
115
115
|
# https://docs.rubocop.org/rubocop/cops_lint.html#lintrequirerangeparentheses
|
116
116
|
Lint/RequireRangeParentheses:
|
117
117
|
Enabled: true
|
118
|
+
|
119
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicatemagiccomment
|
120
|
+
Lint/DuplicateMagicComment:
|
121
|
+
Enabled: true
|
122
|
+
|
123
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessrescue
|
124
|
+
Lint/UselessRescue:
|
125
|
+
Enabled: true
|
126
|
+
|
127
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicatematchpattern
|
128
|
+
Lint/DuplicateMatchPattern:
|
129
|
+
Enabled: true
|
130
|
+
|
131
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintmixedcaserange
|
132
|
+
Lint/MixedCaseRange:
|
133
|
+
Enabled: true
|
134
|
+
|
135
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintredundantregexpquantifiers
|
136
|
+
Lint/RedundantRegexpQuantifiers:
|
137
|
+
Enabled: true
|
data/rubocop-metrics.yml
CHANGED
@@ -29,3 +29,8 @@ Metrics/BlockLength:
|
|
29
29
|
- "**/config/routes.rb"
|
30
30
|
- "**/config/routes/**/*.rb"
|
31
31
|
- "**/lib/tasks/auto_annotate_models.rake"
|
32
|
+
|
33
|
+
# https://docs.rubocop.org/rubocop/cops_metrics.html#metricscollectionliterallength
|
34
|
+
Metrics/CollectionLiteralLength:
|
35
|
+
Enabled: true
|
36
|
+
LengthThreshold: 250
|
data/rubocop-performance.yml
CHANGED
@@ -75,3 +75,11 @@ Performance/RedundantSplitRegexpArgument:
|
|
75
75
|
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancestringidentifierargument
|
76
76
|
Performance/StringIdentifierArgument:
|
77
77
|
Enabled: true
|
78
|
+
|
79
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceconcurrentmonotonictime
|
80
|
+
Performance/ConcurrentMonotonicTime:
|
81
|
+
Enabled: true
|
82
|
+
|
83
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancemapmethodchain
|
84
|
+
Performance/MapMethodChain:
|
85
|
+
Enabled: true
|
data/rubocop-rails.yml
CHANGED
@@ -58,6 +58,10 @@ Rails/ActiveRecordCallbacksOrder:
|
|
58
58
|
Rails/FindById:
|
59
59
|
Enabled: true
|
60
60
|
|
61
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsfindeach
|
62
|
+
Rails/FindEach:
|
63
|
+
Enabled: true
|
64
|
+
|
61
65
|
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsinquiry
|
62
66
|
Rails/Inquiry:
|
63
67
|
Enabled: true
|
@@ -221,3 +225,67 @@ Rails/ToFormattedS:
|
|
221
225
|
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsrootpublicpath
|
222
226
|
Rails/RootPublicPath:
|
223
227
|
Enabled: true
|
228
|
+
|
229
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsfreezetime
|
230
|
+
Rails/FreezeTime:
|
231
|
+
Enabled: true
|
232
|
+
|
233
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railswheremissing
|
234
|
+
Rails/WhereMissing:
|
235
|
+
Enabled: true
|
236
|
+
|
237
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsrootpathnamemethods
|
238
|
+
Rails/RootPathnameMethods:
|
239
|
+
Enabled: true
|
240
|
+
|
241
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railstoplevelhashwithindifferentaccess
|
242
|
+
Rails/TopLevelHashWithIndifferentAccess:
|
243
|
+
Enabled: true
|
244
|
+
|
245
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsactioncontrollerflashbeforerender
|
246
|
+
Rails/ActionControllerFlashBeforeRender:
|
247
|
+
Enabled: true
|
248
|
+
|
249
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsactivesupportonload
|
250
|
+
Rails/ActiveSupportOnLoad:
|
251
|
+
Enabled: true
|
252
|
+
|
253
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railstoswithargument
|
254
|
+
Rails/ToSWithArgument:
|
255
|
+
Enabled: true
|
256
|
+
|
257
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsactionorder
|
258
|
+
Rails/ActionOrder:
|
259
|
+
Enabled: true
|
260
|
+
|
261
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railswherenotwithmultipleconditions
|
262
|
+
Rails/WhereNotWithMultipleConditions:
|
263
|
+
Enabled: true
|
264
|
+
|
265
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsignoredcolumnsassignment
|
266
|
+
Rails/IgnoredColumnsAssignment:
|
267
|
+
Enabled: true
|
268
|
+
|
269
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsresponseparsedbody
|
270
|
+
Rails/ResponseParsedBody:
|
271
|
+
Enabled: true
|
272
|
+
|
273
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsthreestatebooleancolumn
|
274
|
+
Rails/ThreeStateBooleanColumn:
|
275
|
+
Enabled: true
|
276
|
+
|
277
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsselectmap
|
278
|
+
Rails/SelectMap:
|
279
|
+
Enabled: true
|
280
|
+
|
281
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsdangerouscolumnnames
|
282
|
+
Rails/DangerousColumnNames:
|
283
|
+
Enabled: true
|
284
|
+
|
285
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsunusedrendercontent
|
286
|
+
Rails/UnusedRenderContent:
|
287
|
+
Enabled: true
|
288
|
+
|
289
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsredundantactiverecordallmethod
|
290
|
+
Rails/RedundantActiveRecordAllMethod:
|
291
|
+
Enabled: true
|
data/rubocop-rspec.yml
CHANGED
@@ -62,10 +62,6 @@ RSpec/ExcessiveDocstringSpacing:
|
|
62
62
|
RSpec/SubjectDeclaration:
|
63
63
|
Enabled: true
|
64
64
|
|
65
|
-
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybotsyntaxmethods
|
66
|
-
RSpec/FactoryBot/SyntaxMethods:
|
67
|
-
Enabled: true
|
68
|
-
|
69
65
|
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecbeeq
|
70
66
|
RSpec/BeEq:
|
71
67
|
Enabled: true
|
@@ -82,10 +78,91 @@ RSpec/VerifiedDoubleReference:
|
|
82
78
|
RSpec/ChangeByZero:
|
83
79
|
Enabled: true
|
84
80
|
|
85
|
-
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaraspecificmatcher
|
86
|
-
RSpec/Capybara/SpecificMatcher:
|
87
|
-
Enabled: true
|
88
|
-
|
89
81
|
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_rails.html#rspecrailshavehttpstatus
|
90
82
|
RSpec/Rails/HaveHttpStatus:
|
91
83
|
Enabled: true
|
84
|
+
|
85
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecnoexpectationexample
|
86
|
+
RSpec/NoExpectationExample:
|
87
|
+
Enabled: false
|
88
|
+
|
89
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecclasscheck
|
90
|
+
RSpec/ClassCheck:
|
91
|
+
Enabled: true
|
92
|
+
|
93
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_rails.html#rspecrailsinferredspectype
|
94
|
+
RSpec/Rails/InferredSpecType:
|
95
|
+
Enabled: false
|
96
|
+
|
97
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecsortmetadata
|
98
|
+
RSpec/SortMetadata:
|
99
|
+
Enabled: false
|
100
|
+
|
101
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecduplicatedmetadata
|
102
|
+
RSpec/DuplicatedMetadata:
|
103
|
+
Enabled: true
|
104
|
+
|
105
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecpendingwithoutreason
|
106
|
+
RSpec/PendingWithoutReason:
|
107
|
+
Enabled: true
|
108
|
+
|
109
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_rails.html#rspecrailsminitestassertions
|
110
|
+
RSpec/Rails/MinitestAssertions:
|
111
|
+
Enabled: true
|
112
|
+
|
113
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecredundantaround
|
114
|
+
RSpec/RedundantAround:
|
115
|
+
Enabled: true
|
116
|
+
|
117
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_rails.html#rspecrailstravelaround
|
118
|
+
RSpec/Rails/TravelAround:
|
119
|
+
Enabled: true
|
120
|
+
|
121
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspeccontainexactly
|
122
|
+
RSpec/ContainExactly:
|
123
|
+
Enabled: true
|
124
|
+
|
125
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecmatcharray
|
126
|
+
RSpec/MatchArray:
|
127
|
+
Enabled: true
|
128
|
+
|
129
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecskipblockinsideexample
|
130
|
+
RSpec/SkipBlockInsideExample:
|
131
|
+
Enabled: true
|
132
|
+
|
133
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecindexedlet
|
134
|
+
RSpec/IndexedLet:
|
135
|
+
Enabled: true
|
136
|
+
Max: 3
|
137
|
+
|
138
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecbeempty
|
139
|
+
RSpec/BeEmpty:
|
140
|
+
Enabled: true
|
141
|
+
|
142
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_rails.html#rspecrailsnegationbevalid
|
143
|
+
RSpec/Rails/NegationBeValid:
|
144
|
+
Enabled: true
|
145
|
+
|
146
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecreceivemessages
|
147
|
+
RSpec/ReceiveMessages:
|
148
|
+
Enabled: true
|
149
|
+
|
150
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecemptymetadata
|
151
|
+
RSpec/EmptyMetadata:
|
152
|
+
Enabled: true
|
153
|
+
|
154
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspeceq
|
155
|
+
RSpec/Eq:
|
156
|
+
Enabled: true
|
157
|
+
|
158
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecmetadatastyle
|
159
|
+
RSpec/MetadataStyle:
|
160
|
+
Enabled: true
|
161
|
+
|
162
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecspecfilepathformat
|
163
|
+
RSpec/SpecFilePathFormat:
|
164
|
+
Enabled: true
|
165
|
+
|
166
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecspecfilepathsuffix
|
167
|
+
RSpec/SpecFilePathSuffix:
|
168
|
+
Enabled: true
|
data/rubocop-style.yml
CHANGED
@@ -161,3 +161,111 @@ Style/EmptyHeredoc:
|
|
161
161
|
Style/MagicCommentFormat:
|
162
162
|
Enabled: true
|
163
163
|
EnforcedStyle: snake_case
|
164
|
+
|
165
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleoperatormethodcall
|
166
|
+
Style/OperatorMethodCall:
|
167
|
+
Enabled: true
|
168
|
+
|
169
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantstringescape
|
170
|
+
Style/RedundantStringEscape:
|
171
|
+
Enabled: true
|
172
|
+
|
173
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundanteach
|
174
|
+
Style/RedundantEach:
|
175
|
+
Enabled: true
|
176
|
+
|
177
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantconstantbase
|
178
|
+
Style/RedundantConstantBase:
|
179
|
+
Enabled: true
|
180
|
+
|
181
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylerequireorder
|
182
|
+
Style/RequireOrder:
|
183
|
+
Enabled: true
|
184
|
+
|
185
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylearrayintersect
|
186
|
+
Style/ArrayIntersect:
|
187
|
+
Enabled: true
|
188
|
+
|
189
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantdoublesplathashbraces
|
190
|
+
Style/RedundantDoubleSplatHashBraces:
|
191
|
+
Enabled: true
|
192
|
+
|
193
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleconcatarrayliterals
|
194
|
+
Style/ConcatArrayLiterals:
|
195
|
+
Enabled: true
|
196
|
+
|
197
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylemaptoset
|
198
|
+
Style/MapToSet:
|
199
|
+
Enabled: true
|
200
|
+
|
201
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleminmaxcomparison
|
202
|
+
Style/MinMaxComparison:
|
203
|
+
Enabled: true
|
204
|
+
|
205
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleyodaexpression
|
206
|
+
Style/YodaExpression:
|
207
|
+
Enabled: true
|
208
|
+
|
209
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleinvertibleunlesscondition
|
210
|
+
Style/InvertibleUnlessCondition:
|
211
|
+
Enabled: true
|
212
|
+
|
213
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylecomparableclamp
|
214
|
+
Style/ComparableClamp:
|
215
|
+
Enabled: true
|
216
|
+
|
217
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantheredocdelimiterquotes
|
218
|
+
Style/RedundantHeredocDelimiterQuotes:
|
219
|
+
Enabled: true
|
220
|
+
|
221
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styledirempty
|
222
|
+
Style/DirEmpty:
|
223
|
+
Enabled: true
|
224
|
+
|
225
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylefileempty
|
226
|
+
Style/FileEmpty:
|
227
|
+
Enabled: true
|
228
|
+
|
229
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantlinecontinuation
|
230
|
+
Style/RedundantLineContinuation:
|
231
|
+
Enabled: true
|
232
|
+
|
233
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styledatainheritance
|
234
|
+
Style/DataInheritance:
|
235
|
+
Enabled: true
|
236
|
+
|
237
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleexactregexpmatch
|
238
|
+
Style/ExactRegexpMatch:
|
239
|
+
Enabled: true
|
240
|
+
|
241
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantarrayconstructor
|
242
|
+
Style/RedundantArrayConstructor:
|
243
|
+
Enabled: true
|
244
|
+
|
245
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantregexpconstructor
|
246
|
+
Style/RedundantRegexpConstructor:
|
247
|
+
Enabled: true
|
248
|
+
|
249
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantfilterchain
|
250
|
+
Style/RedundantFilterChain:
|
251
|
+
Enabled: true
|
252
|
+
|
253
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantcurrentdirectoryinpath
|
254
|
+
Style/RedundantCurrentDirectoryInPath:
|
255
|
+
Enabled: true
|
256
|
+
|
257
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantregexpargument
|
258
|
+
Style/RedundantRegexpArgument:
|
259
|
+
Enabled: true
|
260
|
+
|
261
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylereturnnilinpredicatemethoddefinition
|
262
|
+
Style/ReturnNilInPredicateMethodDefinition:
|
263
|
+
Enabled: true
|
264
|
+
|
265
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleyamlfileread
|
266
|
+
Style/YAMLFileRead:
|
267
|
+
Enabled: true
|
268
|
+
|
269
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylesinglelinedoendblock
|
270
|
+
Style/SingleLineDoEndBlock:
|
271
|
+
Enabled: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-nosolosoftware
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Aranda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.57.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.57.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubocop-capybara
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.19.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.19.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop-factory_bot
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.24.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.24.0
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: rubocop-faker
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,28 +72,28 @@ dependencies:
|
|
44
72
|
requirements:
|
45
73
|
- - "~>"
|
46
74
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
75
|
+
version: 1.19.1
|
48
76
|
type: :runtime
|
49
77
|
prerelease: false
|
50
78
|
version_requirements: !ruby/object:Gem::Requirement
|
51
79
|
requirements:
|
52
80
|
- - "~>"
|
53
81
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
82
|
+
version: 1.19.1
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
84
|
name: rubocop-rails
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|
58
86
|
requirements:
|
59
87
|
- - "~>"
|
60
88
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
89
|
+
version: 2.21.2
|
62
90
|
type: :runtime
|
63
91
|
prerelease: false
|
64
92
|
version_requirements: !ruby/object:Gem::Requirement
|
65
93
|
requirements:
|
66
94
|
- - "~>"
|
67
95
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
96
|
+
version: 2.21.2
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
98
|
name: rubocop-rake
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +114,14 @@ dependencies:
|
|
86
114
|
requirements:
|
87
115
|
- - "~>"
|
88
116
|
- !ruby/object:Gem::Version
|
89
|
-
version: 2.
|
117
|
+
version: 2.24.1
|
90
118
|
type: :runtime
|
91
119
|
prerelease: false
|
92
120
|
version_requirements: !ruby/object:Gem::Requirement
|
93
121
|
requirements:
|
94
122
|
- - "~>"
|
95
123
|
- !ruby/object:Gem::Version
|
96
|
-
version: 2.
|
124
|
+
version: 2.24.1
|
97
125
|
description: ''
|
98
126
|
email: jaranda@nosolosoftware.es
|
99
127
|
executables: []
|
@@ -107,7 +135,9 @@ files:
|
|
107
135
|
- README.md
|
108
136
|
- rubocop-all.yml
|
109
137
|
- rubocop-bundler.yml
|
138
|
+
- rubocop-capybara.yml
|
110
139
|
- rubocop-default.yml
|
140
|
+
- rubocop-factory-bot.yml
|
111
141
|
- rubocop-faker.yml
|
112
142
|
- rubocop-gemspec.yml
|
113
143
|
- rubocop-layout.yml
|
@@ -125,8 +155,8 @@ homepage: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
|
125
155
|
licenses:
|
126
156
|
- MIT
|
127
157
|
metadata:
|
128
|
-
source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.
|
129
|
-
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.
|
158
|
+
source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.18.0
|
159
|
+
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.18.0/CHANGELOG.md
|
130
160
|
homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
131
161
|
post_install_message:
|
132
162
|
rdoc_options:
|
@@ -144,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
174
|
- !ruby/object:Gem::Version
|
145
175
|
version: '0'
|
146
176
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
177
|
+
rubygems_version: 3.4.17
|
148
178
|
signing_key:
|
149
179
|
specification_version: 4
|
150
180
|
summary: Default Rubocop configuration used in NoSoloSoftware developments
|