rubocop_fonsan_style 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.default.yml +20 -2
- data/.rubocop.rspec.yml +14 -4
- data/Gemfile +10 -0
- data/Gemfile.lock +50 -24
- data/lib/rubocop_fonsan_style/version.rb +1 -1
- data/rubocop_fonsan_style.gemspec +3 -2
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3797d858125efab81582943b4ee2654c9330431a8537ef023173b1c1e2bb4681
|
4
|
+
data.tar.gz: cb5a28b6e78e27e6cab657ff17eec0dae20dc89dcc16cdbcc697dd6976c9ebf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 995714e9f8aa978255e88f35584e900fde55e150663b21d055d3e18c2f2c6a7f087421b163ca01ed4afcc2aa1813e83e6c5be75b44d77b4489e6ed1ed2df7d44
|
7
|
+
data.tar.gz: 6dfdc59c528f7c76ab5939a36da3a03fe05b1550513da635b4dba622b5dd9d71cbc17ebc3067c809c297c8de9cb661174a48601a3b09f67864fecafe602c6fcd
|
data/.rubocop.default.yml
CHANGED
@@ -6,6 +6,8 @@ Gemspec/DeprecatedAttributeAssignment:
|
|
6
6
|
Enabled: true
|
7
7
|
Gemspec/RequireMFA:
|
8
8
|
Enabled: true
|
9
|
+
Gemspec/DevelopmentDependencies:
|
10
|
+
Enabled: true
|
9
11
|
Layout/ArgumentAlignment:
|
10
12
|
EnforcedStyle: with_fixed_indentation
|
11
13
|
Layout/ArrayAlignment:
|
@@ -70,6 +72,8 @@ Layout/SpaceInsideBlockBraces:
|
|
70
72
|
SpaceBeforeBlockParameters: false
|
71
73
|
Layout/SpaceInsideHashLiteralBraces:
|
72
74
|
EnforcedStyle: no_space
|
75
|
+
Lint/UselessRescue:
|
76
|
+
Enabled: true
|
73
77
|
Lint/AmbiguousAssignment:
|
74
78
|
Enabled: true
|
75
79
|
Lint/AmbiguousOperatorPrecedence:
|
@@ -252,6 +256,20 @@ Security/CompoundHash:
|
|
252
256
|
Enabled: true
|
253
257
|
Security/IoMethods:
|
254
258
|
Enabled: true
|
259
|
+
Style/RedundantDoubleSplatHashBraces:
|
260
|
+
Enabled: true
|
261
|
+
Style/RedundantConstantBase:
|
262
|
+
Enabled: true
|
263
|
+
Style/MinMaxComparison:
|
264
|
+
Enabled: true
|
265
|
+
Style/MapToSet:
|
266
|
+
Enabled: true
|
267
|
+
Style/ComparableClamp:
|
268
|
+
Enabled: true
|
269
|
+
Style/ArrayIntersect:
|
270
|
+
Enabled: true
|
271
|
+
Style/ConcatArrayLiterals:
|
272
|
+
Enabled: true
|
255
273
|
Style/AccessorGrouping:
|
256
274
|
Enabled: true
|
257
275
|
Style/ArgumentsForwarding:
|
@@ -300,9 +318,9 @@ Style/FrozenStringLiteralComment:
|
|
300
318
|
Enabled: false
|
301
319
|
Style/GlobalStdStream:
|
302
320
|
Enabled: true
|
303
|
-
Style/RedundantInitialize:
|
321
|
+
Style/RedundantInitialize:
|
304
322
|
Enabled: true
|
305
|
-
Style/RedundantStringEscape:
|
323
|
+
Style/RedundantStringEscape:
|
306
324
|
Enabled: true
|
307
325
|
Style/HashAsLastArrayItem:
|
308
326
|
Enabled: true
|
data/.rubocop.rspec.yml
CHANGED
@@ -31,13 +31,15 @@ RSpec/SortMetadata: # new in 2.14
|
|
31
31
|
Enabled: true
|
32
32
|
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
33
33
|
Enabled: true
|
34
|
-
|
34
|
+
Capybara/NegationMatcher: # new in 2.14
|
35
35
|
Enabled: true
|
36
|
-
|
36
|
+
Capybara/SpecificActions: # new in 2.14
|
37
37
|
Enabled: true
|
38
|
-
|
38
|
+
Capybara/SpecificFinders: # new in 2.13
|
39
39
|
Enabled: true
|
40
|
-
|
40
|
+
Capybara/MatchStyle: # new in <<next>>
|
41
|
+
Enabled: true
|
42
|
+
Capybara/SpecificMatcher: # new in 2.12
|
41
43
|
Enabled: true
|
42
44
|
RSpec/FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
43
45
|
Enabled: true
|
@@ -53,3 +55,11 @@ RSpec/ExampleLength:
|
|
53
55
|
- array
|
54
56
|
- hash
|
55
57
|
- heredoc
|
58
|
+
RSpec/DuplicatedMetadata: # new in 2.16
|
59
|
+
Enabled: true
|
60
|
+
RSpec/PendingWithoutReason: # new in 2.16
|
61
|
+
Enabled: false
|
62
|
+
RSpec/FactoryBot/FactoryNameStyle: # new in 2.16
|
63
|
+
Enabled: true
|
64
|
+
RSpec/Rails/MinitestAssertions: # new in 2.17
|
65
|
+
Enabled: true
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,88 +1,114 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop_fonsan_style (0.1.
|
5
|
-
|
4
|
+
rubocop_fonsan_style (0.1.1)
|
5
|
+
haml_lint (~> 0.45)
|
6
|
+
rubocop (~> 1.44)
|
6
7
|
rubocop-performance (~> 1.15)
|
7
8
|
rubocop-rails (~> 2.17)
|
8
9
|
rubocop-rake (~> 0.6.0)
|
9
|
-
rubocop-rspec (~> 2.
|
10
|
+
rubocop-rspec (~> 2.18)
|
10
11
|
rubocop-rubycw (~> 0.1)
|
11
12
|
|
12
13
|
GEM
|
13
14
|
remote: https://rubygems.org/
|
14
15
|
specs:
|
15
|
-
activesupport (7.0.4)
|
16
|
+
activesupport (7.0.4.2)
|
16
17
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
18
|
i18n (>= 1.6, < 2)
|
18
19
|
minitest (>= 5.1)
|
19
20
|
tzinfo (~> 2.0)
|
20
21
|
ast (2.4.2)
|
21
|
-
concurrent-ruby (1.
|
22
|
+
concurrent-ruby (1.2.0)
|
22
23
|
diff-lcs (1.5.0)
|
24
|
+
haml (6.1.1)
|
25
|
+
temple (>= 0.8.2)
|
26
|
+
thor
|
27
|
+
tilt
|
28
|
+
haml_lint (0.45.0)
|
29
|
+
haml (>= 4.0, < 6.2)
|
30
|
+
parallel (~> 1.10)
|
31
|
+
rainbow
|
32
|
+
rubocop (>= 0.50.0)
|
33
|
+
sysexits (~> 1.1)
|
23
34
|
i18n (1.12.0)
|
24
35
|
concurrent-ruby (~> 1.0)
|
25
|
-
json (2.6.
|
26
|
-
minitest (5.
|
36
|
+
json (2.6.3)
|
37
|
+
minitest (5.17.0)
|
27
38
|
parallel (1.22.1)
|
28
|
-
parser (3.
|
39
|
+
parser (3.2.0.0)
|
29
40
|
ast (~> 2.4.1)
|
30
|
-
rack (3.0.1)
|
41
|
+
rack (3.0.4.1)
|
31
42
|
rainbow (3.1.1)
|
32
43
|
rake (13.0.6)
|
33
|
-
regexp_parser (2.6.
|
44
|
+
regexp_parser (2.6.2)
|
34
45
|
rexml (3.2.5)
|
35
46
|
rspec (3.12.0)
|
36
47
|
rspec-core (~> 3.12.0)
|
37
48
|
rspec-expectations (~> 3.12.0)
|
38
49
|
rspec-mocks (~> 3.12.0)
|
39
|
-
rspec-core (3.12.
|
50
|
+
rspec-core (3.12.1)
|
40
51
|
rspec-support (~> 3.12.0)
|
41
|
-
rspec-expectations (3.12.
|
52
|
+
rspec-expectations (3.12.2)
|
42
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
54
|
rspec-support (~> 3.12.0)
|
44
|
-
rspec-mocks (3.12.
|
55
|
+
rspec-mocks (3.12.3)
|
45
56
|
diff-lcs (>= 1.2.0, < 2.0)
|
46
57
|
rspec-support (~> 3.12.0)
|
47
58
|
rspec-support (3.12.0)
|
48
|
-
rubocop (1.
|
59
|
+
rubocop (1.44.1)
|
49
60
|
json (~> 2.3)
|
50
61
|
parallel (~> 1.10)
|
51
|
-
parser (>= 3.
|
62
|
+
parser (>= 3.2.0.0)
|
52
63
|
rainbow (>= 2.2.2, < 4.0)
|
53
64
|
regexp_parser (>= 1.8, < 3.0)
|
54
65
|
rexml (>= 3.2.5, < 4.0)
|
55
|
-
rubocop-ast (>= 1.
|
66
|
+
rubocop-ast (>= 1.24.1, < 2.0)
|
56
67
|
ruby-progressbar (~> 1.7)
|
57
|
-
unicode-display_width (>=
|
58
|
-
rubocop-ast (1.
|
68
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
69
|
+
rubocop-ast (1.24.1)
|
59
70
|
parser (>= 3.1.1.0)
|
60
|
-
rubocop-
|
71
|
+
rubocop-capybara (2.17.0)
|
72
|
+
rubocop (~> 1.41)
|
73
|
+
rubocop-performance (1.15.2)
|
61
74
|
rubocop (>= 1.7.0, < 2.0)
|
62
75
|
rubocop-ast (>= 0.4.0)
|
63
|
-
rubocop-rails (2.17.
|
76
|
+
rubocop-rails (2.17.4)
|
64
77
|
activesupport (>= 4.2.0)
|
65
78
|
rack (>= 1.1)
|
66
79
|
rubocop (>= 1.33.0, < 2.0)
|
67
80
|
rubocop-rake (0.6.0)
|
68
81
|
rubocop (~> 1.0)
|
69
|
-
rubocop-rspec (2.
|
82
|
+
rubocop-rspec (2.18.1)
|
70
83
|
rubocop (~> 1.33)
|
84
|
+
rubocop-capybara (~> 2.17)
|
71
85
|
rubocop-rubycw (0.1.6)
|
72
86
|
rubocop (~> 1.0)
|
73
87
|
ruby-progressbar (1.11.0)
|
74
|
-
|
88
|
+
sysexits (1.2.0)
|
89
|
+
temple (0.10.0)
|
90
|
+
thor (1.2.1)
|
91
|
+
tilt (2.0.11)
|
92
|
+
tzinfo (2.0.6)
|
75
93
|
concurrent-ruby (~> 1.0)
|
76
|
-
unicode-display_width (2.
|
94
|
+
unicode-display_width (2.4.2)
|
77
95
|
|
78
96
|
PLATFORMS
|
79
97
|
x86_64-darwin-20
|
98
|
+
x86_64-darwin-22
|
80
99
|
x86_64-linux
|
81
100
|
|
82
101
|
DEPENDENCIES
|
102
|
+
haml_lint
|
83
103
|
rake (~> 13.0)
|
84
104
|
rspec (~> 3.0)
|
105
|
+
rubocop
|
106
|
+
rubocop-performance
|
107
|
+
rubocop-rails
|
108
|
+
rubocop-rake
|
109
|
+
rubocop-rspec
|
110
|
+
rubocop-rubycw
|
85
111
|
rubocop_fonsan_style!
|
86
112
|
|
87
113
|
BUNDLED WITH
|
88
|
-
2.4.
|
114
|
+
2.4.6
|
@@ -30,11 +30,12 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.require_paths = ['lib']
|
31
31
|
|
32
32
|
# Uncomment to register a new dependency of your gem
|
33
|
-
spec.add_dependency '
|
33
|
+
spec.add_dependency 'haml_lint', '~> 0.45'
|
34
|
+
spec.add_dependency 'rubocop', '~> 1.44'
|
34
35
|
spec.add_dependency 'rubocop-performance', '~> 1.15'
|
35
36
|
spec.add_dependency 'rubocop-rails', '~> 2.17'
|
36
37
|
spec.add_dependency 'rubocop-rake', '~> 0.6.0'
|
37
|
-
spec.add_dependency 'rubocop-rspec', '~> 2.
|
38
|
+
spec.add_dependency 'rubocop-rspec', '~> 2.18'
|
38
39
|
spec.add_dependency 'rubocop-rubycw', '~> 0.1'
|
39
40
|
|
40
41
|
# For more information and examples about making a new gem, check out our
|
metadata
CHANGED
@@ -1,29 +1,43 @@
|
|
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.1
|
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: 2023-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: haml_lint
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.45'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.45'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rubocop
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
31
|
- - "~>"
|
18
32
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
33
|
+
version: '1.44'
|
20
34
|
type: :runtime
|
21
35
|
prerelease: false
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
23
37
|
requirements:
|
24
38
|
- - "~>"
|
25
39
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
40
|
+
version: '1.44'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rubocop-performance
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +86,14 @@ dependencies:
|
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '2.
|
89
|
+
version: '2.18'
|
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.
|
96
|
+
version: '2.18'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rubocop-rubycw
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
153
|
- !ruby/object:Gem::Version
|
140
154
|
version: '0'
|
141
155
|
requirements: []
|
142
|
-
rubygems_version: 3.4.
|
156
|
+
rubygems_version: 3.4.1
|
143
157
|
signing_key:
|
144
158
|
specification_version: 4
|
145
159
|
summary: Fonsan rubocop
|