rubocop-nosolosoftware 1.17.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fbf5c4e18589b5c8fa2008cb83979e418a36aafb7e86f9a370de3f8e1a651c7
4
- data.tar.gz: 1f542c72065363864f45b677defb9d9de0bf14b92241275428bbd6ef58a7bbc1
3
+ metadata.gz: b169ccd9f1ea4f24874ceac1e74dbd10fb68f2552bec90ad0ddc6cc7ad55009d
4
+ data.tar.gz: 034015f49c9adad812469f51e2416c7b72d5ba91a429cf8c4065825a12252a8f
5
5
  SHA512:
6
- metadata.gz: b49b5e051a9d99ded77a8c5c335d81cf5eb10f4fb23b5e890b6df84e6da5b6d01b6a9d528b8085d04eabd3f6992415a48fe26d8d29d32ec70c3038f98bd7806b
7
- data.tar.gz: 5f5f862ef2545aa16e4a9c036e01456fc26fb8388a2769c2e42940510d8c3a492c4a55dca238f082eb477b24acaed1ac1a3e2cf11ec76c5777a6327c6e33aa86
6
+ metadata.gz: cffab5a2f5b08bc521a5752e514689329bba84e4c941a247e5ad3609a62e991c48f558ed7a1b5b4d6f90636ab682a145ae6696bb9252b9535bf9e446457e294f
7
+ data.tar.gz: 2c8650db70b5b44ffa1660a07c481a663f339e9e9f53ae12b81961f056c13968d7065b3dbd5d837e7af3bd756bb1e8dfded877ed0f8458645f62cee3887fed10
data/CHANGELOG.md CHANGED
@@ -6,114 +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
+
9
56
  ## 1.17.0 - 2023-03-14
10
- - Added rubocop-capybara as deprecation rules in rubocop-rspec 2.18.0 [link](https://github.com/rubocop/rubocop-rspec/releases/tag/v2.18.0)
11
- - Added new rules
12
- - rubocop
13
- - Lint/DuplicateMagicComment (1.37.0)
14
- - Style/OperatorMethodCall (1.37.0)
15
- - Style/RedundantStringEscape (1.37.0)
16
- - Style/RedundantEach (1.38.0)
17
- - Style/RedundantConstantBase (1.40.0)
18
- - Style/RequireOrder (1.40.0)
19
- - Style/ArrayIntersect (1.40.0)
20
- - Style/RedundantDoubleSplatHashBraces (1.41.0)
21
- - Style/ConcatArrayLiterals (1.41.0)
22
- - Style/MapToSet (1.42.0)
23
- - Style/MinMaxComparison (1.42.0)
24
- - Style/YodaExpression (1.42.0)
25
- - Lint/UselessRescue (1.43.0)
26
- - Style/InvertibleUnlessCondition (1.44.0)
27
- - Style/ComparableClamp (1.44.0)
28
- - Gemspec/DevelopmentDependencies (1.44.0)
29
- - Style/RedundantHeredocDelimiterQuotes (1.45.0)
30
- - Metrics/CollectionLiteralLength (1.47.0)
31
- - Style/DirEmpty (1.48.0)
32
- - Style/FileEmpty (1.48.0)
33
- - rubocop-rails
34
- - Rails/FreezeTime (2.16.0)
35
- - Rails/WhereMissing (2.16.0)
36
- - Rails/RootPathnameMethods (2.16.0)
37
- - Rails/TopLevelHashWithIndifferentAccess (2.16.0)
38
- - Rails/ActionControllerFlashBeforeRender (2.16.0)
39
- - Rails/ActiveSupportOnLoad (2.16.0)
40
- - Rails/ToSWithArgument (2.16.0)
41
- - Rails/ActionOrder (2.17.0)
42
- - Rails/WhereNotWithMultipleConditions (2.17.0)
43
- - Rails/IgnoredColumnsAssignment (2.17.0)
44
- - Rails/ResponseParsedBody (2.18.0)
45
- - rubocop-performance:
46
- - Performance/ConcurrentMonotonicTime (1.12.0)
47
- - rubocop-rspec
48
- - RSpec/NoExpectationExample (2.13.0)
49
- - RSpec/ClassCheck (2.13.0)
50
- - RSpec/FactoryBot/ConsistentParenthesesStyle (2.14.0)
51
- - RSpec/Rails/InferredSpecType (2.14.0)
52
- - RSpec/SortMetadata (2.14.0)
53
- - RSpec/FactoryBot/FactoryNameStyle (2.16.0)
54
- - RSpec/DuplicatedMetadata (2.16.0)
55
- - RSpec/PendingWithoutReason (2.16.0)
56
- - RSpec/Rails/MinitestAssertions (2.17.0)
57
- - RSpec/RedundantAround (2.19.0)
58
- - RSpec/Rails/TravelAround (2.19.0)
59
- - RSpec/ContainExactly (2.19.0)
60
- - RSpec/MatchArray (2.19.0)
61
- - RSpec/SkipBlockInsideExample (2.19.0)
62
- - rubocop-capybara
63
- - Capybara/SpecificFinders (2.17.1)
64
- - Capybara/NegationMatcher (2.17.1)
65
- - Capybara/SpecificActions (2.17.1)
66
- - Capybara/MatchStyle (2.17.1)
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)
67
115
 
