yoshiki 8.0.0 → 9.0.0.pre.1
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/.gitlab-ci.yml +0 -10
- data/.rubocop-defaults-rails.yml +2 -0
- data/.rubocop-defaults.yml +14 -0
- data/.rubocop.yml +1 -1
- data/.yoshiki-rails.yml +17 -0
- data/.yoshiki-ruby.yml +5 -5
- data/Gemfile.lock +15 -12
- data/README.md +9 -10
- data/lib/yoshiki/version.rb +1 -1
- data/yoshiki.gemspec +7 -5
- metadata +40 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc0386cead52524a740a6c00fa221f50de4e46ed129fad9762795d487a6a252c
|
|
4
|
+
data.tar.gz: c8aba054feb43c59cd449d6c3bf08581992365baa07c5685411763d0de664920
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26009eb4c0574a765a2bf52d759acd138db916a1e02a5baab7593c83b760b3844c20ac113e104ca2d5d60a5e7c59acb57520877bc5d58d2b80af1769a247a04b
|
|
7
|
+
data.tar.gz: bf079dd8bde99d32d184a832feaadfcf7b8934d22e591f749c15ac96a2cea0c44b0116679ec344686e9dec12bd4202123608d26e1567c9bf17bfa20ad1ae6d6b
|
data/.gitlab-ci.yml
CHANGED
data/.rubocop-defaults-rails.yml
CHANGED
|
@@ -36,6 +36,8 @@ Rails/DurationArithmetic: # new in 2.13
|
|
|
36
36
|
Enabled: true
|
|
37
37
|
Rails/EagerEvaluationLogMessage: # new in 2.11
|
|
38
38
|
Enabled: true
|
|
39
|
+
Rails/EnvLocal: # new in 2.22
|
|
40
|
+
Enabled: true
|
|
39
41
|
Rails/ExpandedDateRange: # new in 2.11
|
|
40
42
|
Enabled: true
|
|
41
43
|
Rails/FindById: # new in 2.7
|
data/.rubocop-defaults.yml
CHANGED
|
@@ -11,12 +11,17 @@ Capybara/SpecificActions: # new in 2.14
|
|
|
11
11
|
Capybara/SpecificMatcher: # new in 2.12
|
|
12
12
|
Enabled: true
|
|
13
13
|
|
|
14
|
+
Capybara/RSpec/HaveSelector: # new in 2.19
|
|
15
|
+
Enabled: true
|
|
16
|
+
|
|
14
17
|
FactoryBot/AssociationStyle: # new in 2.23
|
|
15
18
|
Enabled: true
|
|
16
19
|
FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
|
|
17
20
|
Enabled: true
|
|
18
21
|
FactoryBot/FactoryClassName: # new in 1.37
|
|
19
22
|
Enabled: true
|
|
23
|
+
FactoryBot/IdSequence: # new in 2.19
|
|
24
|
+
Enabled: true
|
|
20
25
|
FactoryBot/FactoryNameStyle: # new in 2.16
|
|
21
26
|
Enabled: true
|
|
22
27
|
FactoryBot/RedundantFactoryOption: # new in 2.23
|
|
@@ -68,8 +73,12 @@ Lint/EmptyInPattern: # new in 1.16
|
|
|
68
73
|
Enabled: true
|
|
69
74
|
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
|
|
70
75
|
Enabled: true
|
|
76
|
+
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
|
77
|
+
Enabled: true
|
|
71
78
|
Lint/LambdaWithoutLiteralBlock: # new in 1.8
|
|
72
79
|
Enabled: true
|
|
80
|
+
Lint/LiteralAssignmentInCondition: # new in 1.58
|
|
81
|
+
Enabled: false
|
|
73
82
|
Lint/MixedCaseRange: # new in 1.53
|
|
74
83
|
Enabled: true
|
|
75
84
|
Lint/NonAtomicFileOperation: # new in 1.31
|
|
@@ -107,6 +116,7 @@ Lint/UselessRuby2Keywords: # new in 1.23
|
|
|
107
116
|
|
|
108
117
|
Metrics/CollectionLiteralLength: # new in 1.47
|
|
109
118
|
Enabled: true
|
|
119
|
+
|
|
110
120
|
RSpec/BeEmpty: # new in 2.20
|
|
111
121
|
Enabled: true
|
|
112
122
|
RSpec/BeEq: # new in 2.9.0
|
|
@@ -255,8 +265,12 @@ Style/RedundantStringEscape: # new in 1.37
|
|
|
255
265
|
Enabled: true
|
|
256
266
|
Style/SelectByRegexp: # new in 1.22
|
|
257
267
|
Enabled: true
|
|
268
|
+
Style/SingleLineDoEndBlock: # new in 1.57
|
|
269
|
+
Enabled: true
|
|
258
270
|
Style/StringChars: # new in 1.12
|
|
259
271
|
Enabled: true
|
|
272
|
+
Style/SuperWithArgsParentheses: # new in 1.58
|
|
273
|
+
Enabled: false
|
|
260
274
|
Style/SwapValues: # new in 1.1
|
|
261
275
|
Enabled: true
|
|
262
276
|
Style/YAMLFileRead: # new in 1.53
|
data/.rubocop.yml
CHANGED
data/.yoshiki-rails.yml
CHANGED
|
@@ -11,9 +11,17 @@ AllCops:
|
|
|
11
11
|
Rails:
|
|
12
12
|
Enabled: true
|
|
13
13
|
|
|
14
|
+
Capybara/ClickLinkOrButtonStyle: # new in 2.19
|
|
15
|
+
Enabled: true
|
|
16
|
+
EnforcedStyle: strict
|
|
14
17
|
Capybara/SpecificFinders: # new in 2.13
|
|
15
18
|
Enabled: false # prefer find('#css-id')
|
|
16
19
|
|
|
20
|
+
Capybara/RSpec/PredicateMatcher: # new in 2.19
|
|
21
|
+
Enabled: true
|
|
22
|
+
EnforcedStyle: inflected
|
|
23
|
+
Strict: false
|
|
24
|
+
|
|
17
25
|
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
|
18
26
|
Enabled: true
|
|
19
27
|
EnforcedStyle: omit_parentheses # default is `require_parentheses`
|
|
@@ -37,3 +45,12 @@ Rails/ToFormattedS: # new in 2.15
|
|
|
37
45
|
Enabled: false # prefer to_s(:format)
|
|
38
46
|
Rails/ToSWithArgument: # new in 2.16
|
|
39
47
|
Enabled: false # prefer to_s(:format)
|
|
48
|
+
|
|
49
|
+
Style/Documentation: # this isn't a rails cop, but this config only makes sense for rails projects
|
|
50
|
+
Exclude: # default config doesn't exclude migrations
|
|
51
|
+
- app/helpers/application_helper.rb
|
|
52
|
+
- app/models/application_record.rb
|
|
53
|
+
- config/application.rb
|
|
54
|
+
- db/migrate/**/*
|
|
55
|
+
- spec/**/*
|
|
56
|
+
- test/**/*
|
data/.yoshiki-ruby.yml
CHANGED
|
@@ -75,6 +75,7 @@ Metrics/BlockLength: # this cop allows configuration with AllowedMethods, Allowe
|
|
|
75
75
|
- context
|
|
76
76
|
CountAsOne:
|
|
77
77
|
- array
|
|
78
|
+
- hash
|
|
78
79
|
- heredoc
|
|
79
80
|
- method_call
|
|
80
81
|
Metrics/MethodLength: # this cop allows configuration with AllowedMethods, AllowedPatterns, & CountAsOne
|
|
@@ -120,6 +121,10 @@ RSpec/NestedGroups: # this cop can be configured with `AllowedGroups`
|
|
|
120
121
|
Enabled: false
|
|
121
122
|
RSpec/PendingWithoutReason: # new in 2.16
|
|
122
123
|
Enabled: false
|
|
124
|
+
RSpec/NotToNot:
|
|
125
|
+
EnforcedStyle: to_not # default is not_to; prefer common prefix
|
|
126
|
+
RSpec/SubjectStub: # allow stubbing subject
|
|
127
|
+
Enabled: false # should only be used for methods *not* under test
|
|
123
128
|
|
|
124
129
|
Style/AndOr:
|
|
125
130
|
Enabled: false
|
|
@@ -129,11 +134,6 @@ Style/BarePercentLiterals:
|
|
|
129
134
|
EnforcedStyle: percent_q # default is `bare_percent`
|
|
130
135
|
Style/CommandLiteral:
|
|
131
136
|
EnforcedStyle: mixed # default is `backticks`
|
|
132
|
-
Style/Documentation: # default config doesn't exclude migrations
|
|
133
|
-
Exclude:
|
|
134
|
-
- 'db/migrate/**/*'
|
|
135
|
-
- 'spec/**/*'
|
|
136
|
-
- 'test/**/*'
|
|
137
137
|
Style/DoubleNegation:
|
|
138
138
|
Enabled: false
|
|
139
139
|
Style/EndlessMethod: # new in 1.8
|
data/Gemfile.lock
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
yoshiki (
|
|
5
|
-
rubocop (= 1.56.
|
|
6
|
-
rubocop-
|
|
4
|
+
yoshiki (9.0.0.pre.1)
|
|
5
|
+
rubocop (= 1.56.4)
|
|
6
|
+
rubocop-capybara (= 2.19.0)
|
|
7
|
+
rubocop-factory_bot (= 2.24.0)
|
|
8
|
+
rubocop-rails (= 2.22.2)
|
|
7
9
|
rubocop-rake (= 0.6.0)
|
|
8
|
-
rubocop-rspec (= 2.
|
|
10
|
+
rubocop-rspec (= 2.25.0)
|
|
9
11
|
|
|
10
12
|
GEM
|
|
11
13
|
remote: https://rubygems.org/
|
|
@@ -54,7 +56,7 @@ GEM
|
|
|
54
56
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
55
57
|
rspec-support (~> 3.12.0)
|
|
56
58
|
rspec-support (3.12.1)
|
|
57
|
-
rubocop (1.56.
|
|
59
|
+
rubocop (1.56.4)
|
|
58
60
|
base64 (~> 0.1.1)
|
|
59
61
|
json (~> 2.3)
|
|
60
62
|
language_server-protocol (>= 3.17.0)
|
|
@@ -66,20 +68,21 @@ GEM
|
|
|
66
68
|
rubocop-ast (>= 1.28.1, < 2.0)
|
|
67
69
|
ruby-progressbar (~> 1.7)
|
|
68
70
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
69
|
-
rubocop-ast (1.
|
|
71
|
+
rubocop-ast (1.30.0)
|
|
70
72
|
parser (>= 3.2.1.0)
|
|
71
|
-
rubocop-capybara (2.
|
|
73
|
+
rubocop-capybara (2.19.0)
|
|
72
74
|
rubocop (~> 1.41)
|
|
73
|
-
rubocop-factory_bot (2.
|
|
75
|
+
rubocop-factory_bot (2.24.0)
|
|
74
76
|
rubocop (~> 1.33)
|
|
75
|
-
rubocop-rails (2.
|
|
77
|
+
rubocop-rails (2.22.2)
|
|
76
78
|
activesupport (>= 4.2.0)
|
|
77
79
|
rack (>= 1.1)
|
|
78
80
|
rubocop (>= 1.33.0, < 2.0)
|
|
81
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
|
79
82
|
rubocop-rake (0.6.0)
|
|
80
83
|
rubocop (~> 1.0)
|
|
81
|
-
rubocop-rspec (2.
|
|
82
|
-
rubocop (~> 1.
|
|
84
|
+
rubocop-rspec (2.25.0)
|
|
85
|
+
rubocop (~> 1.40)
|
|
83
86
|
rubocop-capybara (~> 2.17)
|
|
84
87
|
rubocop-factory_bot (~> 2.22)
|
|
85
88
|
ruby-progressbar (1.13.0)
|
|
@@ -99,4 +102,4 @@ DEPENDENCIES
|
|
|
99
102
|
yoshiki!
|
|
100
103
|
|
|
101
104
|
BUNDLED WITH
|
|
102
|
-
2.
|
|
105
|
+
2.4.22
|
data/README.md
CHANGED
|
@@ -43,22 +43,21 @@ inherit_gem:
|
|
|
43
43
|
yoshiki: .yoshiki-rails.yml
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
## Ruby
|
|
46
|
+
## Ruby compatibility
|
|
47
47
|
|
|
48
|
-
- ruby
|
|
49
|
-
- ruby 2.
|
|
50
|
-
- ruby 2.
|
|
51
|
-
- ruby 2.
|
|
52
|
-
- ruby 2.
|
|
48
|
+
- ruby 3.0+, use [=> 9.0][9.0]
|
|
49
|
+
- ruby 2.7, use [~> 8.0][8.0]
|
|
50
|
+
- ruby 2.6, use [~> 7.0][7.0]
|
|
51
|
+
- ruby 2.4+, use [~> 6.0][6.0.1]
|
|
52
|
+
- ruby 2.3, use [~> 3.2][3.2.0]
|
|
53
53
|
|
|
54
54
|
<!-- links -->
|
|
55
55
|
[ci]: https://gitlab.com/devfu/yoshiki/pipelines?scope=branches "build history"
|
|
56
56
|
[gem]: https://rubygems.org/gems/yoshiki
|
|
57
|
-
[3.2]: https://gitlab.com/devfu/yoshiki/tags/v3.2.0
|
|
58
|
-
[
|
|
59
|
-
[4.3]: https://gitlab.com/devfu/yoshiki/tags/v4.3.0
|
|
60
|
-
[6.0]: https://gitlab.com/devfu/yoshiki/tags/v6.0.0
|
|
57
|
+
[3.2.0]: https://gitlab.com/devfu/yoshiki/tags/v3.2.0
|
|
58
|
+
[6.0.1]: https://gitlab.com/devfu/yoshiki/tags/v6.0.1
|
|
61
59
|
[7.0]: https://gitlab.com/devfu/yoshiki/tags/v7.0.0
|
|
60
|
+
[8.0]: https://gitlab.com/devfu/yoshiki/tags/v8.0.0
|
|
62
61
|
|
|
63
62
|
<!-- images -->
|
|
64
63
|
[ci-image]: https://gitlab.com/devfu/yoshiki/badges/master/pipeline.svg
|
data/lib/yoshiki/version.rb
CHANGED
data/yoshiki.gemspec
CHANGED
|
@@ -20,10 +20,12 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
|
|
21
21
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
22
22
|
|
|
23
|
-
spec.required_ruby_version = '>=
|
|
23
|
+
spec.required_ruby_version = '>= 3.0.0'
|
|
24
24
|
|
|
25
|
-
spec.add_dependency 'rubocop',
|
|
26
|
-
spec.add_dependency 'rubocop-
|
|
27
|
-
spec.add_dependency 'rubocop-
|
|
28
|
-
spec.add_dependency 'rubocop-
|
|
25
|
+
spec.add_dependency 'rubocop', '1.56.4'
|
|
26
|
+
spec.add_dependency 'rubocop-capybara', '2.19.0'
|
|
27
|
+
spec.add_dependency 'rubocop-factory_bot', '2.24.0'
|
|
28
|
+
spec.add_dependency 'rubocop-rails', '2.22.2'
|
|
29
|
+
spec.add_dependency 'rubocop-rake', '0.6.0'
|
|
30
|
+
spec.add_dependency 'rubocop-rspec', '2.25.0'
|
|
29
31
|
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:
|
|
4
|
+
version: 9.0.0.pre.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- BM5k
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-12-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -16,28 +16,56 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 1.56.
|
|
19
|
+
version: 1.56.4
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 1.56.
|
|
26
|
+
version: 1.56.4
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rubocop-capybara
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - '='
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 2.19.0
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - '='
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 2.19.0
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: rubocop-factory_bot
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - '='
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: 2.24.0
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - '='
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: 2.24.0
|
|
27
55
|
- !ruby/object:Gem::Dependency
|
|
28
56
|
name: rubocop-rails
|
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
|
30
58
|
requirements:
|
|
31
59
|
- - '='
|
|
32
60
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 2.
|
|
61
|
+
version: 2.22.2
|
|
34
62
|
type: :runtime
|
|
35
63
|
prerelease: false
|
|
36
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
65
|
requirements:
|
|
38
66
|
- - '='
|
|
39
67
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 2.
|
|
68
|
+
version: 2.22.2
|
|
41
69
|
- !ruby/object:Gem::Dependency
|
|
42
70
|
name: rubocop-rake
|
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -58,14 +86,14 @@ dependencies:
|
|
|
58
86
|
requirements:
|
|
59
87
|
- - '='
|
|
60
88
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 2.
|
|
89
|
+
version: 2.25.0
|
|
62
90
|
type: :runtime
|
|
63
91
|
prerelease: false
|
|
64
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
93
|
requirements:
|
|
66
94
|
- - '='
|
|
67
95
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 2.
|
|
96
|
+
version: 2.25.0
|
|
69
97
|
description: Dev Fu! Style for rubocop.
|
|
70
98
|
email:
|
|
71
99
|
- me@bm5k.com
|
|
@@ -107,14 +135,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
107
135
|
requirements:
|
|
108
136
|
- - ">="
|
|
109
137
|
- !ruby/object:Gem::Version
|
|
110
|
-
version:
|
|
138
|
+
version: 3.0.0
|
|
111
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
140
|
requirements:
|
|
113
|
-
- - "
|
|
141
|
+
- - ">"
|
|
114
142
|
- !ruby/object:Gem::Version
|
|
115
|
-
version:
|
|
143
|
+
version: 1.3.1
|
|
116
144
|
requirements: []
|
|
117
|
-
rubygems_version: 3.4.
|
|
145
|
+
rubygems_version: 3.4.10
|
|
118
146
|
signing_key:
|
|
119
147
|
specification_version: 4
|
|
120
148
|
summary: Dev Fu! Style
|