yoshiki 9.0.0.pre.3 → 9.0.0.pre.5
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 +7 -6
- data/.rubocop-defaults-rspec.yml +51 -0
- data/.rubocop-defaults.yml +0 -52
- data/.yoshiki-rails.yml +2 -0
- data/.yoshiki-rspec.yml +9 -0
- data/.yoshiki-ruby.yml +23 -19
- data/.yoshiki.yml +1 -1
- data/Gemfile.lock +9 -7
- 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: f7935b11ad1fad7ebf27bda51864c66f5d247e1c034045a47204285b82205ca5
|
4
|
+
data.tar.gz: '048c9f2699c94f054ea2258f4e9ec93bcd7e49365291edf74e7d0c436e8d8619'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb8b447428d15c4f3f016c72c7e462cb60d71761d41d7516ab5d49691888f9bc60d66de41a9a85db841f77b0fccff5108060898320f10600f4a377dcdb45aa6a
|
7
|
+
data.tar.gz: 23aacc7bfed842d7b6dc2d978060073c335dfe76be6dceb1b91d6778058bc423320de6db478b6ffba5e31b1ef4fe2901d35fd3ee5e7915dbcaaecc835cb353f5
|
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
|
@@ -111,15 +112,15 @@ Rails/WhereNot: # new in 2.8
|
|
111
112
|
Rails/WhereNotWithMultipleConditions: # new in 2.17
|
112
113
|
Enabled: true
|
113
114
|
|
114
|
-
|
115
|
+
RSpecRails/AvoidSetupHook: # new in 2.4
|
115
116
|
Enabled: true
|
116
|
-
|
117
|
+
RSpecRails/HaveHttpStatus: # new in 2.12
|
117
118
|
Enabled: true
|
118
|
-
|
119
|
+
RSpecRails/InferredSpecType: # new in 2.14
|
119
120
|
Enabled: true
|
120
|
-
|
121
|
+
RSpecRails/MinitestAssertions: # new in 2.17
|
121
122
|
Enabled: true
|
122
|
-
|
123
|
+
RSpecRails/NegationBeValid: # new in 2.23
|
123
124
|
Enabled: true
|
124
|
-
|
125
|
+
RSpecRails/TravelAround: # new in 2.19
|
125
126
|
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
|
@@ -161,57 +160,6 @@ Performance/StringInclude: # new in 1.7
|
|
161
160
|
Performance/Sum: # new in 1.8
|
162
161
|
Enabled: true
|
163
162
|
|
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/NoExpectationExample: # new in 2.13
|
193
|
-
Enabled: true
|
194
|
-
RSpec/ReceiveMessages: # new in 2.23
|
195
|
-
Enabled: true
|
196
|
-
RSpec/RedundantAround: # new in 2.19
|
197
|
-
Enabled: true
|
198
|
-
RSpec/RedundantPredicateMatcher: # new in 2.26
|
199
|
-
Enabled: true
|
200
|
-
RSpec/RemoveConst: # new in 2.26
|
201
|
-
Enabled: true
|
202
|
-
RSpec/SkipBlockInsideExample: # new in 2.19
|
203
|
-
Enabled: true
|
204
|
-
RSpec/SortMetadata: # new in 2.14
|
205
|
-
Enabled: true
|
206
|
-
RSpec/SpecFilePathFormat: # new in 2.24
|
207
|
-
Enabled: true
|
208
|
-
RSpec/SpecFilePathSuffix: # new in 2.24
|
209
|
-
Enabled: true
|
210
|
-
RSpec/SubjectDeclaration: # new in 2.5
|
211
|
-
Enabled: true
|
212
|
-
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
213
|
-
Enabled: true
|
214
|
-
|
215
163
|
Security/CompoundHash: # new in 1.28
|
216
164
|
Enabled: true
|
217
165
|
Security/IoMethods: # new in 1.22
|
data/.yoshiki-rails.yml
CHANGED
@@ -39,6 +39,8 @@ Rails/Output:
|
|
39
39
|
Rails/PluckInWhere: # new in 2.7
|
40
40
|
Enabled: true
|
41
41
|
EnforcedStyle: aggressive # default is `conservative`
|
42
|
+
Rails/RakeEnvironment: # new in 2.4
|
43
|
+
Enabled: false
|
42
44
|
Rails/ReadWriteAttribute:
|
43
45
|
Enabled: false
|
44
46
|
Rails/ShortI18n: # new in 2.7
|
data/.yoshiki-rspec.yml
ADDED
data/.yoshiki-ruby.yml
CHANGED
@@ -19,7 +19,7 @@ Layout/AccessModifierIndentation:
|
|
19
19
|
Layout/BeginEndAlignment:
|
20
20
|
EnforcedStyleAlignWith: begin # default is `start_of_line`
|
21
21
|
Layout/CaseIndentation:
|
22
|
-
EnforcedStyle: end
|
22
|
+
EnforcedStyle: end # default is `case`
|
23
23
|
IndentOneStep: true # default is `false`
|
24
24
|
Layout/CommentIndentation:
|
25
25
|
AllowForAlignment: true # default is `false`
|
@@ -38,9 +38,9 @@ Layout/EmptyLineBetweenDefs:
|
|
38
38
|
- let!
|
39
39
|
- subject
|
40
40
|
Layout/EmptyLinesAroundBlockBody:
|
41
|
-
Exclude:
|
42
|
-
- spec/**/*
|
43
|
-
-
|
41
|
+
Exclude: # mostly *no* but yes
|
42
|
+
- spec/**/* # - for rspec context/describe
|
43
|
+
- "**/*.rake" # - rake namespaces
|
44
44
|
Layout/EmptyLinesAroundClassBody:
|
45
45
|
EnforcedStyle: empty_lines_except_namespace # default is `no_empty_lines`
|
46
46
|
Layout/EmptyLinesAroundModuleBody:
|
@@ -51,7 +51,7 @@ Layout/ExtraSpacing:
|
|
51
51
|
- Gemfile
|
52
52
|
Layout/HashAlignment:
|
53
53
|
EnforcedHashRocketStyle: table # default is `key`
|
54
|
-
EnforcedColonStyle:
|
54
|
+
EnforcedColonStyle: table # default is `key`
|
55
55
|
Layout/MultilineOperationIndentation:
|
56
56
|
EnforcedStyle: indented # default is `aligned`
|
57
57
|
Layout/SpaceInsideArrayLiteralBrackets:
|
@@ -81,7 +81,12 @@ Metrics/BlockLength: # this cop allows configuration with AllowedMethods, Allowe
|
|
81
81
|
- hash
|
82
82
|
- heredoc
|
83
83
|
- method_call
|
84
|
-
Metrics/MethodLength:
|
84
|
+
Metrics/MethodLength: # this cop allows configuration with AllowedMethods, AllowedPatterns, & CountAsOne
|
85
|
+
CountAsOne:
|
86
|
+
- array
|
87
|
+
- hash
|
88
|
+
- heredoc
|
89
|
+
- method_call
|
85
90
|
Exclude:
|
86
91
|
- db/migrate/**/*
|
87
92
|
Metrics/ParameterLists:
|
@@ -137,15 +142,14 @@ RSpec/NestedGroups: # this cop can be configured with `AllowedGroups`
|
|
137
142
|
Enabled: false
|
138
143
|
RSpec/PendingWithoutReason: # new in 2.16
|
139
144
|
Enabled: false
|
140
|
-
RSpec/NoExpectationExample:
|
141
|
-
|
142
|
-
- spec/models/factory_spec.rb
|
145
|
+
RSpec/NoExpectationExample: # new in 2.13
|
146
|
+
Enabled: false
|
143
147
|
RSpec/NotToNot:
|
144
148
|
EnforcedStyle: to_not # default is not_to; prefer common prefix
|
145
149
|
RSpec/MultipleExpectations:
|
146
150
|
Enabled: false # recommend using `aggregate_failures`
|
147
151
|
RSpec/SubjectStub: # allow stubbing subject
|
148
|
-
Enabled: false
|
152
|
+
Enabled: false # should only be used for methods *not* under test
|
149
153
|
|
150
154
|
Style/AndOr:
|
151
155
|
Enabled: false
|
@@ -183,15 +187,15 @@ Style/OptionHash:
|
|
183
187
|
Enabled: true # default is `false`
|
184
188
|
Style/PercentLiteralDelimiters:
|
185
189
|
PreferredDelimiters: # prefer methods that make arrays to use square brackets
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
190
|
+
"%": "[]"
|
191
|
+
"%i": "[]"
|
192
|
+
"%Q": "{}"
|
193
|
+
"%q": "{}"
|
194
|
+
"%r": "{}"
|
195
|
+
"%s": "[]"
|
196
|
+
"%w": "[]"
|
197
|
+
"%W": "[]"
|
198
|
+
"%x": "[]"
|
195
199
|
Style/PerlBackrefs:
|
196
200
|
Enabled: false
|
197
201
|
Style/RescueModifier:
|
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.5)
|
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,7 +68,7 @@ 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.61.0)
|
71
72
|
json (~> 2.3)
|
72
73
|
language_server-protocol (>= 3.17.0)
|
73
74
|
parallel (~> 1.10)
|
@@ -94,10 +95,11 @@ GEM
|
|
94
95
|
rubocop-ast (>= 1.30.0, < 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.5
|
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
|