cedar_policy 0.6.1 → 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 +14 -0
- data/Cargo.lock +84 -84
- data/ext/cedar_policy/Cargo.toml +1 -1
- data/lib/cedar_policy/version.rb +1 -1
- data/lib/cedar_policy.rb +7 -1
- metadata +1 -1
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,19 @@
|
|
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
|
+
|
3
17
|
## [0.6.1](https://github.com/elct9620/cedar-policy-rb/compare/v0.6.0...v0.6.1) (2025-08-26)
|
4
18
|
|
5
19
|
|
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,15 +120,15 @@ 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
|
]
|
@@ -200,7 +200,7 @@ dependencies = [
|
|
200
200
|
|
201
201
|
[[package]]
|
202
202
|
name = "cedar_policy"
|
203
|
-
version = "0.6.
|
203
|
+
version = "0.6.2"
|
204
204
|
dependencies = [
|
205
205
|
"cedar-policy",
|
206
206
|
"magnus",
|
@@ -218,9 +218,9 @@ dependencies = [
|
|
218
218
|
|
219
219
|
[[package]]
|
220
220
|
name = "cfg-if"
|
221
|
-
version = "1.0.
|
221
|
+
version = "1.0.3"
|
222
222
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
223
|
-
checksum = "
|
223
|
+
checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
|
224
224
|
|
225
225
|
[[package]]
|
226
226
|
name = "cfg_aliases"
|
@@ -334,9 +334,9 @@ dependencies = [
|
|
334
334
|
|
335
335
|
[[package]]
|
336
336
|
name = "dyn-clone"
|
337
|
-
version = "1.0.
|
337
|
+
version = "1.0.20"
|
338
338
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
339
|
-
checksum = "
|
339
|
+
checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
|
340
340
|
|
341
341
|
[[package]]
|
342
342
|
name = "educe"
|
@@ -415,9 +415,9 @@ dependencies = [
|
|
415
415
|
|
416
416
|
[[package]]
|
417
417
|
name = "glob"
|
418
|
-
version = "0.3.
|
418
|
+
version = "0.3.3"
|
419
419
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
420
|
-
checksum = "
|
420
|
+
checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
|
421
421
|
|
422
422
|
[[package]]
|
423
423
|
name = "hashbrown"
|
@@ -427,9 +427,9 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
|
427
427
|
|
428
428
|
[[package]]
|
429
429
|
name = "hashbrown"
|
430
|
-
version = "0.15.
|
430
|
+
version = "0.15.5"
|
431
431
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
432
|
-
checksum = "
|
432
|
+
checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
|
433
433
|
|
434
434
|
[[package]]
|
435
435
|
name = "hex"
|
@@ -437,15 +437,6 @@ version = "0.4.3"
|
|
437
437
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
438
438
|
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
|
439
439
|
|
440
|
-
[[package]]
|
441
|
-
name = "home"
|
442
|
-
version = "0.5.11"
|
443
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
444
|
-
checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf"
|
445
|
-
dependencies = [
|
446
|
-
"windows-sys",
|
447
|
-
]
|
448
|
-
|
449
440
|
[[package]]
|
450
441
|
name = "iana-time-zone"
|
451
442
|
version = "0.1.63"
|
@@ -489,12 +480,12 @@ dependencies = [
|
|
489
480
|
|
490
481
|
[[package]]
|
491
482
|
name = "indexmap"
|
492
|
-
version = "2.
|
483
|
+
version = "2.11.0"
|
493
484
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
494
|
-
checksum = "
|
485
|
+
checksum = "f2481980430f9f78649238835720ddccc57e52df14ffce1c6f37391d61b563e9"
|
495
486
|
dependencies = [
|
496
487
|
"equivalent",
|
497
|
-
"hashbrown 0.15.
|
488
|
+
"hashbrown 0.15.5",
|
498
489
|
"serde",
|
499
490
|
]
|
500
491
|
|
@@ -587,9 +578,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
587
578
|
|
588
579
|
[[package]]
|
589
580
|
name = "libc"
|
590
|
-
version = "0.2.
|
581
|
+
version = "0.2.175"
|
591
582
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
592
|
-
checksum = "
|
583
|
+
checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
|
593
584
|
|
594
585
|
[[package]]
|
595
586
|
name = "libloading"
|
@@ -598,7 +589,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
598
589
|
checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
|
599
590
|
dependencies = [
|
600
591
|
"cfg-if",
|
601
|
-
"windows-targets 0.53.
|
592
|
+
"windows-targets 0.53.3",
|
602
593
|
]
|
603
594
|
|
604
595
|
[[package]]
|
@@ -619,18 +610,18 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
|
|
619
610
|
|
620
611
|
[[package]]
|
621
612
|
name = "logos"
|
622
|
-
version = "0.15.
|
613
|
+
version = "0.15.1"
|
623
614
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
624
|
-
checksum = "
|
615
|
+
checksum = "ff472f899b4ec2d99161c51f60ff7075eeb3097069a36050d8037a6325eb8154"
|
625
616
|
dependencies = [
|
626
617
|
"logos-derive",
|
627
618
|
]
|
628
619
|
|
629
620
|
[[package]]
|
630
621
|
name = "logos-codegen"
|
631
|
-
version = "0.15.
|
622
|
+
version = "0.15.1"
|
632
623
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
633
|
-
checksum = "
|
624
|
+
checksum = "192a3a2b90b0c05b27a0b2c43eecdb7c415e29243acc3f89cc8247a5b693045c"
|
634
625
|
dependencies = [
|
635
626
|
"beef",
|
636
627
|
"fnv",
|
@@ -644,9 +635,9 @@ dependencies = [
|
|
644
635
|
|
645
636
|
[[package]]
|
646
637
|
name = "logos-derive"
|
647
|
-
version = "0.15.
|
638
|
+
version = "0.15.1"
|
648
639
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
649
|
-
checksum = "
|
640
|
+
checksum = "605d9697bcd5ef3a42d38efc51541aa3d6a4a25f7ab6d1ed0da5ac632a26b470"
|
650
641
|
dependencies = [
|
651
642
|
"logos-codegen",
|
652
643
|
]
|
@@ -676,9 +667,9 @@ dependencies = [
|
|
676
667
|
|
677
668
|
[[package]]
|
678
669
|
name = "memchr"
|
679
|
-
version = "2.7.
|
670
|
+
version = "2.7.5"
|
680
671
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
681
|
-
checksum = "
|
672
|
+
checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
|
682
673
|
|
683
674
|
[[package]]
|
684
675
|
name = "miette"
|
@@ -785,7 +776,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
785
776
|
checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772"
|
786
777
|
dependencies = [
|
787
778
|
"fixedbitset",
|
788
|
-
"indexmap 2.
|
779
|
+
"indexmap 2.11.0",
|
789
780
|
]
|
790
781
|
|
791
782
|
[[package]]
|
@@ -828,9 +819,9 @@ dependencies = [
|
|
828
819
|
|
829
820
|
[[package]]
|
830
821
|
name = "proc-macro2"
|
831
|
-
version = "1.0.
|
822
|
+
version = "1.0.101"
|
832
823
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
833
|
-
checksum = "
|
824
|
+
checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
|
834
825
|
dependencies = [
|
835
826
|
"unicode-ident",
|
836
827
|
]
|
@@ -855,18 +846,18 @@ dependencies = [
|
|
855
846
|
|
856
847
|
[[package]]
|
857
848
|
name = "rb-sys"
|
858
|
-
version = "0.9.
|
849
|
+
version = "0.9.117"
|
859
850
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
860
|
-
checksum = "
|
851
|
+
checksum = "f900d1ce4629a2ebffaf5de74bd8f9c1188d4c5ed406df02f97e22f77a006f44"
|
861
852
|
dependencies = [
|
862
853
|
"rb-sys-build",
|
863
854
|
]
|
864
855
|
|
865
856
|
[[package]]
|
866
857
|
name = "rb-sys-build"
|
867
|
-
version = "0.9.
|
858
|
+
version = "0.9.117"
|
868
859
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
869
|
-
checksum = "
|
860
|
+
checksum = "ef1e9c857028f631056bcd6d88cec390c751e343ce2223ddb26d23eb4a151d59"
|
870
861
|
dependencies = [
|
871
862
|
"bindgen",
|
872
863
|
"lazy_static",
|
@@ -885,9 +876,9 @@ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
|
|
885
876
|
|
886
877
|
[[package]]
|
887
878
|
name = "redox_syscall"
|
888
|
-
version = "0.5.
|
879
|
+
version = "0.5.17"
|
889
880
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
890
|
-
checksum = "
|
881
|
+
checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77"
|
891
882
|
dependencies = [
|
892
883
|
"bitflags",
|
893
884
|
]
|
@@ -914,9 +905,9 @@ dependencies = [
|
|
914
905
|
|
915
906
|
[[package]]
|
916
907
|
name = "regex"
|
917
|
-
version = "1.11.
|
908
|
+
version = "1.11.2"
|
918
909
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
919
|
-
checksum = "
|
910
|
+
checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912"
|
920
911
|
dependencies = [
|
921
912
|
"aho-corasick",
|
922
913
|
"memchr",
|
@@ -926,9 +917,9 @@ dependencies = [
|
|
926
917
|
|
927
918
|
[[package]]
|
928
919
|
name = "regex-automata"
|
929
|
-
version = "0.4.
|
920
|
+
version = "0.4.10"
|
930
921
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
931
|
-
checksum = "
|
922
|
+
checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6"
|
932
923
|
dependencies = [
|
933
924
|
"aho-corasick",
|
934
925
|
"memchr",
|
@@ -937,9 +928,9 @@ dependencies = [
|
|
937
928
|
|
938
929
|
[[package]]
|
939
930
|
name = "regex-syntax"
|
940
|
-
version = "0.8.
|
931
|
+
version = "0.8.6"
|
941
932
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
942
|
-
checksum = "
|
933
|
+
checksum = "caf4aa5b0f434c91fe5c7f1ecb6a5ece2130b02ad2a590589dda5146df959001"
|
943
934
|
|
944
935
|
[[package]]
|
945
936
|
name = "rustc-hash"
|
@@ -967,9 +958,9 @@ dependencies = [
|
|
967
958
|
|
968
959
|
[[package]]
|
969
960
|
name = "rustversion"
|
970
|
-
version = "1.0.
|
961
|
+
version = "1.0.22"
|
971
962
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
972
|
-
checksum = "
|
963
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
973
964
|
|
974
965
|
[[package]]
|
975
966
|
name = "ryu"
|
@@ -1000,9 +991,9 @@ dependencies = [
|
|
1000
991
|
|
1001
992
|
[[package]]
|
1002
993
|
name = "schemars"
|
1003
|
-
version = "1.0.
|
994
|
+
version = "1.0.4"
|
1004
995
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1005
|
-
checksum = "
|
996
|
+
checksum = "82d20c4491bc164fa2f6c5d44565947a52ad80b9505d8e36f8d54c27c739fcd0"
|
1006
997
|
dependencies = [
|
1007
998
|
"dyn-clone",
|
1008
999
|
"ref-cast",
|
@@ -1050,11 +1041,11 @@ dependencies = [
|
|
1050
1041
|
|
1051
1042
|
[[package]]
|
1052
1043
|
name = "serde_json"
|
1053
|
-
version = "1.0.
|
1044
|
+
version = "1.0.143"
|
1054
1045
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1055
|
-
checksum = "
|
1046
|
+
checksum = "d401abef1d108fbd9cbaebc3e46611f4b1021f714a0597a71f41ee463f5f4a5a"
|
1056
1047
|
dependencies = [
|
1057
|
-
"indexmap 2.
|
1048
|
+
"indexmap 2.11.0",
|
1058
1049
|
"itoa",
|
1059
1050
|
"memchr",
|
1060
1051
|
"ryu",
|
@@ -1082,9 +1073,9 @@ dependencies = [
|
|
1082
1073
|
"chrono",
|
1083
1074
|
"hex",
|
1084
1075
|
"indexmap 1.9.3",
|
1085
|
-
"indexmap 2.
|
1076
|
+
"indexmap 2.11.0",
|
1086
1077
|
"schemars 0.9.0",
|
1087
|
-
"schemars 1.0.
|
1078
|
+
"schemars 1.0.4",
|
1088
1079
|
"serde",
|
1089
1080
|
"serde_derive",
|
1090
1081
|
"serde_json",
|
@@ -1158,7 +1149,7 @@ dependencies = [
|
|
1158
1149
|
"cfg-if",
|
1159
1150
|
"libc",
|
1160
1151
|
"psm",
|
1161
|
-
"windows-sys",
|
1152
|
+
"windows-sys 0.59.0",
|
1162
1153
|
]
|
1163
1154
|
|
1164
1155
|
[[package]]
|
@@ -1181,9 +1172,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
1181
1172
|
|
1182
1173
|
[[package]]
|
1183
1174
|
name = "syn"
|
1184
|
-
version = "2.0.
|
1175
|
+
version = "2.0.106"
|
1185
1176
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1186
|
-
checksum = "
|
1177
|
+
checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
|
1187
1178
|
dependencies = [
|
1188
1179
|
"proc-macro2",
|
1189
1180
|
"quote",
|
@@ -1198,28 +1189,27 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
|
|
1198
1189
|
|
1199
1190
|
[[package]]
|
1200
1191
|
name = "term"
|
1201
|
-
version = "1.0
|
1192
|
+
version = "1.1.0"
|
1202
1193
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1203
|
-
checksum = "
|
1194
|
+
checksum = "a43bddab41f8626c7bdaab872bbba75f8df5847b516d77c569c746e2ae5eb746"
|
1204
1195
|
dependencies = [
|
1205
|
-
"
|
1206
|
-
"windows-sys",
|
1196
|
+
"windows-sys 0.60.2",
|
1207
1197
|
]
|
1208
1198
|
|
1209
1199
|
[[package]]
|
1210
1200
|
name = "thiserror"
|
1211
|
-
version = "2.0.
|
1201
|
+
version = "2.0.16"
|
1212
1202
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1213
|
-
checksum = "
|
1203
|
+
checksum = "3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0"
|
1214
1204
|
dependencies = [
|
1215
1205
|
"thiserror-impl",
|
1216
1206
|
]
|
1217
1207
|
|
1218
1208
|
[[package]]
|
1219
1209
|
name = "thiserror-impl"
|
1220
|
-
version = "2.0.
|
1210
|
+
version = "2.0.16"
|
1221
1211
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1222
|
-
checksum = "
|
1212
|
+
checksum = "6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960"
|
1223
1213
|
dependencies = [
|
1224
1214
|
"proc-macro2",
|
1225
1215
|
"quote",
|
@@ -1259,9 +1249,9 @@ dependencies = [
|
|
1259
1249
|
|
1260
1250
|
[[package]]
|
1261
1251
|
name = "tinyvec"
|
1262
|
-
version = "1.
|
1252
|
+
version = "1.10.0"
|
1263
1253
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1264
|
-
checksum = "
|
1254
|
+
checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa"
|
1265
1255
|
dependencies = [
|
1266
1256
|
"tinyvec_macros",
|
1267
1257
|
]
|
@@ -1403,11 +1393,11 @@ dependencies = [
|
|
1403
1393
|
|
1404
1394
|
[[package]]
|
1405
1395
|
name = "winapi-util"
|
1406
|
-
version = "0.1.
|
1396
|
+
version = "0.1.10"
|
1407
1397
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1408
|
-
checksum = "
|
1398
|
+
checksum = "0978bf7171b3d90bac376700cb56d606feb40f251a475a5d6634613564460b22"
|
1409
1399
|
dependencies = [
|
1410
|
-
"windows-sys",
|
1400
|
+
"windows-sys 0.60.2",
|
1411
1401
|
]
|
1412
1402
|
|
1413
1403
|
[[package]]
|
@@ -1447,9 +1437,9 @@ dependencies = [
|
|
1447
1437
|
|
1448
1438
|
[[package]]
|
1449
1439
|
name = "windows-link"
|
1450
|
-
version = "0.1.
|
1440
|
+
version = "0.1.3"
|
1451
1441
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1452
|
-
checksum = "
|
1442
|
+
checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
|
1453
1443
|
|
1454
1444
|
[[package]]
|
1455
1445
|
name = "windows-result"
|
@@ -1478,6 +1468,15 @@ dependencies = [
|
|
1478
1468
|
"windows-targets 0.52.6",
|
1479
1469
|
]
|
1480
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
|
+
|
1481
1480
|
[[package]]
|
1482
1481
|
name = "windows-targets"
|
1483
1482
|
version = "0.52.6"
|
@@ -1496,10 +1495,11 @@ dependencies = [
|
|
1496
1495
|
|
1497
1496
|
[[package]]
|
1498
1497
|
name = "windows-targets"
|
1499
|
-
version = "0.53.
|
1498
|
+
version = "0.53.3"
|
1500
1499
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1501
|
-
checksum = "
|
1500
|
+
checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91"
|
1502
1501
|
dependencies = [
|
1502
|
+
"windows-link",
|
1503
1503
|
"windows_aarch64_gnullvm 0.53.0",
|
1504
1504
|
"windows_aarch64_msvc 0.53.0",
|
1505
1505
|
"windows_i686_gnu 0.53.0",
|
data/ext/cedar_policy/Cargo.toml
CHANGED
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
|