rubocop-cargosense 6.0.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 +1 -8
- data/config/rubocop-rspec_rails.yml +4 -0
- data/lib/rubocop/cargosense.rb +1 -1
- metadata +3 -3
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
@@ -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/lib/rubocop/cargosense.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-cargosense
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CargoSense
|
@@ -175,7 +175,7 @@ metadata:
|
|
175
175
|
changelog_uri: https://github.com/CargoSense/rubocop-cargosense/releases
|
176
176
|
default_lint_roller_plugin: RuboCop::CargoSense::Plugin
|
177
177
|
rubygems_mfa_required: 'true'
|
178
|
-
source_code_uri: https://github.com/CargoSense/rubocop-cargosense/tree/v6.
|
178
|
+
source_code_uri: https://github.com/CargoSense/rubocop-cargosense/tree/v6.1.0
|
179
179
|
rdoc_options: []
|
180
180
|
require_paths:
|
181
181
|
- lib
|
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
190
|
- !ruby/object:Gem::Version
|
191
191
|
version: '0'
|
192
192
|
requirements: []
|
193
|
-
rubygems_version: 3.6.
|
193
|
+
rubygems_version: 3.6.9
|
194
194
|
specification_version: 4
|
195
195
|
summary: Reusable RuboCop configuration for CargoSense's Ruby projects.
|
196
196
|
test_files: []
|