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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97fff71bfa5c46c0a82bae86872692ae5488919550b2c0c9afce4e4385a5bc64
4
- data.tar.gz: c6e73139b02112a21a917af26942365a1ffcae3687990a643382a335c0b6fcc6
3
+ metadata.gz: 1df41865628edfde553fdb7cbd51caddf0115e8afc080342cdbb98cf47a1882a
4
+ data.tar.gz: 5d2916a8ac5f65502a5bd04c1b6f13a85c8d0ffd5493f679c3d0896243e0a401
5
5
  SHA512:
6
- metadata.gz: 2a8e8bef070892011cd79dbab1b679f6d7362921e294752869d5801c2c7c1e65019897ee5f0f14dbfbbbc3280cf1230a68f82f2d3b3a9b761096b51b7f9893f4
7
- data.tar.gz: 79687ddb896af4f69e20a9506c586df519486c632ef3a346aa0c5ae20fdd5d6dc8e3871d46efe4b3d82feb0751ab6a6002de39d487304ce9b9cf89ed3138fc44
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
- path
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
@@ -3,7 +3,7 @@
3
3
  module Ace
4
4
  module Support
5
5
  module Cli
6
- VERSION = "0.6.10"
6
+ VERSION = "0.6.11"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-support-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.10
4
+ version: 0.6.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Czyz