rubocop-rails_config 1.12.1 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/config/rails.yml +17 -0
  3. metadata +30 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6398484e2ba51611727e3c31f0ab7c984915db0fc4f90ca2b378b72bc81db3f7
4
- data.tar.gz: bc20e6948165a7891ce8e2f861c01d5023735bcd0367643cccc869ff6c25060c
3
+ metadata.gz: 6429fe4baed996c3b1b657f8ed75953258f2b9c53884baf2e72b0860dee8923c
4
+ data.tar.gz: 7504fdbc239cf2ad34da09705efc22da60ed47452d5e0739ec50609d025d2a9d
5
5
  SHA512:
6
- metadata.gz: faf391541032b3d210b1624defb15026e7f2bf76ca94e6faec7f09c08d07a546afdc7ff9371d0c4cc88af0c134ccc62da916367f73f08c51d17576760b5b0fcf
7
- data.tar.gz: 455849941e3ee91d16e52c9fbdda4baa1d77fd365cb0153a5390effe538547b88bf175c9f828cc32762e83288ebdf3099200c36be43e07adfabd2cb26a5fdc0e
6
+ metadata.gz: 1dfdb851dcebecdc044fc60e021d7022eecf5651738bcb663c9d04a881b0bb222aaf76b14fed8cf251a6201142b0e9f5c2e464df78c97b50fec5e032027ea4b3
7
+ data.tar.gz: a0d8e80da402f4e82d6dd10eebc5bee4c91c8d571b0e0983a6738f027fd2919f30e71bafff787b6dc6f6a3d32fac75253a48563706e177bef1a30f0a3cad9b3b
data/config/rails.yml CHANGED
@@ -3,6 +3,7 @@ require:
3
3
  - rubocop-packaging
4
4
  - rubocop-performance
5
5
  - rubocop-rails
6
+ - rubocop-md
6
7
 
7
8
  AllCops:
8
9
  # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
@@ -15,8 +16,15 @@ AllCops:
15
16
  - '**/vendor/**/*'
16
17
  - 'actionpack/lib/action_dispatch/journey/parser.rb'
17
18
  - 'actionmailbox/test/dummy/**/*'
19
+ - 'activestorage/test/dummy/**/*'
18
20
  - 'actiontext/test/dummy/**/*'
19
21
  - '**/node_modules/**/*'
22
+ - '**/CHANGELOG.md'
23
+ - '**/2_*_release_notes.md'
24
+ - '**/3_*_release_notes.md'
25
+ - '**/4_*_release_notes.md'
26
+ - '**/5_*_release_notes.md'
27
+ - '**/6_*_release_notes.md'
20
28
  # Additional exclude files by rubocop-rails_config
21
29
  - 'bin/**/*'
22
30
  - 'db/schema.rb'
@@ -103,6 +111,8 @@ Style/HashSyntax:
103
111
  Layout/IndentationConsistency:
104
112
  Enabled: true
105
113
  EnforcedStyle: indented_internal_methods
114
+ Exclude:
115
+ - '**/*.md'
106
116
 
107
117
  # Two spaces, no tabs (for indentation).
108
118
  Layout/IndentationWidth:
@@ -160,6 +170,7 @@ Style/FrozenStringLiteralComment:
160
170
  - 'activestorage/db/update_migrate/**/*.rb'
161
171
  - 'actionmailbox/db/migrate/**/*.rb'
162
172
  - 'actiontext/db/migrate/**/*.rb'
173
+ - '**/*.md'
163
174
 
164
175
  Style/MapToHash:
165
176
  Enabled: true
@@ -345,3 +356,9 @@ Minitest/SkipEnsure:
345
356
 
346
357
  Minitest/UnreachableAssertion:
347
358
  Enabled: true
359
+
360
+ Markdown:
361
+ # Whether to run RuboCop against non-valid snippets
362
+ WarnInvalid: false
363
+ # Whether to lint codeblocks without code attributes
364
+ Autodetect: false
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.12.1
4
+ version: 1.13.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: 2023-01-14 00:00:00.000000000 Z
12
+ date: 2023-05-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -17,28 +17,42 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 1.39.0
20
+ version: 1.48.0
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.39.0
27
+ version: 1.48.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rubocop-ast
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 1.0.1
34
+ version: 1.26.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 1.0.1
41
+ version: 1.26.0
42
+ - !ruby/object:Gem::Dependency
43
+ name: rubocop-md
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: rubocop-minitest
44
58
  requirement: !ruby/object:Gem::Requirement
@@ -54,47 +68,47 @@ dependencies:
54
68
  - !ruby/object:Gem::Version
55
69
  version: '0.22'
56
70
  - !ruby/object:Gem::Dependency
57
- name: rubocop-performance
71
+ name: rubocop-packaging
58
72
  requirement: !ruby/object:Gem::Requirement
59
73
  requirements:
60
74
  - - "~>"
61
75
  - !ruby/object:Gem::Version
62
- version: '1.11'
76
+ version: '0.5'
63
77
  type: :runtime
64
78
  prerelease: false
65
79
  version_requirements: !ruby/object:Gem::Requirement
66
80
  requirements:
67
81
  - - "~>"
68
82
  - !ruby/object:Gem::Version
69
- version: '1.11'
83
+ version: '0.5'
70
84
  - !ruby/object:Gem::Dependency
71
- name: rubocop-rails
85
+ name: rubocop-performance
72
86
  requirement: !ruby/object:Gem::Requirement
73
87
  requirements:
74
88
  - - "~>"
75
89
  - !ruby/object:Gem::Version
76
- version: '2.0'
90
+ version: '1.11'
77
91
  type: :runtime
78
92
  prerelease: false
79
93
  version_requirements: !ruby/object:Gem::Requirement
80
94
  requirements:
81
95
  - - "~>"
82
96
  - !ruby/object:Gem::Version
83
- version: '2.0'
97
+ version: '1.11'
84
98
  - !ruby/object:Gem::Dependency
85
- name: rubocop-packaging
99
+ name: rubocop-rails
86
100
  requirement: !ruby/object:Gem::Requirement
87
101
  requirements:
88
102
  - - "~>"
89
103
  - !ruby/object:Gem::Version
90
- version: '0.5'
104
+ version: '2.0'
91
105
  type: :runtime
92
106
  prerelease: false
93
107
  version_requirements: !ruby/object:Gem::Requirement
94
108
  requirements:
95
109
  - - "~>"
96
110
  - !ruby/object:Gem::Version
97
- version: '0.5'
111
+ version: '2.0'
98
112
  - !ruby/object:Gem::Dependency
99
113
  name: railties
100
114
  requirement: !ruby/object:Gem::Requirement
@@ -140,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
154
  - !ruby/object:Gem::Version
141
155
  version: '0'
142
156
  requirements: []
143
- rubygems_version: 3.3.26
157
+ rubygems_version: 3.4.10
144
158
  signing_key:
145
159
  specification_version: 4
146
160
  summary: RuboCop configuration which has the same code style checking as official