ruboconf-rails 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1de20b384b5ce7cb9ab62366892d0d0dedd2fa656f13af7de63895622fabfc1
4
- data.tar.gz: c13cb18798fa817da4c6543dc89020b4edc997a2853eeea0ac7e5d4d2ddfbb72
3
+ metadata.gz: d83659c699817b6f17ea5ee3d1f9b98198014aef39e6aa4c1370e54eea0d478f
4
+ data.tar.gz: 299c505d81bdc967c2a99bfa291766fbbaaff5e8ee6aeeaf00903f379aac1f95
5
5
  SHA512:
6
- metadata.gz: a0f3ffba662683a14b6a402fc986106f7acb9180254c7ca04afca719c811f4e95c88baf4de4f33bd035bff6acd6c3fc6ebaf214da42404ad141e30f704feddaa
7
- data.tar.gz: 905ce2499d0201eac2d5280dfca18195db39d62a57baeabff9e6d938f0aa877933da6fb468fd905ed14f6418aa0efef1f87d4a62d10499bc89c689e653cd84dc
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.3.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.3.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.3.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-03-14 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.3.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.3.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.