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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/ace/bundle/version.rb +1 -1
- data/lib/ace/bundle.rb +10 -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: 427a953588f514c063a522a71aa9aaeaa470884b448f8fe6667819398e803cac
|
|
4
|
+
data.tar.gz: 2536b9c3f9ce844d9908c078b7d9c141e03c769e663b4c1391d569443d888bb8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/ace/bundle/version.rb
CHANGED
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
|