68
116
  ## 1.16.0 - 2022-09-01
69
- - Added new rules
70
- - rubocop
71
- - Lint/NonAtomicFileOperation (1.31.0)
72
- - Layout/LineContinuationLeadingSpace (1.31.0)
73
- - Layout/LineContinuationSpacing (1.31.0)
74
- - Style/EmptyHeredoc (1.32.0)
75
- - Layout/MultilineMethodParameterLineBreaks (1.32.0)
76
- - Lint/RequireRangeParentheses (1.32.0)
77
- - Style/MagicCommentFormat (1.35.0)
78
- - rubocop-rails
79
- - Rails/DotSeparatedKeys (1.15.0)
80
- - Rails/StripHeredoc (1.15.0)
81
- - Rails/ToFormattedS (1.15.0)
82
- - Rails/RootPublicPath (1.15.0)
83
- - rubocop-rspec
84
- - RSpec/Capybara/SpecificMatcher (2.12.0)
85
- - RSpec/Rails/HaveHttpStatus (2.12.0)
86
- - Removed rules
87
- - rubocop
88
- - Gemspec/DateAssignment
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
+
89
139
  ## 1.15.0 - 2022-06-02
90
- - Added new rules
91
- - rubocop
92
- - Gemspec/DependencyVersion (1.29)
93
- - Gemspec/DeprecatedAttributeAssignment (1.30)
94
- - Lint/RefinementImportMethods (1.27)
95
- - Security/CompoundHash (1.28)
96
- - Style/EnvHome (1.29)
97
- - Style/FetchEnvVar (1.28)
98
- - Style/MapCompactWithConditionalBlock (1.30)
99
- - Style/NestedFileDirname (1.26)
100
- - Style/ObjectThen (1.28)
101
- - Style/RedundantInitialize (1.27)
102
- - rubocop-rails
103
- - Rails/I18nLocaleTexts (2.14)
104
- - Rails/I18nLazyLookup (2.14)
105
- - Rails/MigrationClassName (2.14)
106
- - Rails/DuplicateAssociation (2.14)
107
- - Rails/DuplicateScope (2.14)
108
- - Rails/TransactionExitStatement (2.14)
109
- - Rails/DeprecatedActiveModelErrorsMethods (2.14)
110
- - Rails/ActionControllerTestCase (2.14)
111
- - Rails/TableNameAssignment (2.14)
112
- - rubocop-rspec
113
- - RSpec/ChangeByZero (2.11.0)
114
- - RSpec/VerifiedDoubleReference (2.10.0)
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)
115
166
 
116
167
  ## 1.14.0 - 2022-03-04
168
+
117
169
  - Added new rules
118
170
  - rubocop-rails
119
171
  - Rails/CompactBlank (2.13)
@@ -124,6 +176,7 @@ The following rules have been added:
124
176
  - RSpec/BeNil (2.9)
125
177
 
126
178
  ## 1.13.0 - 2022-02-25
179
+
127
180
  - Added new rules
128
181
  - rubocop
129
182
  - Lint/UselessRuby2Keywords (1.23)
@@ -142,9 +195,11 @@ The following rules have been added:
142
195
  - RSpec/FactoryBot/SyntaxMethods (2.7.0)
143
196
 
144
197
  ## 1.12.1 - 2021-10-13
198
+
145
199
  - No new changes. Previous gem was yanked.
146
200
 
147
201
  ## 1.12.0 - 2021-10-13
202
+
148
203
  - Added new rules
149
204
  - rubocop
150
205
  - Lint/RequireRelativeSelfPath (1.22)
@@ -154,6 +209,7 @@ The following rules have been added:
154
209
  - Style/SelectByRegexp (1.22)
155
210
 
156
211
  ## 1.11.0 - 2021-09-28
212
+
157
213
  - Added new rules
158
214
  - rubocop
