cedar_policy 0.5.3-x64-mingw-ucrt → 0.6.2-x64-mingw-ucrt

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: c6f3543c7437ec7cd1be204e458d875f05b7fe2053c5a705eb97e1a712bca6b9
4
- data.tar.gz: a1fd1b36c92d1aac5347c24860d9263c66d2a395ad657f9f1ef552824f802c22
3
+ metadata.gz: 9990c9f987edd7d3179bbf908d0b2651472779328dffd59c56398c35d49cf9df
4
+ data.tar.gz: 4c12d74d47e7fbeb561bddc2fbff2f29c91981b3c33d5336e88e5184357ac512
5
5
  SHA512:
6
- metadata.gz: 61d964827673deb7cfb5fe6c01c6038652976c1aef9ff9adbc3ca83a8204d0b46085e2e600e3651db37c00c33698e0d85eeaa61a1b3acdb7b56cc58c748d2a33
7
- data.tar.gz: b9693c62fc17309ab520a708906271c591033a35205b0490a9e740fcab0446a7e8196edcce2ffef95ab37e1e7675e50c7417852ec9d97b576c9752d75cfcf97e
6
+ metadata.gz: e4a8a42929f6e4ac623301bd427a7cd1237c2fa020403fc8c7400fb26d0a0d564eade9e028b788108c23ffd161fcf0e2fe105ca2b0b826c5be615544a501ed53
7
+ data.tar.gz: 5dd89c0650b3d681bdd1cf2419a18085ede458e360f21d6066195920aa1dd8f3f44743732a9292106f45f42978c5eb15515b0ccf260e960dfdf9699d619f46ab
data/.cross_rubies CHANGED
@@ -1,25 +1,35 @@
1
- 3.0:aarch64-linux
1
+ 3.0:aarch64-linux-gnu
2
+ 3.0:aarch64-linux-musl
2
3
  3.0:arm64-darwin
3
4
  3.0:x64-mingw32
4
5
  3.0:x86_64-darwin
5
- 3.0:x86_64-linux
6
- 3.1:aarch64-linux
6
+ 3.0:x86_64-linux-gnu
7
+ 3.0:x86_64-linux-musl
8
+ 3.1:aarch64-linux-gnu
9
+ 3.1:aarch64-linux-musl
7
10
  3.1:arm64-darwin
8
11
  3.1:x64-mingw-ucrt
9
12
  3.1:x86_64-darwin
10
- 3.1:x86_64-linux
11
- 3.2:aarch64-linux
13
+ 3.1:x86_64-linux-gnu
14
+ 3.1:x86_64-linux-musl
15
+ 3.2:aarch64-linux-gnu
16
+ 3.2:aarch64-linux-musl
12
17
  3.2:arm64-darwin
13
18
  3.2:x64-mingw-ucrt
14
19
  3.2:x86_64-darwin
15
- 3.2:x86_64-linux
16
- 3.3:aarch64-linux
20
+ 3.2:x86_64-linux-gnu
21
+ 3.2:x86_64-linux-musl
22
+ 3.3:aarch64-linux-gnu
23
+ 3.3:aarch64-linux-musl
17
24
  3.3:arm64-darwin
18
25
  3.3:x64-mingw-ucrt
19
26
  3.3:x86_64-darwin
20
- 3.3:x86_64-linux
21
- 3.4:aarch64-linux
27
+ 3.3:x86_64-linux-gnu
28
+ 3.3:x86_64-linux-musl
29
+ 3.4:aarch64-linux-gnu
30
+ 3.4:aarch64-linux-musl
22
31
  3.4:arm64-darwin
23
32
  3.4:x64-mingw-ucrt
24
33
  3.4:x86_64-darwin
