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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 238a39575bd073ca95cdaa54ce97affac2d5d57b9763d25cddabefb93f312235
4
- data.tar.gz: 487696c57ffc297c083b55343daccccbf976c49901a94f75b4da87b9f7049947
3
+ metadata.gz: 700dac07edfbcd20f2a1aa4e9b9d861c82ae51f5904cfe3a04782f95a7438cce
4
+ data.tar.gz: c11cda978ac3c1c719c5f8f74a9b438778f2ce381fd2675cae653e5c27d018db
5
5
  SHA512:
6
- metadata.gz: ed0fc7a3cecfca13a9d5ccd1697abd4edb5e82889a4a2b68e3285ae8cd7a4e4563c6994c1b2431e7899e083cbcb3fbd158abc61d771d83631efa479d7430ba0a
7
- data.tar.gz: 04ae7dc9a3d18bae3de6ae33c4614c71874b961c43bef6c8db041afc73460fdb68edd76e33c573b8cd2802f3bc17d46b54161ca00bdd75b6d97aa71d0c75464e
6
+ metadata.gz: c158e1da50bae9b454bfae823ae68320dea1b11bc8fdfc851a16950aac735b677482943ac1e90ad9b6b94f75aa0cf2a94e85586d34bfb3c29ca94c09897bc9b1
7
+ data.tar.gz: fc6f07f578af3cfe03262852fa9da0c7c3da6ab96026f0ebbec093c6e087656831c9f33a794dba7ae251cc9489237e0089c69a6ab311bdea773993e7367ed725
@@ -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`
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Yoshiki
4
4
 
5
- VERSION = '9.0.0-2'
5
+ VERSION = '9.0.0-3'
6
6
 
7
7
  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: 9.0.0.pre.2
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-23 00:00:00.000000000 Z
11
+ date: 2024-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop