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.
@@ -1,3 +1,10 @@
1
+ === 3.0.1 / 2013-07-12
2
+
3
+ * 1 unknown:
4
+
5
+ * Fix Ci class after changes to Reporter. (ferrous26) #9
6
+
7
+
1
8
  === 3.0.0 / 2013-07-03
2
9
 
3
10
  * 1 major enhancement:
data/Isolate CHANGED
@@ -1,4 +1,4 @@
1
- gem 'minitest', '~> 5.0'
1
+ gem 'minitest', '>= 5.0.6', '~> 5.0'
2
2
 
3
3
  env :development do
4
4
  gem 'nokogiri', '~> 1.5.0'
@@ -2,9 +2,9 @@ require 'fileutils'
2
2
  require 'cgi'
3
3
 
4
4
  module Minitest
5
- class Ci < Reporter
5
+ class Ci
6
6
 
7
- VERSION = '3.0.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
- def initialize *args
27
- super
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
 
@@ -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.run_and_report do
51
- Minitest.__run reporter, {}
52
- end
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.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-03 00:00:00.000000000 Z
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'