yoshiki 9.0.0.pre.2 → 9.0.0.pre.3
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 +0 -2
- data/.yoshiki-rails.yml +9 -0
- data/.yoshiki-ruby.yml +13 -0
- data/lib/yoshiki/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 700dac07edfbcd20f2a1aa4e9b9d861c82ae51f5904cfe3a04782f95a7438cce
|
|
4
|
+
data.tar.gz: c11cda978ac3c1c719c5f8f74a9b438778f2ce381fd2675cae653e5c27d018db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c158e1da50bae9b454bfae823ae68320dea1b11bc8fdfc851a16950aac735b677482943ac1e90ad9b6b94f75aa0cf2a94e85586d34bfb3c29ca94c09897bc9b1
|
|
7
|
+
data.tar.gz: fc6f07f578af3cfe03262852fa9da0c7c3da6ab96026f0ebbec093c6e087656831c9f33a794dba7ae251cc9489237e0089c69a6ab311bdea773993e7367ed725
|
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
|
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:
|
|
@@ -55,5 +60,9 @@ Style/Documentation: # this isn't a rails cop, but this config only makes sense
|
|
|
55
60
|
- app/models/application_record.rb
|
|
56
61
|
- config/application.rb
|
|
57
62
|
- db/migrate/**/*
|
|
63
|
+
- lib/application_responder.rb
|
|
58
64
|
- spec/**/*
|
|
59
65
|
- test/**/*
|
|
66
|
+
Style/EmptyMethod:
|
|
67
|
+
Exclude:
|
|
68
|
+
- app/controllers/**/*_controller.rb
|
data/.yoshiki-ruby.yml
CHANGED
|
@@ -105,6 +105,17 @@ Naming/PredicateName:
|
|
|
105
105
|
AllowedMethods:
|
|
106
106
|
- is_a?
|
|
107
107
|
|
|
108
|
+
Performance/ChainArrayAllocation:
|
|
109
|
+
Enabled: true
|
|
110
|
+
Performance/BigDecimalWithNumericArgument: # new in 1.7
|
|
111
|
+
Enabled: false # this cop can actually reduce performance: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1451511402
|
|
112
|
+
Performance/CaseWhenSplat:
|
|
113
|
+
Enabled: true
|
|
114
|
+
AutoCorrect: true
|
|
115
|
+
SafeAutoCorrect: true
|
|
116
|
+
Performance/SelectMap:
|
|
117
|
+
Enabled: true
|
|
118
|
+
|
|
108
119
|
RSpec/ContextWording:
|
|
109
120
|
Prefixes:
|
|
110
121
|
- as a
|
|
@@ -118,6 +129,8 @@ RSpec/ImplicitExpect:
|
|
|
118
129
|
EnforcedStyle: should
|
|
119
130
|
RSpec/ImplicitSubject:
|
|
120
131
|
EnforcedStyle: single_statement_only # default is `single_line_only`
|
|
132
|
+
Exclude:
|
|
133
|
+
- spec/system/**/*.rb # allow implicit subject in system specs
|
|
121
134
|
RSpec/LeadingSubject:
|
|
122
135
|
Enabled: false # prefer subject after all let and let!
|
|
123
136
|
RSpec/NestedGroups: # this cop can be configured with `AllowedGroups`
|
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.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- BM5k
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-01-
|
|
11
|
+
date: 2024-01-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|