yoshiki 9.0.0.pre.2 → 9.0.0.pre.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop-defaults.yml +0 -4
- data/.yoshiki-rails.yml +11 -0
- data/.yoshiki-ruby.yml +36 -19
- data/Gemfile.lock +2 -2
- 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: e575f428be8059961258b0646578db27a83d5c2ae88cd18f41839e0c507cb470
|
4
|
+
data.tar.gz: 625907ef7ae34f040a606b9d6e3b7ae06fcdfb7ae1dad510bf6bbb01a199ab31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f43d59aa5effc0acc04c8b1942f2530ba5c5c77e46debc3ef8299c462fa0be85b1bb1d1d5d3b1b0b6decf074083ca0ed9792b054ee3e56a803824c963e13efeb
|
7
|
+
data.tar.gz: 3a8646223ee2070f041a855d8e1eaf04bd6a1da145537e98b8abbaf69e8716144d8acf5a60ba220d133dc2d58bedd4345fcc03051e34ab0608786a01d701883f
|
data/.rubocop-defaults.yml
CHANGED
@@ -126,8 +126,6 @@ Metrics/CollectionLiteralLength: # new in 1.47
|
|
126
126
|
|
127
127
|
Performance/AncestorsInclude: # new in 1.7
|
128
128
|
Enabled: true
|
129
|
-
Performance/BigDecimalWithNumericArgument: # new in 1.7
|
130
|
-
Enabled: true
|
131
129
|
Performance/BlockGivenWithExplicitBlock: # new in 1.9
|
132
130
|
Enabled: true
|
133
131
|
Performance/CollectionLiteralInLoop: # new in 1.8
|
@@ -191,8 +189,6 @@ RSpec/MatchArray: # new in 2.19
|
|
191
189
|
Enabled: true
|
192
190
|
RSpec/MetadataStyle: # new in 2.24
|
193
191
|
Enabled: true
|
194
|
-
RSpec/NoExpectationExample: # new in 2.13
|
195
|
-
Enabled: true
|
196
192
|
RSpec/ReceiveMessages: # new in 2.23
|
197
193
|
Enabled: true
|
198
194
|
RSpec/RedundantAround: # new in 2.19
|
data/.yoshiki-rails.yml
CHANGED
@@ -26,6 +26,11 @@ FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
|
26
26
|
Enabled: true
|
27
27
|
EnforcedStyle: omit_parentheses # default is `require_parentheses`
|
28
28
|
|
29
|
+
Metrics/BlockLength:
|
30
|
+
Exclude:
|
31
|
+
- config/application.rb
|
32
|
+
- config/environments/**/*.rb
|
33
|
+
|
29
34
|
Rails/Inquiry: # new in 2.7
|
30
35
|
Enabled: false
|
31
36
|
Rails/Output:
|
@@ -34,6 +39,8 @@ Rails/Output:
|
|
34
39
|
Rails/PluckInWhere: # new in 2.7
|
35
40
|
Enabled: true
|
36
41
|
EnforcedStyle: aggressive # default is `conservative`
|
42
|
+
Rails/RakeEnvironment: # new in 2.4
|
43
|
+
Enabled: false
|
37
44
|
Rails/ReadWriteAttribute:
|
38
45
|
Enabled: false
|
39
46
|
Rails/ShortI18n: # new in 2.7
|
@@ -55,5 +62,9 @@ Style/Documentation: # this isn't a rails cop, but this config only makes sense
|
|
55
62
|
- app/models/application_record.rb
|
56
63
|
- config/application.rb
|
57
64
|
- db/migrate/**/*
|
65
|
+
- lib/application_responder.rb
|
58
66
|
- spec/**/*
|
59
67
|
- test/**/*
|
68
|
+
Style/EmptyMethod:
|
69
|
+
Exclude:
|
70
|
+
- app/controllers/**/*_controller.rb
|
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:
|
@@ -105,6 +110,17 @@ Naming/PredicateName:
|
|
105
110
|
AllowedMethods:
|
106
111
|
- is_a?
|
107
112
|
|
113
|
+
Performance/ChainArrayAllocation:
|
114
|
+
Enabled: true
|
115
|
+
Performance/BigDecimalWithNumericArgument: # new in 1.7
|
116
|
+
Enabled: false # this cop can actually reduce performance: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1451511402
|
117
|
+
Performance/CaseWhenSplat:
|
118
|
+
Enabled: true
|
119
|
+
AutoCorrect: true
|
120
|
+
SafeAutoCorrect: true
|
121
|
+
Performance/SelectMap:
|
122
|
+
Enabled: true
|
123
|
+
|
108
124
|
RSpec/ContextWording:
|
109
125
|
Prefixes:
|
110
126
|
- as a
|
@@ -118,21 +134,22 @@ RSpec/ImplicitExpect:
|
|
118
134
|
EnforcedStyle: should
|
119
135
|
RSpec/ImplicitSubject:
|
120
136
|
EnforcedStyle: single_statement_only # default is `single_line_only`
|
137
|
+
Exclude:
|
138
|
+
- spec/system/**/*.rb # allow implicit subject in system specs
|
121
139
|
RSpec/LeadingSubject:
|
122
140
|
Enabled: false # prefer subject after all let and let!
|
123
141
|
RSpec/NestedGroups: # this cop can be configured with `AllowedGroups`
|
124
142
|
Enabled: false
|
125
143
|
RSpec/PendingWithoutReason: # new in 2.16
|
126
144
|
Enabled: false
|
127
|
-
RSpec/NoExpectationExample:
|
128
|
-
|
129
|
-
- spec/models/factory_spec.rb
|
145
|
+
RSpec/NoExpectationExample: # new in 2.13
|
146
|
+
Enabled: false
|
130
147
|
RSpec/NotToNot:
|
131
148
|
EnforcedStyle: to_not # default is not_to; prefer common prefix
|
132
149
|
RSpec/MultipleExpectations:
|
133
150
|
Enabled: false # recommend using `aggregate_failures`
|
134
151
|
RSpec/SubjectStub: # allow stubbing subject
|
135
|
-
Enabled: false
|
152
|
+
Enabled: false # should only be used for methods *not* under test
|
136
153
|
|
137
154
|
Style/AndOr:
|
138
155
|
Enabled: false
|
@@ -170,15 +187,15 @@ Style/OptionHash:
|
|
170
187
|
Enabled: true # default is `false`
|
171
188
|
Style/PercentLiteralDelimiters:
|
172
189
|
PreferredDelimiters: # prefer methods that make arrays to use square brackets
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
190
|
+
"%": "[]"
|
191
|
+
"%i": "[]"
|
192
|
+
"%Q": "{}"
|
193
|
+
"%q": "{}"
|
194
|
+
"%r": "{}"
|
195
|
+
"%s": "[]"
|
196
|
+
"%w": "[]"
|
197
|
+
"%W": "[]"
|
198
|
+
"%x": "[]"
|
182
199
|
Style/PerlBackrefs:
|
183
200
|
Enabled: false
|
184
201
|
Style/RescueModifier:
|
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.4)
|
5
5
|
rubocop (>= 1.56.4)
|
6
6
|
rubocop-capybara (>= 2.19.0)
|
7
7
|
rubocop-factory_bot (>= 2.24.0)
|
@@ -67,7 +67,7 @@ GEM
|
|
67
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
68
68
|
rspec-support (~> 3.12.0)
|
69
69
|
rspec-support (3.12.1)
|
70
|
-
rubocop (1.60.
|
70
|
+
rubocop (1.60.2)
|
71
71
|
json (~> 2.3)
|
72
72
|
language_server-protocol (>= 3.17.0)
|
73
73
|
parallel (~> 1.10)
|
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.pre.
|
4
|
+
version: 9.0.0.pre.4
|
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-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: '0'
|
158
158
|
requirements: []
|
159
|
-
rubygems_version: 3.5.
|
159
|
+
rubygems_version: 3.5.6
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: Dev Fu! Style
|