rspec-abq 1.2.2 → 1.2.3
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/abq/extensions.rb +1 -1
- data/lib/rspec/abq/version.rb +1 -1
- data/lib/rspec/abq.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14c3d1766e66ce798f9ab84f03116967ffb4276b47d8bc70684807169eaa5b33
|
|
4
|
+
data.tar.gz: 8cd1e3f60c4f84778ac55a1bae5c5177bf5cdd38377cec9a404af1e1cdaa5cdb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ff5c718dfd2dc32bb56f87be84b988ea74e6141e9307db8c2d1cb85e82f76348c7fac040e8aa2876fe4ac69deda9fed01c89ad6c5cfd538281c48cbbd444ef3
|
|
7
|
+
data.tar.gz: e17bb10b2a6c578cb80da3e9e4883b6f52bc489819246e9597a9f1ad968eeafe12cec2d9bb973c3a9769a4dce9f197310ea84592104e080656ebb22f632558b3
|
data/lib/rspec/abq/extensions.rb
CHANGED
|
@@ -42,7 +42,7 @@ module RSpec
|
|
|
42
42
|
# true &&= expression : expression will be run, fine!
|
|
43
43
|
# false &&= expression: expression will NOT be run! bad!
|
|
44
44
|
# we want to always run the test, even if the previous test failed.
|
|
45
|
-
succeeded = considered_example.run(instance, reporter)
|
|
45
|
+
succeeded = DebugLogger.log_operation("run_example(#{considered_example.id})") { considered_example.run(instance, reporter) }
|
|
46
46
|
all_examples_succeeded &&= succeeded
|
|
47
47
|
|
|
48
48
|
Abq.fetch_next_example
|
data/lib/rspec/abq/version.rb
CHANGED
data/lib/rspec/abq.rb
CHANGED
|
@@ -214,7 +214,7 @@ module RSpec
|
|
|
214
214
|
# the first message is the init_meta block of the manifest. This is used to share runtime configuration
|
|
215
215
|
# information amongst worker processes. In RSpec, it is used to ensure that random ordering between workers
|
|
216
216
|
# shares the same seed.
|
|
217
|
-
init_message = protocol_read
|
|
217
|
+
init_message = protocol_read(context: "init_message")
|
|
218
218
|
DebugLogger.log_operation("protocol_write(INIT_SUCCESS_MESSAGE)") { protocol_write(INIT_SUCCESS_MESSAGE) }
|
|
219
219
|
|
|
220
220
|
if init_message["fast_exit"]
|
|
@@ -266,7 +266,7 @@ module RSpec
|
|
|
266
266
|
|
|
267
267
|
# pulls next example from the abq worker and sets it to #target_test_case
|
|
268
268
|
# @!visibility private
|
|
269
|
-
def self.fetch_next_example(message = protocol_read)
|
|
269
|
+
def self.fetch_next_example(message = protocol_read(context: "next_example"))
|
|
270
270
|
@target_test_case =
|
|
271
271
|
if message == :abq_done
|
|
272
272
|
TestCase.end_marker
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-abq
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- rwx
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2025-12-
|
|
13
|
+
date: 2025-12-19 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rspec-core
|