cedar_policy 0.3.0 → 0.4.0

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: 76b96cb6c030d60f45f3f9e17d66a30699c47e59d9d7aba5ca8b219221a6ddc7
4
- data.tar.gz: 25c77f6e597c3a807a42f258fa84c121f65c47bc27ddb787cfb2c16452bde3d1
3
+ metadata.gz: 7c46c07cabaada740e72ba7a82523f94e711439ac11ab5f4cb258f87958f640e
4
+ data.tar.gz: e27398198c12ba3c902f0dda5b1114809b44896c427d6a6f59ea3b16ef0be166
5
5
  SHA512:
6
- metadata.gz: 2d1336192d4d3d3c7db043d14c09ee7b09680af782609fe517669655724a4ce3cb26cab5a9dbc885e377e88b8e3046eab960968d7050b0f34f8cd9ba794d067b
7
- data.tar.gz: 63c799fccf4264495c08f45caae1fd42b807230d71ac8cdedfe3ca8498bd8464d6c136cdb4379e6a313e739f670fc44774c249e0ac911ced2bac94212db2ec62
6
+ metadata.gz: 41f6a54d5b1f8adf89a326410f71541d83cddee30fcd6854e345677d9a02859abf42e7c0feb898e6cff2e9b19fdb20d58b2b21ba12504daf57ec6d787e70ae61
7
+ data.tar.gz: 59d1b3b0e9444b3d38cecff6d85071cb8645a24c51a605ee877751577b0227dd0f4fb6d6b6af7c88e4f19a8dbd9319d0d89183ccf2d63e2380050fc368afd815
@@ -0,0 +1 @@
1
+ {".":"0.4.0"}
data/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # Changelog
2
+
3
+ ## [0.4.0](https://github.com/elct9620/cedar-policy-rb/compare/cedar_policy-v0.3.0...cedar_policy/v0.4.0) (2024-10-06)
4
+
5
+
6
+ ### Features
7
+
8
+ * **deps:** upgrade cedar-policy to v4.1.0 ([61d6fa1](https://github.com/elct9620/cedar-policy-rb/commit/61d6fa1a59ab2edd71972410c1d9d697fde60776))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * commitizen hook file bundled into gem ([b0c9c77](https://github.com/elct9620/cedar-policy-rb/commit/b0c9c77459ec614bfd4698d804969adb9b4bccc1))
data/Cargo.lock CHANGED
@@ -26,6 +26,12 @@ dependencies = [
26
26
  "libc",
27
27
  ]
28
28
 
29
+ [[package]]
30
+ name = "arrayvec"
31
+ version = "0.5.2"
32
+ source = "registry+https://github.com/rust-lang/crates.io-index"
33
+ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
34
+
29
35
  [[package]]
30
36
  name = "ascii-canvas"
31
37
  version = "3.0.0"
@@ -37,9 +43,9 @@ dependencies = [
37
43
 
38
44
  [[package]]
39
45
  name = "autocfg"
40
- version = "1.3.0"
46
+ version = "1.4.0"
41
47
  source = "registry+https://github.com/rust-lang/crates.io-index"
42
- checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
48
+ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
43
49
 
44
50
  [[package]]
45
51
  name = "base64"
@@ -47,6 +53,12 @@ version = "0.22.1"
47
53
  source = "registry+https://github.com/rust-lang/crates.io-index"
48
54
  checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
49
55
 
56
+ [[package]]
57
+ name = "beef"
58
+ version = "0.5.2"
59
+ source = "registry+https://github.com/rust-lang/crates.io-index"
60
+ checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1"
61
+
50
62
  [[package]]
51
63
  name = "bindgen"
52
64
  version = "0.69.4"
@@ -69,18 +81,18 @@ dependencies = [
69
81
 
70
82
  [[package]]
71
83
  name = "bit-set"
72
- version = "0.5.3"
84
+ version = "0.6.0"
73
85
  source = "registry+https://github.com/rust-lang/crates.io-index"
74
- checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
86
+ checksum = "f0481a0e032742109b1133a095184ee93d88f3dc9e0d28a5d033dc77a073f44f"
75
87
  dependencies = [
76
88
  "bit-vec",
77
89
  ]
78
90
 
79
91
  [[package]]
80
92
  name = "bit-vec"
81
- version = "0.6.3"
93
+ version = "0.7.0"
82
94
  source = "registry+https://github.com/rust-lang/crates.io-index"
83
- checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
95
+ checksum = "d2c54ff287cfc0a34f38a6b832ea1bd8e448a330b3e40a50859e6488bee07f22"
84
96
 
85
97
  [[package]]
86
98
  name = "bitflags"
@@ -88,6 +100,24 @@ version = "2.6.0"
88
100
  source = "registry+https://github.com/rust-lang/crates.io-index"
89
101
  checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
90
102
 
103
+ [[package]]
104
+ name = "block-buffer"
105
+ version = "0.10.4"
106
+ source = "registry+https://github.com/rust-lang/crates.io-index"
107
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
108
+ dependencies = [
109
+ "generic-array",
110
+ ]
111
+
112
+ [[package]]
113
+ name = "borsh"
114
+ version = "1.5.1"
115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
116
+ checksum = "a6362ed55def622cddc70a4746a68554d7b687713770de539e59a739b249f8ed"
117
+ dependencies = [
118
+ "cfg_aliases",
119
+ ]
120
+
91
121
  [[package]]
92
122
  name = "bumpalo"
93
123
  version = "3.16.0"
@@ -96,23 +126,29 @@ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
96
126
 
97
127
  [[package]]
98
128
  name = "cc"
99
- version = "1.1.10"
129
+ version = "1.1.28"
100
130
  source = "registry+https://github.com/rust-lang/crates.io-index"
101
- checksum = "e9e8aabfac534be767c909e0690571677d49f41bd8465ae876fe043d52ba5292"
131
+ checksum = "2e80e3b6a3ab07840e1cae9b0666a63970dc28e8ed5ffbcdacbfc760c281bfc1"
132
+ dependencies = [
133
+ "shlex",
134
+ ]
102
135
 
103
136
  [[package]]
104
137
  name = "cedar-policy"
105
- version = "3.3.0"
138
+ version = "4.1.0"
106
139
  source = "registry+https://github.com/rust-lang/crates.io-index"
107
- checksum = "ac83a6375d39b78697e51327374fb5b05ec04ec54884a5fadd1fdb90fc7d3e62"
140
+ checksum = "32f68814a8eba45546354eca82f3b737dd458bdf8832c7e7b59c539e65dc5376"
108
141
  dependencies = [
109
142
  "cedar-policy-core",
143
+ "cedar-policy-formatter",
110
144
  "cedar-policy-validator",
111
- "itertools 0.12.1",
145
+ "itertools 0.13.0",
112
146
  "lalrpop-util",
147
+ "lazy_static",
113
148
  "miette",
114
149
  "nonempty",
115
150
  "ref-cast",
151
+ "semver",
116
152
  "serde",
117
153
  "serde_json",
118
154
  "serde_with",
@@ -122,17 +158,18 @@ dependencies = [
122
158
 
123
159
  [[package]]
124
160
  name = "cedar-policy-core"
125
- version = "3.3.0"
161
+ version = "4.1.0"
126
162
  source = "registry+https://github.com/rust-lang/crates.io-index"
127
- checksum = "5a58d30db1b9789f368fcd291d75b9b58f7317dde5fe4f7d36e224716e0cfe3d"
163
+ checksum = "b579d88f6f6890ef907aac7ee1e7c17b34f08fcd95bc2e1de4540c3d171a7428"
128
164
  dependencies = [
129
165
  "either",
130
- "itertools 0.12.1",
166
+ "itertools 0.13.0",
131
167
  "lalrpop",
132
168
  "lalrpop-util",
133
169
  "lazy_static",
134
170
  "miette",
135
171
  "nonempty",
172
+ "ref-cast",
136
173
  "regex",
137
174
  "rustc_lexer",
138
175
  "serde",
@@ -143,19 +180,36 @@ dependencies = [
143
180
  "thiserror",
144
181
  ]
145
182
 
183
+ [[package]]
184
+ name = "cedar-policy-formatter"
185
+ version = "4.1.0"
186
+ source = "registry+https://github.com/rust-lang/crates.io-index"
187
+ checksum = "c945f73152b71f4c309ed39e771b66f44284ad0706e7777c04cba31482132f0d"
188
+ dependencies = [
189
+ "cedar-policy-core",
190
+ "itertools 0.13.0",
191
+ "lazy_static",
192
+ "logos",
193
+ "miette",
194
+ "pretty",
195
+ "regex",
196
+ "smol_str",
197
+ ]
198
+
146
199
  [[package]]
147
200
  name = "cedar-policy-validator"
148
- version = "3.3.0"
201
+ version = "4.1.0"
149
202
  source = "registry+https://github.com/rust-lang/crates.io-index"
150
- checksum = "e0775c6bb84e4746b30c99363cb75e3fd178813988b4569873341ba7ae196dc5"
203
+ checksum = "a1a694f40a7bb5ac8e1c5bdfc41002e53f0bcf65bba1ca992b284d261ef29781"
151
204
  dependencies = [
152
205
  "cedar-policy-core",
153
- "itertools 0.12.1",
206
+ "itertools 0.13.0",
154
207
  "lalrpop",
155
208
  "lalrpop-util",
156
209
  "lazy_static",
157
210
  "miette",
158
211
  "nonempty",
212
+ "ref-cast",
159
213
  "serde",
160
214
  "serde_json",
161
215
  "serde_with",
@@ -167,10 +221,9 @@ dependencies = [
167
221
 
168
222
  [[package]]
169
223
  name = "cedar_policy"
170
- version = "0.1.0"
224
+ version = "0.4.0"
171
225
  dependencies = [
172
226
  "cedar-policy",
173
- "cedar-policy-core",
174
227
  "magnus",
175
228
  "serde_magnus",
176
229
  ]
@@ -190,6 +243,12 @@ version = "1.0.0"
190
243
  source = "registry+https://github.com/rust-lang/crates.io-index"
191
244
  checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
192
245
 
246
+ [[package]]
247
+ name = "cfg_aliases"
248
+ version = "0.2.1"
249
+ source = "registry+https://github.com/rust-lang/crates.io-index"
250
+ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
251
+
193
252
  [[package]]
194
253
  name = "chrono"
195
254
  version = "0.4.38"
@@ -221,10 +280,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
221
280
  checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
222
281
 
223
282
  [[package]]
224
- name = "crunchy"
225
- version = "0.2.2"
283
+ name = "cpufeatures"
284
+ version = "0.2.14"
285
+ source = "registry+https://github.com/rust-lang/crates.io-index"
286
+ checksum = "608697df725056feaccfa42cffdaeeec3fccc4ffc38358ecd19b243e716a78e0"
287
+ dependencies = [
288
+ "libc",
289
+ ]
290
+
291
+ [[package]]
292
+ name = "crypto-common"
293
+ version = "0.1.6"
226
294
  source = "registry+https://github.com/rust-lang/crates.io-index"
227
- checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
295
+ checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
296
+ dependencies = [
297
+ "generic-array",
298
+ "typenum",
299
+ ]
228
300
 
229
301
  [[package]]
230
302
  name = "darling"
@@ -271,6 +343,16 @@ dependencies = [
271
343
  "serde",
272
344
  ]
273
345
 
346
+ [[package]]
347
+ name = "digest"
348
+ version = "0.10.7"
349
+ source = "registry+https://github.com/rust-lang/crates.io-index"
350
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
351
+ dependencies = [
352
+ "block-buffer",
353
+ "crypto-common",
354
+ ]
355
+
274
356
  [[package]]
275
357
  name = "dirs-next"
276
358
  version = "2.0.0"
@@ -325,6 +407,16 @@ version = "1.0.7"
325
407
  source = "registry+https://github.com/rust-lang/crates.io-index"
326
408
  checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
327
409
 
410
+ [[package]]
411
+ name = "generic-array"
412
+ version = "0.14.7"
413
+ source = "registry+https://github.com/rust-lang/crates.io-index"
414
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
415
+ dependencies = [
416
+ "typenum",
417
+ "version_check",
418
+ ]
419
+
328
420
  [[package]]
329
421
  name = "getrandom"
330
422
  version = "0.2.15"
@@ -350,9 +442,9 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
350
442
 
351
443
  [[package]]
352
444
  name = "hashbrown"
353
- version = "0.14.5"
445
+ version = "0.15.0"
354
446
  source = "registry+https://github.com/rust-lang/crates.io-index"
355
- checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
447
+ checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb"
356
448
 
357
449
  [[package]]
358
450
  name = "hex"
@@ -362,9 +454,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
362
454
 
363
455
  [[package]]
364
456
  name = "iana-time-zone"
365
- version = "0.1.60"
457
+ version = "0.1.61"
366
458
  source = "registry+https://github.com/rust-lang/crates.io-index"
367
- checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
459
+ checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220"
368
460
  dependencies = [
369
461
  "android_system_properties",
370
462
  "core-foundation-sys",
@@ -402,29 +494,29 @@ dependencies = [
402
494
 
403
495
  [[package]]
404
496
  name = "indexmap"
405
- version = "2.4.0"
497
+ version = "2.6.0"
406
498
  source = "registry+https://github.com/rust-lang/crates.io-index"
407
- checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c"
499
+ checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da"
408
500
  dependencies = [
409
501
  "equivalent",
410
- "hashbrown 0.14.5",
502
+ "hashbrown 0.15.0",
411
503
  "serde",
412
504
  ]
413
505
 
414
506
  [[package]]
415
507
  name = "itertools"
416
- version = "0.11.0"
508
+ version = "0.12.1"
417
509
  source = "registry+https://github.com/rust-lang/crates.io-index"
418
- checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
510
+ checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
419
511
  dependencies = [
420
512
  "either",
421
513
  ]
422
514
 
423
515
  [[package]]
424
516
  name = "itertools"
425
- version = "0.12.1"
517
+ version = "0.13.0"
426
518
  source = "registry+https://github.com/rust-lang/crates.io-index"
427
- checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
519
+ checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
428
520
  dependencies = [
429
521
  "either",
430
522
  ]
@@ -444,33 +536,42 @@ dependencies = [
444
536
  "wasm-bindgen",
445
537
  ]
446
538
 
539
+ [[package]]
540
+ name = "keccak"
541
+ version = "0.1.5"
542
+ source = "registry+https://github.com/rust-lang/crates.io-index"
543
+ checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654"
544
+ dependencies = [
545
+ "cpufeatures",
546
+ ]
547
+
447
548
  [[package]]
448
549
  name = "lalrpop"
449
- version = "0.20.2"
550
+ version = "0.21.0"
450
551
  source = "registry+https://github.com/rust-lang/crates.io-index"
451
- checksum = "55cb077ad656299f160924eb2912aa147d7339ea7d69e1b5517326fdcec3c1ca"
552
+ checksum = "6e56f323e2d610628d1f5bdd39168a774674ac7989ed67011963bb3f71edd797"
452
553
  dependencies = [
453
554
  "ascii-canvas",
454
555
  "bit-set",
455
556
  "ena",
456
- "itertools 0.11.0",
557
+ "itertools 0.13.0",
457
558
  "lalrpop-util",
458
559
  "petgraph",
459
560
  "pico-args",
460
561
  "regex",
461
562
  "regex-syntax",
563
+ "sha3",
462
564
  "string_cache",
463
565
  "term",
464
- "tiny-keccak",
465
566
  "unicode-xid",
466
567
  "walkdir",
467
568
  ]
468
569
 
469
570
  [[package]]
470
571
  name = "lalrpop-util"
471
- version = "0.20.2"
572
+ version = "0.21.0"
472
573
  source = "registry+https://github.com/rust-lang/crates.io-index"
473
- checksum = "507460a910eb7b32ee961886ff48539633b788a36b65692b95f225b844c82553"
574
+ checksum = "108dc8f5dabad92c65a03523055577d847f5dcc00f3e7d3a68bc4d48e01d8fe1"
474
575
  dependencies = [
475
576
  "regex-automata",
476
577
  ]
@@ -489,9 +590,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
489
590
 
490
591
  [[package]]
491
592
  name = "libc"
492
- version = "0.2.155"
593
+ version = "0.2.159"
493
594
  source = "registry+https://github.com/rust-lang/crates.io-index"
494
- checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
595
+ checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
495
596
 
496
597
  [[package]]
497
598
  name = "libloading"
@@ -529,6 +630,39 @@ version = "0.4.22"
529
630
  source = "registry+https://github.com/rust-lang/crates.io-index"
530
631
  checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
531
632
 
633
+ [[package]]
634
+ name = "logos"
635
+ version = "0.14.2"
636
+ source = "registry+https://github.com/rust-lang/crates.io-index"
637
+ checksum = "1c6b6e02facda28ca5fb8dbe4b152496ba3b1bd5a4b40bb2b1b2d8ad74e0f39b"
638
+ dependencies = [
639
+ "logos-derive",
640
+ ]
641
+
642
+ [[package]]
643
+ name = "logos-codegen"
644
+ version = "0.14.2"
645
+ source = "registry+https://github.com/rust-lang/crates.io-index"
646
+ checksum = "b32eb6b5f26efacd015b000bfc562186472cd9b34bdba3f6b264e2a052676d10"
647
+ dependencies = [
648
+ "beef",
649
+ "fnv",
650
+ "lazy_static",
651
+ "proc-macro2",
652
+ "quote",
653
+ "regex-syntax",
654
+ "syn",
655
+ ]
656
+
657
+ [[package]]
658
+ name = "logos-derive"
659
+ version = "0.14.2"
660
+ source = "registry+https://github.com/rust-lang/crates.io-index"
661
+ checksum = "3e5d0c5463c911ef55624739fc353238b4e310f0144be1f875dc42fec6bfd5ec"
662
+ dependencies = [
663
+ "logos-codegen",
664
+ ]
665
+
532
666
  [[package]]
533
667
  name = "magnus"
534
668
  version = "0.6.4"
@@ -627,9 +761,9 @@ dependencies = [
627
761
 
628
762
  [[package]]
629
763
  name = "once_cell"
630
- version = "1.19.0"
764
+ version = "1.20.2"
631
765
  source = "registry+https://github.com/rust-lang/crates.io-index"
632
- checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
766
+ checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
633
767
 
634
768
  [[package]]
635
769
  name = "parking_lot"
@@ -661,7 +795,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
661
795
  checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"
662
796
  dependencies = [
663
797
  "fixedbitset",
664
- "indexmap 2.4.0",
798
+ "indexmap 2.6.0",
665
799
  ]
666
800
 
667
801
  [[package]]
@@ -691,6 +825,17 @@ version = "0.1.1"
691
825
  source = "registry+https://github.com/rust-lang/crates.io-index"
692
826
  checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
693
827
 
828
+ [[package]]
829
+ name = "pretty"
830
+ version = "0.12.3"
831
+ source = "registry+https://github.com/rust-lang/crates.io-index"
832
+ checksum = "b55c4d17d994b637e2f4daf6e5dc5d660d209d5642377d675d7a1c3ab69fa579"
833
+ dependencies = [
834
+ "arrayvec",
835
+ "typed-arena",
836
+ "unicode-width",
837
+ ]
838
+
694
839
  [[package]]
695
840
  name = "proc-macro2"
696
841
  version = "1.0.86"
@@ -702,36 +847,36 @@ dependencies = [
702
847
 
703
848
  [[package]]
704
849
  name = "psm"
705
- version = "0.1.21"
850
+ version = "0.1.23"
706
851
  source = "registry+https://github.com/rust-lang/crates.io-index"
707
- checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874"
852
+ checksum = "aa37f80ca58604976033fae9515a8a2989fc13797d953f7c04fb8fa36a11f205"
708
853
  dependencies = [
709
854
  "cc",
710
855
  ]
711
856
 
712
857
  [[package]]
713
858
  name = "quote"
714
- version = "1.0.36"
859
+ version = "1.0.37"
715
860
  source = "registry+https://github.com/rust-lang/crates.io-index"
716
- checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
861
+ checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
717
862
  dependencies = [
718
863
  "proc-macro2",
719
864
  ]
720
865
 
721
866
  [[package]]
722
867
  name = "rb-sys"
723
- version = "0.9.100"
868
+ version = "0.9.102"
724
869
  source = "registry+https://github.com/rust-lang/crates.io-index"
725
- checksum = "87f2ba20be84b32fad6b0ce397764bcdd0f2dca4431cf7035f6a6721e5747565"
870
+ checksum = "df4dec4b1d304c3b308a2cd86b1216ea45dd4361f4e9fa056f108332d0a450c1"
726
871
  dependencies = [
727
872
  "rb-sys-build",
728
873
  ]
729
874
 
730
875
  [[package]]
731
876
  name = "rb-sys-build"
732
- version = "0.9.100"
877
+ version = "0.9.102"
733
878
  source = "registry+https://github.com/rust-lang/crates.io-index"
734
- checksum = "7ecae2bdcb118ee721d9a3929f89e8578237fade298dfcf8c928609aa88abc48"
879
+ checksum = "1d71de3e29d174b8fb17b5d4470f27d7aa2605f8a9d05fda0d3aeff30e05a570"
735
880
  dependencies = [
736
881
  "bindgen",
737
882
  "lazy_static",
@@ -750,18 +895,18 @@ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
750
895
 
751
896
  [[package]]
752
897
  name = "redox_syscall"
753
- version = "0.5.3"
898
+ version = "0.5.7"
754
899
  source = "registry+https://github.com/rust-lang/crates.io-index"
755
- checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
900
+ checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
756
901
  dependencies = [
757
902
  "bitflags",
758
903
  ]
759
904
 
760
905
  [[package]]
761
906
  name = "redox_users"
762
- version = "0.4.5"
907
+ version = "0.4.6"
763
908
  source = "registry+https://github.com/rust-lang/crates.io-index"
764
- checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891"
909
+ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
765
910
  dependencies = [
766
911
  "getrandom",
767
912
  "libredox",
@@ -790,9 +935,9 @@ dependencies = [
790
935
 
791
936
  [[package]]
792
937
  name = "regex"
793
- version = "1.10.6"
938
+ version = "1.11.0"
794
939
  source = "registry+https://github.com/rust-lang/crates.io-index"
795
- checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
940
+ checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8"
796
941
  dependencies = [
797
942
  "aho-corasick",
798
943
  "memchr",
@@ -802,9 +947,9 @@ dependencies = [
802
947
 
803
948
  [[package]]
804
949
  name = "regex-automata"
805
- version = "0.4.7"
950
+ version = "0.4.8"
806
951
  source = "registry+https://github.com/rust-lang/crates.io-index"
807
- checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
952
+ checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3"
808
953
  dependencies = [
809
954
  "aho-corasick",
810
955
  "memchr",
@@ -813,9 +958,9 @@ dependencies = [
813
958
 
814
959
  [[package]]
815
960
  name = "regex-syntax"
816
- version = "0.8.4"
961
+ version = "0.8.5"
817
962
  source = "registry+https://github.com/rust-lang/crates.io-index"
818
- checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
963
+ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
819
964
 
820
965
  [[package]]
821
966
  name = "rustc-hash"
@@ -859,6 +1004,12 @@ version = "1.2.0"
859
1004
  source = "registry+https://github.com/rust-lang/crates.io-index"
860
1005
  checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
861
1006
 
1007
+ [[package]]
1008
+ name = "semver"
1009
+ version = "1.0.23"
1010
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1011
+ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
1012
+
862
1013
  [[package]]
863
1014
  name = "seq-macro"
864
1015
  version = "0.3.5"
@@ -867,18 +1018,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
867
1018
 
868
1019
  [[package]]
869
1020
  name = "serde"
870
- version = "1.0.207"
1021
+ version = "1.0.210"
871
1022
  source = "registry+https://github.com/rust-lang/crates.io-index"
872
- checksum = "5665e14a49a4ea1b91029ba7d3bca9f299e1f7cfa194388ccc20f14743e784f2"
1023
+ checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
873
1024
  dependencies = [
874
1025
  "serde_derive",
875
1026
  ]
876
1027
 
877
1028
  [[package]]
878
1029
  name = "serde_derive"
879
- version = "1.0.207"
1030
+ version = "1.0.210"
880
1031
  source = "registry+https://github.com/rust-lang/crates.io-index"
881
- checksum = "6aea2634c86b0e8ef2cfdc0c340baede54ec27b1e46febd7f80dffb2aa44a00e"
1032
+ checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
882
1033
  dependencies = [
883
1034
  "proc-macro2",
884
1035
  "quote",
@@ -887,11 +1038,11 @@ dependencies = [
887
1038
 
888
1039
  [[package]]
889
1040
  name = "serde_json"
890
- version = "1.0.124"
1041
+ version = "1.0.128"
891
1042
  source = "registry+https://github.com/rust-lang/crates.io-index"
892
- checksum = "66ad62847a56b3dba58cc891acd13884b9c61138d330c0d7b6181713d4fce38d"
1043
+ checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
893
1044
  dependencies = [
894
- "indexmap 2.4.0",
1045
+ "indexmap 2.6.0",
895
1046
  "itoa",
896
1047
  "memchr",
897
1048
  "ryu",
@@ -911,15 +1062,15 @@ dependencies = [
911
1062
 
912
1063
  [[package]]
913
1064
  name = "serde_with"
914
- version = "3.9.0"
1065
+ version = "3.11.0"
915
1066
  source = "registry+https://github.com/rust-lang/crates.io-index"
916
- checksum = "69cecfa94848272156ea67b2b1a53f20fc7bc638c4a46d2f8abde08f05f4b857"
1067
+ checksum = "8e28bdad6db2b8340e449f7108f020b3b092e8583a9e3fb82713e1d4e71fe817"
917
1068
  dependencies = [
918
1069
  "base64",
919
1070
  "chrono",
920
1071
  "hex",
921
1072
  "indexmap 1.9.3",
922
- "indexmap 2.4.0",
1073
+ "indexmap 2.6.0",
923
1074
  "serde",
924
1075
  "serde_derive",
925
1076
  "serde_json",
@@ -929,9 +1080,9 @@ dependencies = [
929
1080
 
930
1081
  [[package]]
931
1082
  name = "serde_with_macros"
932
- version = "3.9.0"
1083
+ version = "3.11.0"
933
1084
  source = "registry+https://github.com/rust-lang/crates.io-index"
934
- checksum = "a8fee4991ef4f274617a51ad4af30519438dacb2f56ac773b08a1922ff743350"
1085
+ checksum = "9d846214a9854ef724f3da161b426242d8de7c1fc7de2f89bb1efcb154dca79d"
935
1086
  dependencies = [
936
1087
  "darling",
937
1088
  "proc-macro2",
@@ -939,6 +1090,16 @@ dependencies = [
939
1090
  "syn",
940
1091
  ]
941
1092
 
1093
+ [[package]]
1094
+ name = "sha3"
1095
+ version = "0.10.8"
1096
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1097
+ checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60"
1098
+ dependencies = [
1099
+ "digest",
1100
+ "keccak",
1101
+ ]
1102
+
942
1103
  [[package]]
943
1104
  name = "shell-words"
944
1105
  version = "1.1.0"
@@ -965,24 +1126,25 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
965
1126
 
966
1127
  [[package]]
967
1128
  name = "smol_str"
968
- version = "0.2.2"
1129
+ version = "0.3.1"
969
1130
  source = "registry+https://github.com/rust-lang/crates.io-index"
970
- checksum = "dd538fb6910ac1099850255cf94a94df6551fbdd602454387d0adb2d1ca6dead"
1131
+ checksum = "66eaf762c5af19db3108300515c8aa7a50efc90ff745f4c62288052ebf9fdd25"
971
1132
  dependencies = [
1133
+ "borsh",
972
1134
  "serde",
973
1135
  ]
974
1136
 
975
1137
  [[package]]
976
1138
  name = "stacker"
977
- version = "0.1.15"
1139
+ version = "0.1.17"
978
1140
  source = "registry+https://github.com/rust-lang/crates.io-index"
979
- checksum = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce"
1141
+ checksum = "799c883d55abdb5e98af1a7b3f23b9b6de8ecada0ecac058672d7635eb48ca7b"
980
1142
  dependencies = [
981
1143
  "cc",
982
1144
  "cfg-if",
983
1145
  "libc",
984
1146
  "psm",
985
- "winapi",
1147
+ "windows-sys",
986
1148
  ]
987
1149
 
988
1150
  [[package]]
@@ -1006,9 +1168,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
1006
1168
 
1007
1169
  [[package]]
1008
1170
  name = "syn"
1009
- version = "2.0.74"
1171
+ version = "2.0.79"
1010
1172
  source = "registry+https://github.com/rust-lang/crates.io-index"
1011
- checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7"
1173
+ checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590"
1012
1174
  dependencies = [
1013
1175
  "proc-macro2",
1014
1176
  "quote",
@@ -1034,18 +1196,18 @@ dependencies = [
1034
1196
 
1035
1197
  [[package]]
1036
1198
  name = "thiserror"
1037
- version = "1.0.63"
1199
+ version = "1.0.64"
1038
1200
  source = "registry+https://github.com/rust-lang/crates.io-index"
1039
- checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724"
1201
+ checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84"
1040
1202
  dependencies = [
1041
1203
  "thiserror-impl",
1042
1204
  ]
1043
1205
 
1044
1206
  [[package]]
1045
1207
  name = "thiserror-impl"
1046
- version = "1.0.63"
1208
+ version = "1.0.64"
1047
1209
  source = "registry+https://github.com/rust-lang/crates.io-index"
1048
- checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
1210
+ checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3"
1049
1211
  dependencies = [
1050
1212
  "proc-macro2",
1051
1213
  "quote",
@@ -1083,15 +1245,6 @@ dependencies = [
1083
1245
  "time-core",
1084
1246
  ]
1085
1247
 
1086
- [[package]]
1087
- name = "tiny-keccak"
1088
- version = "2.0.2"
1089
- source = "registry+https://github.com/rust-lang/crates.io-index"
1090
- checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
1091
- dependencies = [
1092
- "crunchy",
1093
- ]
1094
-
1095
1248
  [[package]]
1096
1249
  name = "tinyvec"
1097
1250
  version = "1.8.0"
@@ -1107,32 +1260,44 @@ version = "0.1.1"
1107
1260
  source = "registry+https://github.com/rust-lang/crates.io-index"
1108
1261
  checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
1109
1262
 
1263
+ [[package]]
1264
+ name = "typed-arena"
1265
+ version = "2.0.2"
1266
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1267
+ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
1268
+
1269
+ [[package]]
1270
+ name = "typenum"
1271
+ version = "1.17.0"
1272
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1273
+ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
1274
+
1110
1275
  [[package]]
1111
1276
  name = "unicode-ident"
1112
- version = "1.0.12"
1277
+ version = "1.0.13"
1113
1278
  source = "registry+https://github.com/rust-lang/crates.io-index"
1114
- checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
1279
+ checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
1115
1280
 
1116
1281
  [[package]]
1117
1282
  name = "unicode-normalization"
1118
- version = "0.1.23"
1283
+ version = "0.1.24"
1119
1284
  source = "registry+https://github.com/rust-lang/crates.io-index"
1120
- checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5"
1285
+ checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956"
1121
1286
  dependencies = [
1122
1287
  "tinyvec",
1123
1288
  ]
1124
1289
 
1125
1290
  [[package]]
1126
1291
  name = "unicode-script"
1127
- version = "0.5.6"
1292
+ version = "0.5.7"
1128
1293
  source = "registry+https://github.com/rust-lang/crates.io-index"
1129
- checksum = "ad8d71f5726e5f285a935e9fe8edfd53f0491eb6e9a5774097fdabee7cd8c9cd"
1294
+ checksum = "9fb421b350c9aff471779e262955939f565ec18b86c15364e6bdf0d662ca7c1f"
1130
1295
 
1131
1296
  [[package]]
1132
1297
  name = "unicode-security"
1133
- version = "0.1.1"
1298
+ version = "0.1.2"
1134
1299
  source = "registry+https://github.com/rust-lang/crates.io-index"
1135
- checksum = "ee9e13753df674873f3c4693b240ae5c03245ddc157dfccf7c26db9329af3a11"
1300
+ checksum = "2e4ddba1535dd35ed8b61c52166b7155d7f4e4b8847cec6f48e71dc66d8b5e50"
1136
1301
  dependencies = [
1137
1302
  "unicode-normalization",
1138
1303
  "unicode-script",
@@ -1140,15 +1305,21 @@ dependencies = [
1140
1305
 
1141
1306
  [[package]]
1142
1307
  name = "unicode-width"
1143
- version = "0.1.13"
1308
+ version = "0.1.14"
1144
1309
  source = "registry+https://github.com/rust-lang/crates.io-index"
1145
- checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
1310
+ checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
1146
1311
 
1147
1312
  [[package]]
1148
1313
  name = "unicode-xid"
1149
- version = "0.2.4"
1314
+ version = "0.2.6"
1315
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1316
+ checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
1317
+
1318
+ [[package]]
1319
+ name = "version_check"
1320
+ version = "0.9.5"
1150
1321
  source = "registry+https://github.com/rust-lang/crates.io-index"
1151
- checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
1322
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
1152
1323
 
1153
1324
  [[package]]
1154
1325
  name = "walkdir"
data/README.md CHANGED
@@ -103,7 +103,8 @@ response.decision # => CedarPolicy::Decision::ALLOW
103
103
  ## Roadmap
104
104
 
105
105
  * [ ] Add DSL to improve developer experience
106
- * [ ] Diagnostics return with response
106
+ * [ ] Add batch authorization support
107
+ * [x] Diagnostics return with response
107
108
  * [ ] Validator support
108
109
  * [ ] Schema support
109
110
 
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "cedar_policy"
3
- version = "0.1.0"
3
+ version = "0.4.0"
4
4
  edition = "2021"
5
5
  authors = ["Aotokitsuruya <contact@aotoki.me>"]
6
6
  license = "Apache-2.0"
@@ -10,7 +10,6 @@ publish = false
10
10
  crate-type = ["cdylib"]
11
11
 
12
12
  [dependencies]
13
- cedar-policy = "3.2.4"
14
- cedar-policy-core = "3.2.4"
13
+ cedar-policy = "4.1.0"
15
14
  magnus = "0.6.2"
16
15
  serde_magnus = "0.8.1"
@@ -1,5 +1,5 @@
1
+ use cedar_policy::ffi::JsonValueWithNoDuplicateKeys;
1
2
  use cedar_policy::Context;
2
- use cedar_policy_core::jsonvalue::JsonValueWithNoDuplicateKeys;
3
3
  use magnus::{
4
4
  value::{Lazy, ReprValue},
5
5
  Error, Module, RClass, Ruby, TryConvert, Value,
@@ -12,7 +12,6 @@ impl RDiagnostics {
12
12
  }
13
13
 
14
14
  fn errors(&self) -> RArray {
15
- self.0.errors().for_each(|e| println!("{}", e));
16
15
  let errors = self
17
16
  .0
18
17
  .errors()
@@ -1,5 +1,5 @@
1
+ use cedar_policy::ffi::JsonValueWithNoDuplicateKeys;
1
2
  use cedar_policy::Entities;
2
- use cedar_policy_core::jsonvalue::JsonValueWithNoDuplicateKeys;
3
3
  use magnus::{
4
4
  value::{Lazy, ReprValue},
5
5
  Error, Module, RClass, Ruby, TryConvert, Value,
@@ -1,5 +1,5 @@
1
+ use cedar_policy::ffi::JsonValueWithNoDuplicateKeys;
1
2
  use cedar_policy::EntityUid;
2
- use cedar_policy_core::jsonvalue::JsonValueWithNoDuplicateKeys;
3
3
  use magnus::{
4
4
  value::{Lazy, ReprValue},
5
5
  Class, Error, IntoValue, Module, RClass, Ruby, TryConvert, Value,
@@ -31,7 +31,7 @@ impl From<EntityUidWrapper> for EntityUid {
31
31
  impl IntoValue for EntityUidWrapper {
32
32
  fn into_value_with(self, handle: &Ruby) -> Value {
33
33
  let type_name = self.0.type_name().to_string();
34
- let id = self.0.id().to_string();
34
+ let id = self.0.id().escaped().to_string();
35
35
  let class = handle.get_inner(&ENTITY_UID);
36
36
 
37
37
  return class.new_instance((type_name, id)).unwrap().into();
@@ -1,5 +1,5 @@
1
1
  use cedar_policy::AuthorizationError;
2
- use magnus::{method, value::Lazy, Error, ExceptionClass, Module, Ruby};
2
+ use magnus::{value::Lazy, Error, ExceptionClass, Module, Ruby};
3
3
 
4
4
  use crate::CEDAR_POLICY;
5
5
 
@@ -24,9 +24,9 @@ pub static AUTHORIZATION_ERROR: Lazy<ExceptionClass> = Lazy::new(|ruby| {
24
24
  #[magnus::wrap(class = "CedarPolicy::AuthorizationError")]
25
25
  pub struct RAuthorizationError(AuthorizationError);
26
26
 
27
- impl RAuthorizationError {
28
- pub fn id(&self) -> String {
29
- self.0.id().to_string()
27
+ impl ToString for RAuthorizationError {
28
+ fn to_string(&self) -> String {
29
+ self.0.to_string()
30
30
  }
31
31
  }
32
32
 
@@ -40,8 +40,7 @@ pub fn init(ruby: &Ruby) -> Result<(), Error> {
40
40
  Lazy::force(&PARSE_ERROR, ruby);
41
41
  Lazy::force(&ENTITIES_ERROR, ruby);
42
42
 
43
- let authorization_error = ruby.get_inner(&AUTHORIZATION_ERROR);
44
- authorization_error.define_method("id", method!(RAuthorizationError::id, 0))?;
43
+ ruby.get_inner(&AUTHORIZATION_ERROR);
45
44
 
46
45
  Ok(())
47
46
  }
@@ -13,16 +13,16 @@ pub struct RRequest(Request);
13
13
  impl RRequest {
14
14
  fn new(
15
15
  ruby: &Ruby,
16
- principal: Option<EntityUidWrapper>,
17
- action: Option<EntityUidWrapper>,
18
- resource: Option<EntityUidWrapper>,
16
+ principal: EntityUidWrapper,
17
+ action: EntityUidWrapper,
18
+ resource: EntityUidWrapper,
19
19
  context: ContextWrapper,
20
20
  ) -> Result<Self, Error> {
21
21
  Ok(Self(
22
22
  Request::new(
23
- principal.map(|p| p.into()),
24
- action.map(|a| a.into()),
25
- resource.map(|r| r.into()),
23
+ principal.into(),
24
+ action.into(),
25
+ resource.into(),
26
26
  context.into(),
27
27
  None,
28
28
  )
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CedarPolicy
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
@@ -0,0 +1,17 @@
1
+ {
2
+ "release-type": "ruby",
3
+ "last-release-sha": "7d06a6458e9805cc6ec05f456c650708cc9d9e9f",
4
+ "packages": {
5
+ ".":{
6
+ "release-type": "ruby",
7
+ "version-file": "lib/cedar_policy/version.rb"
8
+ }
9
+ },
10
+ "extra-files": [
11
+ {
12
+ "type": "toml",
13
+ "path": "ext/cedar_policy/Cargo.toml",
14
+ "jsonpath": "$.package.version"
15
+ }
16
+ ]
17
+ }
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.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aotokitsuruya
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-07 00:00:00.000000000 Z
11
+ date: 2024-10-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby bindings for Cedar policy evaluation engine.
14
14
  email:
@@ -19,8 +19,10 @@ extensions:
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - ".cross_rubies"
22
+ - ".release-please-manifest.json"
22
23
  - ".rspec"
23
24
  - ".rubocop.yml"
25
+ - CHANGELOG.md
24
26
  - Cargo.lock
25
27
  - Cargo.toml
26
28
  - LICENSE.txt
@@ -45,6 +47,7 @@ files:
45
47
  - lib/cedar_policy/entity.rb
46
48
  - lib/cedar_policy/entity_uid.rb
47
49
  - lib/cedar_policy/version.rb
50
+ - release-please-config.json
48
51
  - sig/cedar_policy.rbs
49
52
  homepage: https://github.com/elct9620/cedar-policy-rb
50
53
  licenses:
@@ -54,7 +57,7 @@ metadata:
54
57
  source_code_uri: https://github.com/elct9620/cedar-policy-rb
55
58
  changelog_uri: https://github.com/elct9620/cedar-policy-rb
56
59
  rubygems_mfa_required: 'true'
57
- post_install_message:
60
+ post_install_message:
58
61
  rdoc_options: []
59
62
  require_paths:
60
63
  - lib
@@ -70,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
73
  version: 3.3.11
71
74
  requirements: []
72
75
  rubygems_version: 3.5.9
73
- signing_key:
76
+ signing_key:
74
77
  specification_version: 4
75
78
  summary: Ruby bindings for Cedar policy evaluation engine.
76
79
  test_files: []