ci_reporter 1.6.7 → 1.6.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 1.6.8 (12/13/11)
2
+
3
+ - #47: Fix regression - don't pull test/unit in unnecessarily
4
+
1
5
  == 1.6.7 (12/13/11)
2
6
 
3
7
  - Add support for JUnit skipped and error tags (thanks Jørgen Tjernø)
@@ -6,6 +6,11 @@ Rakefile
6
6
  stub.rake
7
7
  lib/ci/reporter/core.rb
8
8
  lib/ci/reporter/cucumber.rb
9
+ lib/ci/reporter/report_manager.rb
10
+ lib/ci/reporter/rspec.rb
11
+ lib/ci/reporter/test_suite.rb
12
+ lib/ci/reporter/test_unit.rb
13
+ lib/ci/reporter/version.rb
9
14
  lib/ci/reporter/rake/cucumber.rb
10
15
  lib/ci/reporter/rake/cucumber_loader.rb
11
16
  lib/ci/reporter/rake/rspec.rb
@@ -13,17 +18,12 @@ lib/ci/reporter/rake/rspec_loader.rb
13
18
  lib/ci/reporter/rake/test_unit.rb
14
19
  lib/ci/reporter/rake/test_unit_loader.rb
15
20
  lib/ci/reporter/rake/utils.rb
16
- lib/ci/reporter/report_manager.rb
17
- lib/ci/reporter/rspec.rb
18
- lib/ci/reporter/test_suite.rb
19
- lib/ci/reporter/test_unit.rb
20
- lib/ci/reporter/version.rb
21
+ spec/spec_helper.rb
21
22
  spec/ci/reporter/cucumber_spec.rb
22
23
  spec/ci/reporter/output_capture_spec.rb
23
- spec/ci/reporter/rake/rake_tasks_spec.rb
24
24
  spec/ci/reporter/report_manager_spec.rb
25
25
  spec/ci/reporter/rspec_spec.rb
26
26
  spec/ci/reporter/test_suite_spec.rb
27
27
  spec/ci/reporter/test_unit_spec.rb
28
- spec/spec_helper.rb
28
+ spec/ci/reporter/rake/rake_tasks_spec.rb
29
29
  tasks/ci_reporter.rake
@@ -1,12 +1,10 @@
1
- # Copyright (c) 2006-2010 Nick Sieger <nicksieger@gmail.com>
1
+ # Copyright (c) 2006-2011 Nick Sieger <nicksieger@gmail.com>
2
2
  # See the file LICENSE.txt included with the distribution for
3
3
  # software license details.
4
4
 
5
5
  require 'delegate'
6
6
  require 'stringio'
7
7
 
8
- require 'ci/reporter/test_unit'
9
-
10
8
  module CI
11
9
  module Reporter
12
10
  # Emulates/delegates IO to $stdout or $stderr in order to capture output to report in the XML file.
@@ -140,9 +138,9 @@ module CI
140
138
  builder.skipped
141
139
  else
142
140
  failures.each do |failure|
143
- tag = case failure
144
- when TestUnitSkipped then :skipped
145
- when TestUnitError then :error
141
+ tag = case failure.class.name
142
+ when /TestUnitSkipped/ then :skipped
143
+ when /TestUnitError/ then :error
146
144
  else :failure end
147
145
 
148
146
  builder.tag!(tag, :type => builder.trunc!(failure.name), :message => builder.trunc!(failure.message)) do
@@ -1,5 +1,5 @@
1
1
  module CI
2
2
  module Reporter
3
- VERSION = "1.6.7"
3
+ VERSION = "1.6.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,141 +1,141 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ci_reporter
3
- version: !ruby/object:Gem::Version
4
- version: 1.6.7
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 1.6.8
6
6
  platform: ruby
