rubocop-junit-formatter 0.1.0 → 0.1.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: 05f7a33b11ad3b436850ecd5f6df97a20b7bae05
4
- data.tar.gz: 0b76cde2b2acf6375a62131f5735079ba1cde151
3
+ metadata.gz: 2f46ce11741763314e5103f1285b5a0d6ac32f33
4
+ data.tar.gz: 276fa6928e20d708ff6aecf87707d74a3845b37b
5
5
  SHA512:
6
- metadata.gz: c1a49af759fa24713d92dca6cf1d55394abfb2a6c59277f73f8f33bb88c4dd41a0aa9206b2fbb74ae22b89a1262b3bf4d7777a3f3f84ea7cf0dff0f0ea045c5c
7
- data.tar.gz: a49d091a7b6c1ab5be1d385cc92811ce9d243c4f9d0ecbb85a7e9b57042f8f837161cae0a90c83b0c7beb89c38965e23985e6af26abcc6c963c38fce025b395e
6
+ metadata.gz: 5b0b119566ef356ee8f8e63f82c0df2512db0cd5ef60a12ca38d455a97e1a36bf983de82ff1856b20745d631addb24c2296d7bfd181c33a9e93adcd220fd1bed
7
+ data.tar.gz: 0a25b6bd5e5396ca481e6a004dfd5b2494412a0f843a5a31505a2c70e8bded8742f0c31044c280d19aade00d365b8c56718199ccc7df5fc9e7cf5a769a20900e
@@ -17,9 +17,8 @@ module RuboCop
17
17
  return if offences.empty?
18
18
 
19
19
  offences.group_by(&:cop_name).each do |cop, cop_offences|
20
- # require 'pry';binding.pry
21
20
  REXML::Element.new('testcase', @testsuite).tap do |f|
22
- f.attributes['classname'] = file.gsub("#{Dir.pwd}/", '').gsub('/', '.')
21
+ f.attributes['classname'] = file.gsub(/\.rb\Z/, '').gsub("#{Dir.pwd}/", '').gsub('/', '.')
23
22
  f.attributes['name'] = cop
24
23
 
25
24
  cop_offences.each do |offence|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "rubocop-junit-formatter"
7
- spec.version = '0.1.0'
7
+ spec.version = '0.1.1'
8
8
  spec.authors = ["Mikko Kokkonen"]
9
9
  spec.email = ["mikko@owlforestry.com"]
10
10
  spec.summary = %q{Outputs RuboCop Offences as JUnit report}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-junit-formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikko Kokkonen