rspec-queue 0.2.0 → 0.3.0
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/rspec_queue/worker_runner.rb +10 -8
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c352162e77fe0b3a4b5d453240d5736ca6667742248823dbc7683806909c470b
|
|
4
|
+
data.tar.gz: d188b9f78193b938d99e910c0e2e1c335cc9dd8d6b732a9c309f10befd15bcae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33d431c2d25fd594dffa594d0f4277b1c14ad811b5b6562d90f3e2feea2f34cbc035fddde20c544ff556633f505a048664cee79b5e47339c64b59dcda5f539e7
|
|
7
|
+
data.tar.gz: 4bb0a0f0ba4ed06c6bf43b75977b8b20a0fb01b2a1f86ad588999a6eca76a372496eae04fd4058f1dcf61cda7b1e58e39c561bc60087361bfbed6ff742172a71
|
|
@@ -14,16 +14,18 @@ module RSpecQueue
|
|
|
14
14
|
|
|
15
15
|
worker = RSpecQueue::Worker.new
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
@configuration.with_suite_hooks do
|
|
18
|
+
reporter = @configuration.reporter
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
while(worker.has_work?)
|
|
21
|
+
# can we pass in a custom reporter which instantly reports back
|
|
22
|
+
# to the server?
|
|
23
|
+
example_group_hash[worker.current_example].run(reporter)
|
|
24
|
+
end
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
# report the results of the examples run to the master process
|
|
27
|
+
worker.finish(reporter)
|
|
28
|
+
end
|
|
27
29
|
|
|
28
30
|
ensure
|
|
29
31
|
Process.exit
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-queue
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nick Browne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-04-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec-core
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '3.
|
|
19
|
+
version: '3.2'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '3.
|
|
26
|
+
version: '3.2'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rspec
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|