yoshiki 9.0.0.pre.9 → 10.0.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +7 -36
- data/.rubocop-defaults-rails.yml +8 -1
- data/.rubocop-defaults-rspec.yml +1 -1
- data/.rubocop-defaults.yml +49 -1
- data/.yoshiki-rails.yml +3 -1
- data/.yoshiki-rspec.yml +5 -2
- data/.yoshiki-ruby.yml +2 -3
- data/Gemfile +0 -2
- data/Gemfile.lock +70 -56
- data/README.md +4 -1
- data/Rakefile +0 -2
- data/lib/yoshiki/examples.rb +0 -2
- data/lib/yoshiki/version.rb +1 -3
- data/lib/yoshiki.rb +0 -2
- data/yoshiki.gemspec +9 -11
- metadata +34 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a1eb2e0378094b0366790fe2fcf7d8ea61904d8d6a48f9cab03f5c11503e78d
|
4
|
+
data.tar.gz: a3afb03b9cdb8eff0be1153afc025dc727f5f5fa381624dd2103e7cb68615891
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8154fc706a75679f8d6e96243b7a23ad915cf6a03b8fe5b83cbcc6e2eea488066bed1820bf1be67e8441efca984a3524bd88c9f94ed749d1fc30672f2ad5773d
|
7
|
+
data.tar.gz: ba00d488ebcd3691a9d250accc29cbeef5895a3139fd07f1f38fb11392d8156a6d1a1f7c73648d635768b0b5771d03cf656fb63dba998a7aedf82ac0f638533c
|
data/.gitlab-ci.yml
CHANGED
@@ -1,48 +1,19 @@
|
|
1
1
|
variables:
|
2
|
-
BUNDLE_BIN:
|
3
|
-
|
2
|
+
BUNDLE_BIN: vendor/bundle/bin
|
3
|
+
BUNDLE_CLEAN: true
|
4
|
+
BUNDLE_PATH: vendor/bundle
|
4
5
|
|
5
6
|
before_script:
|
6
7
|
- apk upgrade --update && apk add --no-cache git build-base
|
7
8
|
- gem update bundler
|
8
|
-
- bundle install --
|
9
|
+
- bundle install --jobs $(nproc) --retry=3
|
9
10
|
|
10
|
-
ruby 3.
|
11
|
+
ruby 3.4:
|
11
12
|
cache:
|
12
|
-
key: "$CI_BUILD_REF_NAME-3.
|
13
|
+
key: "$CI_BUILD_REF_NAME-3.4"
|
13
14
|
paths:
|
14
15
|
- vendor/bundle
|
15
|
-
image: ruby:3.
|
16
|
-
script:
|
17
|
-
- bundle exec rake spec rubocop
|
18
|
-
stage: test
|
19
|
-
|
20
|
-
ruby 3.2:
|
21
|
-
cache:
|
22
|
-
key: "$CI_BUILD_REF_NAME-3.2"
|
23
|
-
paths:
|
24
|
-
- vendor/bundle
|
25
|
-
image: ruby:3.2-alpine
|
26
|
-
script:
|
27
|
-
- bundle exec rake spec rubocop
|
28
|
-
stage: test
|
29
|
-
|
30
|
-
ruby 3.1:
|
31
|
-
cache:
|
32
|
-
key: "$CI_BUILD_REF_NAME-3.1"
|
33
|
-
paths:
|
34
|
-
- vendor/bundle
|
35
|
-
image: ruby:3.1-alpine
|
36
|
-
script:
|
37
|
-
- bundle exec rake spec rubocop
|
38
|
-
stage: test
|
39
|
-
|
40
|
-
ruby 3.0:
|
41
|
-
cache:
|
42
|
-
key: "$CI_BUILD_REF_NAME-3.0"
|
43
|
-
paths:
|
44
|
-
- vendor/bundle
|
45
|
-
image: ruby:3.0-alpine
|
16
|
+
image: ruby:3.4
|
46
17
|
script:
|
47
18
|
- bundle exec rake spec rubocop
|
48
19
|
stage: test
|
data/.rubocop-defaults-rails.yml
CHANGED
@@ -1,9 +1,14 @@
|
|
1
|
+
plugins:
|
2
|
+
- rubocop-rails
|
3
|
+
|
1
4
|
require:
|
2
5
|
- rubocop-capybara
|
3
6
|
- rubocop-factory_bot
|
4
|
-
- rubocop-rails
|
5
7
|
- rubocop-rspec_rails
|
6
8
|
|
9
|
+
AllCops:
|
10
|
+
ActiveSupportExtensionsEnabled: true
|
11
|
+
|
7
12
|
Rails:
|
8
13
|
Enabled: true
|
9
14
|
|
@@ -94,6 +99,8 @@ Rails/MatchRoute: # new in 2.7
|
|
94
99
|
Enabled: true
|
95
100
|
Rails/MigrationClassName: # new in 2.14
|
96
101
|
Enabled: true
|
102
|
+
Rails/MultipleRoutePaths: # new in 2.29
|
103
|
+
Enabled: true
|
97
104
|
Rails/NegateInclude: # new in 2.7
|
98
105
|
Enabled: true
|
99
106
|
Rails/Output:
|
data/.rubocop-defaults-rspec.yml
CHANGED
data/.rubocop-defaults.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
plugins:
|
2
2
|
- rubocop-performance
|
3
3
|
- rubocop-rake
|
4
4
|
|
@@ -28,8 +28,14 @@ Lint/AmbiguousOperatorPrecedence: # new in 1.21
|
|
28
28
|
Enabled: true
|
29
29
|
Lint/AmbiguousRange: # new in 1.19
|
30
30
|
Enabled: true
|
31
|
+
Lint/ArrayLiteralInRegexp: # new in 1.71
|
32
|
+
Enabled: true
|
31
33
|
Lint/ConstantOverwrittenInRescue: # new in 1.31
|
32
34
|
Enabled: true
|
35
|
+
Lint/ConstantReassignment: # new in 1.70
|
36
|
+
Enabled: true
|
37
|
+
Lint/CopDirectiveSyntax: # new in 1.72
|
38
|
+
Enabled: true
|
33
39
|
Lint/DeprecatedConstants: # new in 1.8
|
34
40
|
Enabled: true
|
35
41
|
Lint/DuplicateBranch: # new in 1.3
|
@@ -48,6 +54,8 @@ Lint/EmptyClass: # new in 1.3
|
|
48
54
|
Enabled: true
|
49
55
|
Lint/EmptyInPattern: # new in 1.16
|
50
56
|
Enabled: true
|
57
|
+
Lint/HashNewWithKeywordArgumentsAsDefault: # new in 1.69
|
58
|
+
Enabled: true
|
51
59
|
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
|
52
60
|
Enabled: true
|
53
61
|
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
@@ -64,28 +72,42 @@ Lint/NoReturnInBeginEndBlocks: # new in 1.2
|
|
64
72
|
Enabled: true
|
65
73
|
Lint/NumberedParameterAssignment: # new in 1.9
|
66
74
|
Enabled: true
|
75
|
+
Lint/NumericOperationWithConstantResult: # new in 1.69
|
76
|
+
Enabled: true
|
67
77
|
Lint/OrAssignmentToConstant: # new in 1.9
|
68
78
|
Enabled: true
|
69
79
|
Lint/RedundantDirGlobSort: # new in 1.8
|
70
80
|
Enabled: true
|
71
81
|
Lint/RedundantRegexpQuantifiers: # new in 1.53
|
72
82
|
Enabled: true
|
83
|
+
Lint/RedundantTypeConversion: # new in 1.72
|
84
|
+
Enabled: true
|
73
85
|
Lint/RefinementImportMethods: # new in 1.27
|
74
86
|
Enabled: true
|
75
87
|
Lint/RequireRangeParentheses: # new in 1.32
|
76
88
|
Enabled: false
|
77
89
|
Lint/RequireRelativeSelfPath: # new in 1.22
|
78
90
|
Enabled: true
|
91
|
+
Lint/SharedMutableDefault: # new in 1.70
|
92
|
+
Enabled: true
|
93
|
+
Lint/SuppressedExceptionInNumberConversion: # new in 1.72
|
94
|
+
Enabled: true
|
79
95
|
Lint/SymbolConversion: # new in 1.9
|
80
96
|
Enabled: true
|
81
97
|
Lint/ToEnumArguments: # new in 1.1
|
82
98
|
Enabled: true
|
83
99
|
Lint/TripleQuotes: # new in 1.9
|
84
100
|
Enabled: true
|
101
|
+
Lint/UnescapedBracketInRegexp: # new in 1.68
|
102
|
+
Enabled: true
|
85
103
|
Lint/UnexpectedBlockArity: # new in 1.5
|
86
104
|
Enabled: true
|
87
105
|
Lint/UnmodifiedReduceAccumulator: # new in 1.1
|
88
106
|
Enabled: true
|
107
|
+
Lint/UselessConstantScoping: # new in 1.72
|
108
|
+
Enabled: true
|
109
|
+
Lint/UselessDefined: # new in 1.69
|
110
|
+
Enabled: true
|
89
111
|
Lint/UselessNumericOperation: # new in 1.66
|
90
112
|
Enabled: true
|
91
113
|
Lint/UselessRescue: # new in 1.43
|
@@ -126,30 +148,42 @@ Performance/SortReverse: # new in 1.7
|
|
126
148
|
Enabled: true
|
127
149
|
Performance/Squeeze: # new in 1.7
|
128
150
|
Enabled: true
|
151
|
+
Performance/StringBytesize: # new in 1.23
|
152
|
+
Enabled: true
|
129
153
|
Performance/StringIdentifierArgument: # new in 1.13
|
130
154
|
Enabled: true
|
131
155
|
Performance/StringInclude: # new in 1.7
|
132
156
|
Enabled: true
|
133
157
|
Performance/Sum: # new in 1.8
|
134
158
|
Enabled: true
|
159
|
+
Performance/ZipWithoutBlock: # new in 1.24
|
160
|
+
Enabled: true
|
135
161
|
|
136
162
|
Security/CompoundHash: # new in 1.28
|
137
163
|
Enabled: true
|
138
164
|
Security/IoMethods: # new in 1.22
|
139
165
|
Enabled: true
|
140
166
|
|
167
|
+
Style/AmbiguousEndlessMethodDefinition: # new in 1.68
|
168
|
+
Enabled: true
|
141
169
|
Style/ArgumentsForwarding: # new in 1.1
|
142
170
|
Enabled: true
|
143
171
|
Style/ArrayIntersect: # new in 1.40
|
144
172
|
Enabled: true
|
173
|
+
Style/BitwisePredicate: # new in 1.68
|
174
|
+
Enabled: true
|
145
175
|
Style/CollectionCompact: # new in 1.2
|
146
176
|
Enabled: true
|
177
|
+
Style/CombinableDefined: # new in 1.68
|
178
|
+
Enabled: true
|
147
179
|
Style/ComparableClamp: # new in 1.44
|
148
180
|
Enabled: true
|
149
181
|
Style/ConcatArrayLiterals: # new in 1.41
|
150
182
|
Enabled: true
|
151
183
|
Style/DataInheritance: # new in 1.49
|
152
184
|
Enabled: true
|
185
|
+
Style/DigChain: # new in 1.69
|
186
|
+
Enabled: true
|
153
187
|
Style/DirEmpty: # new in 1.48
|
154
188
|
Enabled: true
|
155
189
|
Style/DocumentDynamicEvalDefinition: # new in 1.1
|
@@ -164,18 +198,28 @@ Style/ExactRegexpMatch: # new in 1.51
|
|
164
198
|
Enabled: true
|
165
199
|
Style/FileEmpty: # new in 1.48
|
166
200
|
Enabled: true
|
201
|
+
Style/FileNull: # new in 1.69
|
202
|
+
Enabled: true
|
167
203
|
Style/FileRead: # new in 1.24
|
168
204
|
Enabled: true
|
205
|
+
Style/FileTouch: # new in 1.69
|
206
|
+
Enabled: true
|
169
207
|
Style/FileWrite: # new in 1.24
|
170
208
|
Enabled: true
|
171
209
|
Style/HashConversion: # new in 1.10
|
172
210
|
Enabled: true
|
173
211
|
Style/HashExcept: # new in 1.7
|
174
212
|
Enabled: true
|
213
|
+
Style/HashSlice: # new in 1.71
|
214
|
+
Enabled: true
|
175
215
|
Style/IfWithBooleanLiteralBranches: # new in 1.9
|
176
216
|
Enabled: true
|
177
217
|
Style/InPatternThen: # new in 1.16
|
178
218
|
Enabled: true
|
219
|
+
Style/ItAssignment: # new in 1.70
|
220
|
+
Enabled: true
|
221
|
+
Style/KeywordArgumentsMerging: # new in 1.68
|
222
|
+
Enabled: true
|
179
223
|
Style/MagicCommentFormat: # new in 1.35
|
180
224
|
Enabled: true
|
181
225
|
Style/MapCompactWithConditionalBlock: # new in 1.30
|
@@ -218,6 +262,8 @@ Style/RedundantEach: # new in 1.38
|
|
218
262
|
Enabled: true
|
219
263
|
Style/RedundantFilterChain: # new in 1.52
|
220
264
|
Enabled: true
|
265
|
+
Style/RedundantFormat: # new in 1.72
|
266
|
+
Enabled: true
|
221
267
|
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
|
222
268
|
Enabled: true
|
223
269
|
Style/RedundantInitialize: # new in 1.27
|
@@ -236,6 +282,8 @@ Style/RedundantSelfAssignmentBranch: # new in 1.19
|
|
236
282
|
Enabled: true
|
237
283
|
Style/RedundantStringEscape: # new in 1.37
|
238
284
|
Enabled: true
|
285
|
+
Style/SafeNavigationChainLength: # new in 1.68
|
286
|
+
Enabled: true
|
239
287
|
Style/SendWithLiteralMethodName: # new in 1.64
|
240
288
|
Enabled: true
|
241
289
|
Style/SelectByRegexp: # new in 1.22
|
data/.yoshiki-rails.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
plugins:
|
2
2
|
- rubocop-rails
|
3
3
|
|
4
4
|
AllCops:
|
@@ -47,6 +47,8 @@ Rails/ShortI18n: # new in 2.7
|
|
47
47
|
EnforcedStyle: aggressive # default is `conservative`
|
48
48
|
Rails/SkipsModelValidations:
|
49
49
|
Enabled: false
|
50
|
+
Rails/StrongParametersExpect: # new in 2.29
|
51
|
+
Enabled: false # requires rails 8.0+
|
50
52
|
Rails/ToFormattedS: # new in 2.15
|
51
53
|
Enabled: false # prefer to_s(:format)
|
52
54
|
Rails/ToSWithArgument: # new in 2.16
|
data/.yoshiki-rspec.yml
CHANGED
@@ -14,6 +14,11 @@ RSpec/ContextWording:
|
|
14
14
|
- when
|
15
15
|
- with
|
16
16
|
- without
|
17
|
+
RSpec/ExampleLength:
|
18
|
+
CountAsOne:
|
19
|
+
- 'array'
|
20
|
+
- 'heredoc'
|
21
|
+
- 'method_call'
|
17
22
|
RSpec/ImplicitExpect:
|
18
23
|
EnforcedStyle: should
|
19
24
|
RSpec/ImplicitSubject:
|
@@ -34,5 +39,3 @@ RSpec/MultipleExpectations:
|
|
34
39
|
Enabled: false # recommend using `aggregate_failures`
|
35
40
|
RSpec/SubjectStub: # allow stubbing subject
|
36
41
|
Enabled: false # should only be used for methods *not* under test
|
37
|
-
RSpec/StringAsInstanceDoubleConstant: # new in 3.1; already deprecated
|
38
|
-
Enabled: false
|
data/.yoshiki-ruby.yml
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
require:
|
2
|
-
- rubocop-rake
|
3
|
-
|
4
1
|
AllCops:
|
5
2
|
DisplayCopNames: true
|
6
3
|
DisplayStyleGuide: true
|
@@ -60,6 +57,7 @@ Layout/SpaceInsidePercentLiteralDelimiters:
|
|
60
57
|
Enabled: false # doesn't support the `space` enforced style
|
61
58
|
Layout/SpaceInsideStringInterpolation:
|
62
59
|
EnforcedStyle: space # default is `no_space`
|
60
|
+
|
63
61
|
Lint/AmbiguousBlockAssociation: # this cop allows configuration with `AllowedMethods` & `AllowedPatterns`
|
64
62
|
Enabled: true
|
65
63
|
Lint/AmbiguousOperator:
|
@@ -134,6 +132,7 @@ Style/EndlessMethod: # new in 1.8
|
|
134
132
|
Enabled: true
|
135
133
|
EnforcedStyle: disallow # default is `allow_single_line`
|
136
134
|
Style/FrozenStringLiteralComment:
|
135
|
+
EnforcedStyle: never # huzzah for ruby 3.4
|
137
136
|
SafeAutoCorrect: true # default is `false`
|
138
137
|
Style/HashSyntax:
|
139
138
|
EnforcedShorthandSyntax: consistent # default is `always`
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,21 +1,22 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
yoshiki (
|
5
|
-
rubocop (
|
6
|
-
rubocop-capybara (
|
7
|
-
rubocop-factory_bot (
|
8
|
-
rubocop-performance (
|
9
|
-
rubocop-rails (
|
10
|
-
rubocop-rake (
|
11
|
-
rubocop-rspec (
|
12
|
-
rubocop-rspec_rails (
|
4
|
+
yoshiki (10.0.0.pre.1)
|
5
|
+
rubocop (= 1.72.2)
|
6
|
+
rubocop-capybara (= 2.21.0)
|
7
|
+
rubocop-factory_bot (= 2.26.1)
|
8
|
+
rubocop-performance (= 1.24.0)
|
9
|
+
rubocop-rails (= 2.30.1)
|
10
|
+
rubocop-rake (= 0.7.1)
|
11
|
+
rubocop-rspec (= 3.5.0)
|
12
|
+
rubocop-rspec_rails (= 2.30.0)
|
13
13
|
|
14
14
|
GEM
|
15
15
|
remote: https://rubygems.org/
|
16
16
|
specs:
|
17
|
-
activesupport (
|
17
|
+
activesupport (8.0.1)
|
18
18
|
base64
|
19
|
+
benchmark (>= 0.3)
|
19
20
|
bigdecimal
|
20
21
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
21
22
|
connection_pool (>= 2.2.5)
|
@@ -25,85 +26,98 @@ GEM
|
|
25
26
|
minitest (>= 5.1)
|
26
27
|
securerandom (>= 0.3)
|
27
28
|
tzinfo (~> 2.0, >= 2.0.5)
|
29
|
+
uri (>= 0.13.1)
|
28
30
|
ast (2.4.2)
|
29
31
|
base64 (0.2.0)
|
30
|
-
|
32
|
+
benchmark (0.4.0)
|
33
|
+
bigdecimal (3.1.9)
|
31
34
|
coderay (1.1.3)
|
32
|
-
concurrent-ruby (1.3.
|
33
|
-
connection_pool (2.
|
34
|
-
|
35
|
+
concurrent-ruby (1.3.5)
|
36
|
+
connection_pool (2.5.0)
|
37
|
+
date (3.4.1)
|
38
|
+
diff-lcs (1.5.1)
|
35
39
|
drb (2.2.1)
|
36
|
-
i18n (1.14.
|
40
|
+
i18n (1.14.7)
|
37
41
|
concurrent-ruby (~> 1.0)
|
38
|
-
json (2.
|
39
|
-
language_server-protocol (3.17.0.
|
40
|
-
|
41
|
-
|
42
|
-
|
42
|
+
json (2.10.1)
|
43
|
+
language_server-protocol (3.17.0.4)
|
44
|
+
lint_roller (1.1.0)
|
45
|
+
logger (1.6.6)
|
46
|
+
method_source (1.1.0)
|
47
|
+
minitest (5.25.4)
|
43
48
|
parallel (1.26.3)
|
44
|
-
parser (3.3.
|
49
|
+
parser (3.3.7.1)
|
45
50
|
ast (~> 2.4.1)
|
46
51
|
racc
|
47
52
|
pry (0.14.2)
|
48
53
|
coderay (~> 1.1)
|
49
54
|
method_source (~> 1.0)
|
50
|
-
psych (5.
|
55
|
+
psych (5.2.3)
|
56
|
+
date
|
51
57
|
stringio
|
52
58
|
racc (1.8.1)
|
53
|
-
rack (3.1.
|
59
|
+
rack (3.1.10)
|
54
60
|
rainbow (3.1.1)
|
55
|
-
rake (13.1
|
56
|
-
regexp_parser (2.
|
57
|
-
rspec (3.
|
58
|
-
rspec-core (~> 3.
|
59
|
-
rspec-expectations (~> 3.
|
60
|
-
rspec-mocks (~> 3.
|
61
|
-
rspec-core (3.
|
62
|
-
rspec-support (~> 3.
|
63
|
-
rspec-expectations (3.
|
61
|
+
rake (13.2.1)
|
62
|
+
regexp_parser (2.10.0)
|
63
|
+
rspec (3.13.0)
|
64
|
+
rspec-core (~> 3.13.0)
|
65
|
+
rspec-expectations (~> 3.13.0)
|
66
|
+
rspec-mocks (~> 3.13.0)
|
67
|
+
rspec-core (3.13.2)
|
68
|
+
rspec-support (~> 3.13.0)
|
69
|
+
rspec-expectations (3.13.3)
|
64
70
|
diff-lcs (>= 1.2.0, < 2.0)
|
65
|
-
rspec-support (~> 3.
|
66
|
-
rspec-mocks (3.
|
71
|
+
rspec-support (~> 3.13.0)
|
72
|
+
rspec-mocks (3.13.2)
|
67
73
|
diff-lcs (>= 1.2.0, < 2.0)
|
68
|
-
rspec-support (~> 3.
|
69
|
-
rspec-support (3.
|
70
|
-
rubocop (1.
|
74
|
+
rspec-support (~> 3.13.0)
|
75
|
+
rspec-support (3.13.1)
|
76
|
+
rubocop (1.72.2)
|
71
77
|
json (~> 2.3)
|
72
|
-
language_server-protocol (
|
78
|
+
language_server-protocol (~> 3.17.0.2)
|
79
|
+
lint_roller (~> 1.1.0)
|
73
80
|
parallel (~> 1.10)
|
74
81
|
parser (>= 3.3.0.2)
|
75
82
|
rainbow (>= 2.2.2, < 4.0)
|
76
|
-
regexp_parser (>= 2.
|
77
|
-
rubocop-ast (>= 1.
|
83
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
84
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
78
85
|
ruby-progressbar (~> 1.7)
|
79
|
-
unicode-display_width (>= 2.4.0, <
|
80
|
-
rubocop-ast (1.
|
86
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
87
|
+
rubocop-ast (1.38.0)
|
81
88
|
parser (>= 3.3.1.0)
|
82
89
|
rubocop-capybara (2.21.0)
|
83
90
|
rubocop (~> 1.41)
|
84
91
|
rubocop-factory_bot (2.26.1)
|
85
92
|
rubocop (~> 1.61)
|
86
|
-
rubocop-performance (1.
|
87
|
-
|
88
|
-
rubocop
|
89
|
-
|
93
|
+
rubocop-performance (1.24.0)
|
94
|
+
lint_roller (~> 1.1)
|
95
|
+
rubocop (>= 1.72.1, < 2.0)
|
96
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
97
|
+
rubocop-rails (2.30.1)
|
90
98
|
activesupport (>= 4.2.0)
|
99
|
+
lint_roller (~> 1.1)
|
91
100
|
rack (>= 1.1)
|
92
|
-
rubocop (>= 1.
|
93
|
-
rubocop-ast (>= 1.
|
94
|
-
rubocop-rake (0.
|
95
|
-
|
96
|
-
|
97
|
-
|
101
|
+
rubocop (>= 1.72.1, < 2.0)
|
102
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
103
|
+
rubocop-rake (0.7.1)
|
104
|
+
lint_roller (~> 1.1)
|
105
|
+
rubocop (>= 1.72.1)
|
106
|
+
rubocop-rspec (3.5.0)
|
107
|
+
lint_roller (~> 1.1)
|
108
|
+
rubocop (~> 1.72, >= 1.72.1)
|
98
109
|
rubocop-rspec_rails (2.30.0)
|
99
110
|
rubocop (~> 1.61)
|
100
111
|
rubocop-rspec (~> 3, >= 3.0.1)
|
101
112
|
ruby-progressbar (1.13.0)
|
102
|
-
securerandom (0.
|
103
|
-
stringio (3.1.
|
113
|
+
securerandom (0.4.1)
|
114
|
+
stringio (3.1.3)
|
104
115
|
tzinfo (2.0.6)
|
105
116
|
concurrent-ruby (~> 1.0)
|
106
|
-
unicode-display_width (
|
117
|
+
unicode-display_width (3.1.4)
|
118
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
119
|
+
unicode-emoji (4.0.4)
|
120
|
+
uri (1.0.2)
|
107
121
|
|
108
122
|
PLATFORMS
|
109
123
|
arm64-darwin-24
|
@@ -116,4 +130,4 @@ DEPENDENCIES
|
|
116
130
|
yoshiki!
|
117
131
|
|
118
132
|
BUNDLED WITH
|
119
|
-
2.
|
133
|
+
2.6.4
|
data/README.md
CHANGED
@@ -45,7 +45,8 @@ inherit_gem:
|
|
45
45
|
|
46
46
|
## Ruby compatibility
|
47
47
|
|
48
|
-
- ruby 3.
|
48
|
+
- ruby 3.4+, use [~> 10.0][10.0]
|
49
|
+
- ruby 3.0+, use [~> 9.0][9.0]
|
49
50
|
- ruby 2.7, use [~> 8.0][8.0]
|
50
51
|
- ruby 2.6, use [~> 7.0][7.0]
|
51
52
|
- ruby 2.4+, use [~> 6.0][6.0.1]
|
@@ -58,6 +59,8 @@ inherit_gem:
|
|
58
59
|
[6.0.1]: https://gitlab.com/devfu/yoshiki/tags/v6.0.1
|
59
60
|
[7.0]: https://gitlab.com/devfu/yoshiki/tags/v7.0.0
|
60
61
|
[8.0]: https://gitlab.com/devfu/yoshiki/tags/v8.0.0
|
62
|
+
[9.0]: https://gitlab.com/devfu/yoshiki/tags/v9.0.0
|
63
|
+
[9.0]: https://gitlab.com/devfu/yoshiki/tags/v10.0.0
|
61
64
|
|
62
65
|
<!-- images -->
|
63
66
|
[ci-image]: https://gitlab.com/devfu/yoshiki/badges/master/pipeline.svg
|
data/Rakefile
CHANGED
data/lib/yoshiki/examples.rb
CHANGED
data/lib/yoshiki/version.rb
CHANGED
data/lib/yoshiki.rb
CHANGED
data/yoshiki.gemspec
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
1
|
lib = File.expand_path 'lib', __dir__
|
4
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
3
|
require 'yoshiki/version'
|
@@ -20,14 +18,14 @@ Gem::Specification.new do |spec|
|
|
20
18
|
|
21
19
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
22
20
|
|
23
|
-
spec.required_ruby_version = '>= 3.
|
21
|
+
spec.required_ruby_version = '>= 3.4.0'
|
24
22
|
|
25
|
-
spec.add_dependency 'rubocop', '
|
26
|
-
spec.add_dependency 'rubocop-capybara', '
|
27
|
-
spec.add_dependency 'rubocop-factory_bot', '
|
28
|
-
spec.add_dependency 'rubocop-performance', '
|
29
|
-
spec.add_dependency 'rubocop-rails', '
|
30
|
-
spec.add_dependency 'rubocop-rake', '
|
31
|
-
spec.add_dependency 'rubocop-rspec', '
|
32
|
-
spec.add_dependency 'rubocop-rspec_rails', '
|
23
|
+
spec.add_dependency 'rubocop', '1.72.2'
|
24
|
+
spec.add_dependency 'rubocop-capybara', '2.21.0'
|
25
|
+
spec.add_dependency 'rubocop-factory_bot', '2.26.1'
|
26
|
+
spec.add_dependency 'rubocop-performance', '1.24.0'
|
27
|
+
spec.add_dependency 'rubocop-rails', '2.30.1'
|
28
|
+
spec.add_dependency 'rubocop-rake', '0.7.1'
|
29
|
+
spec.add_dependency 'rubocop-rspec', '3.5.0'
|
30
|
+
spec.add_dependency 'rubocop-rspec_rails', '2.30.0'
|
33
31
|
end
|
metadata
CHANGED
@@ -1,125 +1,124 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yoshiki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 10.0.0.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BM5k
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-19 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rubocop
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
|
-
- -
|
16
|
+
- - '='
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
18
|
+
version: 1.72.2
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
|
-
- -
|
23
|
+
- - '='
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
25
|
+
version: 1.72.2
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: rubocop-capybara
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
|
-
- -
|
30
|
+
- - '='
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
32
|
+
version: 2.21.0
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
|
-
- -
|
37
|
+
- - '='
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.
|
39
|
+
version: 2.21.0
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
41
|
name: rubocop-factory_bot
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
|
-
- -
|
44
|
+
- - '='
|
46
45
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
46
|
+
version: 2.26.1
|
48
47
|
type: :runtime
|
49
48
|
prerelease: false
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
51
50
|
requirements:
|
52
|
-
- -
|
51
|
+
- - '='
|
53
52
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
53
|
+
version: 2.26.1
|
55
54
|
- !ruby/object:Gem::Dependency
|
56
55
|
name: rubocop-performance
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
58
57
|
requirements:
|
59
|
-
- -
|
58
|
+
- - '='
|
60
59
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
60
|
+
version: 1.24.0
|
62
61
|
type: :runtime
|
63
62
|
prerelease: false
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
65
64
|
requirements:
|
66
|
-
- -
|
65
|
+
- - '='
|
67
66
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
67
|
+
version: 1.24.0
|
69
68
|
- !ruby/object:Gem::Dependency
|
70
69
|
name: rubocop-rails
|
71
70
|
requirement: !ruby/object:Gem::Requirement
|
72
71
|
requirements:
|
73
|
-
- -
|
72
|
+
- - '='
|
74
73
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
74
|
+
version: 2.30.1
|
76
75
|
type: :runtime
|
77
76
|
prerelease: false
|
78
77
|
version_requirements: !ruby/object:Gem::Requirement
|
79
78
|
requirements:
|
80
|
-
- -
|
79
|
+
- - '='
|
81
80
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.
|
81
|
+
version: 2.30.1
|
83
82
|
- !ruby/object:Gem::Dependency
|
84
83
|
name: rubocop-rake
|
85
84
|
requirement: !ruby/object:Gem::Requirement
|
86
85
|
requirements:
|
87
|
-
- -
|
86
|
+
- - '='
|
88
87
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
88
|
+
version: 0.7.1
|
90
89
|
type: :runtime
|
91
90
|
prerelease: false
|
92
91
|
version_requirements: !ruby/object:Gem::Requirement
|
93
92
|
requirements:
|
94
|
-
- -
|
93
|
+
- - '='
|
95
94
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
95
|
+
version: 0.7.1
|
97
96
|
- !ruby/object:Gem::Dependency
|
98
97
|
name: rubocop-rspec
|
99
98
|
requirement: !ruby/object:Gem::Requirement
|
100
99
|
requirements:
|
101
|
-
- -
|
100
|
+
- - '='
|
102
101
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
102
|
+
version: 3.5.0
|
104
103
|
type: :runtime
|
105
104
|
prerelease: false
|
106
105
|
version_requirements: !ruby/object:Gem::Requirement
|
107
106
|
requirements:
|
108
|
-
- -
|
107
|
+
- - '='
|
109
108
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
109
|
+
version: 3.5.0
|
111
110
|
- !ruby/object:Gem::Dependency
|
112
111
|
name: rubocop-rspec_rails
|
113
112
|
requirement: !ruby/object:Gem::Requirement
|
114
113
|
requirements:
|
115
|
-
- -
|
114
|
+
- - '='
|
116
115
|
- !ruby/object:Gem::Version
|
117
116
|
version: 2.30.0
|
118
117
|
type: :runtime
|
119
118
|
prerelease: false
|
120
119
|
version_requirements: !ruby/object:Gem::Requirement
|
121
120
|
requirements:
|
122
|
-
- -
|
121
|
+
- - '='
|
123
122
|
- !ruby/object:Gem::Version
|
124
123
|
version: 2.30.0
|
125
124
|
description: Dev Fu! Style for rubocop.
|
@@ -157,7 +156,6 @@ licenses:
|
|
157
156
|
- MIT
|
158
157
|
metadata:
|
159
158
|
rubygems_mfa_required: 'true'
|
160
|
-
post_install_message:
|
161
159
|
rdoc_options: []
|
162
160
|
require_paths:
|
163
161
|
- lib
|
@@ -165,15 +163,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
165
163
|
requirements:
|
166
164
|
- - ">="
|
167
165
|
- !ruby/object:Gem::Version
|
168
|
-
version: 3.
|
166
|
+
version: 3.4.0
|
169
167
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
168
|
requirements:
|
171
169
|
- - ">="
|
172
170
|
- !ruby/object:Gem::Version
|
173
171
|
version: '0'
|
174
172
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
176
|
-
signing_key:
|
173
|
+
rubygems_version: 3.6.4
|
177
174
|
specification_version: 4
|
178
175
|
summary: Dev Fu! Style
|
179
176
|
test_files: []
|