omq-cli 0.14.5 → 0.14.6

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: f14ffbc99fefdb889511848a42e32bd4ae40d99c7cce460d258fdb7748957fe9
4
- data.tar.gz: 96d840a2f4c357a44ca5984a6ec1e25e17f732afdd73336561da1d434c3a5ae0
3
+ metadata.gz: 6e3050d7165339cb111711aebe54240077303952ae7f8ff149bcbc04584bbd43
4
+ data.tar.gz: a58e91a00af3189aa8ac183d39637744e34311f8e99f53ffdfaf8c5681f0ab31
5
5
  SHA512:
6
- metadata.gz: 0aff99845b46f61efcd3b1c46a7a3a8de7457a8ff669db1563d2191b086c1cc9344ec1b26937486626d53953e16c5754b8d08dd22f7a44bbe1a0038f0a6aa39a
7
- data.tar.gz: 23e995ee4b1e8cbbf2ad3389e5d94f5d5d8215eed0e8b73522242c4ac99b2edc7cbc77f39d83fbb07379236ad03f2ecc3a99cecef775d1075d83d471ff06a954
6
+ metadata.gz: e1c6dbcd552e0d808a0a130eab0cda40c90a03636df335c132da2d6ca754cc94be66edd8798d0768d74b698c9886b88d887ab71d7bc25ed5478035d20899fae1
7
+ data.tar.gz: 9ac43e61b051ae44e7475dc640109cc227dffc81cae115d515960880d0de95afadda75a993e1c965d73e4cbc13a770e94913c0b912f0355e7ec2084421577881
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.14.6 — 2026-04-14
4
+
5
+ ### Fixed
6
+
7
+ - **Bare `omq push -c tcp://…` on a terminal no longer exits
8
+ immediately.** `BaseRunner#run_send_logic` only fell through to
9
+ `run_stdin_send` when `stdin_ready?` was true, and `stdin_ready?`
10
+ hard-codes `false` on a tty — so `omq push` / `omq pub` /
11
+ `omq scatter` / `omq radio` / `omq pair` with no `-d` / `-f` /
12
+ `-e` / `-I` connected, sent nothing, and disconnected. The
13
+ elsif now also matches `config.stdin_is_tty`, so an interactive
14
+ run reads lines from the terminal the way `omq req` and
15
+ `omq rep` already did.
16
+
3
17
  ## 0.14.5 — 2026-04-14
4
18
 
5
19
  ### Fixed
@@ -207,7 +207,7 @@ module OMQ
207
207
  elsif config.data || config.file
208
208
  parts = eval_send_expr(read_next)
209
209
  send_msg(parts) if parts
210
- elsif stdin_ready?
210
+ elsif stdin_ready? || config.stdin_is_tty
211
211
  run_stdin_send(n)
212
212
  elsif @send_eval_proc
213
213
  parts = eval_send_expr(nil)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OMQ
4
4
  module CLI
5
- VERSION = "0.14.5"
5
+ VERSION = "0.14.6"
6
6
  end
7
7
  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.14.5
4
+ version: 0.14.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrik Wenger