bitfab 0.78.8 → 0.78.9

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: 8f8c68d73bbd3106dda8a73869bf47be8352aaea7173b7d76db8263244972995
4
- data.tar.gz: f798f2990f652c06cc2f1ce56c4d07dadfbe48be90fc6803bd59e9e7e723dd4d
3
+ metadata.gz: 6892f6d3ae42731357b2c67e4d747c94e785a3bb529f70f27eb2354527408f6a
4
+ data.tar.gz: '014608e56ff337f9ccffb8176612b5eb9e10a2eb06e1c2b2a26cbe13666a6352'
5
5
  SHA512:
6
- metadata.gz: afba98886a92a4933c6d677c78d83f7757d4f685f8e246d7e7417ccb6501d0e685da8b8eac024ccadbda1e776cf0cb2260d0ec1bb0c29c88a065c4fae8973875
7
- data.tar.gz: d1f8feb7aaaa0380436b1210da0a91589c7702b56be757a086bdf09dd7cc27c87dd098426aa7f32dec3d3a484dda911b95f74cb37a92a7efa784d26eab08156d
6
+ metadata.gz: d396fc957aeaca47910ed6acaac7c153f8d36e8e25f8d8944f5eb04f10dc3fd3814eb5fd5c94a5546012affcc64bdcb6e25c714b9f19c162785830a4bbc0ad9d
7
+ data.tar.gz: 7ad0dd7fc9ef3660e902bdb1d1c4a88b5d3280d67f5723c324a19d801d6fe81f3a8e06916f3cd5887d2a3f42921ef01f2aacd1cdcdf4ce98bece839e8e18fcbf
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bitfab"
5
+
6
+ exit Bitfab::ReplayCommand.main
data/lib/bitfab/client.rb CHANGED
@@ -308,6 +308,8 @@ module Bitfab
308
308
  )
309
309
  end
310
310
 
311
+ alias_method :run_scenario, :replay
312
+
311
313
  # Register a mock override applied to every subsequent replay on this
312
314
  # client, so downstream real code runs against a value you supply for the
313
315
  # matched span. Instance-scoped (no global state); call
@@ -84,6 +84,11 @@ module Bitfab
84
84
  end
85
85
  end
86
86
 
87
+ # The replay registry, under a name for running scenarios. The same class, so
88
+ # a registry built with either name works with bitfab-replay and
89
+ # bitfab-run-scenario.
90
+ ScenarioRegistry = ReplayRegistry
91
+
87
92
  # Argument parsing and output for the SDK-owned replay command.
88
93
  module ReplayCli
89
94
  MAX_PINNED_TRACE_IDS = 100
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bitfab
4
- VERSION = "0.78.8"
4
+ VERSION = "0.78.9"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitfab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.78.8
4
+ version: 0.78.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harvest Team
@@ -161,12 +161,14 @@ email:
161
161
  - team@goharvest.ai
162
162
  executables:
163
163
  - bitfab-replay
164
+ - bitfab-run-scenario
164
165
  - bitfab-seed
165
166
  extensions: []
166
167
  extra_rdoc_files: []
167
168
  files:
168
169
  - README.md
169
170
  - exe/bitfab-replay
171
+ - exe/bitfab-run-scenario
170
172
  - exe/bitfab-seed
171
173
  - lib/bitfab.rb
172
174
  - lib/bitfab/agent_session.rb