rubocop-rails_config 0.11.0 → 0.12.4

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 +13 -1
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 292d414c727601387774167d55ba5f64d0a23402e80e79b7524d8444de20aacb
4
- data.tar.gz: 922a3d4646d8803e6efa09e1828c682e4d41f3b84c81714d422309e784f6f968
3
+ metadata.gz: bb6329905006e626be21763a02dc9849cc6b8a69e0dcb8e7f03891a116d8d046
4
+ data.tar.gz: 152faac4ecc65ef18ef25fdca515ddf84f380e19042b7414953e27126be3746d
5
5
  SHA512:
6
- metadata.gz: d0464bb698da3961aa27e8940473d9fd6a96119c336be09f237cc0679378b9d6cb62288aeb3f0e11aad3cfe0a6ee43c777d2155d9641c9672a90a5ef87b79635
7
- data.tar.gz: c19b3487746c698873c7934ac725f4f09cf92f43505cb4eb3c50de4408b522b1e2d5d09368317ae4769019c5bbc8ddf1213226e3209a57b6682469bd6ec01b47
6
+ metadata.gz: b5d9a5b90c0ede2816b2b315b4242f12849d8a7d987fffe0d709cd80feea3b97fe90effed55f80f525d6b17767e0e943c28b875acd2313fbf425bd1378f1fe0c
7
+ data.tar.gz: f97200762f2791b72f1d6257b147916c2f9508546715d6d9cb32465f27b4a64f6f784121c5a0c3389032a6abe10950ef36f73035661bfb5a2b0f64ba50d13111
@@ -36,6 +36,12 @@ Rails/RefuteMethods:
36
36
  Include:
37
37
  - '**/test/**/*'
38
38
 
39
+ Rails/IndexBy:
40
+ Enabled: true
41
+
42
+ Rails/IndexWith:
43
+ Enabled: true
44
+
39
45
  # Prefer &&/|| over and/or.
40
46
  Style/AndOr:
41
47
  Enabled: true
@@ -172,7 +178,7 @@ Style/StringLiterals:
172
178
  EnforcedStyle: double_quotes
173
179
 
174
180
  # Detect hard tabs, no hard tabs.
175
- Layout/Tab:
181
+ Layout/IndentationStyle:
176
182
  Enabled: true
177
183
 
178
184
  # Empty lines should not have any spaces.
@@ -262,3 +268,9 @@ Performance/ReverseEach:
262
268
 
263
269
  Performance/UnfreezeString:
264
270
  Enabled: true
271
+
272
+ Performance/DeletePrefix:
273
+ Enabled: true
274
+
275
+ Performance/DeleteSuffix:
276
+ Enabled: true
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rails_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toshimaru
8
8
  - Koichi ITO
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-04-17 00:00:00.000000000 Z
12
+ date: 2020-06-24 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: '0.80'
20
+ version: '0.82'
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: '0.80'
27
+ version: '0.82'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rubocop-performance
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -153,7 +153,7 @@ homepage: https://github.com/toshimaru/rubocop-rails_config
153
153
  licenses:
154
154
  - MIT
155
155
  metadata: {}
156
- post_install_message:
156
+ post_install_message:
157
157
  rdoc_options: []
158
158
  require_paths:
159
159
  - lib
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  version: '0'
170
170
  requirements: []
171
171
  rubygems_version: 3.1.2
172
- signing_key:
172
+ signing_key:
173
173
  specification_version: 4
174
174
  summary: RuboCop configuration which has the same code style checking as official
175
175
  Ruby on Rails