parallelized_specs 0.4.68 → 0.4.69
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.69"
|
16
16
|
end
|
17
17
|
Jeweler::GemcutterTasks.new
|
18
18
|
rescue LoadError
|
@@ -22,7 +22,7 @@ class ParallelizedSpecs::TrendingExampleFailures < ParallelizedSpecs::SpecLogger
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
def example_passed(example
|
25
|
+
def example_passed(example)
|
26
26
|
total_time = Time.now - @spec_start_time
|
27
27
|
if example.location != nil
|
28
28
|
@passed_examples["#{example.location.match(/spec.*\d/).to_s}*"] = ["#{example.description}*", "#{Date.today}*", "passed*", "#{total_time}*","NA*","NA*","NA*"]
|
@@ -30,17 +30,17 @@ class ParallelizedSpecs::TrendingExampleFailures < ParallelizedSpecs::SpecLogger
|
|
30
30
|
end
|
31
31
|
|
32
32
|
|
33
|
-
def example_pending(example, counter)
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
end
|
33
|
+
#def example_pending(example, counter)
|
34
|
+
# total_time = Time.now - @spec_start_time
|
35
|
+
# if example.location != nil
|
36
|
+
# @pending_examples["#{example.location.match(/spec.*\d/).to_s}*"] = ["#{example.description}*", "#{Date.today}*", "pending*", "#{total_time}*","NA*","NA*","NA*"]
|
37
|
+
# end
|
38
|
+
#end
|
39
39
|
|
40
40
|
|
41
41
|
def dump_summary(*args)
|
42
42
|
lock_output do
|
43
|
-
[@failed_examples, @passed_examples
|
43
|
+
[@failed_examples, @passed_examples].each do | example_results |
|
44
44
|
unless example_results.empty?
|
45
45
|
(example_results).each_pair do |example, details|
|
46
46
|
@output.puts "#{example}#{details}#{@hudson_build_info}"
|
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.69"
|
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"]
|