yoshiki 9.0.0.pre.4 → 9.0.0.pre.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop-defaults-rails.yml +11 -6
- data/.rubocop-defaults-rspec.yml +51 -0
- data/.rubocop-defaults.yml +8 -50
- data/.yoshiki-rspec.yml +38 -0
- data/.yoshiki-ruby.yml +0 -31
- data/.yoshiki.yml +1 -1
- data/Gemfile.lock +21 -19
- data/lib/yoshiki/version.rb +1 -1
- data/yoshiki.gemspec +1 -0
- metadata +19 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 929aa2a6c345bf8592d2418d7f7eb32e1cea3d5a099e28743ce3c2464e9b48b2
|
4
|
+
data.tar.gz: 31cf37b5a15f4a83b111c2a6c3036ede6eecb4e4270c7026c7052bfe68c4c804
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91165f9e7728c82deef4650172a0953565e3f25641a522e1f4d1e8a03db0d3f5f5cd5f4fb68f47f36f9904445c61ee4d9b7ebff1f18bd76b31449a2e1ef7ddb4
|
7
|
+
data.tar.gz: 015e4b3502af59a5d83d1896a6a88d82bc1456bdb5203808b137f635293fbf9f908b3152154d8122e32deb51ad6bedd43d31a09c99d8ce684a6df980eeff7d89
|
data/.rubocop-defaults-rails.yml
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-rails
|
3
|
+
- rubocop-rspec_rails
|
3
4
|
|
4
5
|
Rails:
|
5
6
|
Enabled: true
|
@@ -38,6 +39,8 @@ Rails/EagerEvaluationLogMessage: # new in 2.11
|
|
38
39
|
Enabled: true
|
39
40
|
Rails/EnvLocal: # new in 2.22
|
40
41
|
Enabled: true
|
42
|
+
Rails/EnumSyntax: # new in 2.26
|
43
|
+
Enabled: true
|
41
44
|
Rails/ExpandedDateRange: # new in 2.11
|
42
45
|
Enabled: true
|
43
46
|
Rails/FindById: # new in 2.7
|
@@ -110,16 +113,18 @@ Rails/WhereNot: # new in 2.8
|
|
110
113
|
Enabled: true
|
111
114
|
Rails/WhereNotWithMultipleConditions: # new in 2.17
|
112
115
|
Enabled: true
|
116
|
+
Rails/WhereRange: # new in 2.25
|
117
|
+
Enabled: true
|
113
118
|
|
114
|
-
|
119
|
+
RSpecRails/AvoidSetupHook: # new in 2.4
|
115
120
|
Enabled: true
|
116
|
-
|
121
|
+
RSpecRails/HaveHttpStatus: # new in 2.12
|
117
122
|
Enabled: true
|
118
|
-
|
123
|
+
RSpecRails/InferredSpecType: # new in 2.14
|
119
124
|
Enabled: true
|
120
|
-
|
125
|
+
RSpecRails/MinitestAssertions: # new in 2.17
|
121
126
|
Enabled: true
|
122
|
-
|
127
|
+
RSpecRails/NegationBeValid: # new in 2.23
|
123
128
|
Enabled: true
|
124
|
-
|
129
|
+
RSpecRails/TravelAround: # new in 2.19
|
125
130
|
Enabled: true
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-rspec
|
3
|
+
|
4
|
+
RSpec/BeEmpty: # new in 2.20
|
5
|
+
Enabled: true
|
6
|
+
RSpec/BeEq: # new in 2.9.0
|
7
|
+
Enabled: true
|
8
|
+
RSpec/BeNil: # new in 2.9.0
|
9
|
+
Enabled: true
|
10
|
+
RSpec/ChangeByZero: # new in 2.11.0
|
11
|
+
Enabled: true
|
12
|
+
RSpec/ClassCheck: # new in 2.13
|
13
|
+
Enabled: true
|
14
|
+
RSpec/ContainExactly: # new in 2.19
|
15
|
+
Enabled: true
|
16
|
+
RSpec/DuplicatedMetadata: # new in 2.16
|
17
|
+
Enabled: true
|
18
|
+
RSpec/EmptyMetadata: # new in 2.24
|
19
|
+
Enabled: true
|
20
|
+
RSpec/Eq: # new in 2.24
|
21
|
+
Enabled: true
|
22
|
+
RSpec/ExcessiveDocstringSpacing: # new in 2.5
|
23
|
+
Enabled: true
|
24
|
+
RSpec/IdenticalEqualityAssertion: # new in 2.4
|
25
|
+
Enabled: true
|
26
|
+
RSpec/IndexedLet: # new in 2.20
|
27
|
+
Enabled: true
|
28
|
+
RSpec/MatchArray: # new in 2.19
|
29
|
+
Enabled: true
|
30
|
+
RSpec/MetadataStyle: # new in 2.24
|
31
|
+
Enabled: true
|
32
|
+
RSpec/ReceiveMessages: # new in 2.23
|
33
|
+
Enabled: true
|
34
|
+
RSpec/RedundantAround: # new in 2.19
|
35
|
+
Enabled: true
|
36
|
+
RSpec/RedundantPredicateMatcher: # new in 2.26
|
37
|
+
Enabled: true
|
38
|
+
RSpec/RemoveConst: # new in 2.26
|
39
|
+
Enabled: true
|
40
|
+
RSpec/SkipBlockInsideExample: # new in 2.19
|
41
|
+
Enabled: true
|
42
|
+
RSpec/SortMetadata: # new in 2.14
|
43
|
+
Enabled: true
|
44
|
+
RSpec/SpecFilePathFormat: # new in 2.24
|
45
|
+
Enabled: true
|
46
|
+
RSpec/SpecFilePathSuffix: # new in 2.24
|
47
|
+
Enabled: true
|
48
|
+
RSpec/SubjectDeclaration: # new in 2.5
|
49
|
+
Enabled: true
|
50
|
+
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
51
|
+
Enabled: true
|
data/.rubocop-defaults.yml
CHANGED
@@ -3,7 +3,6 @@ require:
|
|
3
3
|
- rubocop-factory_bot
|
4
4
|
- rubocop-performance
|
5
5
|
- rubocop-rake
|
6
|
-
- rubocop-rspec
|
7
6
|
|
8
7
|
Capybara/MatchStyle: # new in 2.17
|
9
8
|
Enabled: true
|
@@ -36,6 +35,8 @@ FactoryBot/RedundantFactoryOption: # new in 2.23
|
|
36
35
|
FactoryBot/SyntaxMethods: # new in 2.7
|
37
36
|
Enabled: true
|
38
37
|
|
38
|
+
Gemspec/AddRuntimeDependency: # new in 1.65
|
39
|
+
Enabled: true
|
39
40
|
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
40
41
|
Enabled: true
|
41
42
|
Gemspec/DevelopmentDependencies: # new in 1.44
|
@@ -161,55 +162,6 @@ Performance/StringInclude: # new in 1.7
|
|
161
162
|
Performance/Sum: # new in 1.8
|
162
163
|
Enabled: true
|
163
164
|
|
164
|
-
RSpec/BeEmpty: # new in 2.20
|
165
|
-
Enabled: true
|
166
|
-
RSpec/BeEq: # new in 2.9.0
|
167
|
-
Enabled: true
|
168
|
-
RSpec/BeNil: # new in 2.9.0
|
169
|
-
Enabled: true
|
170
|
-
RSpec/ChangeByZero: # new in 2.11.0
|
171
|
-
Enabled: true
|
172
|
-
RSpec/ClassCheck: # new in 2.13
|
173
|
-
Enabled: true
|
174
|
-
RSpec/ContainExactly: # new in 2.19
|
175
|
-
Enabled: true
|
176
|
-
RSpec/DuplicatedMetadata: # new in 2.16
|
177
|
-
Enabled: true
|
178
|
-
RSpec/EmptyMetadata: # new in 2.24
|
179
|
-
Enabled: true
|
180
|
-
RSpec/Eq: # new in 2.24
|
181
|
-
Enabled: true
|
182
|
-
RSpec/ExcessiveDocstringSpacing: # new in 2.5
|
183
|
-
Enabled: true
|
184
|
-
RSpec/IdenticalEqualityAssertion: # new in 2.4
|
185
|
-
Enabled: true
|
186
|
-
RSpec/IndexedLet: # new in 2.20
|
187
|
-
Enabled: true
|
188
|
-
RSpec/MatchArray: # new in 2.19
|
189
|
-
Enabled: true
|
190
|
-
RSpec/MetadataStyle: # new in 2.24
|
191
|
-
Enabled: true
|
192
|
-
RSpec/ReceiveMessages: # new in 2.23
|
193
|
-
Enabled: true
|
194
|
-
RSpec/RedundantAround: # new in 2.19
|
195
|
-
Enabled: true
|
196
|
-
RSpec/RedundantPredicateMatcher: # new in 2.26
|
197
|
-
Enabled: true
|
198
|
-
RSpec/RemoveConst: # new in 2.26
|
199
|
-
Enabled: true
|
200
|
-
RSpec/SkipBlockInsideExample: # new in 2.19
|
201
|
-
Enabled: true
|
202
|
-
RSpec/SortMetadata: # new in 2.14
|
203
|
-
Enabled: true
|
204
|
-
RSpec/SpecFilePathFormat: # new in 2.24
|
205
|
-
Enabled: true
|
206
|
-
RSpec/SpecFilePathSuffix: # new in 2.24
|
207
|
-
Enabled: true
|
208
|
-
RSpec/SubjectDeclaration: # new in 2.5
|
209
|
-
Enabled: true
|
210
|
-
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
211
|
-
Enabled: true
|
212
|
-
|
213
165
|
Security/CompoundHash: # new in 1.28
|
214
166
|
Enabled: true
|
215
167
|
Security/IoMethods: # new in 1.22
|
@@ -257,6 +209,8 @@ Style/MagicCommentFormat: # new in 1.35
|
|
257
209
|
Enabled: true
|
258
210
|
Style/MapCompactWithConditionalBlock: # new in 1.30
|
259
211
|
Enabled: true
|
212
|
+
Style/MapIntoArray: # new in 1.63
|
213
|
+
Enabled: true
|
260
214
|
Style/MapToHash: # new in 1.24
|
261
215
|
Enabled: true
|
262
216
|
Style/MapToSet: # new in 1.42
|
@@ -309,12 +263,16 @@ Style/RedundantSelfAssignmentBranch: # new in 1.19
|
|
309
263
|
Enabled: true
|
310
264
|
Style/RedundantStringEscape: # new in 1.37
|
311
265
|
Enabled: true
|
266
|
+
Style/SendWithLiteralMethodName: # new in 1.64
|
267
|
+
Enabled: true
|
312
268
|
Style/SelectByRegexp: # new in 1.22
|
313
269
|
Enabled: true
|
314
270
|
Style/SingleLineDoEndBlock: # new in 1.57
|
315
271
|
Enabled: true
|
316
272
|
Style/StringChars: # new in 1.12
|
317
273
|
Enabled: true
|
274
|
+
Style/SuperArguments: # new in 1.64
|
275
|
+
Enabled: true
|
318
276
|
Style/SuperWithArgsParentheses: # new in 1.58
|
319
277
|
Enabled: false
|
320
278
|
Style/SwapValues: # new in 1.1
|
data/.yoshiki-rspec.yml
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
inherit_from:
|
2
|
+
- .rubocop-defaults-rspec.yml
|
3
|
+
|
4
|
+
inherit_mode:
|
5
|
+
merge:
|
6
|
+
- Exclude
|
7
|
+
|
8
|
+
RSpec/ContextWording:
|
9
|
+
Prefixes:
|
10
|
+
- as a
|
11
|
+
- for
|
12
|
+
- if
|
13
|
+
- unless
|
14
|
+
- when
|
15
|
+
- with
|
16
|
+
- without
|
17
|
+
RSpec/ImplicitExpect:
|
18
|
+
EnforcedStyle: should
|
19
|
+
RSpec/ImplicitSubject:
|
20
|
+
EnforcedStyle: single_statement_only # default is `single_line_only`
|
21
|
+
Exclude:
|
22
|
+
- spec/system/**/*.rb # allow implicit subject in system specs
|
23
|
+
RSpec/LeadingSubject:
|
24
|
+
Enabled: false # prefer subject after all let and let!
|
25
|
+
RSpec/NestedGroups: # this cop can be configured with `AllowedGroups`
|
26
|
+
Enabled: false
|
27
|
+
RSpec/PendingWithoutReason: # new in 2.16
|
28
|
+
Enabled: false
|
29
|
+
RSpec/NoExpectationExample: # new in 2.13
|
30
|
+
Enabled: false
|
31
|
+
RSpec/NotToNot:
|
32
|
+
EnforcedStyle: to_not # default is not_to; prefer common prefix
|
33
|
+
RSpec/MultipleExpectations:
|
34
|
+
Enabled: false # recommend using `aggregate_failures`
|
35
|
+
RSpec/SubjectStub: # allow stubbing subject
|
36
|
+
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,5 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-rake
|
3
|
-
- rubocop-rspec
|
4
3
|
|
5
4
|
AllCops:
|
6
5
|
DisplayCopNames: true
|
@@ -121,36 +120,6 @@ Performance/CaseWhenSplat:
|
|
121
120
|
Performance/SelectMap:
|
122
121
|
Enabled: true
|
123
122
|
|
124
|
-
RSpec/ContextWording:
|
125
|
-
Prefixes:
|
126
|
-
- as a
|
127
|
-
- for
|
128
|
-
- if
|
129
|
-
- unless
|
130
|
-
- when
|
131
|
-
- with
|
132
|
-
- without
|
133
|
-
RSpec/ImplicitExpect:
|
134
|
-
EnforcedStyle: should
|
135
|
-
RSpec/ImplicitSubject:
|
136
|
-
EnforcedStyle: single_statement_only # default is `single_line_only`
|
137
|
-
Exclude:
|
138
|
-
- spec/system/**/*.rb # allow implicit subject in system specs
|
139
|
-
RSpec/LeadingSubject:
|
140
|
-
Enabled: false # prefer subject after all let and let!
|
141
|
-
RSpec/NestedGroups: # this cop can be configured with `AllowedGroups`
|
142
|
-
Enabled: false
|
143
|
-
RSpec/PendingWithoutReason: # new in 2.16
|
144
|
-
Enabled: false
|
145
|
-
RSpec/NoExpectationExample: # new in 2.13
|
146
|
-
Enabled: false
|
147
|
-
RSpec/NotToNot:
|
148
|
-
EnforcedStyle: to_not # default is not_to; prefer common prefix
|
149
|
-
RSpec/MultipleExpectations:
|
150
|
-
Enabled: false # recommend using `aggregate_failures`
|
151
|
-
RSpec/SubjectStub: # allow stubbing subject
|
152
|
-
Enabled: false # should only be used for methods *not* under test
|
153
|
-
|
154
123
|
Style/AndOr:
|
155
124
|
Enabled: false
|
156
125
|
Style/AsciiComments:
|
data/.yoshiki.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
yoshiki (9.0.0.pre.
|
4
|
+
yoshiki (9.0.0.pre.6)
|
5
5
|
rubocop (>= 1.56.4)
|
6
6
|
rubocop-capybara (>= 2.19.0)
|
7
7
|
rubocop-factory_bot (>= 2.24.0)
|
@@ -9,6 +9,7 @@ PATH
|
|
9
9
|
rubocop-rails (>= 2.22.2)
|
10
10
|
rubocop-rake (>= 0.6.0)
|
11
11
|
rubocop-rspec (>= 2.25.0)
|
12
|
+
rubocop-rspec_rails (>= 2.30.0)
|
12
13
|
|
13
14
|
GEM
|
14
15
|
remote: https://rubygems.org/
|
@@ -67,37 +68,38 @@ GEM
|
|
67
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
68
69
|
rspec-support (~> 3.12.0)
|
69
70
|
rspec-support (3.12.1)
|
70
|
-
rubocop (1.
|
71
|
+
rubocop (1.65.1)
|
71
72
|
json (~> 2.3)
|
72
73
|
language_server-protocol (>= 3.17.0)
|
73
74
|
parallel (~> 1.10)
|
74
75
|
parser (>= 3.3.0.2)
|
75
76
|
rainbow (>= 2.2.2, < 4.0)
|
76
|
-
regexp_parser (>=
|
77
|
+
regexp_parser (>= 2.4, < 3.0)
|
77
78
|
rexml (>= 3.2.5, < 4.0)
|
78
|
-
rubocop-ast (>= 1.
|
79
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
79
80
|
ruby-progressbar (~> 1.7)
|
80
81
|
unicode-display_width (>= 2.4.0, < 3.0)
|
81
|
-
rubocop-ast (1.
|
82
|
-
parser (>= 3.
|
83
|
-
rubocop-capybara (2.
|
82
|
+
rubocop-ast (1.31.2)
|
83
|
+
parser (>= 3.3.0.4)
|
84
|
+
rubocop-capybara (2.21.0)
|
84
85
|
rubocop (~> 1.41)
|
85
|
-
rubocop-factory_bot (2.
|
86
|
-
rubocop (~> 1.
|
87
|
-
rubocop-performance (1.
|
86
|
+
rubocop-factory_bot (2.26.1)
|
87
|
+
rubocop (~> 1.61)
|
88
|
+
rubocop-performance (1.22.1)
|
88
89
|
rubocop (>= 1.48.1, < 2.0)
|
89
|
-
rubocop-ast (>= 1.
|
90
|
-
rubocop-rails (2.
|
90
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
91
|
+
rubocop-rails (2.26.2)
|
91
92
|
activesupport (>= 4.2.0)
|
92
93
|
rack (>= 1.1)
|
93
|
-
rubocop (>= 1.
|
94
|
-
rubocop-ast (>= 1.
|
94
|
+
rubocop (>= 1.52.0, < 2.0)
|
95
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
95
96
|
rubocop-rake (0.6.0)
|
96
97
|
rubocop (~> 1.0)
|
97
|
-
rubocop-rspec (
|
98
|
-
rubocop (~> 1.
|
99
|
-
|
100
|
-
rubocop
|
98
|
+
rubocop-rspec (3.1.0)
|
99
|
+
rubocop (~> 1.61)
|
100
|
+
rubocop-rspec_rails (2.30.0)
|
101
|
+
rubocop (~> 1.61)
|
102
|
+
rubocop-rspec (~> 3, >= 3.0.1)
|
101
103
|
ruby-progressbar (1.13.0)
|
102
104
|
ruby2_keywords (0.0.5)
|
103
105
|
stringio (3.1.0)
|
@@ -106,7 +108,7 @@ GEM
|
|
106
108
|
unicode-display_width (2.5.0)
|
107
109
|
|
108
110
|
PLATFORMS
|
109
|
-
|
111
|
+
arm64-darwin-24
|
110
112
|
|
111
113
|
DEPENDENCIES
|
112
114
|
pry
|
data/lib/yoshiki/version.rb
CHANGED
data/yoshiki.gemspec
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.pre.
|
4
|
+
version: 9.0.0.pre.6
|
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-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 2.25.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop-rspec_rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 2.30.0
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 2.30.0
|
111
125
|
description: Dev Fu! Style for rubocop.
|
112
126
|
email:
|
113
127
|
- me@bm5k.com
|
@@ -120,9 +134,11 @@ files:
|
|
120
134
|
- ".gitlab-ci.yml"
|
121
135
|
- ".rspec"
|
122
136
|
- ".rubocop-defaults-rails.yml"
|
137
|
+
- ".rubocop-defaults-rspec.yml"
|
123
138
|
- ".rubocop-defaults.yml"
|
124
139
|
- ".rubocop.yml"
|
125
140
|
- ".yoshiki-rails.yml"
|
141
|
+
- ".yoshiki-rspec.yml"
|
126
142
|
- ".yoshiki-ruby.yml"
|
127
143
|
- ".yoshiki.yml"
|
128
144
|
- Dockerfile
|
@@ -156,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
172
|
- !ruby/object:Gem::Version
|
157
173
|
version: '0'
|
158
174
|
requirements: []
|
159
|
-
rubygems_version: 3.5.
|
175
|
+
rubygems_version: 3.5.21
|
160
176
|
signing_key:
|
161
177
|
specification_version: 4
|
162
178
|
summary: Dev Fu! Style
|