yoshiki 11.0.0.pre.3 → 11.0.0.pre.4
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.yml +6 -0
- data/.yoshiki-rails.yml +12 -1
- data/.yoshiki-ruby.yml +1 -3
- data/Gemfile.lock +3 -3
- data/lib/yoshiki/version.rb +1 -1
- data/yoshiki.gemspec +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: 0d3af7b595a5a8e65511962876705ad0a00ea62df8446ce29bfb395aa9a9b80a
|
|
4
|
+
data.tar.gz: f3766a4f9e21a4154149c576b36c16c2a52c3379cb5b3e7633b2f47abdd32345
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb3163526aad7c5e8d8f1b87c460144d874e30267ed0976c33a9e1f3272ed004cf3ccfaf26c87ad93d2373d9082fb386f2800c0986c1e59f0bc55ee7f26aecd6
|
|
7
|
+
data.tar.gz: 8f545f64454c731495560116d3ed8e829c9b3caa6184fc82097c92e1e8697bacf44f3140743acaf85a275e033884f8c15fbaf4fa7c0674361acc44329749366d
|
data/.rubocop-defaults.yml
CHANGED
|
@@ -50,6 +50,8 @@ Lint/DataDefineOverride: # new in 1.85
|
|
|
50
50
|
Enabled: true
|
|
51
51
|
Lint/DeprecatedConstants: # new in 1.8
|
|
52
52
|
Enabled: true
|
|
53
|
+
Lint/DeprecatedReference: # new in 1.89
|
|
54
|
+
Enabled: true
|
|
53
55
|
Lint/DuplicateBranch: # new in 1.3
|
|
54
56
|
Enabled: true
|
|
55
57
|
Lint/DuplicateMagicComment: # new in 1.37
|
|
@@ -78,6 +80,8 @@ Lint/LiteralAssignmentInCondition: # new in 1.58
|
|
|
78
80
|
Enabled: false
|
|
79
81
|
Lint/MixedCaseRange: # new in 1.53
|
|
80
82
|
Enabled: true
|
|
83
|
+
Lint/NameTypo: # new in 1.89
|
|
84
|
+
Enabled: true
|
|
81
85
|
Lint/NonAtomicFileOperation: # new in 1.31
|
|
82
86
|
Enabled: true
|
|
83
87
|
Lint/NoReturnInBeginEndBlocks: # new in 1.2
|
|
@@ -231,6 +235,8 @@ Style/EmptyHeredoc: # new in 1.32
|
|
|
231
235
|
Enabled: true
|
|
232
236
|
Style/EmptyStringInsideInterpolation: # new in 1.76
|
|
233
237
|
Enabled: true
|
|
238
|
+
Style/EndlessMethod: # new in 1.8
|
|
239
|
+
Enabled: true
|
|
234
240
|
Style/EnvHome: # new in 1.29
|
|
235
241
|
Enabled: true
|
|
236
242
|
Style/FetchEnvVar: # new in 1.28
|
data/.yoshiki-rails.yml
CHANGED
|
@@ -40,6 +40,8 @@ Rails/RakeEnvironment: # new in 2.4
|
|
|
40
40
|
Enabled: false
|
|
41
41
|
Rails/ReadWriteAttribute:
|
|
42
42
|
Enabled: false
|
|
43
|
+
Rails/RefuteMethods:
|
|
44
|
+
EnforcedStyle: refute # default is `assert_not`
|
|
43
45
|
Rails/ShortI18n: # new in 2.7
|
|
44
46
|
Enabled: true
|
|
45
47
|
EnforcedStyle: aggressive # default is `conservative`
|
|
@@ -51,11 +53,20 @@ Rails/ToFormattedS: # new in 2.15
|
|
|
51
53
|
Enabled: false # prefer to_s(:format)
|
|
52
54
|
Rails/ToSWithArgument: # new in 2.16
|
|
53
55
|
Enabled: false # prefer to_s(:format)
|
|
56
|
+
Rails/UnknownEnv:
|
|
57
|
+
Environments:
|
|
58
|
+
- development
|
|
59
|
+
- production
|
|
60
|
+
- staging
|
|
61
|
+
- test
|
|
54
62
|
|
|
55
63
|
Style/Documentation: # this isn't a rails cop, but this config only makes sense for rails projects
|
|
56
64
|
Exclude: # default config doesn't exclude migrations
|
|
65
|
+
- app/channels/application_cable/channel.rb
|
|
66
|
+
- app/channels/application_cable/connection.rb
|
|
57
67
|
- app/controllers/application_controller.rb
|
|
58
|
-
- app/
|
|
68
|
+
- app/controllers/concerns/authentication.rb
|
|
69
|
+
- app/helpers/**/*.rb
|
|
59
70
|
- app/jobs/application_job.rb
|
|
60
71
|
- app/mailers/application_mailer.rb
|
|
61
72
|
- app/models/application_record.rb
|
data/.yoshiki-ruby.yml
CHANGED
|
@@ -128,9 +128,6 @@ Style/CommandLiteral:
|
|
|
128
128
|
EnforcedStyle: mixed # default is `backticks`
|
|
129
129
|
Style/DoubleNegation:
|
|
130
130
|
Enabled: false
|
|
131
|
-
Style/EndlessMethod: # new in 1.8
|
|
132
|
-
Enabled: true
|
|
133
|
-
EnforcedStyle: disallow # default is `allow_single_line`
|
|
134
131
|
Style/FrozenStringLiteralComment:
|
|
135
132
|
EnforcedStyle: never # huzzah for ruby 3.4
|
|
136
133
|
SafeAutoCorrect: true # default is `false`
|
|
@@ -138,6 +135,7 @@ Style/MethodDefParentheses:
|
|
|
138
135
|
EnforcedStyle: require_no_parentheses
|
|
139
136
|
Style/MixinUsage:
|
|
140
137
|
Exclude:
|
|
138
|
+
- .irbrc
|
|
141
139
|
- .pryrc
|
|
142
140
|
Style/MultilineIfModifier:
|
|
143
141
|
Enabled: false
|
data/Gemfile.lock
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
yoshiki (11.0.0.pre.
|
|
5
|
-
rubocop (= 1.
|
|
4
|
+
yoshiki (11.0.0.pre.4)
|
|
5
|
+
rubocop (= 1.89.0)
|
|
6
6
|
rubocop-performance (= 1.26.1)
|
|
7
7
|
rubocop-rake (= 0.7.1)
|
|
8
8
|
|
|
@@ -74,7 +74,7 @@ GEM
|
|
|
74
74
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
75
75
|
rspec-support (~> 3.13.0)
|
|
76
76
|
rspec-support (3.13.7)
|
|
77
|
-
rubocop (1.
|
|
77
|
+
rubocop (1.89.0)
|
|
78
78
|
json (~> 2.3)
|
|
79
79
|
language_server-protocol (~> 3.17.0.2)
|
|
80
80
|
lint_roller (~> 1.1.0)
|
data/lib/yoshiki/version.rb
CHANGED
data/yoshiki.gemspec
CHANGED
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
|
|
21
21
|
spec.required_ruby_version = '>= 3.4.0'
|
|
22
22
|
|
|
23
|
-
spec.add_dependency 'rubocop', '1.
|
|
23
|
+
spec.add_dependency 'rubocop', '1.89.0'
|
|
24
24
|
spec.add_dependency 'rubocop-performance', '1.26.1'
|
|
25
25
|
spec.add_dependency 'rubocop-rake', '0.7.1'
|
|
26
26
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yoshiki
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 11.0.0.pre.
|
|
4
|
+
version: 11.0.0.pre.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- BM5k
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 1.
|
|
18
|
+
version: 1.89.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 1.
|
|
25
|
+
version: 1.89.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: rubocop-performance
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|