ruumba 0.1.12 → 0.1.13
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 +5 -5
- data/README.md +9 -7
- data/lib/ruumba/correctors.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7f6f6be7a0cecd225ca69d26a047c30ae09caf5510dc133564f224f1f6251749
|
4
|
+
data.tar.gz: bd945f742a035fe51614d21ea1780a87c5b9338be18789083772ef12f4b201ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a147c1b22624f9e9e4f91d6caac0ec3348eac4cf2249856c37a53a7af0bd87e1e8c4714494b64a43bcea893a010500d8d05e17b90fe4de9aa1417f10526f0906
|
7
|
+
data.tar.gz: 63ecf95d93c1cffee87ba859541719af49fcfd75946395093bbbd1c59f1b0f1384ce41509b2800aa441e96677a92c2df68d6dda0ab5c22e383009a966d7b8a32
|
data/README.md
CHANGED
@@ -44,9 +44,9 @@ Then:
|
|
44
44
|
λ bundle exec rake ruumba
|
45
45
|
```
|
46
46
|
|
47
|
-
## Fix
|
47
|
+
## Fix Paths and Non-Applicable Cops
|
48
48
|
|
49
|
-
By default,
|
49
|
+
By default, RuboCop only scans `.rb` files and so does Ruumba. If you want shown
|
50
50
|
paths to reflect original paths, you can add create a `.ruumba.yml` config file
|
51
51
|
with the following contents:
|
52
52
|
|
@@ -56,14 +56,14 @@ AllCops:
|
|
56
56
|
- '**/*.erb'
|
57
57
|
```
|
58
58
|
|
59
|
-
You can then disable `.rb` extension auto-append and use your config file:
|
59
|
+
You can then disable the `.rb` extension auto-append and use your config file:
|
60
60
|
|
61
61
|
```bash
|
62
62
|
λ ruumba -D -e app/views -c .ruumba.yml
|
63
63
|
```
|
64
64
|
|
65
|
-
Since Ruumba rewrites new files
|
66
|
-
cannot apply
|
65
|
+
Since Ruumba rewrites new files from `.erb` files contents, some formatting cops
|
66
|
+
cannot apply. You can disable them in your Ruumba config file:
|
67
67
|
|
68
68
|
```yaml
|
69
69
|
Style/FrozenStringLiteralComment:
|
@@ -81,16 +81,18 @@ Layout/TrailingBlankLines:
|
|
81
81
|
You can use `ruumba -a` or `ruumba -D` to look for other cops if this list is
|
82
82
|
missing some.
|
83
83
|
|
84
|
-
You might want to include your existing
|
84
|
+
You might want to include your existing RuboCop config file by appending this in
|
85
85
|
front of your Ruumba config:
|
86
86
|
|
87
87
|
```yaml
|
88
88
|
inherit_from: .rubocop.yml
|
89
89
|
```
|
90
90
|
|
91
|
-
### Editor
|
91
|
+
### Editor Integrations
|
92
92
|
|
93
93
|
* [Atom plugin](https://atom.io/packages/linter-ruumba)
|
94
|
+
* [Vim plugin](https://github.com/dense-analysis/ale)
|
95
|
+
* [Emacs package](https://github.com/flycheck/flycheck)
|
94
96
|
|
95
97
|
## Contributing
|
96
98
|
1. Branch (`git checkout -b fancy-new-feature`)
|
data/lib/ruumba/correctors.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruumba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Weinstein
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2019-
|
14
|
+
date: 2019-09-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rubocop
|
@@ -63,8 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
|
-
|
67
|
-
rubygems_version: 2.6.14.3
|
66
|
+
rubygems_version: 3.0.6
|
68
67
|
signing_key:
|
69
68
|
specification_version: 4
|
70
69
|
summary: Allows users to lint Ruby code in ERB templates the same way they lint source
|