parallelized_specs 0.3.21 → 0.3.22
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/failures_rerun_logger.rb +22 -15
- data/parallelized_specs.gemspec +1 -1
- metadata +3 -3
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.3.
|
15
|
+
gem.version = "0.3.22"
|
16
16
|
end
|
17
17
|
Jeweler::GemcutterTasks.new
|
18
18
|
rescue LoadError
|
@@ -14,21 +14,7 @@ module RSpec
|
|
14
14
|
f.puts retry_command(example)
|
15
15
|
end
|
16
16
|
|
17
|
-
def dump_summary(*args)
|
18
|
-
|
19
|
-
def dump_failures(*args);end
|
20
|
-
|
21
|
-
def dump_failure(*args);end
|
22
|
-
|
23
|
-
def dump_pending(*args);end
|
24
|
-
|
25
|
-
def retry_command(example)
|
26
|
-
spec_file = example_group.location.gsub("\"", "\\\"").match(/spec.*b/).to_s
|
27
|
-
spec_name = example.description
|
28
|
-
"SPEC=#{Dir.pwd}/#{spec_file} SPEC_OPTS='-e \"#{spec_name}\"'"
|
29
|
-
end
|
30
|
-
|
31
|
-
def close()
|
17
|
+
def dump_summary(*args)
|
32
18
|
rerun_failed_examples = false
|
33
19
|
@rerun_failures ||= []
|
34
20
|
@rerun_passes ||= []
|
@@ -64,6 +50,27 @@ module RSpec
|
|
64
50
|
end
|
65
51
|
else
|
66
52
|
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def dump_failures(*args)
|
56
|
+
;
|
57
|
+
end
|
58
|
+
|
59
|
+
def dump_failure(*args)
|
60
|
+
;
|
61
|
+
end
|
62
|
+
|
63
|
+
def dump_pending(*args)
|
64
|
+
;
|
65
|
+
end
|
66
|
+
|
67
|
+
def retry_command(example)
|
68
|
+
spec_file = example_group.location.gsub("\"", "\\\"").match(/spec.*b/).to_s
|
69
|
+
spec_name = example.description
|
70
|
+
"SPEC=#{Dir.pwd}/#{spec_file} SPEC_OPTS='-e \"#{spec_name}\"'"
|
71
|
+
end
|
72
|
+
|
73
|
+
def close()
|
67
74
|
@output.close if (IO === @output) & (@output != $stdout)
|
68
75
|
end
|
69
76
|
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.3.
|
8
|
+
s.version = "0.3.22"
|
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,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallelized_specs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 22
|
10
|
+
version: 0.3.22
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jake Sorce, Bryan Madsen, Shawn Meredith
|