rubocop-rails_config 1.8.1 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/config/rails.yml +9 -0
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f98f883c91fdde7aeb1efd9de208e4a864c6097b1dfbad759bf0194c7d18c37
4
- data.tar.gz: db00a7a5045a3ddf3871b24c7fb1724047cee61d1f8f456186091f6c8ce4b2ae
3
+ metadata.gz: 3a3b3071bd0ee9e202035339bf021336c1c2ce650d88a761b178a7fc5fd819ce
4
+ data.tar.gz: f31b9aca7527ff7864e610f9e3cb3768865b6410826debc51b07a8837242925a
5
5
  SHA512:
6
- metadata.gz: 3c734c3630888d097a2efb4770c063b168a082c070e5ad3c016223aae89e9777cb78ebfc805be2d8ab4cc4d61b56b7e352ffce77da8f7756772dd2cb569840ae
7
- data.tar.gz: 5113196889c5ea8e61e882575b58b53ef83cc200a00db5b6d80d52bf5b8a47885e129a6fd79bd9db2e49aeb91d3e011433d0d61a55b8d1d247f1d6b0ee8d1e54
6
+ metadata.gz: 38978647e69972a885ece1e135b1a7854db418919f5fbb7d287a8d33b2f956fb1ff8ff19ea26410e7c4f6c6a6737e8858901ec9a6f84373c627404b8bb91a375
7
+ data.tar.gz: 5196d53be2a4a201062588c620ff7629cbf12a57d6ce82e460abf7ec64b165ac797051dbc78c90030f9546ac4e81c52dfe0bbd2393bd9565f1f7cca37adcc928
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2018-2020 Toshimaru
3
+ Copyright (c) 2018-2022 Toshimaru
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
data/config/rails.yml CHANGED
@@ -161,6 +161,9 @@ Style/FrozenStringLiteralComment:
161
161
  - 'actionmailbox/db/migrate/**/*.rb'
162
162
  - 'actiontext/db/migrate/**/*.rb'
163
163
 
164
+ Style/MapToHash:
165
+ Enabled: true
166
+
164
167
  Style/RedundantFreeze:
165
168
  Enabled: true
166
169
 
@@ -216,6 +219,9 @@ Lint/DuplicateMethods:
216
219
  Lint/ErbNewArguments:
217
220
  Enabled: true
218
221
 
222
+ Lint/EnsureReturn:
223
+ Enabled: true
224
+
219
225
  # Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
220
226
  Lint/RequireParentheses:
221
227
  Enabled: true
@@ -301,5 +307,8 @@ Performance/DeletePrefix:
301
307
  Performance/DeleteSuffix:
302
308
  Enabled: true
303
309
 
310
+ Performance/OpenStruct:
311
+ Enabled: true
312
+
304
313
  Minitest/UnreachableAssertion:
305
314
  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.1
4
+ version: 1.9.0
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: 2022-01-23 00:00:00.000000000 Z
12
+ date: 2022-02-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '1.19'
20
+ version: 1.25.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '1.19'
27
+ version: 1.25.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rubocop-ast
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -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