rspec_junit 2.0.0 → 2.0.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: f8bab019f7ceef3db7a655d093b52f3b5d89a8c8
4
- data.tar.gz: 6f37c4d43b2400cd440e014a51c74c8b984b3616
3
+ metadata.gz: 214e6ae9e73eb1baf0856d302bb3f25b1475877e
4
+ data.tar.gz: 02f75a698528a9e0b6bb996cc0213f8a35e8abcb
5
5
  SHA512:
6
- metadata.gz: 4edfe85d24ee0e142a881166133f86336606a2d899b2256820e8d503132409a05d55dbf31abe7b07c7e0623024340f628b6bc48ef5ab88840084b8bd1e470914
7
- data.tar.gz: 45086b0c95485758c71141556d908eb4479e28a6dc94ac8603b58b01da6590c0e031f8512dfe737fe6091c05be28ec8e38b7ea584c71bc18565fdc2da439694a
6
+ metadata.gz: bd445ea540b375b650eaf96755041d1677b586b455f2e09c280dc310504f5f887d23b4a21afbfd952b30c94af1e1cc223d8a68bef757a2b4705548c3261f1dbb
7
+ data.tar.gz: 8b7535eba7d718caffe695e2c22c4988d70ec7a7e207cfc448ded0b3b0e702dbac8ee1e9a3c9afa889e6f79b5518e1e2f8b3437a8fb176e116e5a5d9269c7135
data/.travis.yml CHANGED
@@ -1,11 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.8.7
4
- - 1.9.3
5
- - 2.0.0
6
- - 2.1.2
7
- gemfile:
8
- - Gemfile
9
- branches:
10
- only:
11
- - master
3
+ - 2.2
4
+ - 2.1
5
+ - 2.0
6
+ notifications:
7
+ email:
8
+ on_success: never
9
+ on_failure: never
data/README.md CHANGED
@@ -1,8 +1,19 @@
1
- # yarjuf
1
+ # rspec_junit [![Gem Version](https://badge.fury.io/rb/rspec_junit.svg)](https://rubygems.org/gems/rspec_junit)[![Build Status](https://travis-ci.org/bootstraponline/rspec_junit.svg)](https://travis-ci.org/bootstraponline/rspec_junit)[![Dependency Status](https://gemnasium.com/bootstraponline/rspec_junit.svg)](https://gemnasium.com/bootstraponline/rspec_junit)
2
2
 
3
- _Yet Another RSpec JUnit Formatter_
3
+ A fork of [yarjuf](https://github.com/natritmeyer/yarjuf) containing additional features and bug fixes.
4
+ Another popular junit formatter is [rspec_junit_formatter](https://github.com/sj26/rspec_junit_formatter).
4
5
 
5
- [![Build Status](https://travis-ci.org/natritmeyer/yarjuf.png)](https://travis-ci.org/natritmeyer/yarjuf)
6
+ --
7
+
8
+ Changes from upstream:
9
+
10
+ - [Record location information](https://github.com/natritmeyer/yarjuf/pull/18) for per file performance measurement
11
+
12
+ Usage:
13
+
14
+ - `require 'yarjuf'`
15
+
16
+ --
6
17
 
7
18
  ## Intro
8
19
 
@@ -103,3 +114,8 @@ one I originally came up with
103
114
  * Thanks to [@dchamb84](https://github.com/dchamb84) for helping me debug the original hack
104
115
  * Thanks to [@nathanbain](https://github.com/nathanbain) for spurring me on to write the original hack
105
116
 
117
+ --
118
+
119
+ Design Notes
120
+
121
+ The gem [isn't compliant](http://www.freeformatter.com/xml-validator-xsd.html) with the [junit-4.xsd](https://svn.jenkins-ci.org/trunk/hudson/dtkit/dtkit-format/dtkit-junit-model/src/main/resources/com/thalesgroup/dtkit/junit/model/xsd/junit-4.xsd). Additional properties are added that aren't in the junit xsd.
@@ -34,6 +34,6 @@ end
34
34
 
35
35
  Then /^the junit output testsuite element contains a timestamp$/ do
36
36
  step 'I parse the junit results file'
37
- expect(@results.at_xpath("/testsuites/@timestamp").value).to match /\d{4}-\d{2}-\d{2}T\d+:\d+:\d+\+\d+:\d+/
37
+ expect(@results.at_xpath("/testsuites/@timestamp").value).to match /\d{4}-\d{2}-\d{2}T\d+:\d+:\d+(\+|\-)\d+:\d+/
38
38
  end
39
39
 
@@ -1,3 +1,3 @@
1
1
  module Yarjuf
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
data/rspec_junit.gemspec CHANGED
@@ -18,8 +18,8 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ['lib']
20
20
 
21
- gem.add_runtime_dependency('rspec', '~> 3')
22
- gem.add_runtime_dependency('builder')
21
+ gem.add_runtime_dependency('rspec', '>= 3.2.0')
22
+ gem.add_runtime_dependency('builder', '>= 3.2.2')
23
23
 
24
24
  gem.add_development_dependency('nokogiri', '~> 1.5.10') # for Ruby 1.8.7
25
25
  gem.add_development_dependency('rake', '~> 10.3.2')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_junit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nat Ritmeyer
@@ -9,36 +9,36 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-14 00:00:00.000000000 Z
12
+ date: 2015-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '3'
20
+ version: 3.2.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '3'
27
+ version: 3.2.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: builder
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: 3.2.2
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: 3.2.2
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: nokogiri
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  version: '0'
187
187
  requirements: []
188
188
  rubyforge_project:
189
- rubygems_version: 2.4.3
189
+ rubygems_version: 2.4.6
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: Yet Another RSpec JUnit Formatter (for Hudson/Jenkins)
@@ -202,3 +202,4 @@ test_files:
202
202
  - features/support/env.rb
203
203
  - spec/formatter_conformity_spec.rb
204
204
  - spec/spec_helper.rb
205
+ has_rdoc: