parallelized_specs 0.3.83 → 0.3.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/lib/parallelized_specs.rb +2 -3
- data/lib/parallelized_specs/failures_rerun_logger.rb +1 -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.3.
|
15
|
+
gem.version = "0.3.84"
|
16
16
|
end
|
17
17
|
Jeweler::GemcutterTasks.new
|
18
18
|
rescue LoadError
|
data/lib/parallelized_specs.rb
CHANGED
@@ -124,7 +124,7 @@ class ParallelizedSpecs
|
|
124
124
|
failed_thread = t.match(/\d/).to_s
|
125
125
|
if failed_thread == "1"
|
126
126
|
puts "Thread 1 last spec to start running"
|
127
|
-
|
127
|
+
puts IO.readlines("tmp/parallel_log/thread_.log")[-1]
|
128
128
|
else
|
129
129
|
puts "Thread #{failed_thread} last spec to start running"
|
130
130
|
puts IO.readlines("tmp/parallel_log/thread_#{failed_thread}.log")[-1]
|
@@ -142,9 +142,8 @@ class ParallelizedSpecs
|
|
142
142
|
ParallelizedSpecs.rerun()
|
143
143
|
else
|
144
144
|
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
|
145
|
-
|
145
|
+
end
|
146
146
|
end
|
147
|
-
#this is getting run even if the rerun passes and causes triggers abort on successful reruns
|
148
147
|
puts "marking build as PASSED"
|
149
148
|
end
|
150
149
|
|
@@ -29,7 +29,7 @@ module RSpec
|
|
29
29
|
def retry_command(example)
|
30
30
|
spec_file = example_group.location.to_s
|
31
31
|
spec_name = example.description
|
32
|
-
"SPEC
|
32
|
+
"SPEC=/#{spec_file} SPEC_OPTS='-e \"#{spec_name}\"'"
|
33
33
|
end
|
34
34
|
end
|
35
35
|
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.84"
|
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: 187
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 84
|
10
|
+
version: 0.3.84
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jake Sorce, Bryan Madsen, Shawn Meredith
|