rubocop-rails_config 1.3.4 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/config/rails.yml +4 -4
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c00d200c0ae1351b9c46ed1c3208ce66f970c67229d88e874c3cfc02b0a75b3c
|
4
|
+
data.tar.gz: 2e69dea484ab05cb8bf5c6b9389f1dbd9559b6db8b6d5fce81d09a583ca8b985
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a1696f3b3e0fa7accdc2ed5e026f50f7a5cd60f4474a355f04f389faf72cd8114704f2e55c490bee1ebc751a26e84ef8db6122c32db8c1647809178a2ac6add
|
7
|
+
data.tar.gz: abe8d110b42785028ebb132053c1277d4edbce99d4be97b44203c3a5ae09165396b5a503a36239d423b8042c95aee95ae218b412ef170a5578d3619538bba8d5
|
data/README.md
CHANGED
@@ -35,7 +35,7 @@ $ rails generate rubocop_rails_config:install
|
|
35
35
|
|
36
36
|
### TargetRubyVersion
|
37
37
|
|
38
|
-
Although Rails 7 (edge) only supports Ruby 2.7 or more, rubocop-rails_config still supports Ruby 2.
|
38
|
+
Although Rails 7 (edge) only supports Ruby 2.7 or more, rubocop-rails_config still supports Ruby 2.5 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
@@ -4,8 +4,6 @@ require:
|
|
4
4
|
- rubocop-rails
|
5
5
|
|
6
6
|
AllCops:
|
7
|
-
# rubocop-rails_config still supports Ruby 2.4
|
8
|
-
TargetRubyVersion: 2.4
|
9
7
|
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
|
10
8
|
# to ignore them, so only the ones explicitly set in this file are enabled.
|
11
9
|
DisabledByDefault: true
|
@@ -20,8 +18,7 @@ AllCops:
|
|
20
18
|
- '**/node_modules/**/*'
|
21
19
|
# Additional exclude files by rubocop-rails_config
|
22
20
|
- 'bin/**/*'
|
23
|
-
- '
|
24
|
-
- 'db/**/*'
|
21
|
+
- 'db/schema.rb'
|
25
22
|
|
26
23
|
Performance:
|
27
24
|
Exclude:
|
@@ -273,6 +270,9 @@ Performance/RegexpMatch:
|
|
273
270
|
Performance/ReverseEach:
|
274
271
|
Enabled: true
|
275
272
|
|
273
|
+
Performance/StringReplacement:
|
274
|
+
Enabled: true
|
275
|
+
|
276
276
|
Performance/UnfreezeString:
|
277
277
|
Enabled: true
|
278
278
|
|
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.
|
4
|
+
version: 1.5.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-
|
12
|
+
date: 2021-04-25 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.
|
20
|
+
version: '1.13'
|
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.
|
27
|
+
version: '1.13'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rubocop-ast
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -119,14 +119,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
119
|
requirements:
|
120
120
|
- - ">="
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: 2.
|
122
|
+
version: 2.5.0
|
123
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
124
|
requirements:
|
125
125
|
- - ">="
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
|
-
rubygems_version: 3.2.
|
129
|
+
rubygems_version: 3.2.15
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: RuboCop configuration which has the same code style checking as official
|