ace-bundle 0.40.1 → 0.40.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: b3398d18b96bc1a9cb8763ed6c739dee4cc2c43a96645bab10fc6852c9c76110
4
- data.tar.gz: d17a1fc03f51619399f4102bb7f308ca93c0751394e6c43901632ec057293229
3
+ metadata.gz: 427a953588f514c063a522a71aa9aaeaa470884b448f8fe6667819398e803cac
4
+ data.tar.gz: 2536b9c3f9ce844d9908c078b7d9c141e03c769e663b4c1391d569443d888bb8
5
5
  SHA512:
6
- metadata.gz: 29445cdb859605821f2a81a6f59b2eb255a0154d85e6871171d4fb82fca38574b3fec150df75a68c3a4e2acf14a6b76a72301792945680c35f952d4a7352cea5
7
- data.tar.gz: a7539e8729b4263d227b42f1b593d8d0bc180a7c52b5df6f53bd38352ef351c240e67969d89a4efc9b0177f1a88937a841d75a270eb0fea69d23f8b78a0de258
6
+ metadata.gz: 7eb87dacebc906ad37b9b7bba897e744f15d9e5206a58ddf196c00f209c53607d60cb384872b71cddbe09c3805b1c052f273b69e17db71d2e7baec3e5172cdd0
7
+ data.tar.gz: 7805010b8d93bc51ba3f0532572ddc91109d0eff44e33b42383a9248865b37c5ee944f1ebab2ebefadf9e5a3ce180029af227db417aeee1d087cc5a6a723f7fe
data/CHANGELOG.md CHANGED
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog][1], and this project adheres to [Seman
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.40.2] - 2026-03-23
10
+
11
+ ### Added
12
+ - Write `.meta.json` sidecar file alongside bundle output when compression is active, providing compression statistics for downstream tools like ace-compressor.
13
+
9
14
  ## [0.40.1] - 2026-03-23
10
15
 
11
16
  ### Added
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ace
4
4
  module Bundle
5
- VERSION = "0.40.1"
5
+ VERSION = "0.40.2"
6
6
  end
7
7
  end
data/lib/ace/bundle.rb CHANGED
@@ -114,7 +114,16 @@ module Ace
114
114
  cache_dir: cache_dir,
115
115
  max_lines: max_lines
116
116
  )
117
- writer.write_with_chunking(bundle, output_path, options)
117
+ result = writer.write_with_chunking(bundle, output_path, options)
118
+
119
+ # Write compression metadata sidecar for downstream tools (e.g., ace-compressor)
120
+ stats = bundle.respond_to?(:metadata) && bundle.metadata&.dig(:compression_stats)
121
+ if stats && result[:success]
122
+ require "json"
123
+ File.write("#{output_path}.meta.json", JSON.generate(stats))
124
+ end
125
+
126
+ result
118
127
  end
119
128
 
120
129
  # Get configuration for ace-bundle
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-bundle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.1
4
+ version: 0.40.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Czyz