7
- authors:
8
- - Nick Sieger
7
+ authors:
8
+ - Nick Sieger
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-13 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: builder
16
- requirement: &70301673773060 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: 2.1.2
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: *70301673773060
25
- - !ruby/object:Gem::Dependency
26
- name: rubyforge
27
- requirement: &70301673772640 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: 2.0.4
33
- type: :development
34
- prerelease: false
35
- version_requirements: *70301673772640
36
- - !ruby/object:Gem::Dependency
37
- name: hoe
38
- requirement: &70301673803940 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- version: '2.12'
44
- type: :development
45
- prerelease: false
46
- version_requirements: *70301673803940
47
- - !ruby/object:Gem::Dependency
48
- name: rdoc
49
- requirement: &70301673861960 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ~>
53
- - !ruby/object:Gem::Version
54
- version: '3.10'
55
- type: :development
56
- prerelease: false
57
- version_requirements: *70301673861960
58
- description: CI::Reporter is an add-on to Test::Unit, RSpec and Cucumber that allows
59
- you to generate XML reports of your test, spec and/or feature runs. The resulting
60
- files can be read by a continuous integration system that understands Ant's JUnit
61
- report XML format, thus allowing your CI system to track test/spec successes and
62
- failures.
12
+
13
+ date: 2011-12-14 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: builder
17
+ version_requirements: &id001 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.1.2
23
+ requirement: *id001
24
+ prerelease: false
25
+ type: :runtime
26
+ - !ruby/object:Gem::Dependency
27
+ name: rubyforge
28
+ version_requirements: &id002 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.0.4
34
+ requirement: *id002
35
+ prerelease: false
36
+ type: :development
37
+ - !ruby/object:Gem::Dependency
38
+ name: hoe
39
+ version_requirements: &id003 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: "2.12"
45
+ requirement: *id003
46
+ prerelease: false
47
+ type: :development
48
+ - !ruby/object:Gem::Dependency
49
+ name: rdoc
50
+ version_requirements: &id004 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: "3.10"
56
+ requirement: *id004
57
+ prerelease: false
58
+ type: :development
59
+ description: CI::Reporter is an add-on to Test::Unit, RSpec and Cucumber that allows you to generate XML reports of your test, spec and/or feature runs. The resulting files can be read by a continuous integration system that understands Ant's JUnit report XML format, thus allowing your CI system to track test/spec successes and failures.
63
60
  email: nick@nicksieger.com
64
61
  executables: []
62
+
65
63
  extensions: []
