rubocop_fonsan_style 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.all.yml +0 -3
- data/.rubocop.default.yml +19 -0
- data/.rubocop.rails.yml +4 -0
- data/.rubocop.rspec.yml +24 -6
- data/Gemfile.lock +19 -20
- data/lib/rubocop_fonsan_style/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b07b6fed34a702cc88ab28c66c179b44243bdc3d99905875d88ef36ca177d293
|
4
|
+
data.tar.gz: c7bc2c8ad6170fd8cae7e6ae16ecd0e5debd5724c5dba053dae1732233acefd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eaf31b45bc2196b49489ae2a254dc8aeae252eae551d90d2e11bdd3e96088f7ab262303a69d11f736ffef9f197acecd3df12593b6a06231b0f5fe2dfa1b4633
|
7
|
+
data.tar.gz: e398b3a98e06cf9d5d4dc49654ee84e5f66b7a78c0eb18f5bca8d6bf613a14314891775886d4c164eb4885da57b4eee8a48dc83408e2e2449896ca8b2931ec7f
|
data/.rubocop.all.yml
CHANGED
data/.rubocop.default.yml
CHANGED
@@ -1,7 +1,21 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-performance
|
3
3
|
- rubocop-rubycw
|
4
|
+
AllCops:
|
5
|
+
SuggestExtensions: false
|
4
6
|
|
7
|
+
Gemspec/AddRuntimeDependency: # new in 1.65
|
8
|
+
Enabled: true
|
9
|
+
Lint/UselessNumericOperation: # new in 1.66
|
10
|
+
Enabled: true
|
11
|
+
Style/MapIntoArray: # new in 1.63
|
12
|
+
Enabled: true
|
13
|
+
Style/RedundantInterpolationUnfreeze: # new in 1.66
|
14
|
+
Enabled: true
|
15
|
+
Style/SendWithLiteralMethodName: # new in 1.64
|
16
|
+
Enabled: true
|
17
|
+
Style/SuperArguments: # new in 1.64
|
18
|
+
Enabled: true
|
5
19
|
Gemspec/DeprecatedAttributeAssignment:
|
6
20
|
Enabled: true
|
7
21
|
Gemspec/RequireMFA:
|
@@ -454,6 +468,11 @@ Style/StringConcatenation:
|
|
454
468
|
Enabled: true
|
455
469
|
Style/StringHashKeys:
|
456
470
|
Enabled: true
|
471
|
+
Exclude:
|
472
|
+
- 'config/environments/development.rb'
|
473
|
+
- 'config/environments/test.rb'
|
474
|
+
- 'config/environments/production.rb'
|
475
|
+
- 'config/routes.rb'
|
457
476
|
Style/StringLiteralsInInterpolation:
|
458
477
|
Enabled: false
|
459
478
|
Style/SwapValues:
|
data/.rubocop.rails.yml
CHANGED
data/.rubocop.rspec.yml
CHANGED
@@ -1,6 +1,24 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-rspec
|
3
3
|
|
4
|
+
Capybara/RedundantWithinFind: # new in 2.20
|
5
|
+
Enabled: true
|
6
|
+
FactoryBot/ExcessiveCreateList: # new in 2.25
|
7
|
+
Enabled: true
|
8
|
+
RSpec/EmptyOutput: # new in 2.29
|
9
|
+
Enabled: true
|
10
|
+
RSpec/ExpectInLet: # new in 2.30
|
11
|
+
Enabled: true
|
12
|
+
RSpec/IsExpectedSpecify: # new in 2.27
|
13
|
+
Enabled: true
|
14
|
+
RSpec/RedundantPredicateMatcher: # new in 2.26
|
15
|
+
Enabled: true
|
16
|
+
RSpec/RemoveConst: # new in 2.26
|
17
|
+
Enabled: true
|
18
|
+
RSpec/RepeatedSubjectCall: # new in 2.27
|
19
|
+
Enabled: true
|
20
|
+
RSpec/UndescriptiveLiteralsDescription: # new in 2.29
|
21
|
+
Enabled: true
|
4
22
|
RSpec/BeEq: # new in 2.9.0
|
5
23
|
Enabled: true
|
6
24
|
RSpec/BeNil: # new in 2.9.0
|
@@ -11,7 +29,7 @@ RSpec/IdenticalEqualityAssertion: # new in 2.4
|
|
11
29
|
Enabled: true
|
12
30
|
RSpec/SubjectDeclaration: # new in 2.5
|
13
31
|
Enabled: true
|
14
|
-
|
32
|
+
RSpecRails/AvoidSetupHook: # new in 2.4
|
15
33
|
Enabled: true
|
16
34
|
RSpec/StubbedMock: # (new in 1.44)
|
17
35
|
Enabled: true
|
@@ -45,9 +63,9 @@ Capybara/RSpec/HaveSelector: # new in 2.19
|
|
45
63
|
Enabled: true
|
46
64
|
Capybara/RSpec/PredicateMatcher: # new in 2.19
|
47
65
|
Enabled: true
|
48
|
-
|
66
|
+
RSpecRails/HaveHttpStatus: # new in 2.12
|
49
67
|
Enabled: true
|
50
|
-
|
68
|
+
RSpecRails/InferredSpecType: # new in 2.14
|
51
69
|
Enabled: true
|
52
70
|
RSpec/NamedSubject:
|
53
71
|
Enabled: false
|
@@ -85,11 +103,11 @@ RSpec/SpecFilePathFormat: # new in 2.24
|
|
85
103
|
Enabled: true
|
86
104
|
RSpec/SpecFilePathSuffix: # new in 2.24
|
87
105
|
Enabled: true
|
88
|
-
|
106
|
+
RSpecRails/NegationBeValid: # new in 2.23
|
89
107
|
Enabled: true
|
90
|
-
|
108
|
+
RSpecRails/TravelAround: # new in 2.19
|
91
109
|
Enabled: true
|
92
|
-
|
110
|
+
RSpecRails/MinitestAssertions: # new in 2.17
|
93
111
|
Enabled: true
|
94
112
|
|
95
113
|
FactoryBot/SyntaxMethods: # new in 2.7
|
data/Gemfile.lock
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop_fonsan_style (0.1.
|
4
|
+
rubocop_fonsan_style (0.1.5)
|
5
5
|
haml_lint (~> 0.52)
|
6
|
-
rubocop (~> 1.
|
7
|
-
rubocop-performance (~> 1.
|
8
|
-
rubocop-rails (~> 2.
|
6
|
+
rubocop (~> 1.66)
|
7
|
+
rubocop-performance (~> 1.22)
|
8
|
+
rubocop-rails (~> 2.26)
|
9
9
|
rubocop-rspec (~> 2.25)
|
10
10
|
rubocop-rubycw (~> 0.1)
|
11
11
|
|
@@ -47,7 +47,7 @@ GEM
|
|
47
47
|
minitest (5.20.0)
|
48
48
|
mutex_m (0.2.0)
|
49
49
|
parallel (1.23.0)
|
50
|
-
parser (3.
|
50
|
+
parser (3.3.5.0)
|
51
51
|
ast (~> 2.4.1)
|
52
52
|
racc
|
53
53
|
racc (1.7.3)
|
@@ -55,7 +55,6 @@ GEM
|
|
55
55
|
rainbow (3.1.1)
|
56
56
|
rake (13.1.0)
|
57
57
|
regexp_parser (2.8.3)
|
58
|
-
rexml (3.2.6)
|
59
58
|
rspec (3.12.0)
|
60
59
|
rspec-core (~> 3.12.0)
|
61
60
|
rspec-expectations (~> 3.12.0)
|
@@ -69,31 +68,30 @@ GEM
|
|
69
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
70
69
|
rspec-support (~> 3.12.0)
|
71
70
|
rspec-support (3.12.1)
|
72
|
-
rubocop (1.
|
71
|
+
rubocop (1.66.1)
|
73
72
|
json (~> 2.3)
|
74
73
|
language_server-protocol (>= 3.17.0)
|
75
74
|
parallel (~> 1.10)
|
76
|
-
parser (>= 3.
|
75
|
+
parser (>= 3.3.0.2)
|
77
76
|
rainbow (>= 2.2.2, < 4.0)
|
78
|
-
regexp_parser (>=
|
79
|
-
|
80
|
-
rubocop-ast (>= 1.30.0, < 2.0)
|
77
|
+
regexp_parser (>= 2.4, < 3.0)
|
78
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
81
79
|
ruby-progressbar (~> 1.7)
|
82
80
|
unicode-display_width (>= 2.4.0, < 3.0)
|
83
|
-
rubocop-ast (1.
|
84
|
-
parser (>= 3.
|
81
|
+
rubocop-ast (1.32.3)
|
82
|
+
parser (>= 3.3.1.0)
|
85
83
|
rubocop-capybara (2.19.0)
|
86
84
|
rubocop (~> 1.41)
|
87
85
|
rubocop-factory_bot (2.24.0)
|
88
86
|
rubocop (~> 1.33)
|
89
|
-
rubocop-performance (1.
|
90
|
-
rubocop (>= 1.
|
91
|
-
rubocop-ast (>=
|
92
|
-
rubocop-rails (2.
|
87
|
+
rubocop-performance (1.22.1)
|
88
|
+
rubocop (>= 1.48.1, < 2.0)
|
89
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
90
|
+
rubocop-rails (2.26.2)
|
93
91
|
activesupport (>= 4.2.0)
|
94
92
|
rack (>= 1.1)
|
95
|
-
rubocop (>= 1.
|
96
|
-
rubocop-ast (>= 1.
|
93
|
+
rubocop (>= 1.52.0, < 2.0)
|
94
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
97
95
|
rubocop-rspec (2.25.0)
|
98
96
|
rubocop (~> 1.40)
|
99
97
|
rubocop-capybara (~> 2.17)
|
@@ -112,6 +110,7 @@ GEM
|
|
112
110
|
|
113
111
|
PLATFORMS
|
114
112
|
arm64-darwin-22
|
113
|
+
arm64-darwin-23
|
115
114
|
x86_64-darwin-20
|
116
115
|
x86_64-darwin-22
|
117
116
|
x86_64-linux
|
@@ -122,4 +121,4 @@ DEPENDENCIES
|
|
122
121
|
rubocop_fonsan_style!
|
123
122
|
|
124
123
|
BUNDLED WITH
|
125
|
-
2.5.
|
124
|
+
2.5.16
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop_fonsan_style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fonsan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: haml_lint
|
@@ -30,42 +30,42 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.66'
|
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: '1.
|
40
|
+
version: '1.66'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-performance
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.22'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.22'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
61
|
+
version: '2.26'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '2.
|
68
|
+
version: '2.26'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
|
-
rubygems_version: 3.5.
|
141
|
+
rubygems_version: 3.5.16
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Fonsan rubocop
|