rspec_junit_formatter 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # RSpec JUnit Formatter
2
2
 
3
- [RSpec][rspec] results that [Hudson][hudson] can read. Probably a few other CI servers, too.
3
+ [RSpec][rspec] results that [Jenkins][jenkins] can read. Probably a few other CI servers, too.
4
4
 
5
5
  Inspired by the work of [Diego Souza][dsouza] on [RSpec Formatters][dsouza/rspec_formatters] after frustration with [CI Reporter][ci_reporter].
6
6
 
@@ -12,17 +12,17 @@ Install the gem:
12
12
 
13
13
  Use it:
14
14
 
15
- rspec --format RspecJunitFormatter --out rspec.xml
15
+ rspec --format RspecJunitFormatter --out rspec.xml
16
16
 
17
17
  You'll get an XML file with your results in it.
18
18
 
19
19
  ## More Permanent Usage
20
20
 
21
- Add it to your Gemfile if you're using [Bundler][bundler].
21
+ Add it to your Gemfile if you're using [Bundler][bundler]. Put it in the same groups as rspec.
22
22
 
23
23
  In your .rspec, usually alongside another formatter, add:
24
24
 
25
- --format JUnitFormatter
25
+ --format RspecJunitFormatter
26
26
  --out rspec.xml
27
27
 
28
28
  I use it with the excellent [Fuubar formatter][fuubar].
@@ -37,7 +37,7 @@ I use it with the excellent [Fuubar formatter][fuubar].
37
37
  The MIT License, see [LICENSE][license].
38
38
 
39
39
  [rspec]: http://rspec.info/
40
- [hudson]: http://hudson-ci.org/
40
+ [jenkins]: http://jenkins-ci.org/
41
41
  [dsouza]: https://github.com/dsouza
42
42
  [dsouza/rspec_formatters]: https://github.com/dsouza/rspec_formatters
43
43
  [ci_reporter]: http://caldersphere.rubyforge.org/ci_reporter/
@@ -1,3 +1,5 @@
1
+ require 'time'
2
+
1
3
  # Dumps rspec results as a JUnit XML file.
2
4
  # Based on XML schema: http://windyroad.org/dl/Open%20Source/JUnit.xsd
3
5
  class RSpec::Core::Formatters::JUnitFormatter < RSpec::Core::Formatters::BaseFormatter
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_junit_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-19 00:00:00.000000000Z
12
+ date: 2012-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70173396048260 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '2.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70173396048260
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '2.0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: builder
27
- requirement: &70173396047880 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,7 +37,12 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70173396047880
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  description: RSpec results that Hudson can read.
37
47
  email:
38
48
  - sj26@sj26.com
@@ -64,8 +74,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
74
  version: 1.3.6
65
75
  requirements: []
66
76
  rubyforge_project:
67
- rubygems_version: 1.8.11
77
+ rubygems_version: 1.8.23
68
78
  signing_key:
69
79
  specification_version: 3
70
80
  summary: RSpec JUnit XML formatter
71
81
  test_files: []
82
+ has_rdoc: