omq-cli 0.14.6 → 0.14.7
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/CHANGELOG.md +14 -0
- data/lib/omq/cli/base_runner.rb +6 -1
- data/lib/omq/cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 330b38ce9d2070cd908c5e8028c3a44bb20baedbacd6398ffec8257333dc34fc
|
|
4
|
+
data.tar.gz: 8aa238f889aadbbf346fd709a733a5b59f574bd8e5e6c9a01cbfae06b507a6ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d642f10effa6cde807518873a7651695c1e61fc490c8cefbe29a877cb2c5fc941561cdfa5ff073fbabf8c4d4463c766346098ef1924a3db6f9ba7182ebc22dce
|
|
7
|
+
data.tar.gz: 99a65f92098b4e37e7ce3d418f89a618feeb136f7469c9b351d20e7d6240cd8c343b68ea2777b8458efc97c6649ae13b51ca11a350f28c83217b243330701773
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.7 — 2026-04-14
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **v0.14.6 regression: `-e`/`-E` pure-generator mode broke on a
|
|
8
|
+
TTY.** The new `config.stdin_is_tty` fallback was inserted into
|
|
9
|
+
the same `elsif` as `stdin_ready?`, so a bare `omq push -E '"foo"'`
|
|
10
|
+
on a terminal routed into `run_stdin_send` instead of firing the
|
|
11
|
+
generator once. `run_send_logic` now checks `@send_eval_proc`
|
|
12
|
+
before the TTY fallback, and the fallback is only taken when no
|
|
13
|
+
other send source is configured. Surfaced by the
|
|
14
|
+
"marshal send path: PushRunner sends raw object" trace-order
|
|
15
|
+
test in CI.
|
|
16
|
+
|
|
3
17
|
## 0.14.6 — 2026-04-14
|
|
4
18
|
|
|
5
19
|
### Fixed
|
data/lib/omq/cli/base_runner.rb
CHANGED
|
@@ -207,11 +207,16 @@ 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?
|
|
211
211
|
run_stdin_send(n)
|
|
212
212
|
elsif @send_eval_proc
|
|
213
|
+
# Pure generator: -e/-E with no stdin input, fire once.
|
|
213
214
|
parts = eval_send_expr(nil)
|
|
214
215
|
send_msg(parts) if parts
|
|
216
|
+
elsif config.stdin_is_tty
|
|
217
|
+
# Bare interactive invocation on a terminal: read lines from
|
|
218
|
+
# the tty until the user hits ^D.
|
|
219
|
+
run_stdin_send(n)
|
|
215
220
|
end
|
|
216
221
|
end
|
|
217
222
|
|
data/lib/omq/cli/version.rb
CHANGED