vehiculum-codestyle 0.0.1 → 0.0.4
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 +13 -2
- data/lib/vehiculum/codestyle/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 014ea872f70989c8acec0dd500c03141b7cb55fd7ad8ed0b7a57ec6bb2b6beb5
|
4
|
+
data.tar.gz: 7e8169195d7712171e836ffd57385ae1e374bcc43053a14bf1bf009115e1184a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf0e795ed6a83cad93931c354e18aca420ba4f570bf41932cd347a4347005219089270244ab2f841a9c78a33b928a6fd86791c3705734237f96155a5a73c81f4
|
7
|
+
data.tar.gz: d7aca122b2d3dee801d7fc4444464907af298612e0b47d4c23a2e4386db3082e97b79023c6c32b332b56dd05ed4490def735f9775d05df1ee93a4c8c657a87a1
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Add this line to your application's Gemfile:
|
|
7
7
|
|
8
8
|
```
|
9
9
|
group :test, :development do
|
10
|
-
gem '
|
10
|
+
gem 'vehiculum-codestyle'
|
11
11
|
end
|
12
12
|
```
|
13
13
|
|
@@ -16,15 +16,26 @@ You do not need to include RuboCop directly in your application's dependencies.
|
|
16
16
|
Usage
|
17
17
|
Create a .rubocop.yml with the following directives:
|
18
18
|
|
19
|
+
```
|
19
20
|
inherit_gem:
|
20
21
|
vehiculum-codestyle:
|
21
22
|
- default.yml
|
23
|
+
```
|
24
|
+
|
22
25
|
Now, run:
|
23
26
|
|
27
|
+
```
|
24
28
|
$ bundle exec rubocop
|
29
|
+
```
|
30
|
+
|
25
31
|
You can also automatically generate a .rubocop_todo.yml file to temporarily ignore failing cops until the offenses are removed from your code base. Run:
|
26
32
|
|
33
|
+
```
|
27
34
|
$ bundle exec rubocop --auto-gen-config
|
35
|
+
```
|
36
|
+
|
28
37
|
And add this to .rubocop.yml below the previous block:
|
29
38
|
|
30
|
-
|
39
|
+
```
|
40
|
+
inherit_from: .rubocop_todo.yml
|
41
|
+
```
|