parallel_tests 0.4.15 → 0.4.16

Sign up to get free protection for your applications and to get access to all the features.
data/Readme.md CHANGED
@@ -74,9 +74,11 @@ Log test runtime to give each process the same test runtime.<br/>
74
74
  Add to your `spec/parallel_spec.opts` (or `spec/spec.opts`) :
75
75
 
76
76
  RSpec 1.x:
77
+ --format progress
77
78
  --format ParallelSpecs::SpecRuntimeLogger:tmp/parallel_profile.log
78
79
  RSpec 2.x:
79
80
  Installed as plugin: -I vendor/plugins/parallel_tests/lib
81
+ --format progress
80
82
  --format ParallelSpecs::SpecRuntimeLogger --out tmp/parallel_profile.log
81
83
 
82
84
  Setup for non-rails
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.15
1
+ 0.4.16
@@ -15,7 +15,12 @@ class ParallelSpecs::SpecRuntimeLogger < ParallelSpecs::SpecRuntimeLoggerBase
15
15
 
16
16
  if String === output
17
17
  FileUtils.mkdir_p(File.dirname(output))
18
- @output = File.open(output, 'w')
18
+ File.open(output, 'w'){} # overwrite previous results
19
+ @output = File.open(output, 'a')
20
+ puts 'string'
21
+ elsif File === output
22
+ output.close # close file opened with 'w'
23
+ @output = File.open(output.path, 'a')
19
24
  else
20
25
  @output = output
21
26
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{parallel_tests}
8
- s.version = "0.4.15"
8
+ s.version = "0.4.16"
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 = %q{2011-04-27}
12
+ s.date = %q{2011-04-29}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.executables = ["parallel_spec", "parallel_cucumber", "parallel_test"]
15
15
  s.files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_tests
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 47
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 15
10
- version: 0.4.15
9
+ - 16
10
+ version: 0.4.16
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Grosser
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-27 00:00:00 +02:00
18
+ date: 2011-04-29 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency