erb_lint 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/erb_lint/linters/rubocop.rb +1 -1
- data/lib/erb_lint/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8bb5f9219e2d504a084421d56ba91c306804f49
|
4
|
+
data.tar.gz: 2411ccd8f012fedba69d4ff4878308c27d95a2a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72f415558746d79920bc60abf8cf294a3e6d05bd562143ecef97a1b9f096ebbcb5d0797a1cd601fee72c20508711ae41d55eca91b1dd717d2faeb023cb4df04e
|
7
|
+
data.tar.gz: 1e03d1221dcfa1c04379427f7fdccc7b9ac29c7b192ff7089a2fb3c3b437179fc6da214931665e43cf99fd0b8c5020257332be63d7a445a78587141ef9ae173e
|
@@ -77,7 +77,7 @@ module ERBLint
|
|
77
77
|
team = build_team
|
78
78
|
team.inspect_file(source)
|
79
79
|
team.cops.each do |cop|
|
80
|
-
cop.offenses.
|
80
|
+
cop.offenses.select(&:corrected?).each_with_index do |rubocop_offense, index|
|
81
81
|
correction = cop.corrections[index] if rubocop_offense.corrected?
|
82
82
|
|
83
83
|
offset = code_node.loc.start - alignment_column
|
data/lib/erb_lint/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erb_lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Chan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: better_html
|