yoshiki 9.0.0.pre.9 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +11 -0
- data/.rubocop-defaults.yml +26 -0
- data/.yoshiki-ruby.yml +1 -0
- data/Gemfile.lock +39 -33
- data/README.md +2 -1
- data/lib/yoshiki/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d62383cecdfd7af660c27c974bd3fb21178d5ff27193cc2dab46c7d1bb4fc053
|
|
4
|
+
data.tar.gz: 5d65d01b435053d833798920da6524393e36212359661a9f4295f230dc490573
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9a48d394c207558210fa1a170443c39655be381791fbaf7962c3d500d5b68345d811f9fccb077a807c1a9dc94d17951a670929ae3e5ca24fe7ce19a3ebf23ba
|
|
7
|
+
data.tar.gz: 5da785a1d4d57d67770045f37f6262cfa03a202955f201655eefe9ed64517f01aac2b6e37cb23d496c989b6612119d2a3763aac0e3d6a469c84da1fda4ad44e2
|
data/.gitlab-ci.yml
CHANGED
|
@@ -7,6 +7,17 @@ before_script:
|
|
|
7
7
|
- gem update bundler
|
|
8
8
|
- bundle install --clean --jobs $(nproc) --retry=3
|
|
9
9
|
|
|
10
|
+
ruby 3.4:
|
|
11
|
+
allow_failure: true
|
|
12
|
+
cache:
|
|
13
|
+
key: "$CI_BUILD_REF_NAME-3.4"
|
|
14
|
+
paths:
|
|
15
|
+
- vendor/bundle
|
|
16
|
+
image: ruby:3.4-rc-alpine
|
|
17
|
+
script:
|
|
18
|
+
- bundle exec rake spec rubocop
|
|
19
|
+
stage: test
|
|
20
|
+
|
|
10
21
|
ruby 3.3:
|
|
11
22
|
cache:
|
|
12
23
|
key: "$CI_BUILD_REF_NAME-3.3"
|
data/.rubocop-defaults.yml
CHANGED
|
@@ -48,6 +48,8 @@ Lint/EmptyClass: # new in 1.3
|
|
|
48
48
|
Enabled: true
|
|
49
49
|
Lint/EmptyInPattern: # new in 1.16
|
|
50
50
|
Enabled: true
|
|
51
|
+
Lint/HashNewWithKeywordArgumentsAsDefault: # new in 1.69
|
|
52
|
+
Enabled: true
|
|
51
53
|
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
|
|
52
54
|
Enabled: true
|
|
53
55
|
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
|
@@ -64,6 +66,8 @@ Lint/NoReturnInBeginEndBlocks: # new in 1.2
|
|
|
64
66
|
Enabled: true
|
|
65
67
|
Lint/NumberedParameterAssignment: # new in 1.9
|
|
66
68
|
Enabled: true
|
|
69
|
+
Lint/NumericOperationWithConstantResult: # new in 1.69
|
|
70
|
+
Enabled: true
|
|
67
71
|
Lint/OrAssignmentToConstant: # new in 1.9
|
|
68
72
|
Enabled: true
|
|
69
73
|
Lint/RedundantDirGlobSort: # new in 1.8
|
|
@@ -82,10 +86,14 @@ Lint/ToEnumArguments: # new in 1.1
|
|
|
82
86
|
Enabled: true
|
|
83
87
|
Lint/TripleQuotes: # new in 1.9
|
|
84
88
|
Enabled: true
|
|
89
|
+
Lint/UnescapedBracketInRegexp: # new in 1.68
|
|
90
|
+
Enabled: true
|
|
85
91
|
Lint/UnexpectedBlockArity: # new in 1.5
|
|
86
92
|
Enabled: true
|
|
87
93
|
Lint/UnmodifiedReduceAccumulator: # new in 1.1
|
|
88
94
|
Enabled: true
|
|
95
|
+
Lint/UselessDefined: # new in 1.69
|
|
96
|
+
Enabled: true
|
|
89
97
|
Lint/UselessNumericOperation: # new in 1.66
|
|
90
98
|
Enabled: true
|
|
91
99
|
Lint/UselessRescue: # new in 1.43
|
|
@@ -126,6 +134,8 @@ Performance/SortReverse: # new in 1.7
|
|
|
126
134
|
Enabled: true
|
|
127
135
|
Performance/Squeeze: # new in 1.7
|
|
128
136
|
Enabled: true
|
|
137
|
+
Performance/StringBytesize: # new in 1.23
|
|
138
|
+
Enabled: true
|
|
129
139
|
Performance/StringIdentifierArgument: # new in 1.13
|
|
130
140
|
Enabled: true
|
|
131
141
|
Performance/StringInclude: # new in 1.7
|
|
@@ -138,18 +148,26 @@ Security/CompoundHash: # new in 1.28
|
|
|
138
148
|
Security/IoMethods: # new in 1.22
|
|
139
149
|
Enabled: true
|
|
140
150
|
|
|
151
|
+
Style/AmbiguousEndlessMethodDefinition: # new in 1.68
|
|
152
|
+
Enabled: true
|
|
141
153
|
Style/ArgumentsForwarding: # new in 1.1
|
|
142
154
|
Enabled: true
|
|
143
155
|
Style/ArrayIntersect: # new in 1.40
|
|
144
156
|
Enabled: true
|
|
157
|
+
Style/BitwisePredicate: # new in 1.68
|
|
158
|
+
Enabled: true
|
|
145
159
|
Style/CollectionCompact: # new in 1.2
|
|
146
160
|
Enabled: true
|
|
161
|
+
Style/CombinableDefined: # new in 1.68
|
|
162
|
+
Enabled: true
|
|
147
163
|
Style/ComparableClamp: # new in 1.44
|
|
148
164
|
Enabled: true
|
|
149
165
|
Style/ConcatArrayLiterals: # new in 1.41
|
|
150
166
|
Enabled: true
|
|
151
167
|
Style/DataInheritance: # new in 1.49
|
|
152
168
|
Enabled: true
|
|
169
|
+
Style/DigChain: # new in 1.69
|
|
170
|
+
Enabled: true
|
|
153
171
|
Style/DirEmpty: # new in 1.48
|
|
154
172
|
Enabled: true
|
|
155
173
|
Style/DocumentDynamicEvalDefinition: # new in 1.1
|
|
@@ -164,8 +182,12 @@ Style/ExactRegexpMatch: # new in 1.51
|
|
|
164
182
|
Enabled: true
|
|
165
183
|
Style/FileEmpty: # new in 1.48
|
|
166
184
|
Enabled: true
|
|
185
|
+
Style/FileNull: # new in 1.69
|
|
186
|
+
Enabled: true
|
|
167
187
|
Style/FileRead: # new in 1.24
|
|
168
188
|
Enabled: true
|
|
189
|
+
Style/FileTouch: # new in 1.69
|
|
190
|
+
Enabled: true
|
|
169
191
|
Style/FileWrite: # new in 1.24
|
|
170
192
|
Enabled: true
|
|
171
193
|
Style/HashConversion: # new in 1.10
|
|
@@ -176,6 +198,8 @@ Style/IfWithBooleanLiteralBranches: # new in 1.9
|
|
|
176
198
|
Enabled: true
|
|
177
199
|
Style/InPatternThen: # new in 1.16
|
|
178
200
|
Enabled: true
|
|
201
|
+
Style/KeywordArgumentsMerging: # new in 1.68
|
|
202
|
+
Enabled: true
|
|
179
203
|
Style/MagicCommentFormat: # new in 1.35
|
|
180
204
|
Enabled: true
|
|
181
205
|
Style/MapCompactWithConditionalBlock: # new in 1.30
|
|
@@ -236,6 +260,8 @@ Style/RedundantSelfAssignmentBranch: # new in 1.19
|
|
|
236
260
|
Enabled: true
|
|
237
261
|
Style/RedundantStringEscape: # new in 1.37
|
|
238
262
|
Enabled: true
|
|
263
|
+
Style/SafeNavigationChainLength: # new in 1.68
|
|
264
|
+
Enabled: true
|
|
239
265
|
Style/SendWithLiteralMethodName: # new in 1.64
|
|
240
266
|
Enabled: true
|
|
241
267
|
Style/SelectByRegexp: # new in 1.22
|
data/.yoshiki-ruby.yml
CHANGED
|
@@ -60,6 +60,7 @@ Layout/SpaceInsidePercentLiteralDelimiters:
|
|
|
60
60
|
Enabled: false # doesn't support the `space` enforced style
|
|
61
61
|
Layout/SpaceInsideStringInterpolation:
|
|
62
62
|
EnforcedStyle: space # default is `no_space`
|
|
63
|
+
|
|
63
64
|
Lint/AmbiguousBlockAssociation: # this cop allows configuration with `AllowedMethods` & `AllowedPatterns`
|
|
64
65
|
Enabled: true
|
|
65
66
|
Lint/AmbiguousOperator:
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
yoshiki (9.0.0
|
|
4
|
+
yoshiki (9.0.0)
|
|
5
5
|
rubocop (>= 1.56.4)
|
|
6
6
|
rubocop-capybara (>= 2.19.0)
|
|
7
7
|
rubocop-factory_bot (>= 2.24.0)
|
|
@@ -14,8 +14,9 @@ PATH
|
|
|
14
14
|
GEM
|
|
15
15
|
remote: https://rubygems.org/
|
|
16
16
|
specs:
|
|
17
|
-
activesupport (
|
|
17
|
+
activesupport (8.0.0)
|
|
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,23 +26,25 @@ 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)
|
|
32
|
+
benchmark (0.4.0)
|
|
30
33
|
bigdecimal (3.1.8)
|
|
31
34
|
coderay (1.1.3)
|
|
32
35
|
concurrent-ruby (1.3.4)
|
|
33
36
|
connection_pool (2.4.1)
|
|
34
|
-
diff-lcs (1.5.
|
|
37
|
+
diff-lcs (1.5.1)
|
|
35
38
|
drb (2.2.1)
|
|
36
39
|
i18n (1.14.6)
|
|
37
40
|
concurrent-ruby (~> 1.0)
|
|
38
|
-
json (2.
|
|
41
|
+
json (2.9.0)
|
|
39
42
|
language_server-protocol (3.17.0.3)
|
|
40
|
-
logger (1.6.
|
|
41
|
-
method_source (1.
|
|
42
|
-
minitest (5.25.
|
|
43
|
+
logger (1.6.2)
|
|
44
|
+
method_source (1.1.0)
|
|
45
|
+
minitest (5.25.4)
|
|
43
46
|
parallel (1.26.3)
|
|
44
|
-
parser (3.3.
|
|
47
|
+
parser (3.3.6.0)
|
|
45
48
|
ast (~> 2.4.1)
|
|
46
49
|
racc
|
|
47
50
|
pry (0.14.2)
|
|
@@ -52,58 +55,61 @@ GEM
|
|
|
52
55
|
racc (1.8.1)
|
|
53
56
|
rack (3.1.8)
|
|
54
57
|
rainbow (3.1.1)
|
|
55
|
-
rake (13.1
|
|
56
|
-
regexp_parser (2.9.
|
|
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.
|
|
58
|
+
rake (13.2.1)
|
|
59
|
+
regexp_parser (2.9.3)
|
|
60
|
+
rspec (3.13.0)
|
|
61
|
+
rspec-core (~> 3.13.0)
|
|
62
|
+
rspec-expectations (~> 3.13.0)
|
|
63
|
+
rspec-mocks (~> 3.13.0)
|
|
64
|
+
rspec-core (3.13.2)
|
|
65
|
+
rspec-support (~> 3.13.0)
|
|
66
|
+
rspec-expectations (3.13.3)
|
|
64
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
65
|
-
rspec-support (~> 3.
|
|
66
|
-
rspec-mocks (3.
|
|
68
|
+
rspec-support (~> 3.13.0)
|
|
69
|
+
rspec-mocks (3.13.2)
|
|
67
70
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
68
|
-
rspec-support (~> 3.
|
|
69
|
-
rspec-support (3.
|
|
70
|
-
rubocop (1.
|
|
71
|
+
rspec-support (~> 3.13.0)
|
|
72
|
+
rspec-support (3.13.1)
|
|
73
|
+
rubocop (1.69.1)
|
|
71
74
|
json (~> 2.3)
|
|
72
75
|
language_server-protocol (>= 3.17.0)
|
|
73
76
|
parallel (~> 1.10)
|
|
74
77
|
parser (>= 3.3.0.2)
|
|
75
78
|
rainbow (>= 2.2.2, < 4.0)
|
|
76
|
-
regexp_parser (>= 2.
|
|
77
|
-
rubocop-ast (>= 1.
|
|
79
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
80
|
+
rubocop-ast (>= 1.36.2, < 2.0)
|
|
78
81
|
ruby-progressbar (~> 1.7)
|
|
79
|
-
unicode-display_width (>= 2.4.0, <
|
|
80
|
-
rubocop-ast (1.
|
|
82
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
83
|
+
rubocop-ast (1.36.2)
|
|
81
84
|
parser (>= 3.3.1.0)
|
|
82
85
|
rubocop-capybara (2.21.0)
|
|
83
86
|
rubocop (~> 1.41)
|
|
84
87
|
rubocop-factory_bot (2.26.1)
|
|
85
88
|
rubocop (~> 1.61)
|
|
86
|
-
rubocop-performance (1.
|
|
89
|
+
rubocop-performance (1.23.0)
|
|
87
90
|
rubocop (>= 1.48.1, < 2.0)
|
|
88
91
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
89
|
-
rubocop-rails (2.
|
|
92
|
+
rubocop-rails (2.27.0)
|
|
90
93
|
activesupport (>= 4.2.0)
|
|
91
94
|
rack (>= 1.1)
|
|
92
95
|
rubocop (>= 1.52.0, < 2.0)
|
|
93
96
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
94
97
|
rubocop-rake (0.6.0)
|
|
95
98
|
rubocop (~> 1.0)
|
|
96
|
-
rubocop-rspec (3.
|
|
99
|
+
rubocop-rspec (3.2.0)
|
|
97
100
|
rubocop (~> 1.61)
|
|
98
101
|
rubocop-rspec_rails (2.30.0)
|
|
99
102
|
rubocop (~> 1.61)
|
|
100
103
|
rubocop-rspec (~> 3, >= 3.0.1)
|
|
101
104
|
ruby-progressbar (1.13.0)
|
|
102
|
-
securerandom (0.
|
|
103
|
-
stringio (3.1.
|
|
105
|
+
securerandom (0.4.0)
|
|
106
|
+
stringio (3.1.1)
|
|
104
107
|
tzinfo (2.0.6)
|
|
105
108
|
concurrent-ruby (~> 1.0)
|
|
106
|
-
unicode-display_width (
|
|
109
|
+
unicode-display_width (3.1.2)
|
|
110
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
|
111
|
+
unicode-emoji (4.0.4)
|
|
112
|
+
uri (1.0.2)
|
|
107
113
|
|
|
108
114
|
PLATFORMS
|
|
109
115
|
arm64-darwin-24
|
|
@@ -116,4 +122,4 @@ DEPENDENCIES
|
|
|
116
122
|
yoshiki!
|
|
117
123
|
|
|
118
124
|
BUNDLED WITH
|
|
119
|
-
2.5.
|
|
125
|
+
2.5.23
|
data/README.md
CHANGED
|
@@ -45,7 +45,7 @@ inherit_gem:
|
|
|
45
45
|
|
|
46
46
|
## Ruby compatibility
|
|
47
47
|
|
|
48
|
-
- ruby 3.0+, use [
|
|
48
|
+
- ruby 3.0+, use [~> 9.0][9.0]
|
|
49
49
|
- ruby 2.7, use [~> 8.0][8.0]
|
|
50
50
|
- ruby 2.6, use [~> 7.0][7.0]
|
|
51
51
|
- ruby 2.4+, use [~> 6.0][6.0.1]
|
|
@@ -58,6 +58,7 @@ inherit_gem:
|
|
|
58
58
|
[6.0.1]: https://gitlab.com/devfu/yoshiki/tags/v6.0.1
|
|
59
59
|
[7.0]: https://gitlab.com/devfu/yoshiki/tags/v7.0.0
|
|
60
60
|
[8.0]: https://gitlab.com/devfu/yoshiki/tags/v8.0.0
|
|
61
|
+
[9.0]: https://gitlab.com/devfu/yoshiki/tags/v9.0.0
|
|
61
62
|
|
|
62
63
|
<!-- images -->
|
|
63
64
|
[ci-image]: https://gitlab.com/devfu/yoshiki/badges/master/pipeline.svg
|
data/lib/yoshiki/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yoshiki
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 9.0.0
|
|
4
|
+
version: 9.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- BM5k
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-12-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
172
172
|
- !ruby/object:Gem::Version
|
|
173
173
|
version: '0'
|
|
174
174
|
requirements: []
|
|
175
|
-
rubygems_version: 3.5.
|
|
175
|
+
rubygems_version: 3.5.23
|
|
176
176
|
signing_key:
|
|
177
177
|
specification_version: 4
|
|
178
178
|
summary: Dev Fu! Style
|