minitest-reporters 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/minitest/reporters/version.rb +1 -1
- data/lib/minitest/test_runner.rb +2 -2
- data/minitest-reporters.gemspec +6 -5
- metadata +31 -15
data/lib/minitest/test_runner.rb
CHANGED
@@ -8,7 +8,7 @@ module MiniTest
|
|
8
8
|
#
|
9
9
|
# @see https://github.com/seattlerb/minitest MiniTest
|
10
10
|
class TestRunner
|
11
|
-
attr_reader :suite, :test, :assertions, :result, :exception
|
11
|
+
attr_reader :suite, :test, :assertions, :result, :exception, :options
|
12
12
|
|
13
13
|
def initialize(suite, test)
|
14
14
|
@suite = suite
|
@@ -36,4 +36,4 @@ module MiniTest
|
|
36
36
|
result == '.' ? [:pass, nil] : result
|
37
37
|
end
|
38
38
|
end
|
39
|
-
end
|
39
|
+
end
|
data/minitest-reporters.gemspec
CHANGED
@@ -11,19 +11,20 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.homepage = 'https://github.com/CapnKernul/minitest-reporters'
|
12
12
|
s.summary = %q{Create customizable MiniTest output formats}
|
13
13
|
s.description = %q{Death to haphazard monkey-patching! Extend MiniTest through simple hooks.}
|
14
|
-
|
14
|
+
|
15
15
|
s.rubyforge_project = 'minitest-reporters'
|
16
|
-
|
16
|
+
|
17
17
|
s.add_dependency 'minitest', '~> 2.0'
|
18
18
|
s.add_dependency 'ansi'
|
19
19
|
s.add_dependency 'ruby-progressbar'
|
20
|
-
|
20
|
+
|
21
21
|
s.add_development_dependency 'mocha'
|
22
22
|
s.add_development_dependency 'maruku'
|
23
23
|
s.add_development_dependency 'test_declarative'
|
24
|
-
|
24
|
+
s.add_development_dependency 'rake'
|
25
|
+
|
25
26
|
s.files = `git ls-files`.split("\n")
|
26
27
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
27
28
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
28
29
|
s.require_paths = ['lib']
|
29
|
-
end
|
30
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-reporters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
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: 2012-
|
12
|
+
date: 2012-02-23 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
16
|
-
requirement: &
|
16
|
+
requirement: &70199315564180 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '2.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70199315564180
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: ansi
|
27
|
-
requirement: &
|
27
|
+
requirement: &70199315561540 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70199315561540
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: ruby-progressbar
|
38
|
-
requirement: &
|
38
|
+
requirement: &70199315553860 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70199315553860
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: mocha
|
49
|
-
requirement: &
|
49
|
+
requirement: &70199315552740 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70199315552740
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: maruku
|
60
|
-
requirement: &
|
60
|
+
requirement: &70199315548940 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70199315548940
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: test_declarative
|
71
|
-
requirement: &
|
71
|
+
requirement: &70199315546300 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,7 +76,18 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70199315546300
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rake
|
82
|
+
requirement: &70199315538580 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70199315538580
|
80
91
|
description: Death to haphazard monkey-patching! Extend MiniTest through simple hooks.
|
81
92
|
email:
|
82
93
|
- alex@kernul.com
|
@@ -128,12 +139,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
139
|
- - ! '>='
|
129
140
|
- !ruby/object:Gem::Version
|
130
141
|
version: '0'
|
142
|
+
segments:
|
143
|
+
- 0
|
144
|
+
hash: 2435646083599004709
|
131
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
146
|
none: false
|
133
147
|
requirements:
|
134
148
|
- - ! '>='
|
135
149
|
- !ruby/object:Gem::Version
|
136
150
|
version: '0'
|
151
|
+
segments:
|
152
|
+
- 0
|
153
|
+
hash: 2435646083599004709
|
137
154
|
requirements: []
|
138
155
|
rubyforge_project: minitest-reporters
|
139
156
|
rubygems_version: 1.8.10
|
@@ -154,4 +171,3 @@ test_files:
|
|
154
171
|
- test/support/fixtures/test_case_fixture.rb
|
155
172
|
- test/support/test_case.rb
|
156
173
|
- test/test_helper.rb
|
157
|
-
has_rdoc:
|