66
- extra_rdoc_files:
67
- - History.txt
68
- - Manifest.txt
69
- - LICENSE.txt
70
- - README.rdoc
71
- files:
72
- - History.txt
73
- - Manifest.txt
74
- - README.rdoc
75
- - LICENSE.txt
76
- - Rakefile
77
- - stub.rake
78
- - lib/ci/reporter/core.rb
79
- - lib/ci/reporter/cucumber.rb
80
- - lib/ci/reporter/rake/cucumber.rb
81
- - lib/ci/reporter/rake/cucumber_loader.rb
82
- - lib/ci/reporter/rake/rspec.rb
83
- - lib/ci/reporter/rake/rspec_loader.rb
84
- - lib/ci/reporter/rake/test_unit.rb
85
- - lib/ci/reporter/rake/test_unit_loader.rb
86
- - lib/ci/reporter/rake/utils.rb
87
- - lib/ci/reporter/report_manager.rb
88
- - lib/ci/reporter/rspec.rb
89
- - lib/ci/reporter/test_suite.rb
90
- - lib/ci/reporter/test_unit.rb
91
- - lib/ci/reporter/version.rb
92
- - spec/ci/reporter/cucumber_spec.rb
93
- - spec/ci/reporter/output_capture_spec.rb
94
- - spec/ci/reporter/rake/rake_tasks_spec.rb
95
- - spec/ci/reporter/report_manager_spec.rb
96
- - spec/ci/reporter/rspec_spec.rb
97
- - spec/ci/reporter/test_suite_spec.rb
98
- - spec/ci/reporter/test_unit_spec.rb
99
- - spec/spec_helper.rb
100
- - tasks/ci_reporter.rake
64
+
65
+ extra_rdoc_files:
66
+ - History.txt
67
+ - Manifest.txt
68
+ - LICENSE.txt
69
+ - README.rdoc
70
+ files:
71
+ - History.txt
72
+ - Manifest.txt
73
+ - README.rdoc
74
+ - LICENSE.txt
75
+ - Rakefile
76
+ - stub.rake
77
+ - lib/ci/reporter/core.rb
78
+ - lib/ci/reporter/cucumber.rb
79
+ - lib/ci/reporter/report_manager.rb
80
+ - lib/ci/reporter/rspec.rb
81
+ - lib/ci/reporter/test_suite.rb
82
+ - lib/ci/reporter/test_unit.rb
83
+ - lib/ci/reporter/version.rb
84
+ - lib/ci/reporter/rake/cucumber.rb
85
+ - lib/ci/reporter/rake/cucumber_loader.rb
86
+ - lib/ci/reporter/rake/rspec.rb
87
+ - lib/ci/reporter/rake/rspec_loader.rb
88
+ - lib/ci/reporter/rake/test_unit.rb
89
+ - lib/ci/reporter/rake/test_unit_loader.rb
90
+ - lib/ci/reporter/rake/utils.rb
91
+ - spec/spec_helper.rb
92
+ - spec/ci/reporter/cucumber_spec.rb
93
+ - spec/ci/reporter/output_capture_spec.rb
94
+ - spec/ci/reporter/report_manager_spec.rb
95
+ - spec/ci/reporter/rspec_spec.rb
96
+ - spec/ci/reporter/test_suite_spec.rb
97
+ - spec/ci/reporter/test_unit_spec.rb
98
+ - spec/ci/reporter/rake/rake_tasks_spec.rb
99
+ - tasks/ci_reporter.rake
101
100
  homepage: http://caldersphere.rubyforge.org/ci_reporter
102
101
  licenses: []
102
+
103
103
  post_install_message:
104
- rdoc_options:
105
- - --main
106
- - README.rdoc
107
- - -SHN
108
- - -f
109
- - darkfish
110
- require_paths:
111
- - lib
112
- required_ruby_version: !ruby/object:Gem::Requirement
104
+ rdoc_options:
105
+ - --main
106
+ - README.rdoc
107
+ - -SHN
108
+ - -f
109
+ - darkfish
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
113
  none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- segments:
119
- - 0
120
- hash: 3122054797864344964
121
- required_rubygems_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ hash: 2
118
+ segments:
119
+ - 0
120
+ version: "0"
121
+ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  none: false
123
- requirements:
124
- - - ! '>='
125
- - !ruby/object:Gem::Version
126
- version: '0'
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: "0"
127
127
  requirements: []
128
+
128
129
  rubyforge_project: caldersphere
129
- rubygems_version: 1.8.6
130
+ rubygems_version: 1.8.9
130
131
  signing_key:
131
132
  specification_version: 3
132
- summary: CI::Reporter allows you to generate reams of XML for use with continuous
133
- integration systems.
134
- test_files:
135
- - spec/ci/reporter/cucumber_spec.rb
136
- - spec/ci/reporter/output_capture_spec.rb
137
- - spec/ci/reporter/rake/rake_tasks_spec.rb
138
- - spec/ci/reporter/report_manager_spec.rb
139
- - spec/ci/reporter/rspec_spec.rb
140
- - spec/ci/reporter/test_suite_spec.rb
141
- - spec/ci/reporter/test_unit_spec.rb
133
+ summary: CI::Reporter allows you to generate reams of XML for use with continuous integration systems.
134
+ test_files:
135
+ - spec/ci/reporter/cucumber_spec.rb
136
+ - spec/ci/reporter/output_capture_spec.rb
137
+ - spec/ci/reporter/report_manager_spec.rb
138
+ - spec/ci/reporter/rspec_spec.rb
139
+ - spec/ci/reporter/test_suite_spec.rb
140
+ - spec/ci/reporter/test_unit_spec.rb
141
+ - spec/ci/reporter/rake/rake_tasks_spec.rb