erb_lint 0.0.24 → 0.0.25
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/lib/erb_lint/linters/space_in_html_tag.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: 0e1b8cceb3cf2f8ce26f00e26d3afb41f77e4712
|
4
|
+
data.tar.gz: f93a0469e26dd724f75e9ad5d43b0447a280aa19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da97d904c02d413663e404653f4bc813bfa345cba6822b460332cb4850157c95dfe8c6443a81ff1ee6a406de12dc75d8eae3335591c74347f00e3951a4ddc6ea
|
7
|
+
data.tar.gz: b70ac728ed6f038bce0761bc24676d07960ff68662db7a39fff64fe903bc4bd7f92e7d13a84a01f668352532d6e42b6d78cdf08d787b384c74dcc8f2dad17eb2
|
@@ -94,7 +94,7 @@ module ERBLint
|
|
94
94
|
def process_attributes(processed_source, attributes)
|
95
95
|
attributes.children.each_with_index do |attribute, index|
|
96
96
|
name, equal, value = *attribute
|
97
|
-
no_space(processed_source, name.loc.end_pos...equal.loc.begin_pos) if equal
|
97
|
+
no_space(processed_source, name.loc.end_pos...equal.loc.begin_pos) if name && equal
|
98
98
|
no_space(processed_source, equal.loc.end_pos...value.loc.begin_pos) if equal && value
|
99
99
|
|
100
100
|
next if index >= attributes.children.size - 1
|
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.25
|
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-
|
11
|
+
date: 2018-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: better_html
|