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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 600f920ed258588d3e095996daf8b1b5a8ff67858d0c1df3dea3855740b747a5
4
- data.tar.gz: a766fe3b12b746d82c9b794a4f2b605d083926b4f39101ba37c3549d422231b8
3
+ metadata.gz: 14c3d1766e66ce798f9ab84f03116967ffb4276b47d8bc70684807169eaa5b33
4
+ data.tar.gz: 8cd1e3f60c4f84778ac55a1bae5c5177bf5cdd38377cec9a404af1e1cdaa5cdb
5
5
  SHA512:
6
- metadata.gz: 8d48f7d704adb92e94f140abd282b8f607fc3f537bdcf090d49237392bf011ca465a2b25bcb255f2cf7aa1a0ee84dd077dcfecef41e684aace402444bec3e222
7
- data.tar.gz: ddf5b9213ea7a18e5b3925ed481dd60df6dfeed7637230e549e3cbb2b54b958268e156e7f5de91cfc6566e81784c99947a98e60892b8bc411bbf2c5be541c1a1
6
+ metadata.gz: 6ff5c718dfd2dc32bb56f87be84b988ea74e6141e9307db8c2d1cb85e82f76348c7fac040e8aa2876fe4ac69deda9fed01c89ad6c5cfd538281c48cbbd444ef3
7
+ data.tar.gz: e17bb10b2a6c578cb80da3e9e4883b6f52bc489819246e9597a9f1ad968eeafe12cec2d9bb973c3a9769a4dce9f197310ea84592104e080656ebb22f632558b3
@@ -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
@@ -1,6 +1,6 @@
1
1
  module RSpec
2
2
  module Abq
3
3
  # current version!
4
- VERSION = "1.2.2"
4
+ VERSION = "1.2.3"
5
5
  end
6
6
  end
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.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-10 00:00:00.000000000 Z
13
+ date: 2025-12-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec-core