parallel_tests 0.6.18 → 0.6.19

Sign up to get free protection for your applications and to get access to all the features.
data/Readme.md CHANGED
@@ -233,6 +233,7 @@ inspired by [pivotal labs](http://pivotallabs.com/users/miked/blog/articles/849-
233
233
  - [Trae Robrock](https://github.com/trobrock)
234
234
  - [Lawrence Wang](https://github.com/levity)
235
235
  - [Sean Walbran](https://github.com/seanwalbran)
236
+ - [Lawrence Wang](https://github.com/levity)
236
237
 
237
238
  [Michael Grosser](http://grosser.it)<br/>
238
239
  michael@grosser.it<br/>
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.18
1
+ 0.6.19
@@ -92,16 +92,16 @@ class ParallelTests
92
92
  now = Time.now.to_f
93
93
  buffer << char
94
94
  if flushed + timeout < now
95
- print buffer
96
- STDOUT.flush
95
+ $stdout.print buffer
96
+ $stdout.flush
97
97
  buffer = ''
98
98
  flushed = now
99
99
  end
100
100
  end
101
101
 
102
102
  # print the remainder
103
- print buffer
104
- STDOUT.flush
103
+ $stdout.print buffer
104
+ $stdout.flush
105
105
 
106
106
  all
107
107
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "parallel_tests"
8
- s.version = "0.6.18"
8
+ s.version = "0.6.19"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = "2012-02-08"
12
+ s.date = "2012-02-17"
13
13
  s.email = "grosser.michael@gmail.com"
14
14
  s.executables = ["parallel_cucumber", "parallel_spec", "parallel_test"]
15
15
  s.files = [
@@ -22,7 +22,7 @@ describe ParallelCucumber do
22
22
 
23
23
  it "returns the output" do
24
24
  io = open('spec/spec_helper.rb')
25
- ParallelCucumber.stub!(:print)
25
+ $stdout.stub!(:print)
26
26
  ParallelCucumber.should_receive(:open).and_return io
27
27
  ParallelCucumber.run_tests(['xxx'],1,{})[:stdout].should =~ /\$LOAD_PATH << File/
28
28
  end
@@ -133,7 +133,7 @@ describe ParallelSpecs do
133
133
 
134
134
  it "returns the output" do
135
135
  io = open('spec/spec_helper.rb')
136
- ParallelSpecs.stub!(:print)
136
+ $stdout.stub!(:print)
137
137
  ParallelSpecs.should_receive(:open).and_return io
138
138
  ParallelSpecs.run_tests(['xxx'],1,{})[:stdout].should =~ /\$LOAD_PATH << File/
139
139
  end
@@ -54,7 +54,7 @@ describe ParallelTests do
54
54
 
55
55
  it "returns the output" do
56
56
  io = open('spec/spec_helper.rb')
57
- ParallelTests.stub!(:print)
57
+ $stdout.stub!(:print)
58
58
  ParallelTests.should_receive(:open).and_return io
59
59
  ParallelTests.run_tests(['xxx'],1,{})[:stdout].should =~ /\$LOAD_PATH << File/
60
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.18
4
+ version: 0.6.19
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-02-08 00:00:00.000000000 Z
12
+ date: 2012-02-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: parallel
16
- requirement: &67891880 !ruby/object:Gem::Requirement
16
+ requirement: &84626410 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *67891880
24
+ version_requirements: *84626410
25
25
  description:
26
26
  email: grosser.michael@gmail.com
27
27
  executables:
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  segments:
78
78
  - 0
79
- hash: 85961917
79
+ hash: -373433901
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements: