rubocopital 0.6.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +16 -0
- data/.rubocop-performance.yml +48 -0
- data/.rubocop-rails.yml +51 -0
- data/.rubocop-rspec.yml +27 -0
- data/.rubocop.yml +2 -3
- data/CHANGELOG.md +82 -0
- data/README.md +2 -2
- data/default.yml +124 -5
- data/lib/rubocopital/version.rb +1 -1
- data/new_cops.yml +89 -0
- data/rubocopital.gemspec +5 -5
- metadata +19 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63e97c9f503597572f1e1e8240e7ff2cbcca867a87f55173f5ae664702e00d48
|
4
|
+
data.tar.gz: 7521bdaf213c9637d21985fc1277bd092cab25d5d67c57d38ff285c3eee142e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7974b4cdc043aeb3e0adea9f343d0153c06126775da904cf9a4c0a4dba1a181f238f70a81143154f93d7e70e01fcbaa5dc4b89866d0341e89c60b85919fe9009
|
7
|
+
data.tar.gz: 61826ba3c21774a0419230b30ab85f1e7e4c2555d4d5f3d119b42a6f0d1754274559da0b7e12e1a7b6258532a68a6d4469396e282c0546dde3a5ed1197be1ce0
|
data/.github/workflows/ruby.yml
CHANGED
@@ -3,6 +3,22 @@ name: Ruby
|
|
3
3
|
on: [push, pull_request]
|
4
4
|
|
5
5
|
jobs:
|
6
|
+
build-ruby-30:
|
7
|
+
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
|
10
|
+
steps:
|
11
|
+
- uses: actions/checkout@v1
|
12
|
+
- name: Set up Ruby 3.0
|
13
|
+
uses: actions/setup-ruby@v1
|
14
|
+
with:
|
15
|
+
ruby-version: 3.0.x
|
16
|
+
- name: Build and test with Rake
|
17
|
+
run: |
|
18
|
+
gem install bundler
|
19
|
+
bundle install --jobs 4 --retry 3
|
20
|
+
bundle exec rake
|
21
|
+
|
6
22
|
build-ruby-26:
|
7
23
|
|
8
24
|
runs-on: ubuntu-latest
|
data/.rubocop-performance.yml
CHANGED
@@ -1,7 +1,55 @@
|
|
1
1
|
require: rubocop-performance
|
2
2
|
|
3
|
+
Performance/AncestorsInclude:
|
4
|
+
Enabled: true
|
5
|
+
|
6
|
+
Performance/StringInclude:
|
7
|
+
Enabled: true
|
8
|
+
|
3
9
|
Performance/ChainArrayAllocation:
|
4
10
|
Enabled: true
|
5
11
|
|
6
12
|
Performance/OpenStruct:
|
7
13
|
Enabled: true
|
14
|
+
|
15
|
+
Performance/Squeeze:
|
16
|
+
Enabled: true
|
17
|
+
|
18
|
+
Performance/SortReverse:
|
19
|
+
Enabled: true
|
20
|
+
|
21
|
+
Performance/ReverseFirst:
|
22
|
+
Enabled: true
|
23
|
+
|
24
|
+
Performance/RedundantStringChars:
|
25
|
+
Enabled: true
|
26
|
+
|
27
|
+
Performance/RedundantSortBlock:
|
28
|
+
Enabled: true
|
29
|
+
|
30
|
+
Performance/IoReadlines:
|
31
|
+
Enabled: true
|
32
|
+
|
33
|
+
Performance/DeleteSuffix:
|
34
|
+
Enabled: true
|
35
|
+
|
36
|
+
Performance/BindCall:
|
37
|
+
Enabled: true
|
38
|
+
|
39
|
+
Performance/BigDecimalWithNumericArgument:
|
40
|
+
Enabled: true
|
41
|
+
|
42
|
+
Performance/BlockGivenWithExplicitBlock:
|
43
|
+
Enabled: true
|
44
|
+
|
45
|
+
Performance/CollectionLiteralInLoop:
|
46
|
+
Enabled: true
|
47
|
+
|
48
|
+
Performance/ConstantRegexp:
|
49
|
+
Enabled: true
|
50
|
+
|
51
|
+
Performance/MethodObjectAsBlock:
|
52
|
+
Enabled: true
|
53
|
+
|
54
|
+
Performance/Sum:
|
55
|
+
Enabled: true
|
data/.rubocop-rails.yml
CHANGED
@@ -51,6 +51,57 @@ Rails/SafeNavigationWithBlank:
|
|
51
51
|
Rails/SkipsModelValidations:
|
52
52
|
Enabled: false
|
53
53
|
|
54
|
+
Rails/UniqueValidationWithoutIndex:
|
55
|
+
Enabled: true
|
56
|
+
|
57
|
+
Rails/RenderPlainText:
|
58
|
+
Enabled: true
|
59
|
+
|
60
|
+
Rails/RenderInline:
|
61
|
+
Enabled: true
|
62
|
+
|
63
|
+
Rails/RedundantForeignKey:
|
64
|
+
Enabled: true
|
65
|
+
|
66
|
+
Rails/PluckInWhere:
|
67
|
+
Enabled: true
|
68
|
+
|
69
|
+
Rails/Pluck:
|
70
|
+
Enabled: true
|
71
|
+
|
72
|
+
Rails/Pick:
|
73
|
+
Enabled: true
|
74
|
+
|
75
|
+
Rails/NegateInclude:
|
76
|
+
Enabled: true
|
77
|
+
|
78
|
+
Rails/MailerName:
|
79
|
+
Enabled: true
|
80
|
+
|
81
|
+
Rails/FindById:
|
82
|
+
Enabled: true
|
83
|
+
|
84
|
+
Rails/ContentTag:
|
85
|
+
Enabled: true
|
86
|
+
|
87
|
+
Rails/MatchRoute:
|
88
|
+
Enabled: true
|
89
|
+
|
90
|
+
Rails/ShortI18n:
|
91
|
+
Enabled: true
|
92
|
+
|
93
|
+
Rails/PluckId:
|
94
|
+
Enabled: false
|
95
|
+
|
96
|
+
Rails/ActiveRecordCallbacksOrder:
|
97
|
+
Enabled: true
|
98
|
+
|
99
|
+
Rails/Inquiry:
|
100
|
+
Enabled: true
|
101
|
+
|
102
|
+
Rails/WhereExists:
|
103
|
+
Enabled: true
|
104
|
+
|
54
105
|
Rails/UnknownEnv:
|
55
106
|
Environments:
|
56
107
|
- development
|
data/.rubocop-rspec.yml
CHANGED
@@ -249,3 +249,30 @@ RSpec/VoidExpect:
|
|
249
249
|
|
250
250
|
RSpec/Yield:
|
251
251
|
Enabled: true
|
252
|
+
|
253
|
+
RSpec/RepeatedExampleGroupDescription:
|
254
|
+
Enabled: true
|
255
|
+
|
256
|
+
RSpec/VariableName:
|
257
|
+
Enabled: true
|
258
|
+
|
259
|
+
RSpec/VariableDefinition:
|
260
|
+
Enabled: true
|
261
|
+
|
262
|
+
RSpec/RepeatedExampleGroupBody:
|
263
|
+
Enabled: true
|
264
|
+
|
265
|
+
RSpec/EmptyHook:
|
266
|
+
Enabled: true
|
267
|
+
|
268
|
+
# TODO Cops
|
269
|
+
Rails/AfterCommitOverride: # (new in 2.8)
|
270
|
+
Enabled: false
|
271
|
+
Rails/AttributeDefaultBlockValue: # (new in 2.9)
|
272
|
+
Enabled: false
|
273
|
+
Rails/SquishedSQLHeredocs: # (new in 2.8)
|
274
|
+
Enabled: false
|
275
|
+
Rails/WhereEquals: # (new in 2.9)
|
276
|
+
Enabled: false
|
277
|
+
Rails/WhereNot: # (new in 2.8)
|
278
|
+
Enabled: false
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,88 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.0.1] - 05 February 2021
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
- Fixed projects without Rubocop-Rails
|
14
|
+
|
15
|
+
## [1.0.0] - 05 February 2021
|
16
|
+
|
17
|
+
### Changed
|
18
|
+
|
19
|
+
- Upgrade Rubocop from 0.89.0 to 1.9.1
|
20
|
+
- Upgrade Rubocop-Performance from 1.7.1 to 1.9.2
|
21
|
+
- Upgrade Rubocop-Rails from 2.7.0 to 2.9.1
|
22
|
+
|
23
|
+
## [0.7.1] - 05 October 2020
|
24
|
+
|
25
|
+
- Upgrade rubocop to 0.89.0 to prevent bug in 0.88.0
|
26
|
+
|
27
|
+
- Added Style/ExplicitBlockArgument disabled
|
28
|
+
- Added Style/GlobalStdStream disabled
|
29
|
+
- Added Style/OptionalBooleanParameter disabled
|
30
|
+
- Added Style/SingleArgumentDig disabled
|
31
|
+
- Added Style/StringConcatenation disabled
|
32
|
+
|
33
|
+
- Added Lint/BinaryOperatorWithIdenticalOperands disabled
|
34
|
+
- Added Lint/DuplicateRescueException disabled
|
35
|
+
- Added Lint/EmptyConditionalBody disabled
|
36
|
+
- Added Lint/FloatComparison disabled
|
37
|
+
- Added Lint/MissingSuper disabled
|
38
|
+
- Added Lint/OutOfRangeRegexpRef disabled
|
39
|
+
- Added Lint/SelfAssignment disabled
|
40
|
+
- Added Lint/TopLevelReturnWithArgument disabled
|
41
|
+
- Added Lint/UnreachableLoop disabled
|
42
|
+
|
43
|
+
## [0.7.0] - 10 August 2020
|
44
|
+
|
45
|
+
- Added Rails/ActiveRecordCallbacksOrder
|
46
|
+
- Added Rails/Inquiry
|
47
|
+
- Added Rails/WhereExists
|
48
|
+
|
49
|
+
- Added Lint/RaiseException
|
50
|
+
- Added Lint/MixedRegexpCaptureTypes
|
51
|
+
- Added Lint/DeprecatedOpenSSLConstant
|
52
|
+
- Added Lint/DuplicateElsifCondition
|
53
|
+
- Added Lint/MixedRegexpCaptureTypes
|
54
|
+
|
55
|
+
- Added Performance/AncestorsInclude
|
56
|
+
- Added Performance/StringInclude
|
57
|
+
- Added Performance/Squeeze
|
58
|
+
- Added Performance/SortReverse
|
59
|
+
- Added Performance/ReverseFirst
|
60
|
+
- Added Performance/RedundantStringChars
|
61
|
+
- Added Performance/RedundantSortBlock
|
62
|
+
- Added Performance/IoReadlines
|
63
|
+
- Added Performance/ReverseFirst
|
64
|
+
- Added Performance/DeleteSuffix
|
65
|
+
- Added Performance/BindCall
|
66
|
+
- Added Performance/BigDecimalWithNumericArgument
|
67
|
+
- Added Performance/DeleteSuffix
|
68
|
+
|
69
|
+
- Added RSpec/RepeatedExampleGroupDescription
|
70
|
+
- Added RSpec/VariableName
|
71
|
+
- Added RSpec/VariableDefinition
|
72
|
+
- Added RSpec/RepeatedExampleGroupBody
|
73
|
+
- Added RSpec/EmptyHook
|
74
|
+
- Added RSpec/RepeatedExampleGroupBody
|
75
|
+
|
76
|
+
- Added Style/SlicingWithRange
|
77
|
+
- Added Style/RedundantRegexpEscape
|
78
|
+
- Added Style/RedundantRegexpCharacterClass
|
79
|
+
- Added Style/RedundantFetchBlock
|
80
|
+
- Added Style/RedundantAssignment
|
81
|
+
- Added Style/HashTransformValues
|
82
|
+
- Added Style/HashEachMethods
|
83
|
+
- Added Style/ExponentialNotation
|
84
|
+
- Added Style/BisectedAttrAccessor
|
85
|
+
- Added Style/AccessorGrouping
|
86
|
+
|
87
|
+
## [0.6.1] - 11 March 2020
|
88
|
+
|
89
|
+
- Bumped rake dependency to a higher version to mitigate CVE-2020-8130
|
90
|
+
|
9
91
|
## [0.6.0] - 20 January 2020
|
10
92
|
|
11
93
|
- Updated rubocop gem to `0.77.0`
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ This is the common configuration for ruby-style checks by [Rubocop](https://gith
|
|
7
7
|
Add this line to your application's Gemfile under the `development` and `test` groups to include a specific version of this gem:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem 'rubocopital', '~> 0.
|
10
|
+
gem 'rubocopital', '~> 1.0.1', require: false
|
11
11
|
```
|
12
12
|
|
13
13
|
And then execute:
|
@@ -36,7 +36,7 @@ you can just add them below.
|
|
36
36
|
- default.yml
|
37
37
|
|
38
38
|
AllCops:
|
39
|
-
TargetRubyVersion:
|
39
|
+
TargetRubyVersion: 3.0
|
40
40
|
DisplayCopNames: false
|
41
41
|
DisplayStyleGuide: true
|
42
42
|
```
|
data/default.yml
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- .rubocop-performance.yml
|
3
|
+
- new_cops.yml
|
2
4
|
|
3
5
|
AllCops:
|
4
|
-
TargetRubyVersion: 2.
|
6
|
+
TargetRubyVersion: 2.6
|
5
7
|
Exclude:
|
6
8
|
- db/migrate/*
|
7
9
|
- db/seeds/*
|
@@ -90,6 +92,12 @@ Style/EachWithObject:
|
|
90
92
|
Style/UnpackFirst:
|
91
93
|
Enabled: false
|
92
94
|
|
95
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
96
|
+
Enabled: true
|
97
|
+
|
98
|
+
Layout/SpaceAroundMethodCallOperator:
|
99
|
+
Enabled: true
|
100
|
+
|
93
101
|
Layout/EndAlignment:
|
94
102
|
EnforcedStyleAlignWith: variable
|
95
103
|
|
@@ -100,6 +108,9 @@ Layout/FirstParameterIndentation:
|
|
100
108
|
Enabled: true
|
101
109
|
EnforcedStyle: consistent
|
102
110
|
|
111
|
+
Layout/LineLength:
|
112
|
+
Max: 120
|
113
|
+
|
103
114
|
Layout/MultilineMethodCallIndentation:
|
104
115
|
EnforcedStyle: indented
|
105
116
|
|
@@ -112,9 +123,6 @@ Style/TrivialAccessors:
|
|
112
123
|
Metrics/AbcSize:
|
113
124
|
Enabled: false
|
114
125
|
|
115
|
-
Metrics/LineLength:
|
116
|
-
Max: 120
|
117
|
-
|
118
126
|
Metrics/BlockLength:
|
119
127
|
CountComments: false # count full line comments?
|
120
128
|
Max: 50
|
@@ -165,9 +173,72 @@ Style/NegatedUnless:
|
|
165
173
|
Style/StringLiterals:
|
166
174
|
Enabled: false
|
167
175
|
|
176
|
+
Style/ArrayCoercion:
|
177
|
+
Enabled: true
|
178
|
+
|
179
|
+
Style/CaseLikeIf:
|
180
|
+
Enabled: true
|
181
|
+
|
182
|
+
Style/HashAsLastArrayItem:
|
183
|
+
Enabled: true
|
184
|
+
|
185
|
+
Style/HashLikeCase:
|
186
|
+
Enabled: true
|
187
|
+
|
188
|
+
Style/HashTransformKeys:
|
189
|
+
Enabled: true
|
190
|
+
|
191
|
+
Style/HashTransformValues:
|
192
|
+
Enabled: true
|
193
|
+
|
194
|
+
Style/RedundantAssignment:
|
195
|
+
Enabled: true
|
196
|
+
|
197
|
+
Style/RedundantFetchBlock:
|
198
|
+
Enabled: true
|
199
|
+
|
200
|
+
Style/RedundantFileExtensionInRequire:
|
201
|
+
Enabled: true
|
202
|
+
|
203
|
+
Style/RedundantRegexpCharacterClass:
|
204
|
+
Enabled: true
|
205
|
+
|
206
|
+
Style/RedundantRegexpEscape:
|
207
|
+
Enabled: true
|
208
|
+
|
209
|
+
Style/SlicingWithRange:
|
210
|
+
Enabled: true
|
211
|
+
|
212
|
+
Style/HashEachMethods:
|
213
|
+
Enabled: true
|
214
|
+
|
215
|
+
Style/ExponentialNotation:
|
216
|
+
Enabled: true
|
217
|
+
|
218
|
+
Style/BisectedAttrAccessor:
|
219
|
+
Enabled: true
|
220
|
+
|
221
|
+
Style/AccessorGrouping:
|
222
|
+
Enabled: true
|
223
|
+
|
168
224
|
Style/StringLiteralsInInterpolation:
|
169
225
|
Enabled: false
|
170
226
|
|
227
|
+
Style/ExplicitBlockArgument:
|
228
|
+
Enabled: false
|
229
|
+
|
230
|
+
Style/GlobalStdStream:
|
231
|
+
Enabled: false
|
232
|
+
|
233
|
+
Style/OptionalBooleanParameter:
|
234
|
+
Enabled: false
|
235
|
+
|
236
|
+
Style/SingleArgumentDig:
|
237
|
+
Enabled: false
|
238
|
+
|
239
|
+
Style/StringConcatenation:
|
240
|
+
Enabled: false
|
241
|
+
|
171
242
|
Lint/DisjunctiveAssignmentInConstructor:
|
172
243
|
Enabled: true
|
173
244
|
|
@@ -185,3 +256,51 @@ Lint/ToJSON:
|
|
185
256
|
|
186
257
|
Gemspec/RubyVersionGlobalsUsage:
|
187
258
|
Enabled: true
|
259
|
+
|
260
|
+
Gemspec/RequiredRubyVersion:
|
261
|
+
Enabled: false
|
262
|
+
|
263
|
+
Lint/NonDeterministicRequireOrder:
|
264
|
+
Enabled: false
|
265
|
+
|
266
|
+
Lint/RaiseException:
|
267
|
+
Enabled: true
|
268
|
+
|
269
|
+
Lint/MixedRegexpCaptureTypes:
|
270
|
+
Enabled: true
|
271
|
+
|
272
|
+
Lint/DeprecatedOpenSSLConstant:
|
273
|
+
Enabled: true
|
274
|
+
|
275
|
+
Lint/StructNewOverride:
|
276
|
+
Enabled: true
|
277
|
+
|
278
|
+
Lint/DuplicateElsifCondition:
|
279
|
+
Enabled: true
|
280
|
+
|
281
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
282
|
+
Enabled: false
|
283
|
+
|
284
|
+
Lint/DuplicateRescueException:
|
285
|
+
Enabled: false
|
286
|
+
|
287
|
+
Lint/EmptyConditionalBody:
|
288
|
+
Enabled: false
|
289
|
+
|
290
|
+
Lint/FloatComparison:
|
291
|
+
Enabled: false
|
292
|
+
|
293
|
+
Lint/MissingSuper:
|
294
|
+
Enabled: false
|
295
|
+
|
296
|
+
Lint/OutOfRangeRegexpRef:
|
297
|
+
Enabled: false
|
298
|
+
|
299
|
+
Lint/SelfAssignment:
|
300
|
+
Enabled: false
|
301
|
+
|
302
|
+
Lint/TopLevelReturnWithArgument:
|
303
|
+
Enabled: false
|
304
|
+
|
305
|
+
Lint/UnreachableLoop:
|
306
|
+
Enabled: false
|
data/lib/rubocopital/version.rb
CHANGED
data/new_cops.yml
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
Lint/DuplicateRequire: # (new in 0.90)
|
2
|
+
Enabled: false
|
3
|
+
Lint/EmptyFile: # (new in 0.90)
|
4
|
+
Enabled: false
|
5
|
+
Lint/TrailingCommaInAttributeDeclaration: # (new in 0.90)
|
6
|
+
Enabled: false
|
7
|
+
Lint/UselessMethodDefinition: # (new in 0.90)
|
8
|
+
Enabled: false
|
9
|
+
Style/CombinableLoops: # (new in 0.90)
|
10
|
+
Enabled: false
|
11
|
+
Style/KeywordParametersOrder: # (new in 0.90)
|
12
|
+
Enabled: false
|
13
|
+
Style/RedundantSelfAssignment: # (new in 0.90)
|
14
|
+
Enabled: false
|
15
|
+
Style/SoleNestedConditional: # (new in 0.89)
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
Layout/BeginEndAlignment: # (new in 0.91)
|
19
|
+
Enabled: false
|
20
|
+
Lint/ConstantDefinitionInBlock: # (new in 0.91)
|
21
|
+
Enabled: false
|
22
|
+
Lint/IdentityComparison: # (new in 0.91)
|
23
|
+
Enabled: false
|
24
|
+
Lint/UselessTimes: # (new in 0.91)
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
Lint/HashCompareByIdentity: # (new in 0.93)
|
28
|
+
Enabled: false
|
29
|
+
Lint/RedundantSafeNavigation: # (new in 0.93)
|
30
|
+
Enabled: false
|
31
|
+
Style/ClassEqualityComparison: # (new in 0.93)
|
32
|
+
Enabled: false
|
33
|
+
|
34
|
+
Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
|
35
|
+
Enabled: false
|
36
|
+
Lint/EmptyBlock: # (new in 1.1)
|
37
|
+
Enabled: false
|
38
|
+
Lint/ToEnumArguments: # (new in 1.1)
|
39
|
+
Enabled: false
|
40
|
+
Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
|
41
|
+
Enabled: false
|
42
|
+
Style/ArgumentsForwarding: # (new in 1.1)
|
43
|
+
Enabled: false
|
44
|
+
Style/DocumentDynamicEvalDefinition: # (new in 1.1)
|
45
|
+
Enabled: false
|
46
|
+
Style/SwapValues: # (new in 1.1)
|
47
|
+
Enabled: false
|
48
|
+
|
49
|
+
Layout/SpaceBeforeBrackets: # (new in 1.7)
|
50
|
+
Enabled: false
|
51
|
+
Lint/AmbiguousAssignment: # (new in 1.7)
|
52
|
+
Enabled: false
|
53
|
+
Lint/DeprecatedConstants: # (new in 1.8)
|
54
|
+
Enabled: false
|
55
|
+
Lint/DuplicateBranch: # (new in 1.3)
|
56
|
+
Enabled: false
|
57
|
+
Lint/EmptyClass: # (new in 1.3)
|
58
|
+
Enabled: false
|
59
|
+
Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
|
60
|
+
Enabled: false
|
61
|
+
Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
|
62
|
+
Enabled: false
|
63
|
+
Lint/NumberedParameterAssignment: # (new in 1.9)
|
64
|
+
Enabled: false
|
65
|
+
Lint/OrAssignmentToConstant: # (new in 1.9)
|
66
|
+
Enabled: false
|
67
|
+
Lint/RedundantDirGlobSort: # (new in 1.8)
|
68
|
+
Enabled: false
|
69
|
+
Lint/SymbolConversion: # (new in 1.9)
|
70
|
+
Enabled: false
|
71
|
+
Lint/TripleQuotes: # (new in 1.9)
|
72
|
+
Enabled: false
|
73
|
+
Lint/UnexpectedBlockArity: # (new in 1.5)
|
74
|
+
Enabled: false
|
75
|
+
Style/CollectionCompact: # (new in 1.2)
|
76
|
+
Enabled: false
|
77
|
+
Style/EndlessMethod: # (new in 1.8)
|
78
|
+
Enabled: false
|
79
|
+
Style/HashExcept: # (new in 1.7)
|
80
|
+
Enabled: false
|
81
|
+
Style/IfWithBooleanLiteralBranches: # (new in 1.9)
|
82
|
+
Enabled: false
|
83
|
+
Style/NegatedIfElseCondition: # (new in 1.2)
|
84
|
+
Enabled: false
|
85
|
+
Style/NilLambda: # (new in 1.3)
|
86
|
+
Enabled: false
|
87
|
+
Style/RedundantArgument: # (new in 1.4)
|
88
|
+
Enabled: false
|
89
|
+
|
data/rubocopital.gemspec
CHANGED
@@ -32,12 +32,12 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
33
33
|
spec.require_paths = ["lib"]
|
34
34
|
|
35
|
-
spec.add_runtime_dependency "rubocop", "~>
|
36
|
-
spec.add_runtime_dependency "rubocop-performance", "~> 1.
|
37
|
-
spec.add_runtime_dependency "rubocop-rails", "2.
|
38
|
-
spec.add_runtime_dependency "rubocop-rspec", "
|
35
|
+
spec.add_runtime_dependency "rubocop", "~> 1.9.0"
|
36
|
+
spec.add_runtime_dependency "rubocop-performance", "~> 1.9.2"
|
37
|
+
spec.add_runtime_dependency "rubocop-rails", "2.9.1"
|
38
|
+
spec.add_runtime_dependency "rubocop-rspec", "2.2.0"
|
39
39
|
|
40
40
|
spec.add_development_dependency "bundler"
|
41
|
-
spec.add_development_dependency "rake", "
|
41
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
42
42
|
spec.add_development_dependency "rspec", "~> 3.0"
|
43
43
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocopital
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcel Eeken
|
8
8
|
- Martijn Bleeker
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-02-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|
@@ -17,56 +17,56 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 1.9.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: 1.9.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rubocop-performance
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.
|
34
|
+
version: 1.9.2
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.
|
41
|
+
version: 1.9.2
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rubocop-rails
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 2.
|
48
|
+
version: 2.9.1
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 2.
|
55
|
+
version: 2.9.1
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rubocop-rspec
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: 2.2.0
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: 2.2.0
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: bundler
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,16 +85,16 @@ dependencies:
|
|
85
85
|
name: rake
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - "
|
88
|
+
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
90
|
+
version: 12.3.3
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- - "
|
95
|
+
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
97
|
+
version: 12.3.3
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: rspec
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,6 +138,7 @@ files:
|
|
138
138
|
- default.yml
|
139
139
|
- lib/rubocopital.rb
|
140
140
|
- lib/rubocopital/version.rb
|
141
|
+
- new_cops.yml
|
141
142
|
- project.yml
|
142
143
|
- rubocopital.gemspec
|
143
144
|
homepage: https://github.com/youngcapital/rubocopital
|
@@ -147,7 +148,7 @@ metadata:
|
|
147
148
|
hompeage_uri: https://github.com/youngcapital/rubocopital
|
148
149
|
source_code_uri: https://github.com/youngcapital/rubocopital
|
149
150
|
changelog_uri: https://github.com/youngcapital/rubocopital/blob/master/CHANGELOG.md
|
150
|
-
post_install_message:
|
151
|
+
post_install_message:
|
151
152
|
rdoc_options: []
|
152
153
|
require_paths:
|
153
154
|
- lib
|
@@ -162,8 +163,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
163
|
- !ruby/object:Gem::Version
|
163
164
|
version: '0'
|
164
165
|
requirements: []
|
165
|
-
rubygems_version: 3.1.
|
166
|
-
signing_key:
|
166
|
+
rubygems_version: 3.1.4
|
167
|
+
signing_key:
|
167
168
|
specification_version: 4
|
168
169
|
summary: Shared rubocop configuration
|
169
170
|
test_files: []
|