ruboconf-rails 1.10.0 → 1.11.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: 7f5730911ebde3eb5a4ef668b0715dec1fb42ef1c1b2e44ffb756472b033c781
4
- data.tar.gz: a29b0190ccac9a410c53aaeae56fef86c97d5189a272735915e317a1622e295a
3
+ metadata.gz: bd2f6346384809ee34a786a56ae1afca839fbfe9e9661d8f5ced063ae8618fd5
4
+ data.tar.gz: e062fd4ef4d880ad208b834669ee47c6a048006491bdaff9705a133fe86e485f
5
5
  SHA512:
6
- metadata.gz: 4666faba689334a35255be027f1b21f1a3fc409a1a82ba1fde17289f83f44d53deadfa00f033dc448704a18814b7c4441bcbfe23019dc756d65e1d962ade3a09
7
- data.tar.gz: ee24719678676930936c80db8c18ac51cf212f1a0e765eb314ab2f8f367299b7e632142294f78fced081286e80575c490c48d24b77f6ffb951ee56e69d62f0a9
6
+ metadata.gz: 85f4d16af7ed36b1fca8356634f5e57d8bf6e2b29817a0fe3ceb48d027d73b856bb93f6bed3a379a5bfe3ddde69c551199bccec774ce8fa8cba434daec759c33
7
+ data.tar.gz: c4b2bee7c30e6dfbc1d6f7bccb07ee6faf3cc22756f72f7e8ab0835e9de8b1de46ddb3bfd40185ce7706f775cb79e2bb70a3790daed2e6dcfc8601dc3d77b6c2
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.2.2
data/Gemfile.lock ADDED
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ruboconf-rails (1.11.0)
5
+ ruboconf (~> 1.11.0)
6
+ rubocop-rails (~> 2.19)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activesupport (7.0.4.3)
12
+ concurrent-ruby (~> 1.0, >= 1.0.2)
13
+ i18n (>= 1.6, < 2)
14
+ minitest (>= 5.1)
15
+ tzinfo (~> 2.0)
16
+ ast (2.4.2)
17
+ concurrent-ruby (1.2.2)
18
+ i18n (1.13.0)
19
+ concurrent-ruby (~> 1.0)
20
+ json (2.6.3)
21
+ minitest (5.18.0)
22
+ parallel (1.23.0)
23
+ parser (3.2.2.1)
24
+ ast (~> 2.4.1)
25
+ rack (3.0.7)
26
+ rainbow (3.1.1)
27
+ rake (13.0.6)
28
+ regexp_parser (2.8.0)
29
+ rexml (3.2.5)
30
+ ruboconf (1.11.0)
31
+ rubocop (~> 1.50)
32
+ rubocop-performance (~> 1.17)
33
+ rubocop (1.50.2)
34
+ json (~> 2.3)
35
+ parallel (~> 1.10)
36
+ parser (>= 3.2.0.0)
37
+ rainbow (>= 2.2.2, < 4.0)
38
+ regexp_parser (>= 1.8, < 3.0)
39
+ rexml (>= 3.2.5, < 4.0)
40
+ rubocop-ast (>= 1.28.0, < 2.0)
41
+ ruby-progressbar (~> 1.7)
42
+ unicode-display_width (>= 2.4.0, < 3.0)
43
+ rubocop-ast (1.28.1)
44
+ parser (>= 3.2.1.0)
45
+ rubocop-performance (1.17.1)
46
+ rubocop (>= 1.7.0, < 2.0)
47
+ rubocop-ast (>= 0.4.0)
48
+ rubocop-rails (2.19.1)
49
+ activesupport (>= 4.2.0)
50
+ rack (>= 1.1)
51
+ rubocop (>= 1.33.0, < 2.0)
52
+ ruby-progressbar (1.13.0)
53
+ tzinfo (2.0.6)
54
+ concurrent-ruby (~> 1.0)
55
+ unicode-display_width (2.4.2)
56
+
57
+ PLATFORMS
58
+ x86_64-linux
59
+
60
+ DEPENDENCIES
61
+ rake (~> 13.0)
62
+ ruboconf-rails!
63
+
64
+ BUNDLED WITH
65
+ 2.3.26
data/cops/rails.yml CHANGED
@@ -1,9 +1,25 @@
1
+ Rails/ActionControllerFlashBeforeRender:
2
+ Enabled: true
3
+
1
4
  Rails/ActionControllerTestCase:
2
5
  Enabled: true
3
6
 
7
+ Rails/ActionOrder:
8
+ ExpectedOrder:
9
+ - index
10
+ - show
11
+ - new
12
+ - create
13
+ - edit
14
+ - update
15
+ - destroy
16
+
4
17
  Rails/ActiveRecordCallbacksOrder:
