minitap 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.ruby +24 -12
- data/HISTORY.rdoc +18 -4
- data/README.rdoc +2 -0
- data/lib/minitap.rb +1 -1
- data/spec/applique/cli.rb +7 -1
- metadata +34 -11
data/.ruby
CHANGED
@@ -1,16 +1,19 @@
|
|
1
1
|
---
|
2
|
+
source:
|
3
|
+
- var
|
2
4
|
authors:
|
3
|
-
- name:
|
5
|
+
- name: trans
|
4
6
|
email: transfire@gmail.com
|
5
7
|
copyrights:
|
6
|
-
- holder:
|
8
|
+
- holder: Rubyworks
|
7
9
|
year: '2011'
|
8
10
|
license: BSD-2-Clause
|
9
11
|
replacements: []
|
10
|
-
|
12
|
+
alternatives: []
|
11
13
|
requirements:
|
12
14
|
- name: tapout
|
13
15
|
version: ! '>= 0.3.0'
|
16
|
+
- name: minitest
|
14
17
|
- name: detroit
|
15
18
|
groups:
|
16
19
|
- build
|
@@ -19,22 +22,31 @@ requirements:
|
|
19
22
|
groups:
|
20
23
|
- build
|
21
24
|
development: true
|
25
|
+
- name: qed
|
26
|
+
groups:
|
27
|
+
- test
|
28
|
+
development: true
|
22
29
|
dependencies: []
|
23
|
-
|
30
|
+
conflicts: []
|
31
|
+
repositories:
|
32
|
+
- uri: git://github.com/rubyworks/minitap.git
|
33
|
+
scm: git
|
34
|
+
name: upstream
|
24
35
|
resources:
|
25
36
|
home: http://rubyworks.github.com/minitap
|
37
|
+
docs: http://rubydoc.info/gems/minitap
|
26
38
|
code: http://github.com/rubyworks/minitap
|
39
|
+
bugs: http://github.com/rubyworks/minitap/issues
|
40
|
+
mail: http://groups.google.com/group/rubyworks-mailinglist
|
41
|
+
extra: {}
|
27
42
|
load_path:
|
28
43
|
- lib
|
29
|
-
extra: {}
|
30
|
-
name: minitap
|
31
|
-
title: MiniTap
|
32
|
-
date: '2011-10-18'
|
33
|
-
alternatives: []
|
34
|
-
version: 0.3.1
|
35
44
|
revision: 0
|
36
|
-
source:
|
37
|
-
- ruby.yml
|
38
45
|
summary: TAP-Y/J reporters for MiniTest
|
46
|
+
title: MiniTap
|
47
|
+
version: 0.3.2
|
48
|
+
name: minitap
|
39
49
|
description: MiniTap provides a custom MiniTest reporter that outs TAP-Y or TAP-J
|
40
50
|
formatted output.
|
51
|
+
organization: rubyworks
|
52
|
+
date: '2011-11-08'
|
data/HISTORY.rdoc
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
= RELEASE HISTORY
|
2
2
|
|
3
|
-
== 0.3.
|
3
|
+
== 0.3.2 | 2011-11-08
|
4
|
+
|
5
|
+
This release add support for new TAP-Y/J class field, and removes
|
6
|
+
the class name from the message field. It also fixes a bug that
|
7
|
+
arose with certain versions of Ruby's YAML.load_documents implmentation.
|
8
|
+
|
9
|
+
Changes:
|
10
|
+
|
11
|
+
* Work around Ruby's YAML.load_documents issue.
|
12
|
+
* Add dependency for MiniTest.
|
13
|
+
* Support TAP-Y/J class field.
|
14
|
+
* Remove class name from message field.
|
15
|
+
|
16
|
+
|
17
|
+
== 0.3.1 | 2011-10-18
|
4
18
|
|
5
19
|
This release includes two basic improvements: better backtrace filtering,
|
6
20
|
and file fields given relative to current working directory instead of
|
@@ -13,7 +27,7 @@ Changes:
|
|
13
27
|
* Make file fields relative to working directory.
|
14
28
|
|
15
29
|
|
16
|
-
== 0.3.0
|
30
|
+
== 0.3.0 | 2011-10-09
|
17
31
|
|
18
32
|
Support version 3 of TAP-Y/J spec. This simply entailed renaming
|
19
33
|
the `tally` document to `final`.
|
@@ -23,7 +37,7 @@ Changes:
|
|
23
37
|
* Support revision 3 of TAP-Y/J.
|
24
38
|
|
25
39
|
|
26
|
-
== 0.2.0
|
40
|
+
== 0.2.0 | 2011-10-07
|
27
41
|
|
28
42
|
This release adjusts how the customer reporter classes
|
29
43
|
should be used. It's actually a very minor release under
|
@@ -34,7 +48,7 @@ Changes:
|
|
34
48
|
* Adjust usage documentation.
|
35
49
|
|
36
50
|
|
37
|
-
== 0.1.0
|
51
|
+
== 0.1.0 | 2011-10-06
|
38
52
|
|
39
53
|
This is the first release of MiniTap, a TAP-Y/J reporter
|
40
54
|
for the MiniTest test framework.
|
data/README.rdoc
CHANGED
data/lib/minitap.rb
CHANGED
@@ -331,7 +331,7 @@ module MiniTest
|
|
331
331
|
# 'line' => 11..13
|
332
332
|
# 'code' => Foo#*
|
333
333
|
'exception' => {
|
334
|
-
'message' => clean_message(
|
334
|
+
'message' => clean_message(e.message),
|
335
335
|
'class' => e.class.name,
|
336
336
|
'file' => r_file,
|
337
337
|
'line' => e_line,
|
data/spec/applique/cli.rb
CHANGED
@@ -7,7 +7,13 @@ end
|
|
7
7
|
When 'Running it with the (((.*?))) format' do |type|
|
8
8
|
File.open('test.rb', 'w'){ |f| f << test_helper(type) + "\n\n" + @test }
|
9
9
|
@out = `ruby test.rb`
|
10
|
-
|
10
|
+
|
11
|
+
#@stream = YAML.load_documents(@out) # b/c of bug in Ruby 1.8
|
12
|
+
@stream = (
|
13
|
+
s = []
|
14
|
+
YAML.load_documents(@out){ |d| s << d }
|
15
|
+
s
|
16
|
+
)
|
11
17
|
end
|
12
18
|
|
13
19
|
#When '(((\w+))) reporter should run without error' do |format|
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
8
|
+
- trans
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-11-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: tapout
|
16
|
-
requirement: &
|
16
|
+
requirement: &17978940 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,21 @@ dependencies:
|
|
21
21
|
version: 0.3.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *17978940
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: minitest
|
27
|
+
requirement: &17978160 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *17978160
|
25
36
|
- !ruby/object:Gem::Dependency
|
26
37
|
name: detroit
|
27
|
-
requirement: &
|
38
|
+
requirement: &17977400 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
40
|
requirements:
|
30
41
|
- - ! '>='
|
@@ -32,10 +43,21 @@ dependencies:
|
|
32
43
|
version: '0'
|
33
44
|
type: :development
|
34
45
|
prerelease: false
|
35
|
-
version_requirements: *
|
46
|
+
version_requirements: *17977400
|
36
47
|
- !ruby/object:Gem::Dependency
|
37
48
|
name: reap
|
38
|
-
requirement: &
|
49
|
+
requirement: &17976680 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *17976680
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: qed
|
60
|
+
requirement: &17975960 !ruby/object:Gem::Requirement
|
39
61
|
none: false
|
40
62
|
requirements:
|
41
63
|
- - ! '>='
|
@@ -43,7 +65,7 @@ dependencies:
|
|
43
65
|
version: '0'
|
44
66
|
type: :development
|
45
67
|
prerelease: false
|
46
|
-
version_requirements: *
|
68
|
+
version_requirements: *17975960
|
47
69
|
description: MiniTap provides a custom MiniTest reporter that outs TAP-Y or TAP-J
|
48
70
|
formatted output.
|
49
71
|
email:
|
@@ -65,7 +87,8 @@ files:
|
|
65
87
|
- README.rdoc
|
66
88
|
- COPYING.rdoc
|
67
89
|
homepage: http://rubyworks.github.com/minitap
|
68
|
-
licenses:
|
90
|
+
licenses:
|
91
|
+
- BSD-2-Clause
|
69
92
|
post_install_message:
|
70
93
|
rdoc_options: []
|
71
94
|
require_paths:
|
@@ -84,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
107
|
version: '0'
|
85
108
|
requirements: []
|
86
109
|
rubyforge_project:
|
87
|
-
rubygems_version: 1.8.
|
110
|
+
rubygems_version: 1.8.10
|
88
111
|
signing_key:
|
89
112
|
specification_version: 3
|
90
113
|
summary: TAP-Y/J reporters for MiniTest
|