parallelized_specs 0.4.78 → 0.4.79
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/parallelized_specs/slow_spec_logger.rb +2 -2
- data/parallelized_specs.gemspec +1 -1
- metadata +1 -1
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.79"
|
16
16
|
end
|
17
17
|
Jeweler::GemcutterTasks.new
|
18
18
|
rescue LoadError
|
@@ -22,14 +22,14 @@ module RSpec
|
|
22
22
|
|
23
23
|
def dump_summary(duration, example_count, failure_count, pending_count)
|
24
24
|
lock_output do
|
25
|
-
@example_times.sort.map.each { |time, example| @output.write "#{time} #{example}\n" }
|
25
|
+
@example_times.sort.map.each { |time, example| @output.write "#{time} #{example}\n" if time.to_f > 20 }
|
26
26
|
end
|
27
27
|
@output.flush
|
28
28
|
end
|
29
29
|
|
30
30
|
def add_total_spec_time(example)
|
31
31
|
total_time = Time.now - @spec_start_time
|
32
|
-
@example_times[total_time] = "
|
32
|
+
@example_times[total_time] = " file: #{example.location.match(/spec.*rb:\w*/).to_s} spec: #{example.description}"
|
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.4.
|
8
|
+
s.version = "0.4.79"
|
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"]
|