159
215
  - Lint/AmbiguousOperatorPrecedence (1.21)
@@ -165,38 +221,47 @@ The following rules have been added:
165
221
  - RSpec/SubjectDeclaration (2.5)
166
222
 
167
223
  ### Changed
224
+
168
225
  - Updated dependency rubocop to 1.21
169
226
  - Updated dependency rubocop-rails to 2.12
170
227
  - Updated dependency rubocop-rspec to 2.5
171
228
 
172
229
  ## 1.10.0 - 2021-08-25
230
+
173
231
  ### Changed
232
+
174
233
  - Layout/SpaceAroundEqualsInParameterDefault has been changed to the default value (aka space)
175
234
 
176
235
  ## 1.9.0 - 2021-08-18
236
+
177
237
  - Added new rules introduced in the 1.19 version.
178
238
  - rubocop
179
239
  - Lint/AmbiguousRange
180
240
  - Style/RedundantSelfAssignmentBranch
181
241
 
182
242
  ### Changed
243
+
183
244
  - Updated dependency rubocop to 1.19
184
245
 
185
246
  ## 1.8.1 - 2021-07-26
186
247
 
187
248
  ### Changed
249
+
188
250
  - `config/routes/` directory should have the same rules as `config/routes.rb`
189
251
 
190
252
  ## 1.8.0 - 2021-06-29
253
+
191
254
  - Added new rules introduced in the last version.
192
255
  - rubocop
193
256
  - Layout/LineEndStringConcatenationIndentation (1.18)
194
257
  - Naming/InclusiveLanguage (1.18)
195
258
 
196
259
  ### Changed
260
+
197
261
  - Updated dependency rubocop
198
262
 
199
263
  ## 1.7.0 - 2021-06-29
264
+
200
265
  - Added new rules introduced in the last version.
201
266
  - rubocop-rails
202
267
  - Rails/AddColumnIndex (2.11)
@@ -209,11 +274,13 @@ The following rules have been added:
209
274
  - RSpec/Rails/AvoidSetupHook (2.4)
210
275
 
211
276
  ### Changed
277
+
212
278
  - Updated dependency rubocop-rails and rubocop-rspec
213
279
 
214
280
  ## 1.6.0 - 2021-06-08
215
281
 
216
282
  ### Added
283
+
217
284
  - Added new rules introduced in the last version.
218
285
  - rubocop
219
286
  - Lint/EmptyInPattern (1.16)
@@ -229,11 +296,13 @@ The following rules have been added:
229
296
  - Rails/TimeZoneAssignment (2.10)
230
297
 
231
298
  ### Changed
299
+
232
300
  - Updated dependency rubocop-rails
233
301
 
234
302
  ## 1.5.0 - 2021-02-25
235
303
 
236
304
  ### Added
305
+
237
306
  - Added new rules introduced in the last version.
238
307
  - rubocop
239
308
  - Gemspec/DateAssignment (1.10)
@@ -252,7 +321,9 @@ The following rules have been added:
252
321
  - Style/IfWithBooleanLiteralBranches (1.9)
253
322
 
254
323
  ## 1.4.0 - 2020-12-15
324
+
255
325
  ### Added
326
+
256
327
  - Added new rules introduced in the last version.
257
328
  - rubocop
258
329
  - Lint/UnexpectedBlockArity (1.5)
@@ -261,7 +332,9 @@ The following rules have been added:
261
332
  - Rails/WhereEquals (2.9)
262
333
 
263
334
  ## 1.3.0 - 2020-11-25
335
+
264
336
  ### Added
337
+
265
338
  - Added new rules introduced in the last version.
266
339
  - rubocop
267
340
  - Style/RedundantArgument (1.4)
@@ -273,24 +346,31 @@ The following rules have been added:
273
346
  - Performance/MethodObjectAsBlock (1.9)
274
347
 
275
348
  ## 1.2.0 - 2020-11-13
349
+
276
350
  ### Added
351
+
277
352
  - Added new rules introduced in the last version.
278
353
  - Lint/DuplicateBranch (1.3)
279
354
  - Lint/EmptyClass (1.3)
280
355
  - Style/NilLambda (1.3)
281
356
 
282
357
  ## 1.1.0 - 2020-11-13
358
+
283
359
  ### Added
360
+
284
361
  - Added new rules introduced in the last version.
285
362
  - Lint/NoReturnInBeginEndBlocks (1.2)
286
363
  - Style/CollectionCompact (1.2)
287
364
  - Style/NegatedIfElseCondition (1.2)
288
365
 
289
366
  ### Changed
