yoshiki 9.0.0.pre.7 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6d6c021520471c78ede29b2fc2c6c9486a5bda5e9ce0be9476a8adaa6f5bc51
4
- data.tar.gz: d1e7dd08fe75ab1c61f98d62b868a1aa855b7a13bba46ea74a2657e63e482ec1
3
+ metadata.gz: d62383cecdfd7af660c27c974bd3fb21178d5ff27193cc2dab46c7d1bb4fc053
4
+ data.tar.gz: 5d65d01b435053d833798920da6524393e36212359661a9f4295f230dc490573
5
5
  SHA512:
6
- metadata.gz: 7cd329a315aaa9495fae9500a69ae9c69be9ba687552a8ac542edd961886b0af11fe206b975a53c81c97f6656c65ac12b00ecd98faea8610bd0e7aecd351c86e
7
- data.tar.gz: c876fddc110ef753ab69546f0e5103c049dbac07c3873f1d82a000fafd0c1535af74836b6579c845b77b0686472079ce79c8f3a8309bd80be684cdd667f81e6d
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"
@@ -1,10 +1,43 @@
1
1
  require:
2
+ - rubocop-capybara
3
+ - rubocop-factory_bot
2
4
  - rubocop-rails
3
5
  - rubocop-rspec_rails
4
6
 
5
7
  Rails:
6
8
  Enabled: true
7
9
 
10
+ Capybara/MatchStyle: # new in 2.17
11
+ Enabled: true
12
+ Capybara/NegationMatcher: # new in 2.14
13
+ Enabled: true
14
+ Capybara/RedundantWithinFind: # new in 2.20
15
+ Enabled: true
16
+ Capybara/SpecificActions: # new in 2.14
17
+ Enabled: true
18
+ Capybara/SpecificMatcher: # new in 2.12
19
+ Enabled: true
20
+
21
+ Capybara/RSpec/HaveSelector: # new in 2.19
22
+ Enabled: true
23
+
24
+ FactoryBot/AssociationStyle: # new in 2.23
25
+ Enabled: true
26
+ FactoryBot/ExcessiveCreateList: # new in 2.25
27
+ Enabled: true
28
+ FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
29
+ Enabled: true
30
+ FactoryBot/FactoryClassName: # new in 1.37
31
+ Enabled: true
32
+ FactoryBot/IdSequence: # new in 2.19
33
+ Enabled: true
34
+ FactoryBot/FactoryNameStyle: # new in 2.16
35
+ Enabled: true
36
+ FactoryBot/RedundantFactoryOption: # new in 2.23
37
+ Enabled: true
38
+ FactoryBot/SyntaxMethods: # new in 2.7
39
+ Enabled: true
40
+
8
41
  Rails/ActionControllerFlashBeforeRender: # new in 2.16
9
42
  Enabled: true
10
43
  Rails/ActionControllerTestCase: # new in 2.14
@@ -1,40 +1,7 @@
1
1
  require:
2
- - rubocop-capybara
3
- - rubocop-factory_bot
4
2
  - rubocop-performance
5
3
  - rubocop-rake
6
4
 
7
- Capybara/MatchStyle: # new in 2.17
8
- Enabled: true
9
- Capybara/NegationMatcher: # new in 2.14
10
- Enabled: true
11
- Capybara/RedundantWithinFind: # new in 2.20
12
- Enabled: true
13
- Capybara/SpecificActions: # new in 2.14
14
- Enabled: true
15
- Capybara/SpecificMatcher: # new in 2.12
16
- Enabled: true
17
-
18
- Capybara/RSpec/HaveSelector: # new in 2.19
19
- Enabled: true
20
-
21
- FactoryBot/AssociationStyle: # new in 2.23
22
- Enabled: true
23
- FactoryBot/ExcessiveCreateList: # new in 2.25
24
- Enabled: true
25
- FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
26
- Enabled: true
27
- FactoryBot/FactoryClassName: # new in 1.37
28
- Enabled: true
29
- FactoryBot/IdSequence: # new in 2.19
30
- Enabled: true
31
- FactoryBot/FactoryNameStyle: # new in 2.16
32
- Enabled: true
33
- FactoryBot/RedundantFactoryOption: # new in 2.23
34
- Enabled: true
35
- FactoryBot/SyntaxMethods: # new in 2.7
36
- Enabled: true
37
-
38
5
  Gemspec/AddRuntimeDependency: # new in 1.65
39
6
  Enabled: true
40
7
  Gemspec/DeprecatedAttributeAssignment: # new in 1.30
@@ -73,12 +40,16 @@ Lint/DuplicateMatchPattern: # new in 1.50
73
40
  Enabled: true
74
41
  Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
75
42
  Enabled: true
43
+ Lint/DuplicateSetElement: # new in 1.67
44
+ Enabled: true
76
45
  Lint/EmptyBlock: # new in 1.1
