parallelized_specs 0.4.70 → 0.4.71

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 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.70"
15
+ gem.version = "0.4.71"
16
16
  end
17
17
  Jeweler::GemcutterTasks.new
18
18
  rescue LoadError
@@ -4,8 +4,7 @@ module RSpec
4
4
  class ParallelizedSpecs::SlowestSpecLogger < ParallelizedSpecs::SpecLoggerBase
5
5
 
6
6
  def initialize(*args)
7
- @examples = []
8
- super
7
+ @example_times = []
9
8
  end
10
9
 
11
10
  def example_started(example)
@@ -22,14 +21,14 @@ module RSpec
22
21
 
23
22
  def dump_summary(*args)
24
23
  lock_output do
25
- @examples.each { |example| @output.puts "#{example}" }
24
+ @example_times.each { |example| @output.puts "#{example}" }
26
25
  end
27
26
  @output.flush
28
27
  end
29
28
 
30
29
  def add_total_spec_time(example)
31
30
  total_time = Time.now - @spec_start_time
32
- @examples << "#{total_time}*#{example.description}*#{example_group.location}"
31
+ @example_times << "#{total_time}*#{example.description}*#{example_group.location.match(/.*rb/)}"
33
32
  end
34
33
  end
35
34
  end
@@ -12,7 +12,6 @@ class ParallelizedSpecs::TrendingExampleFailures < ParallelizedSpecs::SpecLogger
12
12
 
13
13
  def example_started(example)
14
14
  @spec_start_time = Time.now
15
- super
16
15
  end
17
16
 
18
17
  def example_failed(example, counter, failure)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "parallelized_specs"
8
- s.version = "0.4.70"
8
+ s.version = "0.4.71"
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.70
4
+ version: 0.4.71
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: