parallelized_specs 0.3.87 → 0.3.88

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ begin
12
12
  gem.email = "jake@instructure.com"
13
13
  gem.homepage = "http://github.com/jakesorce/#{gem.name}"
14
14
  gem.authors = "Jake Sorce, Bryan Madsen, Shawn Meredith"
15
- gem.version = "0.3.87"
15
+ gem.version = "0.3.88"
16
16
  end
17
17
  Jeweler::GemcutterTasks.new
18
18
  rescue LoadError
@@ -140,12 +140,12 @@ class ParallelizedSpecs
140
140
  failed = test_results.any? { |result| result[:exit_status] != 0 } #ruby 1.8.7 works breaks on 1.9.3
141
141
  puts "this is the exit status of the rspec suites #{failed}"
142
142
 
143
- if Dir.glob('tmp/parallel_log/failed_specs/{*,.*}').count > 2 && FileTest.exist?("tmp/parallel_log/rspec.failures") # works on both 1.8.7\1.9.3
143
+ if Dir.glob('tmp/parallel_log/failed_specs/{*,.*}').count > 2 && !File.zero?("tmp/parallel_log/rspec.failures") # works on both 1.8.7\1.9.3
144
144
  puts "some specs failed, about to start the rerun process\n no more than 9 specs may be rerun and shared specs are not allowed\n...\n..\n."
145
145
  ParallelizedSpecs.rerun()
146
146
  else
147
- abort "#{name.capitalize}s Failed" if Dir.glob('tmp/parallel_log/failed_specs/{*,.*}').count > 2 || if failed #works on both 1.8.7\1.9.3
148
- end
147
+ #works on both 1.8.7\1.9.3
148
+ abort "#{name.capitalize}s Failed" if Dir.glob('tmp/parallel_log/failed_specs/{*,.*}').count > 2 || failed
149
149
  end
150
150
  puts "marking build as PASSED"
151
151
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "parallelized_specs"
8
- s.version = "0.3.87"
8
+ s.version = "0.3.88"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jake Sorce, Bryan Madsen, Shawn Meredith"]
12
- s.date = "2013-01-07"
12
+ s.date = "2013-01-08"
13
13
  s.email = "jake@instructure.com"
14
14
  s.files = [
15
15
  "Gemfile",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallelized_specs
3
3
  version: !ruby/object:Gem::Version
4
- hash: 189
4
+ hash: 163
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 87
10
- version: 0.3.87
9
+ - 88
10
+ version: 0.3.88
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jake Sorce, Bryan Madsen, Shawn Meredith
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-01-07 00:00:00 Z
18
+ date: 2013-01-08 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: parallel