5
18
  Enabled: true
6
19
 
20
+ Rails/ActiveSupportOnLoad:
21
+ Enabled: true
22
+
7
23
  Rails/AddColumnIndex:
8
24
  Enabled: true
9
25
 
@@ -52,6 +68,9 @@ Rails/FilePath:
52
68
  Rails/FindById:
53
69
  Enabled: true
54
70
 
71
+ Rails/FreezeTime:
72
+ Enabled: true
73
+
55
74
  Rails/HasManyOrHasOneDependent:
56
75
  Enabled: true
57
76
 
@@ -64,6 +83,9 @@ Rails/I18nLocaleAssignment:
64
83
  Rails/I18nLocaleTexts:
65
84
  Enabled: true
66
85
 
86
+ Rails/IgnoredColumnsAssignment:
87
+ Enabled: true
88
+
67
89
  Rails/Inquiry:
68
90
  Enabled: true
69
91
 
@@ -100,9 +122,15 @@ Rails/RenderInline:
100
122
  Rails/RenderPlainText:
101
123
  Enabled: true
102
124
 
125
+ Rails/ResponseParsedBody:
126
+ Enabled: true
127
+
103
128
  Rails/RootJoinChain:
104
129
  Enabled: true
105
130
 
131
+ Rails/RootPathnameMethods:
132
+ Enabled: true
133
+
106
134
  Rails/RootPublicPath:
107
135
  Enabled: true
108
136
 
@@ -115,6 +143,9 @@ Rails/SquishedSQLHeredocs:
115
143
  Rails/StripHeredoc:
116
144
  Enabled: true
117
145
 
146
+ Rails/ThreeStateBooleanColumn:
147
+ Enabled: true
148
+
118
149
  Rails/TimeZoneAssignment:
119
150
  Enabled: true
120
151
 
@@ -122,6 +153,12 @@ Rails/ToFormattedS:
122
153
  Enabled: true
123
154
  EnforcedStyle: to_formatted_s
124
155
 
156
+ Rails/TopLevelHashWithIndifferentAccess:
157
+ Enabled: true
158
+
159
+ Rails/ToSWithArgument:
160
+ Enabled: true
161
+
125
162
  Rails/TransactionExitStatement:
126
163
  Enabled: true
127
164
 
@@ -134,5 +171,11 @@ Rails/WhereEquals:
134
171
  Rails/WhereExists:
135
172
  Enabled: true
136
173
 
174
+ Rails/WhereMissing:
175
+ Enabled: true
176
+
137
177
  Rails/WhereNot:
138
178
  Enabled: true
179
+
180
+ Rails/WhereNotWithMultipleConditions:
181
+ Enabled: false
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'ruboconf-rails'
5
- spec.version = '1.10.0'
5
+ spec.version = '1.11.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.10.0'
26
- spec.add_dependency 'rubocop-rails', '~> 2.15.0'
25
+ spec.add_dependency 'ruboconf', '~> 1.11.0'
26
+ spec.add_dependency 'rubocop-rails', '~> 2.19'
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.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Böhme
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-23 00:00:00.000000000 Z
11
+ date: 2023-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruboconf
@@ -16,37 +16,39 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.10.0
19
+ version: 1.11.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.10.0
26
+ version: 1.11.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.15.0
33
+ version: '2.19'
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.15.0
41
- description:
40
+ version: '2.19'
41
+ description:
42
42
  email:
43
43
  - richard.boehme1999@gmail.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - ".tool-versions"
48
49
  - CODE_OF_CONDUCT.md
49
50
  - Gemfile
51
+ - Gemfile.lock
50
52
  - LICENSE.txt
51
53
  - README.md
52
54
  - Rakefile
@@ -62,7 +64,7 @@ metadata:
62
64
  homepage_uri: https://github.com/richardboehme/ruboconf-rails
63
65
  source_code_uri: https://github.com/richardboehme/ruboconf-rails
64
66
  rubygems_mfa_required: 'true'
65
- post_install_message:
67
+ post_install_message:
66
68
  rdoc_options: []
67
69
  require_paths:
68
70
  - lib
@@ -77,8 +79,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
79
  - !ruby/object:Gem::Version
78
80
  version: '0'
79
81
  requirements: []
80
- rubygems_version: 3.3.7
81
- signing_key:
82
+ rubygems_version: 3.4.10
83
+ signing_key:
82
84
  specification_version: 4
83
85
  summary: Opinionated RuboCop Rails configuration for personal projects.
84
86
  test_files: []