rubocop-rails_config 1.2.2 → 1.3.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/README.md +1 -1
  3. data/config/rails.yml +4 -3
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f46b18a0b8698b08247c3526940a05038450c6709d989d2ad1e6d91e2224a644
4
- data.tar.gz: eb585819e5f4c0a81c9c5fed5159ef4401661127afd30d392fb7b4b9d567fbb7
3
+ metadata.gz: d79ab8f66b74861f30dd222eaadc3cf17a95752b0d97228f79eb3f2a3a59b565
4
+ data.tar.gz: 928456f81f2b1242d304c4c90814a05ed54c6c4dbcef56b877546f2efadf4652
5
5
  SHA512:
6
- metadata.gz: 2497f2f94ca577408860eec24d50e066ef043c8dde13f8a1e0141056250f9c1cd227b83664f49b31527c06814178f3d3611f518a8c22c1d77f9e3263bf1cc733
7
- data.tar.gz: 614c9512c93e4eb7ebd0534b7bdcc4078f1af9ce8477faae07b35348c806189031dd5a67c49434b99ea7e7576b9fb6bcefd4858b74a66055eb561c4c186e0a90
6
+ metadata.gz: 2abe83fa6d2554f5ba53d81d932c9747a1ee3b745a0dc99410a90be1d3429f1e888171970de601e55f4d7b93d3ca981738e411ce6aaa9e76ae8e0866d7061b2f
7
+ data.tar.gz: a8f2675cd03706590eb60aac9545e87b3eb5e2f683625c91fcd4d98ab9667788bdaab44c92baa1042da0746e8a4431dc431950901c5fa94a0467933c47466007
data/README.md CHANGED
@@ -35,7 +35,7 @@ $ rails generate rubocop_rails_config:install
35
35
 
36
36
  ### TargetRubyVersion
37
37
 
38
- Although Rails 6 only supports Ruby 2.5 or more, rubocop-rails_config still supports Ruby 2.4 or more to support as many Ruby versions as possible.
38
+ Although Rails 7 (edge) only supports Ruby 2.7 or more, rubocop-rails_config still supports Ruby 2.4 or more to support as many Ruby versions as possible.
39
39
 
40
40
  If you'd like to change `TargetRubyVersion`, see [Customization](#customization).
41
41
 
data/config/rails.yml CHANGED
@@ -9,6 +9,7 @@ AllCops:
9
9
  # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
10
10
  # to ignore them, so only the ones explicitly set in this file are enabled.
11
11
  DisabledByDefault: true
12
+ SuggestExtensions: false
12
13
  Exclude:
13
14
  - '**/tmp/**/*'
14
15
  - '**/templates/**/*'
@@ -212,9 +213,6 @@ Lint/ErbNewArguments:
212
213
  Lint/RequireParentheses:
213
214
  Enabled: true
214
215
 
215
- Lint/ShadowingOuterLocalVariable:
216
- Enabled: true
217
-
218
216
  Lint/RedundantStringCoercion:
219
217
  Enabled: true
220
218
 
@@ -257,6 +255,9 @@ Style/ColonMethodCall:
257
255
  Style/TrivialAccessors:
258
256
  Enabled: true
259
257
 
258
+ Performance/BindCall:
259
+ Enabled: true
260
+
260
261
  Performance/FlatMap:
261
262
  Enabled: true
262
263
 
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.2.2
4
+ version: 1.3.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: 2021-02-01 00:00:00.000000000 Z
12
+ date: 2021-02-10 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.0'
20
+ version: '1.8'
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.0'
27
+ version: '1.8'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rubocop-ast
30
30
  requirement: !ruby/object:Gem::Requirement