ace-support-test-helpers 0.14.3 → 0.14.4

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: 30924ca77ecdc80a168d83e9352a79cddd32a4602692f7e4e86ad797f9871300
4
- data.tar.gz: 4e21f0e8a9f87f06bb4c24db88c6395cd8f195164fa5031c43002dcda484cd75
3
+ metadata.gz: a629650c00f11a385af2702b706fad2a502e89d740000dfafa1fe465c0f63ffa
4
+ data.tar.gz: 4ffe9e7d64e66814e667431cde88f42ebfbc8ac449c3c7832f3083745ab19f46
5
5
  SHA512:
6
- metadata.gz: 19da23814d679f7fc0bf4f783fc1e9d23e0dc6a51174589e1f33187e40cbd024ce4329a51b205c5c157c1ad77930d07db52c3bb7e04c760006be5674be818360
7
- data.tar.gz: e5fc6999bf0ba89276c34a9adaa0ecdaa797b8dfc0d5effe1d655075da8105f77f7b754d51bb772708abf0789be48745b5239b905933b8e2c84fe9eb800547f4
6
+ metadata.gz: ccf9bd44e4ba8dc9be6ea21df13afa27bd80baec31f295e61d4346cb670bd2e4905318e7c9b2fea092ca810e1b59a3f47080587efb6b25e1f4ac282e20b47701
7
+ data.tar.gz: e3448213c72aaacd1fa25aad4e061a9e4f22c0a0de0e8a0848da110f15af0a30e72f7f49408d419bd22413f27a3dd56d2971408aebc2ffb05979887fdd74e1ee
data/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+
11
+ ## [0.14.4] - 2026-09-02
12
+
13
+ ### Technical
14
+ - Included in the coordinated all-package patch release preparation for ACE monorepo review.
10
15
  ## [0.14.3] - 2026-08-12
11
16
 
12
17
  ### Technical
@@ -38,6 +38,35 @@ module Ace
38
38
  end
39
39
  end
40
40
 
41
+ # Returns true when mode-0000/DAC permission bits are enforced against
42
+ # the current process. Root and processes with CAP_DAC_OVERRIDE bypass
43
+ # these checks, so chmod-based permission tests must be skipped there.
44
+ def permission_denial_enforced?
45
+ return false if Gem.win_platform?
46
+
47
+ Tempfile.create("ace_perm_probe") do |probe|
48
+ probe.write("probe")
49
+ probe.flush
50
+ begin
51
+ File.chmod(0o000, probe.path)
52
+ rescue NotImplementedError, SystemCallError
53
+ return false
54
+ end
55
+ begin
56
+ File.read(probe.path)
57
+ false
58
+ rescue SystemCallError
59
+ true
60
+ ensure
61
+ begin
62
+ File.chmod(0o600, probe.path)
63
+ rescue StandardError
64
+ nil
65
+ end
66
+ end
67
+ end
68
+ end
69
+
41
70
  def create_config_file(path, content)
42
71
  FileUtils.mkdir_p(File.dirname(path))
43
72
  File.write(path, content)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ace
4
4
  module TestSupport
5
- VERSION = "0.14.3"
5
+ VERSION = "0.14.4"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-support-test-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.3
4
+ version: 0.14.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Czyz
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-08-12 00:00:00.000000000 Z
10
+ date: 2026-09-05 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: minitest