parallelized_specs 0.4.03 → 0.4.04

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.4.03"
15
+ gem.version = "0.4.04"
16
16
  end
17
17
  Jeweler::GemcutterTasks.new
18
18
  rescue LoadError
@@ -293,8 +293,8 @@ class ParallelizedSpecs
293
293
  end
294
294
  end
295
295
 
296
- def self.update_rerun_summary(l, file, outcome)
297
- File.open(@file, 'a+') { |f| f.puts("Outcome #{outcome} for #{l}") }
296
+ def self.update_rerun_summary(l, outcome)
297
+ File.open(@failure_summary, 'a+') { |f| f.puts("Outcome #{outcome} for #{l}") }
298
298
  end
299
299
 
300
300
  def self.parse_result(result)
@@ -328,11 +328,11 @@ class ParallelizedSpecs
328
328
  print_failures("#{RAILS_ROOT}/tmp/parallel_log/error.log")
329
329
  abort "SEVERE: shared specs currently are not eligiable for reruns, marking build as a failure"
330
330
  when code == 2
331
- update_rerun_summary(l, @failure_summary, "FAILED")
331
+ update_rerun_summary(l, "FAILED")
332
332
  print_failures(@failure_summary, "RERUN")
333
333
  abort "SEVERE: spec didn't actually run, ending rerun process early"
334
334
  when code == 3
335
- update_rerun_summary(l, @failure_summary, "FAILED")
335
+ update_rerun_summary(l, "FAILED")
336
336
  print_failures(@failure_summary, "RERUN")
337
337
  abort "SEVERE: the spec failed to run on the rerun try, marking build as failed"
338
338
  when code == 4
@@ -355,12 +355,12 @@ class ParallelizedSpecs
355
355
 
356
356
  def self.update_failed(l)
357
357
  puts "WARNING: the example failed again"
358
- update_rerun_summary(l, @failure_summary, "FAILED")
358
+ update_rerun_summary(l, "FAILED")
359
359
  @rerun_failures << l
360
360
  end
361
361
 
362
362
  def self.update_passed(l)
363
- update_rerun_summary(l, @failure_summary, "PASSED")
363
+ update_rerun_summary(l, "PASSED")
364
364
  puts "INFO: the example passed and is being marked as a success"
365
365
  @rerun_passes << l
366
366
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "parallelized_specs"
8
- s.version = "0.4.03"
8
+ s.version = "0.4.04"
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: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 3
10
- version: 0.4.03
9
+ - 4
10
+ version: 0.4.04
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jake Sorce, Bryan Madsen, Shawn Meredith