rubocop-rails_config 1.12.1 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +0 -2
  4. data/config/rails.yml +17 -0
  5. 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: da7f32d065f1d25549eaa4ac3b186306c8f88fe9e86fdba844551dd5b949f423
4
+ data.tar.gz: e9ac58b8f95f08aa545b14d013794683babd33bc3974e19411e6433d902b6a1a
5
5
  SHA512:
6
- metadata.gz: faf391541032b3d210b1624defb15026e7f2bf76ca94e6faec7f09c08d07a546afdc7ff9371d0c4cc88af0c134ccc62da916367f73f08c51d17576760b5b0fcf
7
- data.tar.gz: 455849941e3ee91d16e52c9fbdda4baa1d77fd365cb0153a5390effe538547b88bf175c9f828cc32762e83288ebdf3099200c36be43e07adfabd2cb26a5fdc0e
6
+ metadata.gz: 012a87a80a441d6fabdb7bfbfce7452318cece8b77ec749fcccabc4af3e248f1834b49ab6af33be87c578c997287a7686c01d5ac49fd219e070042872c1d39a5
7
+ data.tar.gz: 20b36de08151a94320b19d8afeaf5a9f6f805d8bc2b28b8dcca6b3d7c0030259b8e4816ea08cecde1191d10f76a34f6eebf34273732d24c0d9f2238f1df392c9
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2018-2022 Toshimaru
3
+ Copyright (c) 2018-2023 Toshimaru
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
data/README.md CHANGED
@@ -35,8 +35,6 @@ $ rails generate rubocop_rails_config:install
35
35
 
36
36
  ### TargetRubyVersion
37
37
 
38
- Although Rails 7 (edge) only supports Ruby 2.7 or more, rubocop-rails_config still supports Ruby 2.6 or more to support as many Ruby versions as possible.
39
-
40
38
  If you'd like to change `TargetRubyVersion`, see [Customization](#customization).
41
39
 
42
40
  ### Rails/AssertNot, Rails/RefuteMethods
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.14.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-09-04 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.17
144
158
  signing_key:
145
159
  specification_version: 4
146
160
  summary: RuboCop configuration which has the same code style checking as official