jade_systems_toolbox 0.2.1 → 0.2.2

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: 6e5e58dc71de22b037aab057b8a9205361a239590b6b844f438b59fdd771441f
4
- data.tar.gz: 1b6a2766065ad815318eb62d463c3d5113ac3ed4b6e293c6aa883f6b3e174845
3
+ metadata.gz: 76cad5b2040d4fd08c70b6ce3e43b27a206be851eefe47e75d57cf558d8d5eeb
4
+ data.tar.gz: 25009287f1cca977b4e1ba1d887e74b7e0987e596ef48e7d0102a2bf975c32a0
5
5
  SHA512:
6
- metadata.gz: 257d930928d5186d49415b1cc25b28122e5dada2753610ef3346ef39aa6174b01c89a43dfa567464caca71ea0c23982d9bb876e544e1fd4ae2fed4c4b29548e7
7
- data.tar.gz: 51ea308a86ef16a12d8d2cb43dbe300558e3b97ed4aa0fe009834ad6c226121c58cc3e287639132f425f0d50ae2da3b907b9698349e9ec9775df551dd9eb28b6
6
+ metadata.gz: ca8173bb3d3c1103b7e3e4c59f8f4fa5accc530f06e0d910ca9f69b878d998b778732e8563698cd144b1fdbfe74f9efa8d8605a7da9268fce513acc92a6b99b2
7
+ data.tar.gz: 6fc73063a5f60b69defebf5403290b000afc9ed1eb6bf3c473b9aae632f6c095a5819a58bc2a8a911835cc91c8a894a677ea97a9463f7fc9f778d2e317cfcc7e
@@ -98,14 +98,14 @@ module JadeSystemsToolbox
98
98
  container_port = container_ports&.[](0) || container_port
99
99
  path = "/#{path}" if path[0] != "/"
100
100
  url = "#{protocol}://localhost:#{host_port_from_container_port(service:, container_port:)}#{path}"
101
- if `command -v "open"`
101
+ if system("sh -c 'command -v open'")
102
102
  # Real Unix :-)
103
- system "open #{url}"
104
- elsif `command -v "cmd.exe"`
103
+ system("open #{url}")
104
+ elsif system("sh -c 'command -v cmd.exe'")
105
105
  # WSL because this opens a URL in the browser, which will be on Windows.
106
- system "cmd.exe /c start #{url}"
106
+ system("cmd.exe /c start #{url}")
107
107
  else
108
- raise ArgumentError, "no suitable command available to open app."
108
+ raise ArgumentError, "No suitable command available to open app."
109
109
  end
110
110
  end
111
111
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JadeSystemsToolbox
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jade_systems_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Larry Reid
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-11-14 00:00:00.000000000 Z
11
+ date: 2026-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor