cedar_policy 0.6.0 → 0.6.2
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/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +21 -0
- data/Cargo.lock +122 -114
- data/ext/cedar_policy/Cargo.toml +2 -2
- data/lib/cedar_policy/version.rb +1 -1
- data/lib/cedar_policy.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38c040a8b2a66186277adb6e3424840bc3e410444ddde470fad7f1e04a42ce61
|
4
|
+
data.tar.gz: f4ee38c4f1de27d91353b4d9d9e80a85a5204f1eaa7450f67f94a417e67baf14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b56d9cbd59da63236216dba57f539a27b9480b01aa18526463eac8d0f7299af38a1c8f52af4c2bc5c1821293cefb9a9d17c1cc62eb570e197add92f03f38dfce
|
7
|
+
data.tar.gz: 6dac00819069fe90bd6dece4be28c489cd4fd9efe23ab827c59a37228f606e9ba8ffbf8b66766139a0e2cb5e6e09a2edd371dca73c9f321f4aef244311a0b4ac
|
@@ -1 +1 @@
|
|
1
|
-
{".":"0.6.
|
1
|
+
{".":"0.6.2"}
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
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
|
+
|
3
24
|
## [0.6.0](https://github.com/elct9620/cedar-policy-rb/compare/v0.5.3...v0.6.0) (2025-06-12)
|
4
25
|
|
5
26
|
|
data/Cargo.lock
CHANGED
@@ -43,9 +43,9 @@ dependencies = [
|
|
43
43
|
|
44
44
|
[[package]]
|
45
45
|
name = "autocfg"
|
46
|
-
version = "1.
|
46
|
+
version = "1.5.0"
|
47
47
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
48
|
-
checksum = "
|
48
|
+
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
49
49
|
|
50
50
|
[[package]]
|
51
51
|
name = "base64"
|
@@ -96,9 +96,9 @@ checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
|
|
96
96
|
|
97
97
|
[[package]]
|
98
98
|
name = "bitflags"
|
99
|
-
version = "2.9.
|
99
|
+
version = "2.9.3"
|
100
100
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
101
|
-
checksum = "
|
101
|
+
checksum = "34efbcccd345379ca2868b2b2c9d3782e9cc58ba87bc7d79d5b53d9c9ae6f25d"
|
102
102
|
|
103
103
|
[[package]]
|
104
104
|
name = "block-buffer"
|
@@ -120,28 +120,27 @@ dependencies = [
|
|
120
120
|
|
121
121
|
[[package]]
|
122
122
|
name = "bumpalo"
|
123
|
-
version = "3.
|
123
|
+
version = "3.19.0"
|
124
124
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
125
|
-
checksum = "
|
125
|
+
checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
|
126
126
|
|
127
127
|
[[package]]
|
128
128
|
name = "cc"
|
129
|
-
version = "1.2.
|
129
|
+
version = "1.2.34"
|
130
130
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
131
|
-
checksum = "
|
131
|
+
checksum = "42bc4aea80032b7bf409b0bc7ccad88853858911b7713a8062fdc0623867bedc"
|
132
132
|
dependencies = [
|
133
133
|
"shlex",
|
134
134
|
]
|
135
135
|
|
136
136
|
[[package]]
|
137
137
|
name = "cedar-policy"
|
138
|
-
version = "4.
|
138
|
+
version = "4.5.1"
|
139
139
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
140
|
-
checksum = "
|
140
|
+
checksum = "c48e6e6d7a17aabe41cf70c5613413ce0cc82f5f651357843bd02b8d41ca08a4"
|
141
141
|
dependencies = [
|
142
142
|
"cedar-policy-core",
|
143
143
|
"cedar-policy-formatter",
|
144
|
-
"cedar-policy-validator",
|
145
144
|
"itertools 0.14.0",
|
146
145
|
"lalrpop-util",
|
147
146
|
"lazy_static",
|
@@ -158,9 +157,9 @@ dependencies = [
|
|
158
157
|
|
159
158
|
[[package]]
|
160
159
|
name = "cedar-policy-core"
|
161
|
-
version = "4.
|
160
|
+
version = "4.5.1"
|
162
161
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
163
|
-
checksum = "
|
162
|
+
checksum = "02b45be5c965ce63bec3d284fefe0e042342f4e77f149a1e7aafc045119df738"
|
164
163
|
dependencies = [
|
165
164
|
"chrono",
|
166
165
|
"educe",
|
@@ -180,13 +179,14 @@ dependencies = [
|
|
180
179
|
"smol_str",
|
181
180
|
"stacker",
|
182
181
|
"thiserror",
|
182
|
+
"unicode-security",
|
183
183
|
]
|
184
184
|
|
185
185
|
[[package]]
|
186
186
|
name = "cedar-policy-formatter"
|
187
|
-
version = "4.
|
187
|
+
version = "4.5.1"
|
188
188
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
189
|
-
checksum = "
|
189
|
+
checksum = "ddec9c888e3afff8000f92d7c93e20a32559301c65fb80683335fb8bb8bf2f35"
|
190
190
|
dependencies = [
|
191
191
|
"cedar-policy-core",
|
192
192
|
"itertools 0.14.0",
|
@@ -198,33 +198,9 @@ dependencies = [
|
|
198
198
|
"smol_str",
|
199
199
|
]
|
200
200
|
|
201
|
-
[[package]]
|
202
|
-
name = "cedar-policy-validator"
|
203
|
-
version = "4.4.1"
|
204
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
205
|
-
checksum = "2f40762e669e4ec5a4b3a2b3d3aa2567d768aa74b735760f13197312c1150f69"
|
206
|
-
dependencies = [
|
207
|
-
"cedar-policy-core",
|
208
|
-
"educe",
|
209
|
-
"itertools 0.14.0",
|
210
|
-
"lalrpop",
|
211
|
-
"lalrpop-util",
|
212
|
-
"lazy_static",
|
213
|
-
"miette",
|
214
|
-
"nonempty",
|
215
|
-
"ref-cast",
|
216
|
-
"serde",
|
217
|
-
"serde_json",
|
218
|
-
"serde_with",
|
219
|
-
"smol_str",
|
220
|
-
"stacker",
|
221
|
-
"thiserror",
|
222
|
-
"unicode-security",
|
223
|
-
]
|
224
|
-
|
225
201
|
[[package]]
|
226
202
|
name = "cedar_policy"
|
227
|
-
version = "0.6.
|
203
|
+
version = "0.6.2"
|
228
204
|
dependencies = [
|
229
205
|
"cedar-policy",
|
230
206
|
"magnus",
|
@@ -242,9 +218,9 @@ dependencies = [
|
|
242
218
|
|
243
219
|
[[package]]
|
244
220
|
name = "cfg-if"
|
245
|
-
version = "1.0.
|
221
|
+
version = "1.0.3"
|
246
222
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
247
|
-
checksum = "
|
223
|
+
checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
|
248
224
|
|
249
225
|
[[package]]
|
250
226
|
name = "cfg_aliases"
|
@@ -356,6 +332,12 @@ dependencies = [
|
|
356
332
|
"crypto-common",
|
357
333
|
]
|
358
334
|
|
335
|
+
[[package]]
|
336
|
+
name = "dyn-clone"
|
337
|
+
version = "1.0.20"
|
338
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
339
|
+
checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
|
340
|
+
|
359
341
|
[[package]]
|
360
342
|
name = "educe"
|
361
343
|
version = "0.6.0"
|
@@ -433,9 +415,9 @@ dependencies = [
|
|
433
415
|
|
434
416
|
[[package]]
|
435
417
|
name = "glob"
|
436
|
-
version = "0.3.
|
418
|
+
version = "0.3.3"
|
437
419
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
438
|
-
checksum = "
|
420
|
+
checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
|
439
421
|
|
440
422
|
[[package]]
|
441
423
|
name = "hashbrown"
|
@@ -445,9 +427,9 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
|
445
427
|
|
446
428
|
[[package]]
|
447
429
|
name = "hashbrown"
|
448
|
-
version = "0.15.
|
430
|
+
version = "0.15.5"
|
449
431
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
450
|
-
checksum = "
|
432
|
+
checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
|
451
433
|
|
452
434
|
[[package]]
|
453
435
|
name = "hex"
|
@@ -455,15 +437,6 @@ version = "0.4.3"
|
|
455
437
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
456
438
|
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
|
457
439
|
|
458
|
-
[[package]]
|
459
|
-
name = "home"
|
460
|
-
version = "0.5.11"
|
461
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
462
|
-
checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf"
|
463
|
-
dependencies = [
|
464
|
-
"windows-sys",
|
465
|
-
]
|
466
|
-
|
467
440
|
[[package]]
|
468
441
|
name = "iana-time-zone"
|
469
442
|
version = "0.1.63"
|
@@ -507,12 +480,12 @@ dependencies = [
|
|
507
480
|
|
508
481
|
[[package]]
|
509
482
|
name = "indexmap"
|
510
|
-
version = "2.
|
483
|
+
version = "2.11.0"
|
511
484
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
512
|
-
checksum = "
|
485
|
+
checksum = "f2481980430f9f78649238835720ddccc57e52df14ffce1c6f37391d61b563e9"
|
513
486
|
dependencies = [
|
514
487
|
"equivalent",
|
515
|
-
"hashbrown 0.15.
|
488
|
+
"hashbrown 0.15.5",
|
516
489
|
"serde",
|
517
490
|
]
|
518
491
|
|
@@ -605,9 +578,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
605
578
|
|
606
579
|
[[package]]
|
607
580
|
name = "libc"
|
608
|
-
version = "0.2.
|
581
|
+
version = "0.2.175"
|
609
582
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
610
|
-
checksum = "
|
583
|
+
checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
|
611
584
|
|
612
585
|
[[package]]
|
613
586
|
name = "libloading"
|
@@ -616,7 +589,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
616
589
|
checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
|
617
590
|
dependencies = [
|
618
591
|
"cfg-if",
|
619
|
-
"windows-targets 0.53.
|
592
|
+
"windows-targets 0.53.3",
|
620
593
|
]
|
621
594
|
|
622
595
|
[[package]]
|
@@ -637,18 +610,18 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
|
|
637
610
|
|
638
611
|
[[package]]
|
639
612
|
name = "logos"
|
640
|
-
version = "0.15.
|
613
|
+
version = "0.15.1"
|
641
614
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
642
|
-
checksum = "
|
615
|
+
checksum = "ff472f899b4ec2d99161c51f60ff7075eeb3097069a36050d8037a6325eb8154"
|
643
616
|
dependencies = [
|
644
617
|
"logos-derive",
|
645
618
|
]
|
646
619
|
|
647
620
|
[[package]]
|
648
621
|
name = "logos-codegen"
|
649
|
-
version = "0.15.
|
622
|
+
version = "0.15.1"
|
650
623
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
651
|
-
checksum = "
|
624
|
+
checksum = "192a3a2b90b0c05b27a0b2c43eecdb7c415e29243acc3f89cc8247a5b693045c"
|
652
625
|
dependencies = [
|
653
626
|
"beef",
|
654
627
|
"fnv",
|
@@ -662,9 +635,9 @@ dependencies = [
|
|
662
635
|
|
663
636
|
[[package]]
|
664
637
|
name = "logos-derive"
|
665
|
-
version = "0.15.
|
638
|
+
version = "0.15.1"
|
666
639
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
667
|
-
checksum = "
|
640
|
+
checksum = "605d9697bcd5ef3a42d38efc51541aa3d6a4a25f7ab6d1ed0da5ac632a26b470"
|
668
641
|
dependencies = [
|
669
642
|
"logos-codegen",
|
670
643
|
]
|
@@ -694,9 +667,9 @@ dependencies = [
|
|
694
667
|
|
695
668
|
[[package]]
|
696
669
|
name = "memchr"
|
697
|
-
version = "2.7.
|
670
|
+
version = "2.7.5"
|
698
671
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
699
|
-
checksum = "
|
672
|
+
checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
|
700
673
|
|
701
674
|
[[package]]
|
702
675
|
name = "miette"
|
@@ -803,7 +776,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
803
776
|
checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772"
|
804
777
|
dependencies = [
|
805
778
|
"fixedbitset",
|
806
|
-
"indexmap 2.
|
779
|
+
"indexmap 2.11.0",
|
807
780
|
]
|
808
781
|
|
809
782
|
[[package]]
|
@@ -846,9 +819,9 @@ dependencies = [
|
|
846
819
|
|
847
820
|
[[package]]
|
848
821
|
name = "proc-macro2"
|
849
|
-
version = "1.0.
|
822
|
+
version = "1.0.101"
|
850
823
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
851
|
-
checksum = "
|
824
|
+
checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
|
852
825
|
dependencies = [
|
853
826
|
"unicode-ident",
|
854
827
|
]
|
@@ -873,18 +846,18 @@ dependencies = [
|
|
873
846
|
|
874
847
|
[[package]]
|
875
848
|
name = "rb-sys"
|
876
|
-
version = "0.9.
|
849
|
+
version = "0.9.117"
|
877
850
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
878
|
-
checksum = "
|
851
|
+
checksum = "f900d1ce4629a2ebffaf5de74bd8f9c1188d4c5ed406df02f97e22f77a006f44"
|
879
852
|
dependencies = [
|
880
853
|
"rb-sys-build",
|
881
854
|
]
|
882
855
|
|
883
856
|
[[package]]
|
884
857
|
name = "rb-sys-build"
|
885
|
-
version = "0.9.
|
858
|
+
version = "0.9.117"
|
886
859
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
887
|
-
checksum = "
|
860
|
+
checksum = "ef1e9c857028f631056bcd6d88cec390c751e343ce2223ddb26d23eb4a151d59"
|
888
861
|
dependencies = [
|
889
862
|
"bindgen",
|
890
863
|
"lazy_static",
|
@@ -903,9 +876,9 @@ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
|
|
903
876
|
|
904
877
|
[[package]]
|
905
878
|
name = "redox_syscall"
|
906
|
-
version = "0.5.
|
879
|
+
version = "0.5.17"
|
907
880
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
908
|
-
checksum = "
|
881
|
+
checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77"
|
909
882
|
dependencies = [
|
910
883
|
"bitflags",
|
911
884
|
]
|
@@ -932,9 +905,9 @@ dependencies = [
|
|
932
905
|
|
933
906
|
[[package]]
|
934
907
|
name = "regex"
|
935
|
-
version = "1.11.
|
908
|
+
version = "1.11.2"
|
936
909
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
937
|
-
checksum = "
|
910
|
+
checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912"
|
938
911
|
dependencies = [
|
939
912
|
"aho-corasick",
|
940
913
|
"memchr",
|
@@ -944,9 +917,9 @@ dependencies = [
|
|
944
917
|
|
945
918
|
[[package]]
|
946
919
|
name = "regex-automata"
|
947
|
-
version = "0.4.
|
920
|
+
version = "0.4.10"
|
948
921
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
949
|
-
checksum = "
|
922
|
+
checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6"
|
950
923
|
dependencies = [
|
951
924
|
"aho-corasick",
|
952
925
|
"memchr",
|
@@ -955,9 +928,9 @@ dependencies = [
|
|
955
928
|
|
956
929
|
[[package]]
|
957
930
|
name = "regex-syntax"
|
958
|
-
version = "0.8.
|
931
|
+
version = "0.8.6"
|
959
932
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
960
|
-
checksum = "
|
933
|
+
checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001"
|
961
934
|
|
962
935
|
[[package]]
|
963
936
|
name = "rustc-hash"
|
@@ -985,9 +958,9 @@ dependencies = [
|
|
985
958
|
|
986
959
|
[[package]]
|
987
960
|
name = "rustversion"
|
988
|
-
version = "1.0.
|
961
|
+
version = "1.0.22"
|
989
962
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
990
|
-
checksum = "
|
963
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
991
964
|
|
992
965
|
[[package]]
|
993
966
|
name = "ryu"
|
@@ -1004,6 +977,30 @@ dependencies = [
|
|
1004
977
|
"winapi-util",
|
1005
978
|
]
|
1006
979
|
|
980
|
+
[[package]]
|
981
|
+
name = "schemars"
|
982
|
+
version = "0.9.0"
|
983
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
984
|
+
checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f"
|
985
|
+
dependencies = [
|
986
|
+
"dyn-clone",
|
987
|
+
"ref-cast",
|
988
|
+
"serde",
|
989
|
+
"serde_json",
|
990
|
+
]
|
991
|
+
|
992
|
+
[[package]]
|
993
|
+
name = "schemars"
|
994
|
+
version = "1.0.4"
|
995
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
996
|
+
checksum = "82d20c4491bc164fa2f6c5d44565947a52ad80b9505d8e36f8d54c27c739fcd0"
|
997
|
+
dependencies = [
|
998
|
+
"dyn-clone",
|
999
|
+
"ref-cast",
|
1000
|
+
"serde",
|
1001
|
+
"serde_json",
|
1002
|
+
]
|
1003
|
+
|
1007
1004
|
[[package]]
|
1008
1005
|
name = "scopeguard"
|
1009
1006
|
version = "1.2.0"
|
@@ -1044,11 +1041,11 @@ dependencies = [
|
|
1044
1041
|
|
1045
1042
|
[[package]]
|
1046
1043
|
name = "serde_json"
|
1047
|
-
version = "1.0.
|
1044
|
+
version = "1.0.143"
|
1048
1045
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1049
|
-
checksum = "
|
1046
|
+
checksum = "d401abef1d108fbd9cbaebc3e46611f4b1021f714a0597a71f41ee463f5f4a5a"
|
1050
1047
|
dependencies = [
|
1051
|
-
"indexmap 2.
|
1048
|
+
"indexmap 2.11.0",
|
1052
1049
|
"itoa",
|
1053
1050
|
"memchr",
|
1054
1051
|
"ryu",
|
@@ -1068,15 +1065,17 @@ dependencies = [
|
|
1068
1065
|
|
1069
1066
|
[[package]]
|
1070
1067
|
name = "serde_with"
|
1071
|
-
version = "3.
|
1068
|
+
version = "3.14.0"
|
1072
1069
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1073
|
-
checksum = "
|
1070
|
+
checksum = "f2c45cd61fefa9db6f254525d46e392b852e0e61d9a1fd36e5bd183450a556d5"
|
1074
1071
|
dependencies = [
|
1075
1072
|
"base64",
|
1076
1073
|
"chrono",
|
1077
1074
|
"hex",
|
1078
1075
|
"indexmap 1.9.3",
|
1079
|
-
"indexmap 2.
|
1076
|
+
"indexmap 2.11.0",
|
1077
|
+
"schemars 0.9.0",
|
1078
|
+
"schemars 1.0.4",
|
1080
1079
|
"serde",
|
1081
1080
|
"serde_derive",
|
1082
1081
|
"serde_json",
|
@@ -1086,9 +1085,9 @@ dependencies = [
|
|
1086
1085
|
|
1087
1086
|
[[package]]
|
1088
1087
|
name = "serde_with_macros"
|
1089
|
-
version = "3.
|
1088
|
+
version = "3.14.0"
|
1090
1089
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1091
|
-
checksum = "
|
1090
|
+
checksum = "de90945e6565ce0d9a25098082ed4ee4002e047cb59892c318d66821e14bb30f"
|
1092
1091
|
dependencies = [
|
1093
1092
|
"darling",
|
1094
1093
|
"proc-macro2",
|
@@ -1150,7 +1149,7 @@ dependencies = [
|
|
1150
1149
|
"cfg-if",
|
1151
1150
|
"libc",
|
1152
1151
|
"psm",
|
1153
|
-
"windows-sys",
|
1152
|
+
"windows-sys 0.59.0",
|
1154
1153
|
]
|
1155
1154
|
|
1156
1155
|
[[package]]
|
@@ -1173,9 +1172,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
1173
1172
|
|
1174
1173
|
[[package]]
|
1175
1174
|
name = "syn"
|
1176
|
-
version = "2.0.
|
1175
|
+
version = "2.0.106"
|
1177
1176
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1178
|
-
checksum = "
|
1177
|
+
checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
|
1179
1178
|
dependencies = [
|
1180
1179
|
"proc-macro2",
|
1181
1180
|
"quote",
|
@@ -1190,28 +1189,27 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
|
|
1190
1189
|
|
1191
1190
|
[[package]]
|
1192
1191
|
name = "term"
|
1193
|
-
version = "1.0
|
1192
|
+
version = "1.1.0"
|
1194
1193
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1195
|
-
checksum = "
|
1194
|
+
checksum = "a43bddab41f8626c7bdaab872bbba75f8df5847b516d77c569c746e2ae5eb746"
|
1196
1195
|
dependencies = [
|
1197
|
-
"
|
1198
|
-
"windows-sys",
|
1196
|
+
"windows-sys 0.60.2",
|
1199
1197
|
]
|
1200
1198
|
|
1201
1199
|
[[package]]
|
1202
1200
|
name = "thiserror"
|
1203
|
-
version = "2.0.
|
1201
|
+
version = "2.0.16"
|
1204
1202
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1205
|
-
checksum = "
|
1203
|
+
checksum = "3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0"
|
1206
1204
|
dependencies = [
|
1207
1205
|
"thiserror-impl",
|
1208
1206
|
]
|
1209
1207
|
|
1210
1208
|
[[package]]
|
1211
1209
|
name = "thiserror-impl"
|
1212
|
-
version = "2.0.
|
1210
|
+
version = "2.0.16"
|
1213
1211
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1214
|
-
checksum = "
|
1212
|
+
checksum = "6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960"
|
1215
1213
|
dependencies = [
|
1216
1214
|
"proc-macro2",
|
1217
1215
|
"quote",
|
@@ -1251,9 +1249,9 @@ dependencies = [
|
|
1251
1249
|
|
1252
1250
|
[[package]]
|
1253
1251
|
name = "tinyvec"
|
1254
|
-
version = "1.
|
1252
|
+
version = "1.10.0"
|
1255
1253
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1256
|
-
checksum = "
|
1254
|
+
checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa"
|
1257
1255
|
dependencies = [
|
1258
1256
|
"tinyvec_macros",
|
1259
1257
|
]
|
@@ -1395,11 +1393,11 @@ dependencies = [
|
|
1395
1393
|
|
1396
1394
|
[[package]]
|
1397
1395
|
name = "winapi-util"
|
1398
|
-
version = "0.1.
|
1396
|
+
version = "0.1.10"
|
1399
1397
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1400
|
-
checksum = "
|
1398
|
+
checksum = "0978bf7171b3d90bac376700cb56d606feb40f251a475a5d6634613564460b22"
|
1401
1399
|
dependencies = [
|
1402
|
-
"windows-sys",
|
1400
|
+
"windows-sys 0.60.2",
|
1403
1401
|
]
|
1404
1402
|
|
1405
1403
|
[[package]]
|
@@ -1439,9 +1437,9 @@ dependencies = [
|
|
1439
1437
|
|
1440
1438
|
[[package]]
|
1441
1439
|
name = "windows-link"
|
1442
|
-
version = "0.1.
|
1440
|
+
version = "0.1.3"
|
1443
1441
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1444
|
-
checksum = "
|
1442
|
+
checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
|
1445
1443
|
|
1446
1444
|
[[package]]
|
1447
1445
|
name = "windows-result"
|
@@ -1470,6 +1468,15 @@ dependencies = [
|
|
1470
1468
|
"windows-targets 0.52.6",
|
1471
1469
|
]
|
1472
1470
|
|
1471
|
+
[[package]]
|
1472
|
+
name = "windows-sys"
|
1473
|
+
version = "0.60.2"
|
1474
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1475
|
+
checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
|
1476
|
+
dependencies = [
|
1477
|
+
"windows-targets 0.53.3",
|
1478
|
+
]
|
1479
|
+
|
1473
1480
|
[[package]]
|
1474
1481
|
name = "windows-targets"
|
1475
1482
|
version = "0.52.6"
|
@@ -1488,10 +1495,11 @@ dependencies = [
|
|
1488
1495
|
|
1489
1496
|
[[package]]
|
1490
1497
|
name = "windows-targets"
|
1491
|
-
version = "0.53.
|
1498
|
+
version = "0.53.3"
|
1492
1499
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1493
|
-
checksum = "
|
1500
|
+
checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91"
|
1494
1501
|
dependencies = [
|
1502
|
+
"windows-link",
|
1495
1503
|
"windows_aarch64_gnullvm 0.53.0",
|
1496
1504
|
"windows_aarch64_msvc 0.53.0",
|
1497
1505
|
"windows_i686_gnu 0.53.0",
|
data/ext/cedar_policy/Cargo.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
[package]
|
2
2
|
name = "cedar_policy"
|
3
|
-
version = "0.6.
|
3
|
+
version = "0.6.2"
|
4
4
|
edition = "2021"
|
5
5
|
authors = ["Aotokitsuruya <contact@aotoki.me>"]
|
6
6
|
license = "Apache-2.0"
|
@@ -10,6 +10,6 @@ publish = false
|
|
10
10
|
crate-type = ["cdylib"]
|
11
11
|
|
12
12
|
[dependencies]
|
13
|
-
cedar-policy = "4.
|
13
|
+
cedar-policy = "4.5.1"
|
14
14
|
magnus = "0.7.1"
|
15
15
|
serde_magnus = "0.9.0"
|
data/lib/cedar_policy/version.rb
CHANGED
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.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aotokitsuruya
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
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:
|