omq-cli 0.5.2 → 0.5.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: 5f3ca44a806e32560f7cd0d7381f0aecd670e475659c5329853c2596e114dc22
4
- data.tar.gz: b14444d22ccad4e1209d4aaf7102cf4065450bb9892eca8498cdbd90d865936d
3
+ metadata.gz: e279857e2f3a00719143f4a8e4acec228ec3dd4fff595762d8a46aa7d9205ac2
4
+ data.tar.gz: 9fd8f925a13d9e0f54eeea65f4b13153547b270173c3e1904d82318c50b08981
5
5
  SHA512:
6
- metadata.gz: 53ce8979e26384cd35cd0ee6e1cb57d24f10e25c4a27e81063d5c6436d2d109bbf6f1aa9eee362d97bf8e75b82f9780c27482414a70b163b452c9a5349582d4e
7
- data.tar.gz: 6cfc6975d43a04198d89759c406e3068a72224206a265dc13976db8617ba3df3a2b39629c791f139b5b180db693453c1bbc271da9cd041caa78aaddd3c9f9989
6
+ metadata.gz: 729730a75a5173ba8217e4ae3d28bafa42257332d0b8082df3b8267f224f398dd8da93dfa7db05970580dc40fe23bc511a3d4864b0fea75db1a5b55795b537a4
7
+ data.tar.gz: ae2e82d0661e30cb7746f10b82d489d4bbbbcfd77df134ac4ebc6e7fbef0bc107cd26761ad7c0dc7b52368a1c017095033fca53acdc33fe8028d3facab3b643a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.3 — 2026-04-07
4
+
5
+ ### Fixed
6
+
7
+ - **HTTPS debug endpoint uses localhost.rb** — `OMQ_DEBUG_URI=https://...` now
8
+ uses `Localhost::Authority` for self-signed TLS, fixing "no shared cipher"
9
+ errors when accessing the async-debug web UI in a browser.
10
+
3
11
  ## 0.5.2 — 2026-04-07
4
12
 
5
13
  ### Fixed
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OMQ
4
4
  module CLI
5
- VERSION = "0.5.2"
5
+ VERSION = "0.5.3"
6
6
  end
7
7
  end
data/lib/omq/cli.rb CHANGED
@@ -211,7 +211,12 @@ module OMQ
211
211
  if ENV["OMQ_DEBUG_URI"]
212
212
  begin
213
213
  require "async/debug"
214
- debug_ep = Async::HTTP::Endpoint.parse ENV["OMQ_DEBUG_URI"]
214
+ debug_ep = Async::HTTP::Endpoint.parse(ENV["OMQ_DEBUG_URI"])
215
+ if debug_ep.scheme == "https"
216
+ require "localhost"
217
+ debug_ep = Async::HTTP::Endpoint.parse(ENV["OMQ_DEBUG_URI"],
218
+ ssl_context: Localhost::Authority.fetch.server_context)
219
+ end
215
220
  rescue LoadError
216
221
  abort "OMQ_DEBUG_URI requires the async-debug gem: gem install async-debug"
217
222
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omq-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrik Wenger