25
- 3.4:x86_64-linux
34
+ 3.4:x86_64-linux-gnu
35
+ 3.4:x86_64-linux-musl
@@ -1 +1 @@
1
- {".":"0.5.3"}
1
+ {".":"0.6.2"}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.2](https://github.com/elct9620/cedar-policy-rb/compare/v0.6.1...v0.6.2) (2025-08-26)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * improve Ruby version compatibility and cross-compilation ([e08a3a0](https://github.com/elct9620/cedar-policy-rb/commit/e08a3a0c2266a1feb74a83ee38705205653f3625))
9
+ * revert rb_sys to 0.9.116 and restore mingw support ([6646b08](https://github.com/elct9620/cedar-policy-rb/commit/6646b08aea8954b0071b29936d03b48854eb203a))
10
+ * select correct minimal ruby version for different platform ([9d9fc09](https://github.com/elct9620/cedar-policy-rb/commit/9d9fc09a4c8dec6269cd05b22774c5e03aeb2dce))
11
+
12
+
13
+ ### Reverts
14
+
15
+ * restore rb_sys to 0.9.117 after investigation ([f1e77dd](https://github.com/elct9620/cedar-policy-rb/commit/f1e77ddca61b7c48575c6548620a76cc5954524e))
16
+
17
+ ## [0.6.1](https://github.com/elct9620/cedar-policy-rb/compare/v0.6.0...v0.6.1) (2025-08-26)
18
+
19
+
20
+ ### Miscellaneous Chores
21
+
22
+ * release-as 0.6.1 ([882b4d9](https://github.com/elct9620/cedar-policy-rb/commit/882b4d9566a09f733195fc8216032a2fd0f3c7b9))
23
+
24
+ ## [0.6.0](https://github.com/elct9620/cedar-policy-rb/compare/v0.5.3...v0.6.0) (2025-06-12)
25
+
26
+
27
+ ### ⚠ BREAKING CHANGES
28
+
29
+ * depends on behavior in RubyGems >= 3.3.22
30
+
31
+ ### Features
32
+
33
+ * adds support for musl libc ([#43](https://github.com/elct9620/cedar-policy-rb/issues/43)) ([563f4f4](https://github.com/elct9620/cedar-policy-rb/commit/563f4f45aeb9f97cccc8aad384702a7ac5dcbc7a))
34
+
35
+
36
+ ### Miscellaneous Chores
37
+
38
+ * release 0.6.0 ([1e18e75](https://github.com/elct9620/cedar-policy-rb/commit/1e18e75574ef30d00cf21de212b88360d718e5b4))
39
+
3
40
  ## [0.5.3](https://github.com/elct9620/cedar-policy-rb/compare/v0.5.2...v0.5.3) (2025-06-10)
4
41
 
5
42
 
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.5.3"
4
+ VERSION = "0.6.2"
5
5
  end
data/lib/cedar_policy.rb CHANGED
@@ -4,12 +4,18 @@ require "json"
4
4
  require "set"
5
5
 
6
6
  require_relative "cedar_policy/version"
7
- require_relative "cedar_policy/cedar_policy"
8
7
  require_relative "cedar_policy/entity_uid"
9
8
  require_relative "cedar_policy/entity"
10
9
  require_relative "cedar_policy/entities"
11
10
  require_relative "cedar_policy/context"
12
11
 
12
+ begin
13
+ RUBY_VERSION =~ /(\d+\.\d+)/
14
+ require "cedar_policy/#{Regexp.last_match(1)}/cedar_policy"
15
+ rescue LoadError
16
+ require "cedar_policy/cedar_policy"
17
+ end
18
+
13
19
  # :nodoc:
14
20
  module CedarPolicy
15
21
  class Error < StandardError; 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.5.3
4
+ version: 0.6.2
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Aotokitsuruya
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-06-10 00:00:00.000000000 Z
11
+ date: 2025-08-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby bindings for Cedar policy evaluation engine.
14
14
  email:
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - ">="
63
63
  - !ruby/object:Gem::Version
64
- version: 3.3.11
64
+ version: 3.3.22
65
65
  requirements: []
66
66
  rubygems_version: 3.5.23
67
67
  signing_key: