bitfab 0.78.2 → 0.78.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.
@@ -7,7 +7,8 @@ module Bitfab
7
7
  module CloudReplayCli
8
8
  HINT = "Add --cloud to run the same replay on GitHub Actions; bitfab-replay --cloud --help explains it."
9
9
 
10
- HELPER = File.expand_path("cloudReplay.py", __dir__)
10
+ HELPER = File.expand_path("cloudReplay.mjs", __dir__)
11
+ NO_NODE = "Cloud replay needs Node.js 18+ on PATH as node"
11
12
  REPLAY_EXECUTABLE = File.expand_path("../../exe/bitfab-replay", __dir__)
12
13
 
13
14
  module_function
@@ -21,7 +22,7 @@ module Bitfab
21
22
  "BITFAB_REPLAY_COMMAND" => JSON.generate([RbConfig.ruby, REPLAY_EXECUTABLE]),
22
23
  "BITFAB_SDK_LANGUAGE" => "ruby"
23
24
  }
24
- pid = Process.spawn(env, "python3", helper, *argv)
25
+ pid = Process.spawn(env, "node", helper, *argv)
25
26
  begin
26
27
  _, status = Process.wait2(pid)
27
28
  rescue Interrupt
@@ -29,7 +30,7 @@ module Bitfab
29
30
  end
30
31
  status.exitstatus || ((status.termsig == Signal.list["INT"]) ? 130 : 1)
31
32
  rescue Errno::ENOENT
32
- warn "Cloud replay needs Python 3.10+ on PATH as python3"
33
+ warn NO_NODE
33
34
  1
34
35
  end
35
36
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bitfab
4
- VERSION = "0.78.2"
4
+ VERSION = "0.78.3"
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.2
4
+ version: 0.78.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harvest Team
@@ -175,7 +175,7 @@ files:
175
175
  - lib/bitfab/baml.rb
176
176
  - lib/bitfab/categories.rb
177
177
  - lib/bitfab/client.rb
178
- - lib/bitfab/cloudReplay.py
178
+ - lib/bitfab/cloudReplay.mjs
179
179
  - lib/bitfab/cloud_replay_cli.rb
180
180
  - lib/bitfab/commit_ref.rb
181
181
  - lib/bitfab/compress.rb