ruboconf-rails 1.2.0 → 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/cops/rails.yml +37 -0
- data/ruboconf-rails.gemspec +3 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d81b47b3e5cb5ef804cd039d5bb6a5f65fdee15a11051898354a3dd06ca3bd05
|
4
|
+
data.tar.gz: 3ee0bc998befdac0d37c0caaa5aee8670fd2f46cde80ae84efb3697d302a1eb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e08c12af140a3643537d381f30081379a98a34a1bc39caca320d36ff9ea2d0758b3b8a4c41e4b1f920df2d08b5206ba615d64df91776a927c6fa1bd94850224
|
7
|
+
data.tar.gz: 2197d6c1faf7ab7f019decf55a85c5d91d8a5d0a93014e36ee69e007e67b70c6fd7755f5724f774fc4a97507a8392f4b45aca1e50210108b9a6defec1d2e75bc
|
data/cops/rails.yml
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
Rails/ActionControllerTestCase:
|
2
|
+
Enabled: true
|
3
|
+
|
1
4
|
Rails/ActiveRecordCallbacksOrder:
|
2
5
|
Enabled: true
|
3
6
|
|
@@ -22,6 +25,18 @@ Rails/CompactBlank:
|
|
22
25
|
Rails/Date:
|
23
26
|
Enabled: true
|
24
27
|
|
28
|
+
Rails/DeprecatedActiveModelErrorsMethods:
|
29
|
+
Enabled: true
|
30
|
+
|
31
|
+
Rails/DotSeparatedKeys:
|
32
|
+
Enabled: false
|
33
|
+
|
34
|
+
Rails/DuplicateAssociation:
|
35
|
+
Enabled: true
|
36
|
+
|
37
|
+
Rails/DuplicateScope:
|
38
|
+
Enabled: true
|
39
|
+
|
25
40
|
Rails/DurationArithmetic:
|
26
41
|
Enabled: true
|
27
42
|
|
@@ -40,9 +55,15 @@ Rails/FindById:
|
|
40
55
|
Rails/HasManyOrHasOneDependent:
|
41
56
|
Enabled: true
|
42
57
|
|
58
|
+
Rails/I18nLazyLookup:
|
59
|
+
Enabled: true
|
60
|
+
|
43
61
|
Rails/I18nLocaleAssignment:
|
44
62
|
Enabled: true
|
45
63
|
|
64
|
+
Rails/I18nLocaleTexts:
|
65
|
+
Enabled: true
|
66
|
+
|
46
67
|
Rails/Inquiry:
|
47
68
|
Enabled: true
|
48
69
|
|
@@ -55,6 +76,9 @@ Rails/MailerName:
|
|
55
76
|
Rails/MatchRoute:
|
56
77
|
Enabled: true
|
57
78
|
|
79
|
+
Rails/MigrationClassName:
|
80
|
+
Enabled: true
|
81
|
+
|
58
82
|
Rails/NegateInclude:
|
59
83
|
Enabled: true
|
60
84
|
|
@@ -79,15 +103,28 @@ Rails/RenderPlainText:
|
|
79
103
|
Rails/RootJoinChain:
|
80
104
|
Enabled: true
|
81
105
|
|
106
|
+
Rails/RootPublicPath:
|
107
|
+
Enabled: true
|
108
|
+
|
82
109
|
Rails/ShortI18n:
|
83
110
|
Enabled: true
|
84
111
|
|
85
112
|
Rails/SquishedSQLHeredocs:
|
86
113
|
Enabled: true
|
87
114
|
|
115
|
+
Rails/StripHeredoc:
|
116
|
+
Enabled: true
|
117
|
+
|
88
118
|
Rails/TimeZoneAssignment:
|
89
119
|
Enabled: true
|
90
120
|
|
121
|
+
Rails/ToFormattedS:
|
122
|
+
Enabled: true
|
123
|
+
EnforcedStyle: to_formatted_s
|
124
|
+
|
125
|
+
Rails/TransactionExitStatement:
|
126
|
+
Enabled: true
|
127
|
+
|
91
128
|
Rails/UnusedIgnoredColumns:
|
92
129
|
Enabled: true
|
93
130
|
|
data/ruboconf-rails.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'ruboconf-rails'
|
5
|
-
spec.version = '1.
|
5
|
+
spec.version = '1.5.0'
|
6
6
|
spec.authors = ['Richard Böhme']
|
7
7
|
spec.email = ['richard.boehme1999@gmail.com']
|
8
8
|
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
spec.add_dependency 'ruboconf', '~> 1.
|
26
|
-
spec.add_dependency 'rubocop-rails', '~> 2.
|
25
|
+
spec.add_dependency 'ruboconf', '~> 1.5'
|
26
|
+
spec.add_dependency 'rubocop-rails', '~> 2.15'
|
27
27
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruboconf-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Böhme
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruboconf
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: '1.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: '2.15'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.
|
40
|
+
version: '2.15'
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- richard.boehme1999@gmail.com
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
|
-
rubygems_version: 3.
|
80
|
+
rubygems_version: 3.3.7
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: Opinionated RuboCop Rails configuration for personal projects.
|