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 +4 -4
- data/.travis.yml +7 -9
- data/README.md +19 -3
- data/features/step_definitions/suite_level_details_steps.rb +1 -1
- data/lib/yarjuf/version.rb +1 -1
- data/rspec_junit.gemspec +2 -2
- metadata +10 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 214e6ae9e73eb1baf0856d302bb3f25b1475877e
|
|
4
|
+
data.tar.gz: 02f75a698528a9e0b6bb996cc0213f8a35e8abcb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd445ea540b375b650eaf96755041d1677b586b455f2e09c280dc310504f5f887d23b4a21afbfd952b30c94af1e1cc223d8a68bef757a2b4705548c3261f1dbb
|
|
7
|
+
data.tar.gz: 8b7535eba7d718caffe695e2c22c4988d70ec7a7e207cfc448ded0b3b0e702dbac8ee1e9a3c9afa889e6f79b5518e1e2f8b3437a8fb176e116e5a5d9269c7135
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# rspec_junit [](https://rubygems.org/gems/rspec_junit)[](https://travis-ci.org/bootstraponline/rspec_junit)[](https://gemnasium.com/bootstraponline/rspec_junit)
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
data/lib/yarjuf/version.rb
CHANGED
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', '
|
|
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.
|
|
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-
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|
|
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:
|