ace-support-cli 0.6.10 → 0.6.11
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/support/cli/toolchain.rb +8 -1
- data/lib/ace/support/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: 1df41865628edfde553fdb7cbd51caddf0115e8afc080342cdbb98cf47a1882a
|
|
4
|
+
data.tar.gz: 5d2916a8ac5f65502a5bd04c1b6f13a85c8d0ffd5493f679c3d0896243e0a401
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5515f1fff2d0089ff05fe2624afd9820f5c7a0cb80529fae4c168874ced4d807d6f7b8a10cecef24a545c33c4818b1e2ac618b40cb2c17c0f9b27012b3ba25e
|
|
7
|
+
data.tar.gz: 007b2e794cc9b2682d246b64453ab75150c7b53c177f789fe989d57c85923ea0f29b6b31973d357ee59e8689d811aca0b3db5aa1bb88a72e303eced319d52563
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.6.11] - 2026-10-20
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- Installed executable dispatch uses the RubyGems launcher so child processes activate their own gem before closure verification, preserving source-injection checks.
|
|
11
|
+
|
|
7
12
|
## [0.6.10] - 2026-10-20
|
|
8
13
|
|
|
9
14
|
### Added
|
|
@@ -67,7 +67,14 @@ module Ace
|
|
|
67
67
|
unless File.executable?(path) && File.realpath(path).start_with?("#{File.realpath(spec.full_gem_path)}/")
|
|
68
68
|
raise Error, "installed executable #{name} missing or outside its gem: #{path}"
|
|
69
69
|
end
|
|
70
|
-
|
|
70
|
+
# The raw gem executable often uses require_relative and does not
|
|
71
|
+
# activate its own specification. Run RubyGems' installed launcher so
|
|
72
|
+
# the child records its actual dependency closure before verifying it.
|
|
73
|
+
launcher = File.join(Gem.bindir(spec.base_dir), name)
|
|
74
|
+
unless File.executable?(launcher) && File.realpath(launcher).start_with?("#{File.realpath(spec.base_dir)}/")
|
|
75
|
+
raise Error, "installed launcher #{name} missing or outside its gem installation: #{launcher}"
|
|
76
|
+
end
|
|
77
|
+
launcher
|
|
71
78
|
end
|
|
72
79
|
|
|
73
80
|
# Bundler/Ruby source injection must not leak into subprocesses. Domain
|