rubocop-cargosense 5.2.0 → 6.1.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 +4 -4
- data/README.md +2 -9
- data/config/rubocop-rspec_rails.yml +4 -0
- data/config/rubocop-style.yml +6 -0
- data/lib/rubocop/cargosense.rb +1 -1
- metadata +6 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eff854a81cbcc32fbc07addd215d70673e4111a9c31e09d11d9bc16e56fcb2ec
|
4
|
+
data.tar.gz: bc56197bfa4cd8017e5342ec49d204d8e7575755da30e400895aaeaf2176ee2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5e224f9b19c2914c9de0ea95b88154690fd9bfeac5dd7d960abb5f7cd0d52d2c3e3e50b4d761f36ec93da5e2a1f0b1d9337bda5c20a7674f5660db5249506fc
|
7
|
+
data.tar.gz: f158d163092c2254ca800b202e2e1d44726b258154dff42da38fdc6511e733d33e2d985f1664cf9d9a7e956694edd8b496011ccebf858ebce99c8a4f396ec0fa
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
[](https://rubygems.org/gems/rubocop-cargosense)
|
6
6
|
[](https://rubygems.org/gems/rubocop-cargosense)
|
7
|
-
[](https://github.com/CargoSense/rubocop-cargosense/actions/workflows/ci.yml)
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
@@ -19,18 +19,12 @@ gem "rubocop-cargosense", require: false
|
|
19
19
|
Include rubocop-cargosense in your project's `.rubocop.yml` using [RuboCop's `plugins` directive](https://docs.rubocop.org/rubocop/extensions.html#loading-extensions):
|
20
20
|
|
21
21
|
```yaml
|
22
|
-
|
23
|
-
plugins:
|
24
|
-
- rubocop-cargosense
|
22
|
+
plugins: rubocop-cargosense
|
25
23
|
```
|
26
24
|
|
27
|
-
> [!TIP]
|
28
|
-
> If rubocop-cargosense is your project's only RuboCop extension, you can simplify the above directive: `plugins: rubocop-cargosense`
|
29
|
-
|
30
25
|
Or, inherit rubocop-cargosense's default configuration using [RuboCop's `inherit_gem` directive](https://docs.rubocop.org/rubocop/configuration.html#inheriting-configuration-from-a-dependency-gem):
|
31
26
|
|
32
27
|
```yaml
|
33
|
-
# .rubocop.yml
|
34
28
|
inherit_gem:
|
35
29
|
rubocop-cargosense: config/default.yml
|
36
30
|
```
|
@@ -38,7 +32,6 @@ inherit_gem:
|
|
38
32
|
You may also inherit individual configuration files from rubocop-cargosense:
|
39
33
|
|
40
34
|
```yaml
|
41
|
-
# .rubocop.yml
|
42
35
|
inherit_gem:
|
43
36
|
rubocop-cargosense:
|
44
37
|
- config/rubocop-layout.yml
|
data/config/rubocop-style.yml
CHANGED
@@ -57,6 +57,12 @@ Style/StringMethods:
|
|
57
57
|
Style/SymbolArray:
|
58
58
|
EnforcedStyle: brackets
|
59
59
|
|
60
|
+
Style/TrailingCommaInArrayLiteral:
|
61
|
+
EnforcedStyleForMultiline: diff_comma
|
62
|
+
|
63
|
+
Style/TrailingCommaInHashLiteral:
|
64
|
+
EnforcedStyleForMultiline: diff_comma
|
65
|
+
|
60
66
|
Style/WordArray:
|
61
67
|
EnforcedStyle: brackets
|
62
68
|
|
data/lib/rubocop/cargosense.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-cargosense
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CargoSense
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: lint_roller
|
@@ -30,20 +29,14 @@ dependencies:
|
|
30
29
|
requirements:
|
31
30
|
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
34
|
-
- - ">="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 1.72.2
|
32
|
+
version: '1.73'
|
37
33
|
type: :runtime
|
38
34
|
prerelease: false
|
39
35
|
version_requirements: !ruby/object:Gem::Requirement
|
40
36
|
requirements:
|
41
37
|
- - "~>"
|
42
38
|
- !ruby/object:Gem::Version
|
43
|
-
version: '1.
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 1.72.2
|
39
|
+
version: '1.73'
|
47
40
|
- !ruby/object:Gem::Dependency
|
48
41
|
name: rubocop-capybara
|
49
42
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,8 +175,7 @@ metadata:
|
|
182
175
|
changelog_uri: https://github.com/CargoSense/rubocop-cargosense/releases
|
183
176
|
default_lint_roller_plugin: RuboCop::CargoSense::Plugin
|
184
177
|
rubygems_mfa_required: 'true'
|
185
|
-
source_code_uri: https://github.com/CargoSense/rubocop-cargosense/tree/
|
186
|
-
post_install_message:
|
178
|
+
source_code_uri: https://github.com/CargoSense/rubocop-cargosense/tree/v6.1.0
|
187
179
|
rdoc_options: []
|
188
180
|
require_paths:
|
189
181
|
- lib
|
@@ -198,8 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
190
|
- !ruby/object:Gem::Version
|
199
191
|
version: '0'
|
200
192
|
requirements: []
|
201
|
-
rubygems_version: 3.
|
202
|
-
signing_key:
|
193
|
+
rubygems_version: 3.6.9
|
203
194
|
specification_version: 4
|
204
195
|
summary: Reusable RuboCop configuration for CargoSense's Ruby projects.
|
205
196
|
test_files: []
|