rubocop-nosolosoftware 1.15.0 → 1.17.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 +80 -0
- data/rubocop-capybara.yml +26 -0
- data/rubocop-default.yml +5 -0
- data/rubocop-gemspec.yml +4 -4
- data/rubocop-layout.yml +12 -0
- data/rubocop-lint.yml +20 -0
- data/rubocop-metrics.yml +5 -0
- data/rubocop-performance.yml +4 -0
- data/rubocop-rails.yml +64 -0
- data/rubocop-rspec.yml +61 -0
- data/rubocop-style.yml +73 -0
- metadata +35 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fbf5c4e18589b5c8fa2008cb83979e418a36aafb7e86f9a370de3f8e1a651c7
|
4
|
+
data.tar.gz: 1f542c72065363864f45b677defb9d9de0bf14b92241275428bbd6ef58a7bbc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b49b5e051a9d99ded77a8c5c335d81cf5eb10f4fb23b5e890b6df84e6da5b6d01b6a9d528b8085d04eabd3f6992415a48fe26d8d29d32ec70c3038f98bd7806b
|
7
|
+
data.tar.gz: 5f5f862ef2545aa16e4a9c036e01456fc26fb8388a2769c2e42940510d8c3a492c4a55dca238f082eb477b24acaed1ac1a3e2cf11ec76c5777a6327c6e33aa86
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,86 @@ 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
|
+
## 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)
|
67
|
+
|
68
|
+
## 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
|
9
89
|
## 1.15.0 - 2022-06-02
|
10
90
|
- Added new rules
|
11
91
|
- rubocop
|
@@ -0,0 +1,26 @@
|
|
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
|
data/rubocop-default.yml
CHANGED
@@ -1,12 +1,17 @@
|
|
1
1
|
inherit_from:
|
2
2
|
- rubocop-all.yml
|
3
3
|
- rubocop-bundler.yml
|
4
|
+
- rubocop-capybara.yml
|
5
|
+
- rubocop-faker.yml
|
4
6
|
- rubocop-gemspec.yml
|
5
7
|
- rubocop-layout.yml
|
6
8
|
- rubocop-lint.yml
|
7
9
|
- rubocop-metrics.yml
|
8
10
|
- rubocop-naming.yml
|
9
11
|
- rubocop-performance.yml
|
12
|
+
- rubocop-rails.yml
|
13
|
+
- rubocop-rake.yml
|
14
|
+
- rubocop-rspec.yml
|
10
15
|
- rubocop-security.yml
|
11
16
|
- rubocop-style.yml
|
12
17
|
|
data/rubocop-gemspec.yml
CHANGED
@@ -2,10 +2,6 @@
|
|
2
2
|
## https://rubocop.readthedocs.io/en/latest/cops_gemspec/
|
3
3
|
#
|
4
4
|
|
5
|
-
# https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecdateassignment
|
6
|
-
Gemspec/DateAssignment:
|
7
|
-
Enabled: true
|
8
|
-
|
9
5
|
# https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecrequiremfa
|
10
6
|
Gemspec/RequireMFA:
|
11
7
|
Enabled: true
|
@@ -17,3 +13,7 @@ Gemspec/DependencyVersion:
|
|
17
13
|
# https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecdeprecatedattributeassignment
|
18
14
|
Gemspec/DeprecatedAttributeAssignment:
|
19
15
|
Enabled: true
|
16
|
+
|
17
|
+
# https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspecdevelopmentdependencies
|
18
|
+
Gemspec/DevelopmentDependencies:
|
19
|
+
Enabled: true
|
data/rubocop-layout.yml
CHANGED
@@ -26,3 +26,15 @@ Layout/SpaceBeforeBrackets:
|
|
26
26
|
Layout/LineEndStringConcatenationIndentation:
|
27
27
|
Enabled: true
|
28
28
|
EnforcedStyle: aligned
|
29
|
+
|
30
|
+
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutlinecontinuationleadingspace
|
31
|
+
Layout/LineContinuationLeadingSpace:
|
32
|
+
Enabled: true
|
33
|
+
|
34
|
+
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutlinecontinuationspacing
|
35
|
+
Layout/LineContinuationSpacing:
|
36
|
+
Enabled: true
|
37
|
+
|
38
|
+
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutmultilinemethodparameterlinebreaks
|
39
|
+
Layout/MultilineMethodParameterLineBreaks:
|
40
|
+
Enabled: true
|
data/rubocop-lint.yml
CHANGED
@@ -103,3 +103,23 @@ Lint/UselessRuby2Keywords:
|
|
103
103
|
# https://docs.rubocop.org/rubocop/cops_lint.html#lintrefinementimportmethods
|
104
104
|
Lint/RefinementImportMethods:
|
105
105
|
Enabled: true
|
106
|
+
|
107
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintnonatomicfileoperation
|
108
|
+
Lint/NonAtomicFileOperation:
|
109
|
+
Enabled: true
|
110
|
+
|
111
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintconstantoverwritteninrescue
|
112
|
+
Lint/ConstantOverwrittenInRescue:
|
113
|
+
Enabled: true
|
114
|
+
|
115
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintrequirerangeparentheses
|
116
|
+
Lint/RequireRangeParentheses:
|
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
|
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,7 @@ 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
|
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
|
@@ -205,3 +209,63 @@ Rails/ActionControllerTestCase:
|
|
205
209
|
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railstablenameassignment
|
206
210
|
Rails/TableNameAssignment:
|
207
211
|
Enabled: false
|
212
|
+
|
213
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsdotseparatedkeys
|
214
|
+
Rails/DotSeparatedKeys:
|
215
|
+
Enabled: true
|
216
|
+
|
217
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsstripheredoc
|
218
|
+
Rails/StripHeredoc:
|
219
|
+
Enabled: true
|
220
|
+
|
221
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railstoformatteds
|
222
|
+
Rails/ToFormattedS:
|
223
|
+
Enabled: true
|
224
|
+
|
225
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsrootpublicpath
|
226
|
+
Rails/RootPublicPath:
|
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
|
data/rubocop-rspec.yml
CHANGED
@@ -81,3 +81,64 @@ RSpec/VerifiedDoubleReference:
|
|
81
81
|
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecchangebyzero
|
82
82
|
RSpec/ChangeByZero:
|
83
83
|
Enabled: true
|
84
|
+
|
85
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_rails.html#rspecrailshavehttpstatus
|
86
|
+
RSpec/Rails/HaveHttpStatus:
|
87
|
+
Enabled: true
|
88
|
+
|
89
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecnoexpectationexample
|
90
|
+
RSpec/NoExpectationExample:
|
91
|
+
Enabled: false
|
92
|
+
|
93
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecclasscheck
|
94
|
+
RSpec/ClassCheck:
|
95
|
+
Enabled: true
|
96
|
+
|
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
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_rails.html#rspecrailsinferredspectype
|
103
|
+
RSpec/Rails/InferredSpecType:
|
104
|
+
Enabled: false
|
105
|
+
|
106
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecsortmetadata
|
107
|
+
RSpec/SortMetadata:
|
108
|
+
Enabled: false
|
109
|
+
|
110
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybotfactorynamestyle
|
111
|
+
RSpec/FactoryBot/FactoryNameStyle:
|
112
|
+
Enabled: true
|
113
|
+
|
114
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecduplicatedmetadata
|
115
|
+
RSpec/DuplicatedMetadata:
|
116
|
+
Enabled: true
|
117
|
+
|
118
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecpendingwithoutreason
|
119
|
+
RSpec/PendingWithoutReason:
|
120
|
+
Enabled: true
|
121
|
+
|
122
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_rails.html#rspecrailsminitestassertions
|
123
|
+
RSpec/Rails/MinitestAssertions:
|
124
|
+
Enabled: true
|
125
|
+
|
126
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecredundantaround
|
127
|
+
RSpec/RedundantAround:
|
128
|
+
Enabled: true
|
129
|
+
|
130
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_rails.html#rspecrailstravelaround
|
131
|
+
RSpec/Rails/TravelAround:
|
132
|
+
Enabled: true
|
133
|
+
|
134
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspeccontainexactly
|
135
|
+
RSpec/ContainExactly:
|
136
|
+
Enabled: true
|
137
|
+
|
138
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecmatcharray
|
139
|
+
RSpec/MatchArray:
|
140
|
+
Enabled: true
|
141
|
+
|
142
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecskipblockinsideexample
|
143
|
+
RSpec/SkipBlockInsideExample:
|
144
|
+
Enabled: true
|
data/rubocop-style.yml
CHANGED
@@ -152,3 +152,76 @@ Style/EnvHome:
|
|
152
152
|
# https://docs.rubocop.org/rubocop/cops_style.html#stylemapcompactwithconditionalblock
|
153
153
|
Style/MapCompactWithConditionalBlock:
|
154
154
|
Enabled: true
|
155
|
+
|
156
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleemptyheredoc
|
157
|
+
Style/EmptyHeredoc:
|
158
|
+
Enabled: true
|
159
|
+
|
160
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylemagiccommentformat
|
161
|
+
Style/MagicCommentFormat:
|
162
|
+
Enabled: true
|
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
|
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.17.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:
|
11
|
+
date: 2023-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,84 +16,98 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.48.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:
|
26
|
+
version: 1.48.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.17.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.17.1
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rubocop-faker
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
47
|
+
version: 1.1.0
|
34
48
|
type: :runtime
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
54
|
+
version: 1.1.0
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rubocop-performance
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
61
|
+
version: 1.16.0
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
66
|
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
68
|
+
version: 1.16.0
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rubocop-rails
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
75
|
+
version: 2.18.0
|
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: 2.
|
82
|
+
version: 2.18.0
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rubocop-rake
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
89
|
+
version: 0.6.0
|
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:
|
96
|
+
version: 0.6.0
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rubocop-rspec
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: 2.
|
103
|
+
version: 2.19.0
|
90
104
|
type: :runtime
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: 2.
|
110
|
+
version: 2.19.0
|
97
111
|
description: ''
|
98
112
|
email: jaranda@nosolosoftware.es
|
99
113
|
executables: []
|
@@ -107,6 +121,7 @@ files:
|
|
107
121
|
- README.md
|
108
122
|
- rubocop-all.yml
|
109
123
|
- rubocop-bundler.yml
|
124
|
+
- rubocop-capybara.yml
|
110
125
|
- rubocop-default.yml
|
111
126
|
- rubocop-faker.yml
|
112
127
|
- rubocop-gemspec.yml
|
@@ -125,10 +140,10 @@ homepage: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
|
125
140
|
licenses:
|
126
141
|
- MIT
|
127
142
|
metadata:
|
128
|
-
source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.
|
129
|
-
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.
|
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
|
130
145
|
homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
131
|
-
post_install_message:
|
146
|
+
post_install_message:
|
132
147
|
rdoc_options:
|
133
148
|
- "--charset=UTF-8"
|
134
149
|
require_paths:
|
@@ -144,8 +159,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
159
|
- !ruby/object:Gem::Version
|
145
160
|
version: '0'
|
146
161
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
148
|
-
signing_key:
|
162
|
+
rubygems_version: 3.3.7
|
163
|
+
signing_key:
|
149
164
|
specification_version: 4
|
150
165
|
summary: Default Rubocop configuration used in NoSoloSoftware developments
|
151
166
|
test_files: []
|