minitest-ci 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +7 -0
- data/Isolate +1 -1
- data/lib/minitest/ci.rb +8 -4
- data/test/minitest/test_ci.rb +3 -3
- metadata +8 -2
data/History.txt
CHANGED
data/Isolate
CHANGED
data/lib/minitest/ci.rb
CHANGED
@@ -2,9 +2,9 @@ require 'fileutils'
|
|
2
2
|
require 'cgi'
|
3
3
|
|
4
4
|
module Minitest
|
5
|
-
class Ci
|
5
|
+
class Ci
|
6
6
|
|
7
|
-
VERSION = '3.0.
|
7
|
+
VERSION = '3.0.1'
|
8
8
|
|
9
9
|
class << self
|
10
10
|
|
@@ -23,9 +23,13 @@ module Minitest
|
|
23
23
|
self.report_dir = 'test/reports'
|
24
24
|
self.clean = true
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
attr_accessor :io
|
27
|
+
attr_accessor :options
|
28
|
+
attr_accessor :results
|
28
29
|
|
30
|
+
def initialize io = $stdout, options = {}
|
31
|
+
self.io = io
|
32
|
+
self.options = options
|
29
33
|
self.results = Hash.new {|h,k| h[k] = []}
|
30
34
|
end
|
31
35
|
|
data/test/minitest/test_ci.rb
CHANGED
@@ -47,9 +47,9 @@ Minitest::Ci.clean = false
|
|
47
47
|
|
48
48
|
# setup test files
|
49
49
|
reporter = Minitest::Ci.new $ci_io
|
50
|
-
reporter.
|
51
|
-
|
52
|
-
|
50
|
+
reporter.start
|
51
|
+
Minitest.__run reporter, {}
|
52
|
+
reporter.report
|
53
53
|
|
54
54
|
Minitest::Runnable.reset
|
55
55
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-ci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,13 +9,16 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 5.0.6
|
19
22
|
- - ~>
|
20
23
|
- !ruby/object:Gem::Version
|
21
24
|
version: '5.0'
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
version_requirements: !ruby/object:Gem::Requirement
|
25
28
|
none: false
|
26
29
|
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 5.0.6
|
27
33
|
- - ~>
|
28
34
|
- !ruby/object:Gem::Version
|
29
35
|
version: '5.0'
|