exwiw 0.9.2 → 0.9.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: 1856ad12991806b66ecce4a9fa6d85bc89c9e371f38c90da14168367b99e4f5b
4
- data.tar.gz: 0fe953311f016847e4b4adf27c8b82ff94d3012d8d896406200b4d94080e442e
3
+ metadata.gz: 0dd53c3798a3084444114cbf85e6a798d656d4a8e0a0db553185673ee80ad1ca
4
+ data.tar.gz: 35f28a107fabb0de4efdd8a4d4701676fac5d39b6ffb0d5b0cd8dae578cd9048
5
5
  SHA512:
6
- metadata.gz: bb984601846145d7e542bdaddfecfb836a393926f3cd985f879bdabd3a5c28a37b190de443ae881faf2adec384429746dd1816b2d5c5ad0d11d4f570dbc94e80
7
- data.tar.gz: 492316c915507618455644f2f4ff2073479db979a6e18b70aa8e2ff1efeb4df76562770be3bf760b3ab628c863ac3bb3b5a70806bc029730bda29df0bdb90ec2
6
+ metadata.gz: bef6a4a3ba42324f6ad06de118e1f08473c85c76dae4eb3a1573476dd9bc97d00bd2a8bfac15f3c4bdc746825eeb9c64ee047d7920d8327b0b76608ef3cb433e
7
+ data.tar.gz: 20ed7a044c94b0ad476a7ace6ebef261441a0e2c9e0afc0d913e4d25a540e3b8e7d3949d4b77dda0d2745bfaab986bed5ed59b1c41ecc526f4ccad48667e8369
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.9.3] - 2026-07-02
6
+
7
+ ### Fixed
8
+
9
+ - **Progress logs now flush in real time when stdout is a pipe.** The CLI logger writes to `STDOUT`, which Ruby block-buffers when stdout is not a TTY (e.g. captured by a parent process or shipped to log aggregation), so a long `export`/`explain` surfaced its per-collection progress (`Processing table '...' (i/n)`, `Generated INSERT statement for N records`) only when the buffer filled or the process exited — reading as a stall. The CLI now sets `STDOUT.sync = true` before building the logger so each line flushes immediately. Data output is written to files (not stdout), so this does not affect dump throughput.
10
+
5
11
  ## [0.9.2] - 2026-06-30
6
12
 
7
13
  ### Added
data/lib/exwiw/cli.rb CHANGED
@@ -575,6 +575,12 @@ module Exwiw
575
575
  "#{formatted_ts} [#{progname}]: #{msg}\n"
576
576
  end
577
577
 
578
+ # When STDOUT is a pipe (captured by a parent process / log aggregation),
579
+ # Logger.new(STDOUT) is block-buffered, so per-collection progress only
580
+ # surfaces when the buffer fills or the process exits. Sync so each log
581
+ # line flushes immediately and progress is visible in real time.
582
+ STDOUT.sync = true
583
+
578
584
  Logger.new(
579
585
  STDOUT,
580
586
  level: @log_level,
data/lib/exwiw/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Exwiw
4
- VERSION = "0.9.2"
4
+ VERSION = "0.9.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exwiw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shia