77
46
  Enabled: true
78
47
  Lint/EmptyClass: # new in 1.3
79
48
  Enabled: true
80
49
  Lint/EmptyInPattern: # new in 1.16
81
50
  Enabled: true
51
+ Lint/HashNewWithKeywordArgumentsAsDefault: # new in 1.69
52
+ Enabled: true
82
53
  Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
83
54
  Enabled: true
84
55
  Lint/ItWithoutArgumentsInBlock: # new in 1.59
@@ -95,6 +66,8 @@ Lint/NoReturnInBeginEndBlocks: # new in 1.2
95
66
  Enabled: true
96
67
  Lint/NumberedParameterAssignment: # new in 1.9
97
68
  Enabled: true
69
+ Lint/NumericOperationWithConstantResult: # new in 1.69
70
+ Enabled: true
98
71
  Lint/OrAssignmentToConstant: # new in 1.9
99
72
  Enabled: true
100
73
  Lint/RedundantDirGlobSort: # new in 1.8
@@ -113,10 +86,14 @@ Lint/ToEnumArguments: # new in 1.1
113
86
  Enabled: true
114
87
  Lint/TripleQuotes: # new in 1.9
115
88
  Enabled: true
89
+ Lint/UnescapedBracketInRegexp: # new in 1.68
90
+ Enabled: true
116
91
  Lint/UnexpectedBlockArity: # new in 1.5
117
92
  Enabled: true
118
93
  Lint/UnmodifiedReduceAccumulator: # new in 1.1
119
94
  Enabled: true
95
+ Lint/UselessDefined: # new in 1.69
96
+ Enabled: true
120
97
  Lint/UselessNumericOperation: # new in 1.66
121
98
  Enabled: true
122
99
  Lint/UselessRescue: # new in 1.43
@@ -157,6 +134,8 @@ Performance/SortReverse: # new in 1.7
157
134
  Enabled: true
158
135
  Performance/Squeeze: # new in 1.7
159
136
  Enabled: true
137
+ Performance/StringBytesize: # new in 1.23
138
+ Enabled: true
160
139
  Performance/StringIdentifierArgument: # new in 1.13
161
140
  Enabled: true
162
141
  Performance/StringInclude: # new in 1.7
@@ -169,18 +148,26 @@ Security/CompoundHash: # new in 1.28
169
148
  Security/IoMethods: # new in 1.22
170
149
  Enabled: true
171
150
 
151
+ Style/AmbiguousEndlessMethodDefinition: # new in 1.68
152
+ Enabled: true
172
153
  Style/ArgumentsForwarding: # new in 1.1
173
154
  Enabled: true
174
155
  Style/ArrayIntersect: # new in 1.40
175
156
  Enabled: true
157
+ Style/BitwisePredicate: # new in 1.68
158
+ Enabled: true
176
159
  Style/CollectionCompact: # new in 1.2
177
160
  Enabled: true
161
+ Style/CombinableDefined: # new in 1.68
162
+ Enabled: true
178
163
  Style/ComparableClamp: # new in 1.44
179
164
  Enabled: true
180
165
  Style/ConcatArrayLiterals: # new in 1.41
181
166
  Enabled: true
182
167
  Style/DataInheritance: # new in 1.49
183
168
  Enabled: true
169
+ Style/DigChain: # new in 1.69
170
+ Enabled: true
184
171
  Style/DirEmpty: # new in 1.48
185
172
  Enabled: true
186
173
  Style/DocumentDynamicEvalDefinition: # new in 1.1
@@ -195,8 +182,12 @@ Style/ExactRegexpMatch: # new in 1.51
195
182
  Enabled: true
196
183
  Style/FileEmpty: # new in 1.48
197
184
  Enabled: true
185
+ Style/FileNull: # new in 1.69
186
+ Enabled: true
198
187
  Style/FileRead: # new in 1.24
199
188
  Enabled: true
189
+ Style/FileTouch: # new in 1.69
190
+ Enabled: true
200
191
  Style/FileWrite: # new in 1.24
201
192
  Enabled: true
202
193
  Style/HashConversion: # new in 1.10
@@ -207,6 +198,8 @@ Style/IfWithBooleanLiteralBranches: # new in 1.9
207
198
  Enabled: true
208
199
  Style/InPatternThen: # new in 1.16
209
200
  Enabled: true
201
+ Style/KeywordArgumentsMerging: # new in 1.68
202
+ Enabled: true
210
203
  Style/MagicCommentFormat: # new in 1.35
211
204
  Enabled: true
212
205
  Style/MapCompactWithConditionalBlock: # new in 1.30
@@ -267,6 +260,8 @@ Style/RedundantSelfAssignmentBranch: # new in 1.19
267
260
  Enabled: true
268
261
  Style/RedundantStringEscape: # new in 1.37