367
+
290
368
  - Changed Naming/VariableNumber to start using snake_case
291
369
 
292
370
  ## 1.0.0 - 2020-11-04
371
+
293
372
  ### Added
373
+
294
374
  - Added new rules introduced in the last version.
295
375
  - Lint/DuplicateRegexpCharacterClassElement (1.1)
296
376
  - Lint/EmptyBlock (1.1)
@@ -303,15 +383,18 @@ The following rules have been added:
303
383
  - RSpec/Rails/HttpStatus (2.pre)
304
384
 
305
385
  ### Changed
386
+
306
387
  - Removed shared enabled rules with rubocop 1.0
307
388
  - Bump dependencies (rubocop 1.0 and rubocop-rspec 2.pre)
308
389
  - Bump ruby version to use `...`
309
390
  - Reordered some rules following the convention of namespace/file.
310
391
 
311
-
312
392
  ## 0.10.0 - 2020-11-04
393
+
313
394
  ### Added
395
+
314
396
  - Added new rules introduced in the last version.
397
+
315
398
  - Lint/HashCompareByIdentity (0.93)
316
399
  - Lint/RedundantSafeNavigation (0.93)
317
400
  - Style/ClassEqualityComparison (0.93)
@@ -320,10 +403,13 @@ The following rules have been added:
320
403
  - RSpec/StubbedMock (1.44)
321
404
 
322
405
  ### Changed
406
+
323
407
  - Bump dependencies
324
408
 
325
409
  ## 0.9.0 - 2020-09-18
410
+
326
411
  ### Added
412
+
327
413
  - Added new rules introduced in the last version.
328
414
  - Layout/BeginEndAlignment (0.91)
329
415
  - Lint/ConstantDefinitionInBlock (0.91)
@@ -343,11 +429,13 @@ The following rules have been added:
343
429
  - Rails/WhereNot (2.8)
344
430
 
345
431
  ### Changed
432
+
346
433
  - Updated all the extensions.
347
434
 
348
435
  ## 0.8.0 - 2020-08-07
349
436
 
350
437
  ### Added
438
+
351
439
  - Added new rules introduced in the last version.
352
440
  - Lint/BinaryOperatorWithIdenticalOperands (0.89)
353
441
  - Lint/DuplicateRescueException (0.89)
@@ -367,14 +455,17 @@ The following rules have been added:
367
455
  ## 0.7.0 - 2020-08-03
368
456
 
369
457
  ### Added
458
+
370
459
  - Added rubocop-faker as new extension
371
460
 
372
461
  ### Changed
462
+
373
463
  - Updated all the extensions, and configured new rules
374
464
 
375
465
  ## 0.6.0 - 2020-07-13
376
466
 
377
467
  ### Added
468
+
378
469
  - Added new rules introduced in the last version.
379
470
  - Lint/DeprecatedOpenSSLConstant (0.84)
380
471
  - Lint/MixedRegexpCaptureTypes (0.85)
@@ -396,22 +487,26 @@ The following rules have been added:
396
487
  ## 0.5.0 - 2020-07-07
397
488
 
398
489
  ### Changed
490
+
399
491
  - Actualizadas reglas
400
492
 
401
493
  ## 0.4.0 - 2020-02-26
402
494
 
403
495
  ### Changed
496
+
404
497
  - Remove Style/BracesAroundHashParameters cop
405
498
 
406
499
  ## 0.3.0 - 2020-02-07
407
500
 
408
501
  ### Changed
502
+
409
503
  - Set enforced style to braces_for_chaining in Style/BlockDelimiters cop.
410
504
  - Relax required versions of rubocop gems.
411
505
 
412
506
  ## 0.2.0 - 2019-12-23
413
507
 
414
508
  ### Changed
509
+
415
510
  - Move LineLength cop from Metrics to Layout and require rubocop 0.78.0.
416
511
 
417
512
  ## [0.1.0] - 2019-12-03
data/rubocop-bundler.yml CHANGED
@@ -1,3 +1,7 @@
1
1
  #
2
2
  ## https://rubocop.readthedocs.io/en/latest/cops_bundler/
3
3
  #
4
+
5
+ # https://docs.rubocop.org/rubocop/cops_bundler.html#bundlerduplicatedgroup
6
+ Bundler/DuplicatedGroup:
7
+ Enabled: true
data/rubocop-capybara.yml CHANGED
@@ -24,3 +24,15 @@ Capybara/SpecificActions:
24
24
  # https://docs.rubocop.org/rubocop-rspec/cops_rspec_capybara.html#rspeccapybaramatchstyle
