parallelized_specs 0.3.32 → 0.3.33
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 +6 -5
- 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.3.
|
15
|
+
gem.version = "0.3.33"
|
16
16
|
end
|
17
17
|
Jeweler::GemcutterTasks.new
|
18
18
|
rescue LoadError
|
data/lib/parallelized_specs.rb
CHANGED
@@ -268,6 +268,7 @@ class ParallelizedSpecs
|
|
268
268
|
end
|
269
269
|
|
270
270
|
def self.rerun()
|
271
|
+
puts "beginning the failed specs rerun process"
|
271
272
|
rerun_failed_examples = false
|
272
273
|
rerun_specs = []
|
273
274
|
filename = "#{RAILS_ROOT}/tmp/parallel_log/rspec.failures"
|
@@ -308,12 +309,12 @@ class ParallelizedSpecs
|
|
308
309
|
end
|
309
310
|
rerun_status = ""
|
310
311
|
end #end file loop
|
312
|
+
elsif @error_count.to_i == 0
|
313
|
+
abort "#{@error_count} errors, but the build failed, errors were not written to the file or there is something else wrong, marking build as a failure"
|
314
|
+
elsif @error_count.to_i > 10
|
315
|
+
abort "#{error_count} errors are to many to rerun, marking the build as a failure"
|
311
316
|
else
|
312
|
-
|
313
|
-
abort "#{@error_count} errors, but the build failed, errors were not written to the file or there is something else wrong, marking build as a failure"
|
314
|
-
elsif @error_count.to_i > 10
|
315
|
-
abort "#{error_count} errors are to many to rerun, marking the build as a failure"
|
316
|
-
end
|
317
|
+
abort "unexpected error information, please check errors are being written to file correctly"
|
317
318
|
end
|
318
319
|
|
319
320
|
if rerun_failed_examples
|
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.3.
|
8
|
+
s.version = "0.3.33"
|
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: 81
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 33
|
10
|
+
version: 0.3.33
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jake Sorce, Bryan Madsen, Shawn Meredith
|