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.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +9 -7
  3. data/lib/ruumba/correctors.rb +1 -1
  4. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: be806019ab1e49249c6c93f96fc6c3b0cc64133e
4
- data.tar.gz: 23f5f794ec43878ffa895fca296c3635c765affc
2
+ SHA256:
3
+ metadata.gz: 7f6f6be7a0cecd225ca69d26a047c30ae09caf5510dc133564f224f1f6251749
4
+ data.tar.gz: bd945f742a035fe51614d21ea1780a87c5b9338be18789083772ef12f4b201ce
5
5
  SHA512:
6
- metadata.gz: 98d98ef80a4604c9c4eeb61fc2e950ec029b6cc54f36af699f9051cb6c526bc20f6d6d6ee78e2946db3a358a30552c9928064445399584bf84d468136838958a
7
- data.tar.gz: 1029541aa945f8611b1b8da61d7a4f9c53ccab0a6dc7b550e0de31ae4f24dce9f067a0c723ce341ebba77369ffd2e143bcbe1ac323b36fd1a938d92f3d1efbb4
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 paths and unapplicable cops
47
+ ## Fix Paths and Non-Applicable Cops
48
48
 
49
- By default, Rubocop only scan `.rb` files and so does Ruumba. If you want shown
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 form `.erb` files contents, some formatting cops
66
- cannot apply, you can disable them in your Ruumba file:
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 rubocop config file by appending this in
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 integrations
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`)
@@ -33,7 +33,7 @@ module Ruumba
33
33
  [stdout, stderr].each do |output|
34
34
  next if output.nil? || output.empty?
35
35
 
36
- matches = output.scan(/\A(.*^====================)?$(.*)\z/m)
36
+ matches = output.scan(/\A(.*====================)?$(.*)\z/m)
37
37
 
38
38
  next if matches.empty?
39
39
 
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.12
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-08-30 00:00:00.000000000 Z
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
- rubyforge_project:
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