scss_lint_reporter_checkstyle 0.1.0 → 0.2.0

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: 5fafb6a11bb9fa6efffdc595a753937ca0236a97
4
- data.tar.gz: 505f47fff88f001185d16cd9058c187cfdbba5d1
3
+ metadata.gz: ece5ae8fa8cb15d7f00bd87b7dc06341fc9f4378
4
+ data.tar.gz: 999269d6416b78189d8f663d9ad67b8d815cbb70
5
5
  SHA512:
6
- metadata.gz: dc9b2284d6b779719abd381c429e4fa465772097c31af259731f7e816e9320a7ea317d6e562b52744538a342b12b1b9799fd738d641fb620ed7c5a10611407e2
7
- data.tar.gz: 6dc20780e9214079040f0591d3eb999acaa5b2d3c42d255974a55a492aa1d73ac6a616c12dde9aaecd9b628054a453bca9beec2d6b33e98a0129141313928d47
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
- output << " <file name=#{file_name.encode(xml: :attr)}>\n"
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.1.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-02-27 00:00:00.000000000 Z
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.