25
25
  Capybara/MatchStyle:
26
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
@@ -2,6 +2,7 @@ inherit_from:
2
2
  - rubocop-all.yml
3
3
  - rubocop-bundler.yml
4
4
  - rubocop-capybara.yml
5
+ - rubocop-factory-bot.yml
5
6
  - rubocop-faker.yml
6
7
  - rubocop-gemspec.yml
7
8
  - rubocop-layout.yml
@@ -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-lint.yml CHANGED
@@ -123,3 +123,15 @@ Lint/DuplicateMagicComment:
123
123
  # https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessrescue
124
124
  Lint/UselessRescue:
125
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
@@ -79,3 +79,7 @@ Performance/StringIdentifierArgument:
79
79
  # https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceconcurrentmonotonictime
80
80
  Performance/ConcurrentMonotonicTime:
81
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
@@ -269,3 +269,23 @@ Rails/IgnoredColumnsAssignment:
269
269
  # https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsresponseparsedbody
270
270
  Rails/ResponseParsedBody:
271
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
@@ -94,11 +90,6 @@ RSpec/NoExpectationExample:
94
90
  RSpec/ClassCheck:
95
91
  Enabled: true
96
92
 
97
- # https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybotconsistentparenthesesstyle
98
- RSpec/FactoryBot/ConsistentParenthesesStyle:
99
- Enabled: true
100
- EnforcedStyle: "require_parentheses"
101
-
102
93
  # https://docs.rubocop.org/rubocop-rspec/cops_rspec_rails.html#rspecrailsinferredspectype
103
94
  RSpec/Rails/InferredSpecType:
104
95
  Enabled: false
@@ -107,10 +98,6 @@ RSpec/Rails/InferredSpecType:
107
98
  RSpec/SortMetadata:
108
99
  Enabled: false
109
100
 
110
- # https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybotfactorynamestyle
111
- RSpec/FactoryBot/FactoryNameStyle:
112
- Enabled: true
113
-
114
101
  # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecduplicatedmetadata
115
102
  RSpec/DuplicatedMetadata:
116
103
  Enabled: true
@@ -142,3 +129,40 @@ RSpec/MatchArray:
142
129
  # https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecskipblockinsideexample
143
130
  RSpec/SkipBlockInsideExample:
144
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
@@ -225,3 +225,47 @@ Style/DirEmpty:
225
225
  # https://docs.rubocop.org/rubocop/cops_style.html#stylefileempty
226
226
  Style/FileEmpty:
227
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.17.0
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Aranda
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-15 00:00:00.000000000 Z
11
+ date: 2023-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.48.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.48.1
26
+ version: 1.57.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-capybara
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.17.1
33
+ version: 2.19.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.17.1
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
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rubocop-faker
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -58,28 +72,28 @@ dependencies:
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: 1.16.0
75
+ version: 1.19.1
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: 1.16.0
82
+ version: 1.19.1
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rubocop-rails
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: 2.18.0
89
+ version: 2.21.2
76
90
  type: :runtime
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: 2.18.0
96
+ version: 2.21.2
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: rubocop-rake
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +114,14 @@ dependencies:
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: 2.19.0
117
+ version: 2.24.1
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: 2.19.0
124
+ version: 2.24.1
111
125
  description: ''
112
126
  email: jaranda@nosolosoftware.es
113
127
  executables: []
@@ -123,6 +137,7 @@ files:
123
137
  - rubocop-bundler.yml
124
138
  - rubocop-capybara.yml
125
139
  - rubocop-default.yml
140
+ - rubocop-factory-bot.yml
126
141
  - rubocop-faker.yml
127
142
  - rubocop-gemspec.yml
128
143
  - rubocop-layout.yml
@@ -140,10 +155,10 @@ homepage: https://github.com/nosolosoftware/rubocop-nosolosoftware
140
155
  licenses:
141
156
  - MIT
142
157
  metadata:
143
- source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.17.0
144
- changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.17.0/CHANGELOG.md
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
145
160
  homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
146
- post_install_message:
161
+ post_install_message:
147
162
  rdoc_options:
148
163
  - "--charset=UTF-8"
149
164
  require_paths:
@@ -159,8 +174,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
174
  - !ruby/object:Gem::Version
160
175
  version: '0'
161
176
  requirements: []
162
- rubygems_version: 3.3.7
163
- signing_key:
177
+ rubygems_version: 3.4.17
178
+ signing_key:
164
179
  specification_version: 4
165
180
  summary: Default Rubocop configuration used in NoSoloSoftware developments
166
181
  test_files: []