yoshiki 9.0.0.pre.5 → 9.0.0.pre.6
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/.rubocop-defaults-rails.yml +4 -0
- data/.rubocop-defaults.yml +8 -0
- data/.yoshiki-rspec.yml +29 -0
- data/.yoshiki-ruby.yml +0 -31
- data/Gemfile.lock +14 -14
- data/lib/yoshiki/version.rb +1 -1
- metadata +1 -1
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
|
@@ -39,6 +39,8 @@ Rails/EagerEvaluationLogMessage: # new in 2.11
|
|
|
39
39
|
Enabled: true
|
|
40
40
|
Rails/EnvLocal: # new in 2.22
|
|
41
41
|
Enabled: true
|
|
42
|
+
Rails/EnumSyntax: # new in 2.26
|
|
43
|
+
Enabled: true
|
|
42
44
|
Rails/ExpandedDateRange: # new in 2.11
|
|
43
45
|
Enabled: true
|
|
44
46
|
Rails/FindById: # new in 2.7
|
|
@@ -111,6 +113,8 @@ Rails/WhereNot: # new in 2.8
|
|
|
111
113
|
Enabled: true
|
|
112
114
|
Rails/WhereNotWithMultipleConditions: # new in 2.17
|
|
113
115
|
Enabled: true
|
|
116
|
+
Rails/WhereRange: # new in 2.25
|
|
117
|
+
Enabled: true
|
|
114
118
|
|
|
115
119
|
RSpecRails/AvoidSetupHook: # new in 2.4
|
|
116
120
|
Enabled: true
|
data/.rubocop-defaults.yml
CHANGED
|
@@ -35,6 +35,8 @@ FactoryBot/RedundantFactoryOption: # new in 2.23
|
|
|
35
35
|
FactoryBot/SyntaxMethods: # new in 2.7
|
|
36
36
|
Enabled: true
|
|
37
37
|
|
|
38
|
+
Gemspec/AddRuntimeDependency: # new in 1.65
|
|
39
|
+
Enabled: true
|
|
38
40
|
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
|
39
41
|
Enabled: true
|
|
40
42
|
Gemspec/DevelopmentDependencies: # new in 1.44
|
|
@@ -207,6 +209,8 @@ Style/MagicCommentFormat: # new in 1.35
|
|
|
207
209
|
Enabled: true
|
|
208
210
|
Style/MapCompactWithConditionalBlock: # new in 1.30
|
|
209
211
|
Enabled: true
|
|
212
|
+
Style/MapIntoArray: # new in 1.63
|
|
213
|
+
Enabled: true
|
|
210
214
|
Style/MapToHash: # new in 1.24
|
|
211
215
|
Enabled: true
|
|
212
216
|
Style/MapToSet: # new in 1.42
|
|
@@ -259,12 +263,16 @@ Style/RedundantSelfAssignmentBranch: # new in 1.19
|
|
|
259
263
|
Enabled: true
|
|
260
264
|
Style/RedundantStringEscape: # new in 1.37
|
|
261
265
|
Enabled: true
|
|
266
|
+
Style/SendWithLiteralMethodName: # new in 1.64
|
|
267
|
+
Enabled: true
|
|
262
268
|
Style/SelectByRegexp: # new in 1.22
|
|
263
269
|
Enabled: true
|
|
264
270
|
Style/SingleLineDoEndBlock: # new in 1.57
|
|
265
271
|
Enabled: true
|
|
266
272
|
Style/StringChars: # new in 1.12
|
|
267
273
|
Enabled: true
|
|
274
|
+
Style/SuperArguments: # new in 1.64
|
|
275
|
+
Enabled: true
|
|
268
276
|
Style/SuperWithArgsParentheses: # new in 1.58
|
|
269
277
|
Enabled: false
|
|
270
278
|
Style/SwapValues: # new in 1.1
|
data/.yoshiki-rspec.yml
CHANGED
|
@@ -5,5 +5,34 @@ inherit_mode:
|
|
|
5
5
|
merge:
|
|
6
6
|
- Exclude
|
|
7
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
|
|
8
37
|
RSpec/StringAsInstanceDoubleConstant: # new in 3.1; already deprecated
|
|
9
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/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)
|
|
@@ -68,31 +68,31 @@ GEM
|
|
|
68
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
69
69
|
rspec-support (~> 3.12.0)
|
|
70
70
|
rspec-support (3.12.1)
|
|
71
|
-
rubocop (1.
|
|
71
|
+
rubocop (1.65.1)
|
|
72
72
|
json (~> 2.3)
|
|
73
73
|
language_server-protocol (>= 3.17.0)
|
|
74
74
|
parallel (~> 1.10)
|
|
75
75
|
parser (>= 3.3.0.2)
|
|
76
76
|
rainbow (>= 2.2.2, < 4.0)
|
|
77
|
-
regexp_parser (>=
|
|
77
|
+
regexp_parser (>= 2.4, < 3.0)
|
|
78
78
|
rexml (>= 3.2.5, < 4.0)
|
|
79
|
-
rubocop-ast (>= 1.
|
|
79
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
|
80
80
|
ruby-progressbar (~> 1.7)
|
|
81
81
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
82
|
-
rubocop-ast (1.
|
|
83
|
-
parser (>= 3.
|
|
84
|
-
rubocop-capybara (2.
|
|
82
|
+
rubocop-ast (1.31.2)
|
|
83
|
+
parser (>= 3.3.0.4)
|
|
84
|
+
rubocop-capybara (2.21.0)
|
|
85
85
|
rubocop (~> 1.41)
|
|
86
|
-
rubocop-factory_bot (2.
|
|
87
|
-
rubocop (~> 1.
|
|
88
|
-
rubocop-performance (1.
|
|
86
|
+
rubocop-factory_bot (2.26.1)
|
|
87
|
+
rubocop (~> 1.61)
|
|
88
|
+
rubocop-performance (1.22.1)
|
|
89
89
|
rubocop (>= 1.48.1, < 2.0)
|
|
90
|
-
rubocop-ast (>= 1.
|
|
91
|
-
rubocop-rails (2.
|
|
90
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
|
91
|
+
rubocop-rails (2.26.2)
|
|
92
92
|
activesupport (>= 4.2.0)
|
|
93
93
|
rack (>= 1.1)
|
|
94
|
-
rubocop (>= 1.
|
|
95
|
-
rubocop-ast (>= 1.
|
|
94
|
+
rubocop (>= 1.52.0, < 2.0)
|
|
95
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
|
96
96
|
rubocop-rake (0.6.0)
|
|
97
97
|
rubocop (~> 1.0)
|
|
98
98
|
rubocop-rspec (3.1.0)
|
data/lib/yoshiki/version.rb
CHANGED