haml_lint 0.17.0 → 0.17.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d93f7cd6e9bb819c5aa1489a1a50038b94eabfcf
4
- data.tar.gz: 6322de21af3c48dca8a814ecf792e7ee253189c8
3
+ metadata.gz: 398ba6aea803c2ccd2cb94f71cc64b376b349d0a
4
+ data.tar.gz: a9718d142545be1f4b1dbb74cba9e4e6c8b68a02
5
5
  SHA512:
6
- metadata.gz: 13705eeece8458ac110e747ed57f7ffcc10797452e89058b99d769bc573d5b06642c1fdaa38ecc54927570beadb597e31815409ad531fc34eab59594db4ac3b3
7
- data.tar.gz: ac318973597c7ae52e6b0cbc80896588ec30c891edb0250f7920e82600b42542f126df175fb412e94a2be4fa7628fc985342ce27716472240d0cb85b5916ee3c
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=\"#{offense.message}\" source=\"#{offense.linter.name}\" />"
28
+ xml << "message=\"#{CGI.escapeHTML offense.message}\" "
29
+ xml << "source=\"#{offense.linter.name}\" />"
29
30
  end
30
31
  xml
31
32
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the gem version.
4
4
  module HamlLint
5
- VERSION = '0.17.0'.freeze
5
+ VERSION = '0.17.1'.freeze
6
6
  end
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.0
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-06 00:00:00.000000000 Z
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: