cedar_policy 0.6.2-aarch64-linux-gnu → 0.7.1-aarch64-linux-gnu

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: 5c3f26867725f22a4c6c4b0b8fa0ff3415aa40a9a1abb725909d497c59330701
4
- data.tar.gz: eede235ce671f246f94d082d8b0ff486a441f7586bd9b46835eae11875940bcf
3
+ metadata.gz: df8ceb5ba20c56693bd4371ec63714e3939bb1baa8171e516952f13a9f4e0714
4
+ data.tar.gz: e96ffc22dd440e3efac15edfe074aa0611a80d83572db59b1ecde0afae2b933b
5
5
  SHA512:
6
- metadata.gz: 105bcb28bcd41663c6f9e9f07b3fb02af1edecca7d29bfb6dc6b59bbd08bedccf9adbbf676ff257cc6c4d6df7bdc353b95775ce46b32299291e2c9d1c98f5778
7
- data.tar.gz: e2689423a1039d4b7ceb82308327ce113e2f2afa8f97e8386c0e5f4113cb288f086795932b0563470187f8857c13e4d62fde5d69cc89523052d0e6b2fbd3cc60
6
+ metadata.gz: c985f8478be731f66366e719cb8fd8a25f9d610f645fed821dad24583a8b8d44faf5e9eff2b5bf7b0b8c163446f9577798652468952a99fb94ec0b696803f227
7
+ data.tar.gz: fd3cbcb3ac1549f5bfabb4ed7e4383aed5778c8f40c9ee19655aaf56f03cf7e9c2acf5008850a6cf2f57ac14df5cd9fd1ec95966995d3269bdbec66d2e01d730
data/.cross_rubies CHANGED
@@ -33,3 +33,10 @@
33
33
  3.4:x86_64-darwin
34
34
  3.4:x86_64-linux-gnu
35
35
  3.4:x86_64-linux-musl
36
+ 4.0:aarch64-linux-gnu
37
+ 4.0:aarch64-linux-musl
38
+ 4.0:arm64-darwin
39
+ 4.0:x64-mingw-ucrt
40
+ 4.0:x86_64-darwin
41
+ 4.0:x86_64-linux-gnu
42
+ 4.0:x86_64-linux-musl
@@ -1 +1 @@
1
- {".":"0.6.2"}
1
+ {".":"0.7.1"}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.7.1](https://github.com/elct9620/cedar-policy-rb/compare/v0.7.0...v0.7.1) (2026-09-09)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * add Ruby 4.0 to cross-compile matrix ([db45762](https://github.com/elct9620/cedar-policy-rb/commit/db457622f525cac5daae3b1f25b329aa3f9f3faf))
9
+
10
+ ## [0.7.0](https://github.com/elct9620/cedar-policy-rb/compare/v0.6.2...v0.7.0) (2026-02-26)
11
+
12
+
13
+ ### Features
14
+
15
+ * add policy_ids method to PolicySet ([3812daf](https://github.com/elct9620/cedar-policy-rb/commit/3812dafce10a6574c07316ec73e2e45c15fdcd9f))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** enable stable-api-compiled-fallback for Ruby 4.0 support ([c3603ec](https://github.com/elct9620/cedar-policy-rb/commit/c3603ec67e0aa25cba9f57a08c2906a1bb43ccce))
21
+
3
22
  ## [0.6.2](https://github.com/elct9620/cedar-policy-rb/compare/v0.6.1...v0.6.2) (2025-08-26)
4
23
 
5
24
 
data/README.md CHANGED
@@ -40,7 +40,7 @@ policy_set = CedarPolicy::PolicySet.new(policy)
40
40
  Prepare the Entity's ID via `EntityUid` or an object with `#to_hash` method which returns a hash with `:type` and `:id` keys.
41
41
 
42
42
  ```ruby
43
- principal = CedarPolicy::EntityUid.new("User", "1") # or { type: "User", id: "1" }
43
+ principal = CedarPolicy::EntityUid.new("AdminUser", "1") # or { type: "AdminUser", id: "1" }
44
44
  action = CedarPolicy::EntityUid.new("Action", "view")
45
45
  resource = CedarPolicy::EntityUid.new("Image", "1")
46
46
  ```
@@ -85,10 +85,10 @@ Create an `Authorizer` object and authorize the request with the policy set and
85
85
  authorizer = CedarPolicy::Authorizer.new
86
86
  ```
87
87
 
88
- If boolean result is enough, use `#authorize?` method.
88
+ If boolean result is enough, use `#authorized?` method.
89
89
 
90
90
  ```ruby
91
- authorizer.authorize?(request, policy_set, entities) # => true
91
+ authorizer.authorized?(request, policy_set, entities) # => true
92
92
  ```
93
93
 
94
94
  If you want to get the decision object, use `#authorize` method.
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CedarPolicy
4
- VERSION = "0.6.2"
4
+ VERSION = "0.7.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cedar_policy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.7.1
5
5
  platform: aarch64-linux-gnu
6
6
  authors:
7
7
  - Aotokitsuruya
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-08-26 00:00:00.000000000 Z
11
+ date: 2026-09-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby bindings for Cedar policy evaluation engine.
14
14
  email:
@@ -31,6 +31,7 @@ files:
31
31
  - lib/cedar_policy/3.2/cedar_policy.so
32
32
  - lib/cedar_policy/3.3/cedar_policy.so
33
33
  - lib/cedar_policy/3.4/cedar_policy.so
34
+ - lib/cedar_policy/4.0/cedar_policy.so
34
35
  - lib/cedar_policy/context.rb
35
36
  - lib/cedar_policy/entities.rb
36
37
  - lib/cedar_policy/entity.rb
@@ -57,7 +58,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
57
58
  version: '3.0'
58
59
  - - "<"
59
60
  - !ruby/object:Gem::Version
60
- version: 3.5.dev
61
+ version: 4.1.dev
61
62
  required_rubygems_version: !ruby/object:Gem::Requirement
62
63
  requirements:
63
64
  - - ">="