buffet 2.0.0 → 2.0.1
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.
- checksums.yaml +4 -4
- data/lib/buffet/master.rb +2 -1
- data/lib/buffet/runner.rb +6 -2
- data/lib/buffet/settings.rb +1 -1
- data/lib/buffet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34fe00227b4619bb73c3cfd1571e698a19b64cae
|
|
4
|
+
data.tar.gz: b5fc650c835310de9f847a9d060bfea283b9b67d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67b9f4ebb6e2241dccdd8d0c116d1ee9db027c067293bac600c9532c8a2f734b1bbd625fd32f1447127782266edc53acadd9911f4df4908551c431f67d31814d
|
|
7
|
+
data.tar.gz: d022140277b5d7b2ebf9508e527f3c9c6685aabb5523c0c24183e880a71cbfa431e3f9621059b07965f9de05b1a3f82da1b50d412ab35f7d305fe5a58c94705f
|
data/lib/buffet/master.rb
CHANGED
|
@@ -225,7 +225,8 @@ module Buffet
|
|
|
225
225
|
end
|
|
226
226
|
|
|
227
227
|
def rerun_spec?(spec)
|
|
228
|
-
spec && example_failed_last_run?(spec) && unconfirmed_failures(spec) > 0
|
|
228
|
+
spec && example_failed_last_run?(spec) && unconfirmed_failures(spec) > 0 &&
|
|
229
|
+
@spec_queue_count[spec] <= Settings.failure_threshold
|
|
229
230
|
end
|
|
230
231
|
|
|
231
232
|
def example_count(spec)
|
data/lib/buffet/runner.rb
CHANGED
|
@@ -87,13 +87,17 @@ module Buffet
|
|
|
87
87
|
results << @master.failures.map do |failure|
|
|
88
88
|
example_details(failure)
|
|
89
89
|
end
|
|
90
|
-
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
if @master.spurious_failures.any?
|
|
91
93
|
results << '' << 'SPURIOUS FAILURES:'.yellow
|
|
92
94
|
results << ('-' * 80).yellow
|
|
93
95
|
results << @master.spurious_failures.map do |spurious_failure|
|
|
94
96
|
example_details(spurious_failure)
|
|
95
97
|
end
|
|
96
|
-
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
if no_examples_run?
|
|
97
101
|
results << '' << 'No examples were run!'.red
|
|
98
102
|
end
|
|
99
103
|
|
data/lib/buffet/settings.rb
CHANGED
data/lib/buffet/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: buffet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Causes Engineering
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-04-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: colorize
|