269
262
  Enabled: true
263
+ Style/SafeNavigationChainLength: # new in 1.68
264
+ Enabled: true
270
265
  Style/SendWithLiteralMethodName: # new in 1.64
271
266
  Enabled: true
272
267
  Style/SelectByRegexp: # new in 1.22
data/.yoshiki-rails.yml CHANGED
@@ -12,15 +12,14 @@ inherit_from:
12
12
  - .rubocop-defaults-rails.yml
13
13
 
14
14
  Capybara/ClickLinkOrButtonStyle: # new in 2.19
15
- Enabled: true
16
- EnforcedStyle: strict
15
+ Enabled: false # cop is already deprecated
17
16
  Capybara/SpecificFinders: # new in 2.13
18
17
  Enabled: false # prefer find('#css-id')
19
18
 
20
19
  Capybara/RSpec/PredicateMatcher: # new in 2.19
21
20
  Enabled: true
22
21
  EnforcedStyle: inflected
23
- Strict: false
22
+ Strict: false # don't allow "strict" checks (methinks this option is poorly named)
24
23
 
25
24
  FactoryBot/ConsistentParenthesesStyle: # new in 2.14
26
25
  Enabled: true
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.pre.7)
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,34 +14,37 @@ PATH
14
14
  GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
- activesupport (7.1.3)
17
+ activesupport (8.0.0)
18
18
  base64
19
+ benchmark (>= 0.3)
19
20
  bigdecimal
20
- concurrent-ruby (~> 1.0, >= 1.0.2)
21
+ concurrent-ruby (~> 1.0, >= 1.3.1)
21
22
  connection_pool (>= 2.2.5)
22
23
  drb
23
24
  i18n (>= 1.6, < 2)
25
+ logger (>= 1.4.2)
24
26
  minitest (>= 5.1)
25
- mutex_m
26
- tzinfo (~> 2.0)
27
+ securerandom (>= 0.3)
28
+ tzinfo (~> 2.0, >= 2.0.5)
29
+ uri (>= 0.13.1)
27
30
  ast (2.4.2)
28
31
  base64 (0.2.0)
29
- bigdecimal (3.1.6)
32
+ benchmark (0.4.0)
33
+ bigdecimal (3.1.8)
30
34
  coderay (1.1.3)
31
- concurrent-ruby (1.2.3)
35
+ concurrent-ruby (1.3.4)
32
36
  connection_pool (2.4.1)
33
- diff-lcs (1.5.0)
34
- drb (2.2.0)
35
- ruby2_keywords
36
- i18n (1.14.1)
37
+ diff-lcs (1.5.1)
38
+ drb (2.2.1)
39
+ i18n (1.14.6)
37
40
  concurrent-ruby (~> 1.0)
38
- json (2.7.1)
41
+ json (2.9.0)
39
42
  language_server-protocol (3.17.0.3)
40
- method_source (1.0.0)
41
- minitest (5.21.2)
42
- mutex_m (0.2.0)
43
- parallel (1.24.0)
44
- parser (3.3.5.0)
43
+ logger (1.6.2)
44
+ method_source (1.1.0)
45
+ minitest (5.25.4)
46
+ parallel (1.26.3)
47
+ parser (3.3.6.0)
45
48
  ast (~> 2.4.1)
46
49
  racc
47
50
  pry (0.14.2)
@@ -49,61 +52,64 @@ GEM
49
52
  method_source (~> 1.0)
50
53
  psych (5.1.2)
51
54
  stringio
52
- racc (1.7.3)
53
- rack (3.0.8)
55
+ racc (1.8.1)
56
+ rack (3.1.8)
54
57
  rainbow (3.1.1)
55
- rake (13.1.0)
56
- regexp_parser (2.9.0)
57
- rspec (3.12.0)
58
- rspec-core (~> 3.12.0)
59
- rspec-expectations (~> 3.12.0)
60
- rspec-mocks (~> 3.12.0)
61
- rspec-core (3.12.2)
62
- rspec-support (~> 3.12.0)
63
- rspec-expectations (3.12.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.12.0)
66
- rspec-mocks (3.12.6)
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.12.0)
69
- rspec-support (3.12.1)
70
- rubocop (1.66.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.4, < 3.0)
77
- rubocop-ast (>= 1.32.2, < 2.0)
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, < 3.0)
80
- rubocop-ast (1.32.3)
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.22.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.26.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.1.0)
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
- ruby2_keywords (0.0.5)
103
- stringio (3.1.0)
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 (2.5.0)
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.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 [=> 9.0][9.0]
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Yoshiki
4
4
 
5
- VERSION = '9.0.0-7'
5
+ VERSION = '9.0.0'
6
6
 
7
7
  end
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.pre.7
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-10-04 00:00:00.000000000 Z
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.21
175
+ rubygems_version: 3.5.23
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: Dev Fu! Style