aries-sdk-ruby 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f42964a084230807fe788ebe0f2b697b6cbfd6215bafab24fe36a8d5f628bf11
4
+ data.tar.gz: 78ffe775901f12a0a16a49034e6a7838e3435d260a1a0768676b4b10b954ecfd
5
+ SHA512:
6
+ metadata.gz: 8d318d31040a62196ffc0cce9d9a3f45206b5bb8de495cbfa2b72ce4d4a0632e7eb6341233b7c5d6686df590e454f41b6dde674c269807c66c6b82ba0c1f0305
7
+ data.tar.gz: 460ff6c33ad5f11f77ca6b37c567ccbb21dfef3eb5cfc96b5d3cf16b82633b472c4ee661f9f53e389052468d8bfbd1e1107bb0e1f1fac7c45226ba58fcdb9631
@@ -0,0 +1,361 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ [[package]]
4
+ name = "aho-corasick"
5
+ version = "0.7.3"
6
+ source = "registry+https://github.com/rust-lang/crates.io-index"
7
+ dependencies = [
8
+ "memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
9
+ ]
10
+
11
+ [[package]]
12
+ name = "aries-sdk-ruby"
13
+ version = "0.1.0"
14
+ dependencies = [
15
+ "helix 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
16
+ "indy 1.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
17
+ "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
18
+ ]
19
+
20
+ [[package]]
21
+ name = "backtrace"
22
+ version = "0.3.11"
23
+ source = "registry+https://github.com/rust-lang/crates.io-index"
24
+ dependencies = [
25
+ "backtrace-sys 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
26
+ "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
27
+ "libc 0.2.41 (registry+https://github.com/rust-lang/crates.io-index)",
28
+ "rustc-demangle 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
29
+ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
30
+ ]
31
+
32
+ [[package]]
33
+ name = "backtrace-sys"
34
+ version = "0.1.28"
35
+ source = "registry+https://github.com/rust-lang/crates.io-index"
36
+ dependencies = [
37
+ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
38
+ "libc 0.2.41 (registry+https://github.com/rust-lang/crates.io-index)",
39
+ ]
40
+
41
+ [[package]]
42
+ name = "cc"
43
+ version = "1.0.35"
44
+ source = "registry+https://github.com/rust-lang/crates.io-index"
45
+
46
+ [[package]]
47
+ name = "cfg-if"
48
+ version = "0.1.7"
49
+ source = "registry+https://github.com/rust-lang/crates.io-index"
50
+
51
+ [[package]]
52
+ name = "cstr-macro"
53
+ version = "0.1.0"
54
+ source = "registry+https://github.com/rust-lang/crates.io-index"
55
+
56
+ [[package]]
57
+ name = "failure"
58
+ version = "0.1.5"
59
+ source = "registry+https://github.com/rust-lang/crates.io-index"
60
+ dependencies = [
61
+ "backtrace 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)",
62
+ "failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
63
+ ]
64
+
65
+ [[package]]
66
+ name = "failure_derive"
67
+ version = "0.1.5"
68
+ source = "registry+https://github.com/rust-lang/crates.io-index"
69
+ dependencies = [
70
+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
71
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
72
+ "syn 0.15.32 (registry+https://github.com/rust-lang/crates.io-index)",
73
+ "synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
74
+ ]
75
+
76
+ [[package]]
77
+ name = "futures"
78
+ version = "0.1.26"
79
+ source = "registry+https://github.com/rust-lang/crates.io-index"
80
+
81
+ [[package]]
82
+ name = "helix"
83
+ version = "0.7.5"
84
+ source = "registry+https://github.com/rust-lang/crates.io-index"
85
+ dependencies = [
86
+ "cstr-macro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
87
+ "libc 0.2.41 (registry+https://github.com/rust-lang/crates.io-index)",
88
+ "libcruby-sys 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
89
+ ]
90
+
91
+ [[package]]
92
+ name = "indy"
93
+ version = "1.8.2"
94
+ source = "registry+https://github.com/rust-lang/crates.io-index"
95
+ dependencies = [
96
+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
97
+ "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)",
98
+ "indy-sys 1.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
99
+ "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
100
+ "libc 0.2.41 (registry+https://github.com/rust-lang/crates.io-index)",
101
+ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
102
+ "num-derive 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
103
+ "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
104
+ "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
105
+ "serde_derive 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
106
+ "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
107
+ ]
108
+
109
+ [[package]]
110
+ name = "indy-sys"
111
+ version = "1.8.2"
112
+ source = "registry+https://github.com/rust-lang/crates.io-index"
113
+ dependencies = [
114
+ "libc 0.2.41 (registry+https://github.com/rust-lang/crates.io-index)",
115
+ "pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
116
+ "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
117
+ "vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
118
+ ]
119
+
120
+ [[package]]
121
+ name = "itoa"
122
+ version = "0.4.3"
123
+ source = "registry+https://github.com/rust-lang/crates.io-index"
124
+
125
+ [[package]]
126
+ name = "lazy_static"
127
+ version = "0.2.11"
128
+ source = "registry+https://github.com/rust-lang/crates.io-index"
129
+
130
+ [[package]]
131
+ name = "lazy_static"
132
+ version = "1.3.0"
133
+ source = "registry+https://github.com/rust-lang/crates.io-index"
134
+
135
+ [[package]]
136
+ name = "libc"
137
+ version = "0.2.41"
138
+ source = "registry+https://github.com/rust-lang/crates.io-index"
139
+
140
+ [[package]]
141
+ name = "libcruby-sys"
142
+ version = "0.7.5"
143
+ source = "registry+https://github.com/rust-lang/crates.io-index"
144
+ dependencies = [
145
+ "libc 0.2.41 (registry+https://github.com/rust-lang/crates.io-index)",
146
+ ]
147
+
148
+ [[package]]
149
+ name = "log"
150
+ version = "0.4.6"
151
+ source = "registry+https://github.com/rust-lang/crates.io-index"
152
+ dependencies = [
153
+ "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
154
+ ]
155
+
156
+ [[package]]
157
+ name = "memchr"
158
+ version = "2.2.0"
159
+ source = "registry+https://github.com/rust-lang/crates.io-index"
160
+
161
+ [[package]]
162
+ name = "num-derive"
163
+ version = "0.2.4"
164
+ source = "registry+https://github.com/rust-lang/crates.io-index"
165
+ dependencies = [
166
+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
167
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
168
+ "syn 0.15.32 (registry+https://github.com/rust-lang/crates.io-index)",
169
+ ]
170
+
171
+ [[package]]
172
+ name = "num-traits"
173
+ version = "0.2.6"
174
+ source = "registry+https://github.com/rust-lang/crates.io-index"
175
+
176
+ [[package]]
177
+ name = "pkg-config"
178
+ version = "0.3.14"
179
+ source = "registry+https://github.com/rust-lang/crates.io-index"
180
+
181
+ [[package]]
182
+ name = "proc-macro2"
183
+ version = "0.4.27"
184
+ source = "registry+https://github.com/rust-lang/crates.io-index"
185
+ dependencies = [
186
+ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
187
+ ]
188
+
189
+ [[package]]
190
+ name = "quote"
191
+ version = "0.6.12"
192
+ source = "registry+https://github.com/rust-lang/crates.io-index"
193
+ dependencies = [
194
+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
195
+ ]
196
+
197
+ [[package]]
198
+ name = "regex"
199
+ version = "1.1.6"
200
+ source = "registry+https://github.com/rust-lang/crates.io-index"
201
+ dependencies = [
202
+ "aho-corasick 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
203
+ "memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
204
+ "regex-syntax 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
205
+ "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
206
+ "utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
207
+ ]
208
+
209
+ [[package]]
210
+ name = "regex-syntax"
211
+ version = "0.6.6"
212
+ source = "registry+https://github.com/rust-lang/crates.io-index"
213
+ dependencies = [
214
+ "ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
215
+ ]
216
+
217
+ [[package]]
218
+ name = "rustc-demangle"
219
+ version = "0.1.14"
220
+ source = "registry+https://github.com/rust-lang/crates.io-index"
221
+
222
+ [[package]]
223
+ name = "ryu"
224
+ version = "0.2.7"
225
+ source = "registry+https://github.com/rust-lang/crates.io-index"
226
+
227
+ [[package]]
228
+ name = "serde"
229
+ version = "1.0.90"
230
+ source = "registry+https://github.com/rust-lang/crates.io-index"
231
+
232
+ [[package]]
233
+ name = "serde_derive"
234
+ version = "1.0.90"
235
+ source = "registry+https://github.com/rust-lang/crates.io-index"
236
+ dependencies = [
237
+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
238
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
239
+ "syn 0.15.32 (registry+https://github.com/rust-lang/crates.io-index)",
240
+ ]
241
+
242
+ [[package]]
243
+ name = "serde_json"
244
+ version = "1.0.39"
245
+ source = "registry+https://github.com/rust-lang/crates.io-index"
246
+ dependencies = [
247
+ "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
248
+ "ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
249
+ "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
250
+ ]
251
+
252
+ [[package]]
253
+ name = "syn"
254
+ version = "0.15.32"
255
+ source = "registry+https://github.com/rust-lang/crates.io-index"
256
+ dependencies = [
257
+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
258
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
259
+ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
260
+ ]
261
+
262
+ [[package]]
263
+ name = "synstructure"
264
+ version = "0.10.1"
265
+ source = "registry+https://github.com/rust-lang/crates.io-index"
266
+ dependencies = [
267
+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
268
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
269
+ "syn 0.15.32 (registry+https://github.com/rust-lang/crates.io-index)",
270
+ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
271
+ ]
272
+
273
+ [[package]]
274
+ name = "thread_local"
275
+ version = "0.3.6"
276
+ source = "registry+https://github.com/rust-lang/crates.io-index"
277
+ dependencies = [
278
+ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
279
+ ]
280
+
281
+ [[package]]
282
+ name = "ucd-util"
283
+ version = "0.1.3"
284
+ source = "registry+https://github.com/rust-lang/crates.io-index"
285
+
286
+ [[package]]
287
+ name = "unicode-xid"
288
+ version = "0.1.0"
289
+ source = "registry+https://github.com/rust-lang/crates.io-index"
290
+
291
+ [[package]]
292
+ name = "utf8-ranges"
293
+ version = "1.0.2"
294
+ source = "registry+https://github.com/rust-lang/crates.io-index"
295
+
296
+ [[package]]
297
+ name = "vcpkg"
298
+ version = "0.2.6"
299
+ source = "registry+https://github.com/rust-lang/crates.io-index"
300
+
301
+ [[package]]
302
+ name = "winapi"
303
+ version = "0.3.7"
304
+ source = "registry+https://github.com/rust-lang/crates.io-index"
305
+ dependencies = [
306
+ "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
307
+ "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
308
+ ]
309
+
310
+ [[package]]
311
+ name = "winapi-i686-pc-windows-gnu"
312
+ version = "0.4.0"
313
+ source = "registry+https://github.com/rust-lang/crates.io-index"
314
+
315
+ [[package]]
316
+ name = "winapi-x86_64-pc-windows-gnu"
317
+ version = "0.4.0"
318
+ source = "registry+https://github.com/rust-lang/crates.io-index"
319
+
320
+ [metadata]
321
+ "checksum aho-corasick 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e6f484ae0c99fec2e858eb6134949117399f222608d84cadb3f58c1f97c2364c"
322
+ "checksum backtrace 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)" = "18b65ea1161bfb2dd6da6fade5edd4dbd08fba85012123dd333d2fd1b90b2782"
323
+ "checksum backtrace-sys 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)" = "797c830ac25ccc92a7f8a7b9862bde440715531514594a6154e3d4a54dd769b6"
324
+ "checksum cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)" = "5e5f3fee5eeb60324c2781f1e41286bdee933850fff9b3c672587fed5ec58c83"
325
+ "checksum cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "11d43355396e872eefb45ce6342e4374ed7bc2b3a502d1b28e36d6e23c05d1f4"
326
+ "checksum cstr-macro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "db53fddba18cdd35477a7213a3ef6acfbfa333c31b42ce019e544c4a1420a06f"
327
+ "checksum failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2"
328
+ "checksum failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ea1063915fd7ef4309e222a5a07cf9c319fb9c7836b1f89b85458672dbb127e1"
329
+ "checksum futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)" = "62941eff9507c8177d448bd83a44d9b9760856e184081d8cd79ba9f03dd24981"
330
+ "checksum helix 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)" = "49a017e3e798ad9386e0a0584e66fd6c04a80ccc1242eb8f689c62ce6f408240"
331
+ "checksum indy 1.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c5653108487252b4813dd387a06759827fbba0ebf7c8ddddfdcf994d174b7b6b"
332
+ "checksum indy-sys 1.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "16805f77a66da0f07a293b4a5965100d36bb1178a70498977883beac8c692383"
333
+ "checksum itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b"
334
+ "checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73"
335
+ "checksum lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14"
336
+ "checksum libc 0.2.41 (registry+https://github.com/rust-lang/crates.io-index)" = "ac8ebf8343a981e2fa97042b14768f02ed3e1d602eac06cae6166df3c8ced206"
337
+ "checksum libcruby-sys 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fef6028cdce0c8d55676fd1d66bb810facef8cade0dd71d28511d375e84da4c0"
338
+ "checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6"
339
+ "checksum memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2efc7bc57c883d4a4d6e3246905283d8dae951bb3bd32f49d6ef297f546e1c39"
340
+ "checksum num-derive 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "d9fe8fcafd1b86a37ce8a1cfa15ae504817e0c8c2e7ad42767371461ac1d316d"
341
+ "checksum num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0b3a5d7cc97d6d30d8b9bc8fa19bf45349ffe46241e8816f50f62f6d6aaabee1"
342
+ "checksum pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "676e8eb2b1b4c9043511a9b7bea0915320d7e502b0a079fb03f9635a5252b18c"
343
+ "checksum proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)" = "4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915"
344
+ "checksum quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db"
345
+ "checksum regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "8f0a0bcab2fd7d1d7c54fa9eae6f43eddeb9ce2e7352f8518a814a4f65d60c58"
346
+ "checksum regex-syntax 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "dcfd8681eebe297b81d98498869d4aae052137651ad7b96822f09ceb690d0a96"
347
+ "checksum rustc-demangle 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "ccc78bfd5acd7bf3e89cffcf899e5cb1a52d6fafa8dec2739ad70c9577a57288"
348
+ "checksum ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7"
349
+ "checksum serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)" = "aa5f7c20820475babd2c077c3ab5f8c77a31c15e16ea38687b4c02d3e48680f4"
350
+ "checksum serde_derive 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)" = "58fc82bec244f168b23d1963b45c8bf5726e9a15a9d146a067f9081aeed2de79"
351
+ "checksum serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)" = "5a23aa71d4a4d43fdbfaac00eff68ba8a06a51759a89ac3304323e800c4dd40d"
352
+ "checksum syn 0.15.32 (registry+https://github.com/rust-lang/crates.io-index)" = "846620ec526c1599c070eff393bfeeeb88a93afa2513fc3b49f1fea84cf7b0ed"
353
+ "checksum synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "73687139bf99285483c96ac0add482c3776528beac1d97d444f6e91f203a2015"
354
+ "checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
355
+ "checksum ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "535c204ee4d8434478593480b8f86ab45ec9aae0e83c568ca81abf0fd0e88f86"
356
+ "checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
357
+ "checksum utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737"
358
+ "checksum vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "def296d3eb3b12371b2c7d0e83bfe1403e4db2d7a0bba324a12b21c4ee13143d"
359
+ "checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770"
360
+ "checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
361
+ "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
@@ -0,0 +1,11 @@
1
+ [package]
2
+ name = "aries-sdk-ruby"
3
+ version = "0.1.0"
4
+
5
+ [lib]
6
+ crate-type = ["cdylib"]
7
+
8
+ [dependencies]
9
+ helix = "0.7.5"
10
+ indy = "1.6.7"
11
+ serde_json = "1.0"
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
@@ -0,0 +1,25 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ aries-sdk-ruby (0.0.1)
5
+ helix_runtime (~> 0.7.5)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ helix_runtime (0.7.5)
11
+ rake (>= 10.0)
12
+ thor (>= 0.19.4, < 2.0)
13
+ tomlrb (~> 1.2.4)
14
+ rake (12.3.3)
15
+ thor (0.20.3)
16
+ tomlrb (1.2.8)
17
+
18
+ PLATFORMS
19
+ ruby
20
+
21
+ DEPENDENCIES
22
+ aries-sdk-ruby!
23
+
24
+ BUNDLED WITH
25
+ 1.16.6
data/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,71 @@
1
+ # aries-sdk-ruby
2
+
3
+ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
4
+
5
+ A ruby gem for [aries-sdk](https://github.com/hyperledger/aries-sdk).
6
+
7
+ ## Migration notice
8
+
9
+ Aries Code Repositories are in the process of being migrated from various other locations, including Hyperledger Indy repositories where the Aries work was incubated. Some of the code requires refactoring work to split it from unrelated assets prior to migration.
10
+
11
+ The status of these code migrations is under regular discussion on the #aries channel on chat.hyperledger.org and in the Aries Working Group weekly call. Please join us there to understand migration status and help identify places where help is needed.
12
+
13
+ When the appropriate code is migrated to this repoisitory, this README file will be updated.
14
+
15
+ ## Installation
16
+
17
+ Create a new rails application:
18
+
19
+ $ rails new aries-sdk-ruby-rails --skip-active-record
20
+ $ cd aries-sdk-ruby-rails
21
+ $
22
+
23
+ Then, add this line to your application's Gemfile:
24
+
25
+ ```ruby
26
+ gem 'aries-sdk-ruby'
27
+ ```
28
+
29
+ You *must* have rust installed *and* set LIBRARY_PATH:
30
+
31
+ $ export LIBRARY_PATH=/your/path/to/indy-sdk/libindy/target/debug/
32
+
33
+ See [these instructions](https://github.com/hyperledger/indy-sdk#installing-the-sdk) to install or build the Indy SDK. Then, execute:
34
+
35
+ $ bundle
36
+
37
+ WARNING: You may have to wait a bit for the native extension to build the aries-sdk-ruby gem.
38
+
39
+ ## Usage
40
+
41
+ To try out the gem, execute:
42
+
43
+ $ bundle exec rails c
44
+ > wallet = IndyWallet.new("mywallet")
45
+ > wallet.create
46
+ > pool = IndyPool.new("mypool")
47
+ > pool.create
48
+ >
49
+
50
+ If you check ~/.indy_client/pool and ~/.indy_client/wallet directories, you should see the pool and wallet you created.
51
+
52
+ ## Development
53
+
54
+ First, you *must* have rust installed *and* set LIBRARY_PATH:
55
+
56
+ $ export LIBRARY_PATH=/your/path/to/indy-sdk/libindy/target/debug/
57
+
58
+ See [these instructions](https://github.com/hyperledger/indy-sdk#installing-the-sdk) to install or build the Indy SDK. Then, clone the repo and execute:
59
+
60
+ $ rake
61
+ $ rspec
62
+ $
63
+
64
+ ## Contributing
65
+
66
+ Bug reports and pull requests are welcome on GitHub at https://github.com/hyperledger/aries-sdk-ruby.
67
+
68
+
69
+ ## License
70
+
71
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT) and the [Apache 2.0 License](https://opensource.org/licenses/Apache-2.0).
@@ -0,0 +1,7 @@
1
+ require 'bundler/setup'
2
+ require 'helix_runtime/build_task'
3
+
4
+ HelixRuntime::BuildTask.new do |t|
5
+ end
6
+
7
+ task :default => :build
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = 'aries-sdk-ruby'
5
+ s.version = '0.0.1'
6
+ s.authors = ['John Callahan']
7
+ s.summary = "Ruby wrapper for aries-sdk"
8
+ s.files = `git ls-files -z`.split("\x0") - %w(.gitignore)
9
+
10
+ s.platform = Gem::Platform::RUBY
11
+ s.extensions = %w[extconf.rb]
12
+ s.require_path = 'lib'
13
+ s.licenses = [ 'Apache-2.0' ]
14
+ s.homepage = 'https://github.com/hyperledger/aries-sdk-ruby'
15
+
16
+ s.add_dependency 'helix_runtime', '~> 0.7.5'
17
+ end
@@ -0,0 +1,14 @@
1
+ abort "Rust compiler required (https://www.rust-lang.org/)" if `which rustc`.empty?
2
+
3
+ File.open("Makefile", "wb") do |f|
4
+
5
+ f.puts(<<EOD)
6
+ all:
7
+ \tbundle --deployment --path vendor/bundle
8
+ \tbundle exec rake
9
+ clean:
10
+ install:
11
+ \trm -r vendor/bundle target
12
+ EOD
13
+
14
+ end
@@ -0,0 +1,7 @@
1
+ require "helix_runtime"
2
+
3
+ begin
4
+ require "aries-sdk-ruby/native"
5
+ rescue LoadError
6
+ warn "Unable to load aries-sdk-ruby/native. Please run `rake build`"
7
+ end
@@ -0,0 +1,5 @@
1
+ require 'helix_runtime/build_task'
2
+
3
+ HelixRuntime::BuildTask.new
4
+
5
+ task :default => :build
@@ -0,0 +1,69 @@
1
+ require "spec_helper"
2
+
3
+ describe "aries-sdk-ruby" do
4
+ it "can create a wallet" do
5
+ wallet = AriesWallet.new("WALLET1")
6
+ wallet.create
7
+ end
8
+ it "cannot create a duplicate wallet" do
9
+ wallet1 = AriesWallet.new("WALLET2")
10
+ wallet1.create
11
+ wallet2 = AriesWallet.new("WALLET2")
12
+ expect{wallet2.create}.to raise_error(/Wallet with this name already exists/)
13
+ end
14
+ it "can delete a wallet" do
15
+ wallet = AriesWallet.new("WALLET3")
16
+ wallet.create
17
+ wallet.delete
18
+ end
19
+ it "can open a wallet" do
20
+ wallet = AriesWallet.new("WALLET4")
21
+ wallet.create
22
+ wallet.open
23
+ end
24
+ it "can open and close a wallet" do
25
+ wallet = AriesWallet.new("WALLET5")
26
+ wallet.create
27
+ wallet.open
28
+ wallet.close
29
+ end
30
+ it "cannot delete a wallet twice" do
31
+ wallet = AriesWallet.new("WALLET6")
32
+ wallet.create
33
+ wallet.delete
34
+ expect{wallet.delete}.to raise_error(/No wallet database exists/)
35
+ end
36
+
37
+ it "can create a pool" do
38
+ pool = AriesPool.new("POOL1")
39
+ pool.create
40
+ end
41
+ it "cannot create a duplicate pool" do
42
+ pool1 = AriesPool.new("POOL2")
43
+ pool1.create
44
+ pool2 = AriesPool.new("POOL2")
45
+ expect{pool2.create}.to raise_error(/Pool ledger config file with name/)
46
+ end
47
+ it "can delete a pool" do
48
+ pool = AriesPool.new("POOL3")
49
+ pool.create
50
+ pool.delete
51
+ end
52
+ it "can open a pool" do
53
+ pool = AriesPool.new("POOL4")
54
+ pool.create
55
+ pool.open
56
+ end
57
+ it "can open and close a pool" do
58
+ pool = AriesPool.new("POOL5")
59
+ pool.create
60
+ pool.open
61
+ pool.close
62
+ end
63
+ it "cannot delete a pool twice" do
64
+ pool = AriesPool.new("POOL6")
65
+ pool.create
66
+ pool.delete
67
+ expect{pool.delete}.to raise_error(/No such file or directory/)
68
+ end
69
+ end
@@ -0,0 +1,2 @@
1
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
+ require 'aries-sdk-ruby'
@@ -0,0 +1,115 @@
1
+ #![recursion_limit="128"]
2
+ #[macro_use] extern crate helix;
3
+ #[macro_use] extern crate serde_json;
4
+ extern crate indyrs as indy;
5
+
6
+ use indy::pool;
7
+ use indy::wallet;
8
+ use std::string::String;
9
+
10
+ use indy::future::Future;
11
+
12
+ use std::env;
13
+ use std::fs;
14
+ use std::io::Write;
15
+ use std::path::PathBuf;
16
+
17
+ ruby! {
18
+ class AriesWallet {
19
+ struct {
20
+ name: String,
21
+ handle: i32
22
+ }
23
+
24
+ def initialize(helix, name: String) {
25
+ let handle = 0;
26
+ AriesWallet { helix, name, handle }
27
+ }
28
+
29
+ def create(&self) {
30
+ let config = format!("{{\"id\":\"wallet{}\"}}", self.name);
31
+ let credentials = String::from("{\"key\":\"8dvfYSt5d1taSd6yJdpjq4emkwsPDDLYxkNFysFD2cZY\",\"key_derivation_method\":\"RAW\"}");
32
+
33
+ wallet::create_wallet(&config, &credentials).wait().unwrap();
34
+ }
35
+ def open(&mut self) {
36
+ let config = format!("{{\"id\":\"wallet{}\"}}", self.name);
37
+ let credentials = String::from("{\"key\":\"8dvfYSt5d1taSd6yJdpjq4emkwsPDDLYxkNFysFD2cZY\",\"key_derivation_method\":\"RAW\"}");
38
+
39
+ self.handle = wallet::open_wallet(&config, &credentials).wait().unwrap();
40
+ }
41
+ def close(&self) {
42
+ wallet::close_wallet(self.handle).wait().unwrap();
43
+ }
44
+ def delete(&self) {
45
+ let config = format!("{{\"id\":\"wallet{}\"}}", self.name);
46
+ let credentials = String::from("{\"key\":\"8dvfYSt5d1taSd6yJdpjq4emkwsPDDLYxkNFysFD2cZY\",\"key_derivation_method\":\"RAW\"}");
47
+
48
+ wallet::delete_wallet(&config, &credentials).wait().unwrap();
49
+ }
50
+ }
51
+
52
+ class AriesPool {
53
+ struct {
54
+ name: String,
55
+ handle: i32
56
+ }
57
+
58
+ def initialize(helix, name: String) {
59
+ let handle = 0;
60
+ const PROTOCOL_VERSION: usize = 2;
61
+ pool::set_protocol_version(PROTOCOL_VERSION).wait().unwrap();
62
+ AriesPool { helix, name, handle }
63
+ }
64
+
65
+ def create(&self) {
66
+ let pool_config_file = create_genesis_txn_file_for_pool(&self.name);
67
+ let pool_config = json!({
68
+ "genesis_txn" : &pool_config_file
69
+ });
70
+ pool::create_pool_ledger_config(&self.name, Some(&pool_config.to_string())).wait().unwrap();
71
+ }
72
+ def open(&mut self) {
73
+ self.handle = pool::open_pool_ledger(&self.name, None).wait().unwrap();
74
+ }
75
+ def close(&self) {
76
+ pool::close_pool_ledger(self.handle).wait().unwrap();
77
+ }
78
+ def delete(&self) {
79
+ pool::delete_pool_ledger(&self.name).wait().unwrap();
80
+ }
81
+ }
82
+ }
83
+
84
+ fn create_genesis_txn_file_for_pool(pool_name: &str) -> String {
85
+ let test_pool_ip = env::var("TEST_POOL_IP").unwrap_or("127.0.0.1".to_string());
86
+
87
+ let node_txns = format!(
88
+ r#"{{"reqSignature":{{}},"txn":{{"data":{{"data":{{"alias":"Node1","blskey":"4N8aUNHSgjQVgkpm8nhNEfDf6txHznoYREg9kirmJrkivgL4oSEimFF6nsQ6M41QvhM2Z33nves5vfSn9n1UwNFJBYtWVnHYMATn76vLuL3zU88KyeAYcHfsih3He6UHcXDxcaecHVz6jhCYz1P2UZn2bDVruL5wXpehgBfBaLKm3Ba","blskey_pop":"RahHYiCvoNCtPTrVtP7nMC5eTYrsUA8WjXbdhNc8debh1agE9bGiJxWBXYNFbnJXoXhWFMvyqhqhRoq737YQemH5ik9oL7R4NTTCz2LEZhkgLJzB3QRQqJyBNyv7acbdHrAT8nQ9UkLbaVL9NBpnWXBTw4LEMePaSHEw66RzPNdAX1","client_ip":"{0}","client_port":9702,"node_ip":"{0}","node_port":9701,"services":["VALIDATOR"]}},"dest":"Gw6pDLhcBcoQesN72qfotTgFa7cbuqZpkX3Xo6pLhPhv"}},"metadata":{{"from":"Th7MpTaRZVRYnPiabds81Y"}},"type":"0"}},"txnMetadata":{{"seqNo":1,"txnId":"fea82e10e894419fe2bea7d96296a6d46f50f93f9eeda954ec461b2ed2950b62"}},"ver":"1"}}
89
+ {{"reqSignature":{{}},"txn":{{"data":{{"data":{{"alias":"Node2","blskey":"37rAPpXVoxzKhz7d9gkUe52XuXryuLXoM6P6LbWDB7LSbG62Lsb33sfG7zqS8TK1MXwuCHj1FKNzVpsnafmqLG1vXN88rt38mNFs9TENzm4QHdBzsvCuoBnPH7rpYYDo9DZNJePaDvRvqJKByCabubJz3XXKbEeshzpz4Ma5QYpJqjk","blskey_pop":"Qr658mWZ2YC8JXGXwMDQTzuZCWF7NK9EwxphGmcBvCh6ybUuLxbG65nsX4JvD4SPNtkJ2w9ug1yLTj6fgmuDg41TgECXjLCij3RMsV8CwewBVgVN67wsA45DFWvqvLtu4rjNnE9JbdFTc1Z4WCPA3Xan44K1HoHAq9EVeaRYs8zoF5","client_ip":"{0}","client_port":9704,"node_ip":"{0}","node_port":9703,"services":["VALIDATOR"]}},"dest":"8ECVSk179mjsjKRLWiQtssMLgp6EPhWXtaYyStWPSGAb"}},"metadata":{{"from":"EbP4aYNeTHL6q385GuVpRV"}},"type":"0"}},"txnMetadata":{{"seqNo":2,"txnId":"1ac8aece2a18ced660fef8694b61aac3af08ba875ce3026a160acbc3a3af35fc"}},"ver":"1"}}
90
+ {{"reqSignature":{{}},"txn":{{"data":{{"data":{{"alias":"Node3","blskey":"3WFpdbg7C5cnLYZwFZevJqhubkFALBfCBBok15GdrKMUhUjGsk3jV6QKj6MZgEubF7oqCafxNdkm7eswgA4sdKTRc82tLGzZBd6vNqU8dupzup6uYUf32KTHTPQbuUM8Yk4QFXjEf2Usu2TJcNkdgpyeUSX42u5LqdDDpNSWUK5deC5","blskey_pop":"QwDeb2CkNSx6r8QC8vGQK3GRv7Yndn84TGNijX8YXHPiagXajyfTjoR87rXUu4G4QLk2cF8NNyqWiYMus1623dELWwx57rLCFqGh7N4ZRbGDRP4fnVcaKg1BcUxQ866Ven4gw8y4N56S5HzxXNBZtLYmhGHvDtk6PFkFwCvxYrNYjh","client_ip":"{0}","client_port":9706,"node_ip":"{0}","node_port":9705,"services":["VALIDATOR"]}},"dest":"DKVxG2fXXTU8yT5N7hGEbXB3dfdAnYv1JczDUHpmDxya"}},"metadata":{{"from":"4cU41vWW82ArfxJxHkzXPG"}},"type":"0"}},"txnMetadata":{{"seqNo":3,"txnId":"7e9f355dffa78ed24668f0e0e369fd8c224076571c51e2ea8be5f26479edebe4"}},"ver":"1"}}
91
+ {{"reqSignature":{{}},"txn":{{"data":{{"data":{{"alias":"Node4","blskey":"2zN3bHM1m4rLz54MJHYSwvqzPchYp8jkHswveCLAEJVcX6Mm1wHQD1SkPYMzUDTZvWvhuE6VNAkK3KxVeEmsanSmvjVkReDeBEMxeDaayjcZjFGPydyey1qxBHmTvAnBKoPydvuTAqx5f7YNNRAdeLmUi99gERUU7TD8KfAa6MpQ9bw","blskey_pop":"RPLagxaR5xdimFzwmzYnz4ZhWtYQEj8iR5ZU53T2gitPCyCHQneUn2Huc4oeLd2B2HzkGnjAff4hWTJT6C7qHYB1Mv2wU5iHHGFWkhnTX9WsEAbunJCV2qcaXScKj4tTfvdDKfLiVuU2av6hbsMztirRze7LvYBkRHV3tGwyCptsrP","client_ip":"{0}","client_port":9708,"node_ip":"{0}","node_port":9707,"services":["VALIDATOR"]}},"dest":"4PS3EDQ3dW1tci1Bp6543CfuuebjFrg36kLAUcskGfaA"}},"metadata":{{"from":"TWwCRQRZ2ZHMJFn9TzLp7W"}},"type":"0"}},"txnMetadata":{{"seqNo":4,"txnId":"aa5e817d7cc626170eca175822029339a444eb0ee8f0bd20d3b0b76e566fb008"}},"ver":"1"}}"#, test_pool_ip);
92
+
93
+ let pool_config_pathbuf = write_genesis_txn_to_file(pool_name, node_txns.as_str());
94
+ pool_config_pathbuf.as_os_str().to_str().unwrap().to_string()
95
+ }
96
+
97
+ fn write_genesis_txn_to_file(pool_name: &str,
98
+ txn_file_data: &str) -> PathBuf {
99
+ let mut txn_file_path = env::temp_dir();
100
+ txn_file_path.push("indy_client");
101
+ txn_file_path.push(format!("{}.txn", pool_name));
102
+
103
+ if !txn_file_path.parent().unwrap().exists() {
104
+ fs::DirBuilder::new()
105
+ .recursive(true)
106
+ .create(txn_file_path.parent().unwrap()).unwrap();
107
+ }
108
+
109
+ let mut f = fs::File::create(txn_file_path.as_path()).unwrap();
110
+ f.write_all(txn_file_data.as_bytes()).unwrap();
111
+ f.flush().unwrap();
112
+ f.sync_all().unwrap();
113
+
114
+ txn_file_path
115
+ }
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aries-sdk-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - John Callahan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-08-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: helix_runtime
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.7.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.7.5
27
+ description:
28
+ email:
29
+ executables: []
30
+ extensions:
31
+ - extconf.rb
32
+ extra_rdoc_files: []
33
+ files:
34
+ - Cargo.lock
35
+ - Cargo.toml
36
+ - Gemfile
37
+ - Gemfile.lock
38
+ - LICENSE
39
+ - README.md
40
+ - Rakefile
41
+ - aries-sdk-ruby.gemspec
42
+ - extconf.rb
43
+ - lib/aries-sdk-ruby.rb
44
+ - lib/tasks/helix_runtime.rake
45
+ - spec/aries-sdk-ruby_spec.rb
46
+ - spec/spec_helper.rb
47
+ - src/lib.rs
48
+ homepage: https://github.com/hyperledger/aries-sdk-ruby
49
+ licenses:
50
+ - Apache-2.0
51
+ metadata: {}
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ requirements: []
67
+ rubyforge_project:
68
+ rubygems_version: 2.7.9
69
+ signing_key:
70
+ specification_version: 4
71
+ summary: Ruby wrapper for aries-sdk
72
+ test_files: []