ergomentum_rubocop 0.13.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/default_shared.yml +92 -0
- data/ergomentum_rubocop.gemspec +2 -0
- data/lib/ergomentum_rubocop/version.rb +1 -1
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 186dfb1232324b90d98ca9a710b61ac950e16711a48f4a36cfacb576a7f6b855
|
4
|
+
data.tar.gz: ca98afd91a4a07624fd59aa5907c70ed4617162646da55e27b21df22fcfb36b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 632e4e19d3345c2b43b1de85e6f1a90d4a4936be517a038c0c1e96fe62e920828eccbf77c904d454fd58619af60fe39cffaa84844d3382f8c94e78c3fdeb877b
|
7
|
+
data.tar.gz: '092b35fa0c63ca909fc415b8b8209d2e8bb098192ede403f3ee076c1f14474e6f89d69b9cd19e0a5a0dcf60665f864d2397bfa0d8e10f472c67780861356850c'
|
data/config/default_shared.yml
CHANGED
@@ -1,10 +1,44 @@
|
|
1
1
|
---
|
2
2
|
require:
|
3
3
|
- rubocop-performance
|
4
|
+
- rubocop-capybara
|
5
|
+
- rubocop-factory_bot
|
6
|
+
- rubocop-rake
|
7
|
+
- rubocop-rspec
|
4
8
|
AllCops:
|
5
9
|
Exclude:
|
6
10
|
- vendor/**/*
|
7
11
|
- node_modules/**/*
|
12
|
+
Capybara/ClickLinkOrButtonStyle: # new in 2.19
|
13
|
+
Enabled: true
|
14
|
+
Capybara/MatchStyle: # new in 2.17
|
15
|
+
Enabled: true
|
16
|
+
Capybara/NegationMatcher: # new in 2.14
|
17
|
+
Enabled: true
|
18
|
+
Capybara/SpecificActions: # new in 2.14
|
19
|
+
Enabled: true
|
20
|
+
Capybara/SpecificFinders: # new in 2.13
|
21
|
+
Enabled: true
|
22
|
+
Capybara/SpecificMatcher: # new in 2.12
|
23
|
+
Enabled: true
|
24
|
+
Capybara/RSpec/HaveSelector: # new in 2.19
|
25
|
+
Enabled: true
|
26
|
+
Capybara/RSpec/PredicateMatcher: # new in 2.19
|
27
|
+
Enabled: true
|
28
|
+
FactoryBot/AssociationStyle: # new in 2.23
|
29
|
+
Enabled: true
|
30
|
+
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
31
|
+
Enabled: true
|
32
|
+
FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
|
33
|
+
Enabled: true
|
34
|
+
FactoryBot/FactoryNameStyle: # new in 2.16
|
35
|
+
Enabled: true
|
36
|
+
FactoryBot/IdSequence: # new in <<next>>
|
37
|
+
Enabled: true
|
38
|
+
FactoryBot/RedundantFactoryOption: # new in 2.23
|
39
|
+
Enabled: true
|
40
|
+
FactoryBot/SyntaxMethods: # new in 2.7
|
41
|
+
Enabled: true
|
8
42
|
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
9
43
|
Enabled: true
|
10
44
|
Gemspec/DevelopmentDependencies: # new in 1.44
|
@@ -171,6 +205,64 @@ Performance/StringInclude:
|
|
171
205
|
Enabled: true
|
172
206
|
Performance/Sum:
|
173
207
|
Enabled: true
|
208
|
+
RSpec/BeEmpty: # new in 2.20
|
209
|
+
Enabled: true
|
210
|
+
RSpec/BeEq: # new in 2.9.0
|
211
|
+
Enabled: true
|
212
|
+
RSpec/BeNil: # new in 2.9.0
|
213
|
+
Enabled: true
|
214
|
+
RSpec/ChangeByZero: # new in 2.11
|
215
|
+
Enabled: true
|
216
|
+
RSpec/ContainExactly: # new in 2.19
|
217
|
+
Enabled: true
|
218
|
+
RSpec/DuplicatedMetadata: # new in 2.16
|
219
|
+
Enabled: true
|
220
|
+
RSpec/EmptyMetadata: # new in 2.24
|
221
|
+
Enabled: true
|
222
|
+
RSpec/Eq: # new in 2.24
|
223
|
+
Enabled: true
|
224
|
+
RSpec/ExcessiveDocstringSpacing: # new in 2.5
|
225
|
+
Enabled: true
|
226
|
+
RSpec/IdenticalEqualityAssertion: # new in 2.4
|
227
|
+
Enabled: true
|
228
|
+
RSpec/IndexedLet: # new in 2.20
|
229
|
+
Enabled: true
|
230
|
+
RSpec/MatchArray: # new in 2.19
|
231
|
+
Enabled: true
|
232
|
+
RSpec/MetadataStyle: # new in 2.24
|
233
|
+
Enabled: true
|
234
|
+
RSpec/NoExpectationExample: # new in 2.13
|
235
|
+
Enabled: true
|
236
|
+
RSpec/PendingWithoutReason: # new in 2.16
|
237
|
+
Enabled: true
|
238
|
+
RSpec/ReceiveMessages: # new in 2.23
|
239
|
+
Enabled: true
|
240
|
+
RSpec/RedundantAround: # new in 2.19
|
241
|
+
Enabled: true
|
242
|
+
RSpec/SkipBlockInsideExample: # new in 2.19
|
243
|
+
Enabled: true
|
244
|
+
RSpec/SortMetadata: # new in 2.14
|
245
|
+
Enabled: true
|
246
|
+
RSpec/SpecFilePathFormat: # new in 2.24
|
247
|
+
Enabled: true
|
248
|
+
RSpec/SpecFilePathSuffix: # new in 2.24
|
249
|
+
Enabled: true
|
250
|
+
RSpec/SubjectDeclaration: # new in 2.5
|
251
|
+
Enabled: true
|
252
|
+
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
253
|
+
Enabled: true
|
254
|
+
RSpec/Rails/AvoidSetupHook: # new in 2.4
|
255
|
+
Enabled: true
|
256
|
+
RSpec/Rails/HaveHttpStatus: # new in 2.12
|
257
|
+
Enabled: true
|
258
|
+
RSpec/Rails/InferredSpecType: # new in 2.14
|
259
|
+
Enabled: true
|
260
|
+
RSpec/Rails/MinitestAssertions: # new in 2.17
|
261
|
+
Enabled: true
|
262
|
+
RSpec/Rails/NegationBeValid: # new in 2.23
|
263
|
+
Enabled: true
|
264
|
+
RSpec/Rails/TravelAround: # new in 2.19
|
265
|
+
Enabled: true
|
174
266
|
Security/CompoundHash: # new in 1.28
|
175
267
|
Enabled: true
|
176
268
|
Security/IoMethods: # new in 1.22
|
data/ergomentum_rubocop.gemspec
CHANGED
@@ -24,6 +24,8 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.metadata["changelog_uri"] = "https://github.com/ergomentum/ergomentum_rubocop/blob/main/CHANGELOG.md"
|
25
25
|
|
26
26
|
spec.add_dependency "rubocop", "~> 1.57"
|
27
|
+
spec.add_dependency "rubocop-capybara", "~> 2.19"
|
28
|
+
spec.add_dependency "rubocop-factory_bot", "~> 2.24"
|
27
29
|
spec.add_dependency "rubocop-performance", "~> 1.19"
|
28
30
|
spec.add_dependency "rubocop-rails", "~> 2.22"
|
29
31
|
spec.add_dependency "rubocop-rake", "~> 0.6"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ergomentum_rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ERGOMENTUM
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -24,6 +24,34 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.57'
|
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'
|
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'
|
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'
|
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'
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: rubocop-performance
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|