ruboconf-rails 1.1.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3bfec27e6823dc56ffab117d700b097969fa9364e32940d2cc535acdac234686
4
- data.tar.gz: 888bfd3153e459ecfbba6abe7f6fae57c800ff6c6a9dfe9334684a508f9fceee
3
+ metadata.gz: d83659c699817b6f17ea5ee3d1f9b98198014aef39e6aa4c1370e54eea0d478f
4
+ data.tar.gz: 299c505d81bdc967c2a99bfa291766fbbaaff5e8ee6aeeaf00903f379aac1f95
5
5
  SHA512:
6
- metadata.gz: 71e31cbc566ebf59ce80a6d1fc6ee374306e6f31d86d2b80450dff4e93ca7d4edede6026698102d74ffbff35b010781ce52f4cc2f7496b5c1ceaa896dd6441b9
7
- data.tar.gz: 917fc61476ae574be901869e2521ccf569ec21f1269c12846612e43ce37a103b2d772980009d36884ab39f64f9846ce0479409c0130de75c589b37b22e2b3da4
6
+ metadata.gz: bd86430943281955b26327dc9d3f1de704cd03aac05c017fe151df72b4f0982e5ea80e0a51c8009e3c59504e3dff2391706b7a5493a3356592f56a4e3e23fcb3
7
+ data.tar.gz: 5e03041b3a757b5aa8726ad1d28ade791d82a17955853af5f038c7f956592fcaf0d32758b2d60ac85460604f1f7bfe70d941b8ff86690a311b6e2d9a7f3af0cf
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
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'ruboconf-rails'
5
- spec.version = '1.1.0'
5
+ spec.version = '1.4.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.1.0'
26
- spec.add_dependency 'rubocop-rails', '~> 2.13.2'
25
+ spec.add_dependency 'ruboconf', '~> 1.4.0'
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.1.0
4
+ version: 1.4.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-01-23 00:00:00.000000000 Z
11
+ date: 2022-07-21 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.1.0
19
+ version: 1.4.0
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.1.0
26
+ version: 1.4.0
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.13.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.13.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.3.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.