parallelized_specs 0.3.31 → 0.3.32
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 +3 -3
- 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.32"
|
16
16
|
end
|
17
17
|
Jeweler::GemcutterTasks.new
|
18
18
|
rescue LoadError
|
data/lib/parallelized_specs.rb
CHANGED
@@ -276,7 +276,7 @@ class ParallelizedSpecs
|
|
276
276
|
if @error_count.to_i > 1 && @error_count.to_i < 10
|
277
277
|
|
278
278
|
File.open(filename).each_line do |line|
|
279
|
-
if line =~ /spec\/selenium\/helpers/ || line =~ /spec\/selenium\/
|
279
|
+
if line =~ /spec\/selenium\/helpers/ || line =~ /spec\/selenium\/shared_examples/
|
280
280
|
abort "shared specs currently are not eligiable for reruns, marking build as a failure"
|
281
281
|
else
|
282
282
|
rerun_specs.push line
|
@@ -309,9 +309,9 @@ class ParallelizedSpecs
|
|
309
309
|
rerun_status = ""
|
310
310
|
end #end file loop
|
311
311
|
else
|
312
|
-
if @error_count == 0
|
312
|
+
if @error_count.to_i == 0
|
313
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 > 10
|
314
|
+
elsif @error_count.to_i > 10
|
315
315
|
abort "#{error_count} errors are to many to rerun, marking the build as a failure"
|
316
316
|
end
|
317
317
|
end
|
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.32"
|
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: 83
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 32
|
10
|
+
version: 0.3.32
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jake Sorce, Bryan Madsen, Shawn Meredith
|