rubocop-rails_config 1.8.0 → 1.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/config/rails.yml +6 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ed0bb6b6c303cbf0185a0f3737e22054a3e88505ecea5fe844c00e9465655c0
4
- data.tar.gz: 7086567d71c0eff5997f2eaa59607bd32783e90bdadf7813c579b91b97c9042b
3
+ metadata.gz: fb8b0060e07d2de742223efdec5279ae607781e1637430703de77371cea2e5ff
4
+ data.tar.gz: bff13f11bced580ad89a3fe832cab202e9a3d3080041f624b485bacec90251d3
5
5
  SHA512:
6
- metadata.gz: 804a8dc341fe3c62339ec41ec163c246c6cf9bc33445fe8d2062ece41f56c6fdab41c928e228a62d4244ac604621076111b39ac03924684fe39db9e09d0a8f03
7
- data.tar.gz: f7883a7ab668764b73adc77555692898d5642d62927a0da411c717d981f9b1f5ad989c590bec792bc89a4882fed1c86164f009a2ea84d89b66d5f25064788371
6
+ metadata.gz: eddbae619323a4e9d71ef2d549247fa41f5cdbbca624133f846abcd7f15633d61b06c475f65d9869e5a5a18f5de8b51dd27414e482fff7471b82f9778fed8179
7
+ data.tar.gz: 640ad7bd02987bc182fb941a8f3cb595b738aedb326ed4a8f679e5cd0f3bc674ea1ae890c19f0ed2d8994cbe7cfd97661d4d285da65e815a2174501693782975
data/config/rails.yml CHANGED
@@ -216,6 +216,9 @@ Lint/DuplicateMethods:
216
216
  Lint/ErbNewArguments:
217
217
  Enabled: true
218
218
 
219
+ Lint/EnsureReturn:
220
+ Enabled: true
221
+
219
222
  # Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
220
223
  Lint/RequireParentheses:
221
224
  Enabled: true
@@ -301,5 +304,8 @@ Performance/DeletePrefix:
301
304
  Performance/DeleteSuffix:
302
305
  Enabled: true
303
306
 
307
+ Performance/OpenStruct:
308
+ Enabled: true
309
+
304
310
  Minitest/UnreachableAssertion:
305
311
  Enabled: true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rails_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toshimaru
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-12-26 00:00:00.000000000 Z
12
+ date: 2022-02-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.3.3
143
+ rubygems_version: 3.3.7
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: RuboCop configuration which has the same code style checking as official