scss_lint_reporter_checkstyle 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scss_lint_reporter_checkstyle.rb +2 -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: ece5ae8fa8cb15d7f00bd87b7dc06341fc9f4378
|
4
|
+
data.tar.gz: 999269d6416b78189d8f663d9ad67b8d815cbb70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 396829ba7ad86373f76dce909a165858264b0bf33f3932ee0b5e0be1f33f97567b9fe23504bde4e7f688f5c03aa61ec4fb9352d8f5d47f63a4d21337a2f66ef7
|
7
|
+
data.tar.gz: 65d3bdb1876f6a0562ffde276a1880702042b9c0ac4c5b22a003eabd56ec3880de2e18967be544d7c4bde4c914adc9c0bd9644a092d3c8f4c0a108e900dca166
|
@@ -5,7 +5,8 @@ module SCSSLint
|
|
5
5
|
|
6
6
|
output << "<checkstyle version=\"1.5.6\">\n"
|
7
7
|
lints.group_by(&:filename).each do |file_name, errors|
|
8
|
-
|
8
|
+
file_name_absolute = File.expand_path file_name
|
9
|
+
output << " <file name=#{file_name_absolute.encode(xml: :attr)}>\n"
|
9
10
|
|
10
11
|
errors.each do |error|
|
11
12
|
output << " <error source=\"#{error.linter.name if error.linter}\" " \
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scss_lint_reporter_checkstyle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andor Dávid
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This gem add a new formatter to the scss-lint which is compatible with
|
14
14
|
the Checkstyle standard.
|