parallelized_specs 0.4.14 → 0.4.15
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/parallelized_specs.rb +5 -1
- data/parallelized_specs.gemspec +1 -1
- metadata +3 -3
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.4.
|
15
|
+
gem.version = "0.4.15"
|
16
16
|
end
|
17
17
|
Jeweler::GemcutterTasks.new
|
18
18
|
rescue LoadError
|
data/lib/parallelized_specs.rb
CHANGED
@@ -421,6 +421,7 @@ class ParallelizedSpecs
|
|
421
421
|
@rerun_passes ||= []
|
422
422
|
|
423
423
|
@rerun_specs.each do |l|
|
424
|
+
puts "INFO: starting next spec"
|
424
425
|
result = rerun_spec(l)
|
425
426
|
|
426
427
|
puts "INFO: determining if the spec passed or failed"
|
@@ -436,14 +437,17 @@ class ParallelizedSpecs
|
|
436
437
|
else
|
437
438
|
abort_reruns(4, result)
|
438
439
|
end
|
439
|
-
puts "INFO:
|
440
|
+
puts "INFO: spec finished and has updated rerun state"
|
440
441
|
end
|
441
442
|
puts "INFO: reruns have completed calculating if build has passed or failed"
|
443
|
+
puts "INFO: total failed specs #{@rerun_failures.count}"
|
444
|
+
puts "INFO: total passed specs #{@rerun_passes.count}"
|
442
445
|
determine_rerun_outcome
|
443
446
|
end
|
444
447
|
|
445
448
|
|
446
449
|
def self.determine_rerun_outcome
|
450
|
+
|
447
451
|
if @rerun_failures.count > 0
|
448
452
|
abort_reruns(8)
|
449
453
|
elsif @rerun_passes.count >= @error_count
|
data/parallelized_specs.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "parallelized_specs"
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.15"
|
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"]
|
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 15
|
10
|
+
version: 0.4.15
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jake Sorce, Bryan Madsen, Shawn Meredith
|