parallelized_specs 0.4.70 → 0.4.71
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.
|
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
|
-
@
|
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
|
-
@
|
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
|
-
@
|
31
|
+
@example_times << "#{total_time}*#{example.description}*#{example_group.location.match(/.*rb/)}"
|
33
32
|
end
|
34
33
|
end
|
35
34
|
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.4.
|
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"]
|