haml_lint 0.17.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/haml_lint/reporter/checkstyle_reporter.rb +2 -1
- data/lib/haml_lint/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 398ba6aea803c2ccd2cb94f71cc64b376b349d0a
|
4
|
+
data.tar.gz: a9718d142545be1f4b1dbb74cba9e4e6c8b68a02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d7d1a80c77be94d7caf19ae80035aca983571d57e5c74b7b6e127cb51ed7b3c0fdbff7406a3d71e052501d9a717cf338250af87041205e9f6c8ff865f09ad18
|
7
|
+
data.tar.gz: 55aaaad3b2112e3e94e1ca24f955b851168a47b556bae2f3398d3ce24ca8cb825350e5795189966ddb656a801252a2adc56019dbf38ab6934665b198761a8738
|
@@ -25,7 +25,8 @@ module HamlLint
|
|
25
25
|
xml = ''
|
26
26
|
offenses.each do |offense|
|
27
27
|
xml << "<error line=\"#{offense.line}\" severity=\"#{offense.severity}\" "
|
28
|
-
xml << "message=\"#{
|
28
|
+
xml << "message=\"#{CGI.escapeHTML offense.message}\" "
|
29
|
+
xml << "source=\"#{offense.linter.name}\" />"
|
29
30
|
end
|
30
31
|
xml
|
31
32
|
end
|
data/lib/haml_lint/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haml_lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brigade Engineering
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-04-
|
12
|
+
date: 2016-04-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: haml
|
@@ -170,4 +170,3 @@ signing_key:
|
|
170
170
|
specification_version: 4
|
171
171
|
summary: HAML lint tool
|
172
172
|
test_files: []
|
173
|
-
has_rdoc:
|