parallelized_specs 0.4.72 → 0.4.73

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.72"
15
+ gem.version = "0.4.73"
16
16
  end
17
17
  Jeweler::GemcutterTasks.new
18
18
  rescue LoadError
@@ -3,8 +3,11 @@ require 'parallelized_specs'
3
3
  module RSpec
4
4
  class ParallelizedSpecs::SlowestSpecLogger < ParallelizedSpecs::SpecLoggerBase
5
5
 
6
+ def initialize(*args)
7
+ @example_times = []
8
+ end
9
+
6
10
  def example_started(example)
7
- @example_times||[]
8
11
  @spec_start_time = Time.now
9
12
  end
10
13
 
@@ -18,7 +21,7 @@ module RSpec
18
21
 
19
22
  def dump_summary(*args)
20
23
  File.open("#{Rails.root}/tmp/parallel_log/slowest_specs.log", 'a+') do |f|
21
- @example_times.each { | example_details | f.puts "#{example_details}" }
24
+ @example_times.each { |example_details| f.puts "#{example_details}" }
22
25
  end
23
26
  end
24
27
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "parallelized_specs"
8
- s.version = "0.4.72"
8
+ s.version = "0.4.73"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallelized_specs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.72
4
+ version: 0.4.73
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: