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 +4 -4
- data/exe/bitfab-run-scenario +6 -0
- data/lib/bitfab/client.rb +2 -0
- data/lib/bitfab/replay_registry.rb +5 -0
- data/lib/bitfab/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6892f6d3ae42731357b2c67e4d747c94e785a3bb529f70f27eb2354527408f6a
|
|
4
|
+
data.tar.gz: '014608e56ff337f9ccffb8176612b5eb9e10a2eb06e1c2b2a26cbe13666a6352'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d396fc957aeaca47910ed6acaac7c153f8d36e8e25f8d8944f5eb04f10dc3fd3814eb5fd5c94a5546012affcc64bdcb6e25c714b9f19c162785830a4bbc0ad9d
|
|
7
|
+
data.tar.gz: 7ad0dd7fc9ef3660e902bdb1d1c4a88b5d3280d67f5723c324a19d801d6fe81f3a8e06916f3cd5887d2a3f42921ef01f2aacd1cdcdf4ce98bece839e8e18fcbf
|
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
|
data/lib/bitfab/version.rb
CHANGED
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.
|
|
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
|