blake3ruby 0.4.0 → 0.4.1
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/Cargo.lock +61 -62
- data/Gemfile.lock +19 -18
- data/README.md +1 -1
- data/ext/blake3ruby/Cargo.toml +3 -3
- data/lib/blake3ruby/version.rb +1 -1
- data/sig/blake3ruby.rbs +3 -3
- metadata +2 -3
- data/blake3ruby.gemspec +0 -34
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c24667eaecf66d73b718150f6d36c0a569a93c854f0d81800b04d75872410fc
|
|
4
|
+
data.tar.gz: 4f71ebc8dc20275a636054b56f1ced0c7eede8045520e23f070a33b96efd6e2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3a9801a2b539d37cc755fe94bc7900e348034ab612ef6c4e537aedda7129d3a25d14402735eb1f81dbe131577e31cbdb41c099d3454f86a5bacb0d82c527d13
|
|
7
|
+
data.tar.gz: 82964745187f8852f522fa53efc12da512cbca0be963a99047ab17a81a9230d413e40132d25581ea0cff3c1bda1d1aa19599aa3f5748e231516ecb15d654db39
|
data/Cargo.lock
CHANGED
|
@@ -4,24 +4,18 @@ version = 4
|
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "aho-corasick"
|
|
7
|
-
version = "1.1.
|
|
7
|
+
version = "1.1.5"
|
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "
|
|
9
|
+
checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
|
|
10
10
|
dependencies = [
|
|
11
11
|
"memchr",
|
|
12
12
|
]
|
|
13
13
|
|
|
14
|
-
[[package]]
|
|
15
|
-
name = "arrayref"
|
|
16
|
-
version = "0.3.9"
|
|
17
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
-
checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
|
|
19
|
-
|
|
20
14
|
[[package]]
|
|
21
15
|
name = "arrayvec"
|
|
22
|
-
version = "0.7.
|
|
16
|
+
version = "0.7.8"
|
|
23
17
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
-
checksum = "
|
|
18
|
+
checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56"
|
|
25
19
|
|
|
26
20
|
[[package]]
|
|
27
21
|
name = "bindgen"
|
|
@@ -37,23 +31,22 @@ dependencies = [
|
|
|
37
31
|
"quote",
|
|
38
32
|
"regex",
|
|
39
33
|
"rustc-hash",
|
|
40
|
-
"shlex",
|
|
34
|
+
"shlex 1.3.0",
|
|
41
35
|
"syn",
|
|
42
36
|
]
|
|
43
37
|
|
|
44
38
|
[[package]]
|
|
45
39
|
name = "bitflags"
|
|
46
|
-
version = "2.
|
|
40
|
+
version = "2.13.2"
|
|
47
41
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
-
checksum = "
|
|
42
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
49
43
|
|
|
50
44
|
[[package]]
|
|
51
45
|
name = "blake3"
|
|
52
|
-
version = "1.8.
|
|
46
|
+
version = "1.8.7"
|
|
53
47
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
54
|
-
checksum = "
|
|
48
|
+
checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae"
|
|
55
49
|
dependencies = [
|
|
56
|
-
"arrayref",
|
|
57
50
|
"arrayvec",
|
|
58
51
|
"cc",
|
|
59
52
|
"cfg-if",
|
|
@@ -63,7 +56,7 @@ dependencies = [
|
|
|
63
56
|
|
|
64
57
|
[[package]]
|
|
65
58
|
name = "blake3ruby"
|
|
66
|
-
version = "0.4.
|
|
59
|
+
version = "0.4.1"
|
|
67
60
|
dependencies = [
|
|
68
61
|
"blake3",
|
|
69
62
|
"hex",
|
|
@@ -72,12 +65,12 @@ dependencies = [
|
|
|
72
65
|
|
|
73
66
|
[[package]]
|
|
74
67
|
name = "cc"
|
|
75
|
-
version = "1.
|
|
68
|
+
version = "1.10.0"
|
|
76
69
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
-
checksum = "
|
|
70
|
+
checksum = "86e055fa6e3e40ad6187ba25b6855eeb635d5271f8e0f0e1e9a5826b8d75bea0"
|
|
78
71
|
dependencies = [
|
|
79
72
|
"find-msvc-tools",
|
|
80
|
-
"shlex",
|
|
73
|
+
"shlex 2.0.1",
|
|
81
74
|
]
|
|
82
75
|
|
|
83
76
|
[[package]]
|
|
@@ -91,15 +84,15 @@ dependencies = [
|
|
|
91
84
|
|
|
92
85
|
[[package]]
|
|
93
86
|
name = "cfg-if"
|
|
94
|
-
version = "1.0.
|
|
87
|
+
version = "1.0.5"
|
|
95
88
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
96
|
-
checksum = "
|
|
89
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
97
90
|
|
|
98
91
|
[[package]]
|
|
99
92
|
name = "clang-sys"
|
|
100
|
-
version = "1.
|
|
93
|
+
version = "1.9.1"
|
|
101
94
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
102
|
-
checksum = "
|
|
95
|
+
checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a"
|
|
103
96
|
dependencies = [
|
|
104
97
|
"glob",
|
|
105
98
|
"libc",
|
|
@@ -114,30 +107,30 @@ checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b"
|
|
|
114
107
|
|
|
115
108
|
[[package]]
|
|
116
109
|
name = "cpufeatures"
|
|
117
|
-
version = "0.3.
|
|
110
|
+
version = "0.3.1"
|
|
118
111
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
119
|
-
checksum = "
|
|
112
|
+
checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
|
|
120
113
|
dependencies = [
|
|
121
114
|
"libc",
|
|
122
115
|
]
|
|
123
116
|
|
|
124
117
|
[[package]]
|
|
125
118
|
name = "either"
|
|
126
|
-
version = "1.
|
|
119
|
+
version = "1.19.0"
|
|
127
120
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
-
checksum = "
|
|
121
|
+
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
129
122
|
|
|
130
123
|
[[package]]
|
|
131
124
|
name = "find-msvc-tools"
|
|
132
|
-
version = "0.1.
|
|
125
|
+
version = "0.1.15"
|
|
133
126
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
134
|
-
checksum = "
|
|
127
|
+
checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
|
|
135
128
|
|
|
136
129
|
[[package]]
|
|
137
130
|
name = "glob"
|
|
138
|
-
version = "0.3.
|
|
131
|
+
version = "0.3.4"
|
|
139
132
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
140
|
-
checksum = "
|
|
133
|
+
checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
|
|
141
134
|
|
|
142
135
|
[[package]]
|
|
143
136
|
name = "hex"
|
|
@@ -156,15 +149,15 @@ dependencies = [
|
|
|
156
149
|
|
|
157
150
|
[[package]]
|
|
158
151
|
name = "lazy_static"
|
|
159
|
-
version = "1.5.
|
|
152
|
+
version = "1.5.1"
|
|
160
153
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
161
|
-
checksum = "
|
|
154
|
+
checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
|
|
162
155
|
|
|
163
156
|
[[package]]
|
|
164
157
|
name = "libc"
|
|
165
|
-
version = "0.2.
|
|
158
|
+
version = "0.2.191"
|
|
166
159
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
167
|
-
checksum = "
|
|
160
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
168
161
|
|
|
169
162
|
[[package]]
|
|
170
163
|
name = "libloading"
|
|
@@ -178,9 +171,9 @@ dependencies = [
|
|
|
178
171
|
|
|
179
172
|
[[package]]
|
|
180
173
|
name = "magnus"
|
|
181
|
-
version = "0.
|
|
174
|
+
version = "0.9.3"
|
|
182
175
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
-
checksum = "
|
|
176
|
+
checksum = "40ef424404d166cbb71c8b8d19c9c589c748c4547c1afa1928c5504299f6c713"
|
|
184
177
|
dependencies = [
|
|
185
178
|
"magnus-macros",
|
|
186
179
|
"rb-sys",
|
|
@@ -190,9 +183,9 @@ dependencies = [
|
|
|
190
183
|
|
|
191
184
|
[[package]]
|
|
192
185
|
name = "magnus-macros"
|
|
193
|
-
version = "0.
|
|
186
|
+
version = "0.9.1"
|
|
194
187
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
195
|
-
checksum = "
|
|
188
|
+
checksum = "9dafde2eeb66f090e0f326112323eb8324b12cb32b5d1210e541d3df6b0ce77e"
|
|
196
189
|
dependencies = [
|
|
197
190
|
"proc-macro2",
|
|
198
191
|
"quote",
|
|
@@ -201,9 +194,9 @@ dependencies = [
|
|
|
201
194
|
|
|
202
195
|
[[package]]
|
|
203
196
|
name = "memchr"
|
|
204
|
-
version = "2.8.
|
|
197
|
+
version = "2.8.3"
|
|
205
198
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
-
checksum = "
|
|
199
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
207
200
|
|
|
208
201
|
[[package]]
|
|
209
202
|
name = "minimal-lexical"
|
|
@@ -223,36 +216,36 @@ dependencies = [
|
|
|
223
216
|
|
|
224
217
|
[[package]]
|
|
225
218
|
name = "proc-macro2"
|
|
226
|
-
version = "1.0.
|
|
219
|
+
version = "1.0.107"
|
|
227
220
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
228
|
-
checksum = "
|
|
221
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
229
222
|
dependencies = [
|
|
230
223
|
"unicode-ident",
|
|
231
224
|
]
|
|
232
225
|
|
|
233
226
|
[[package]]
|
|
234
227
|
name = "quote"
|
|
235
|
-
version = "1.0.
|
|
228
|
+
version = "1.0.47"
|
|
236
229
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
237
|
-
checksum = "
|
|
230
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
238
231
|
dependencies = [
|
|
239
232
|
"proc-macro2",
|
|
240
233
|
]
|
|
241
234
|
|
|
242
235
|
[[package]]
|
|
243
236
|
name = "rb-sys"
|
|
244
|
-
version = "0.9.
|
|
237
|
+
version = "0.9.130"
|
|
245
238
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
-
checksum = "
|
|
239
|
+
checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
|
|
247
240
|
dependencies = [
|
|
248
241
|
"rb-sys-build",
|
|
249
242
|
]
|
|
250
243
|
|
|
251
244
|
[[package]]
|
|
252
245
|
name = "rb-sys-build"
|
|
253
|
-
version = "0.9.
|
|
246
|
+
version = "0.9.130"
|
|
254
247
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
255
|
-
checksum = "
|
|
248
|
+
checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
|
|
256
249
|
dependencies = [
|
|
257
250
|
"bindgen",
|
|
258
251
|
"lazy_static",
|
|
@@ -271,9 +264,9 @@ checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
|
271
264
|
|
|
272
265
|
[[package]]
|
|
273
266
|
name = "regex"
|
|
274
|
-
version = "1.
|
|
267
|
+
version = "1.13.1"
|
|
275
268
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
276
|
-
checksum = "
|
|
269
|
+
checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
|
|
277
270
|
dependencies = [
|
|
278
271
|
"aho-corasick",
|
|
279
272
|
"memchr",
|
|
@@ -283,9 +276,9 @@ dependencies = [
|
|
|
283
276
|
|
|
284
277
|
[[package]]
|
|
285
278
|
name = "regex-automata"
|
|
286
|
-
version = "0.4.
|
|
279
|
+
version = "0.4.18"
|
|
287
280
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
288
|
-
checksum = "
|
|
281
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
289
282
|
dependencies = [
|
|
290
283
|
"aho-corasick",
|
|
291
284
|
"memchr",
|
|
@@ -294,15 +287,15 @@ dependencies = [
|
|
|
294
287
|
|
|
295
288
|
[[package]]
|
|
296
289
|
name = "regex-syntax"
|
|
297
|
-
version = "0.8.
|
|
290
|
+
version = "0.8.11"
|
|
298
291
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
299
|
-
checksum = "
|
|
292
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
300
293
|
|
|
301
294
|
[[package]]
|
|
302
295
|
name = "rustc-hash"
|
|
303
|
-
version = "2.1.
|
|
296
|
+
version = "2.1.3"
|
|
304
297
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
305
|
-
checksum = "
|
|
298
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
306
299
|
|
|
307
300
|
[[package]]
|
|
308
301
|
name = "seq-macro"
|
|
@@ -322,11 +315,17 @@ version = "1.3.0"
|
|
|
322
315
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
323
316
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
324
317
|
|
|
318
|
+
[[package]]
|
|
319
|
+
name = "shlex"
|
|
320
|
+
version = "2.0.1"
|
|
321
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
322
|
+
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
|
323
|
+
|
|
325
324
|
[[package]]
|
|
326
325
|
name = "syn"
|
|
327
|
-
version = "2.0.
|
|
326
|
+
version = "2.0.119"
|
|
328
327
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
329
|
-
checksum = "
|
|
328
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
330
329
|
dependencies = [
|
|
331
330
|
"proc-macro2",
|
|
332
331
|
"quote",
|
|
@@ -335,9 +334,9 @@ dependencies = [
|
|
|
335
334
|
|
|
336
335
|
[[package]]
|
|
337
336
|
name = "unicode-ident"
|
|
338
|
-
version = "1.0.
|
|
337
|
+
version = "1.0.27"
|
|
339
338
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
340
|
-
checksum = "
|
|
339
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
341
340
|
|
|
342
341
|
[[package]]
|
|
343
342
|
name = "windows-link"
|
data/Gemfile.lock
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
blake3ruby (0.4.
|
|
4
|
+
blake3ruby (0.4.1)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
9
|
ast (2.4.3)
|
|
10
10
|
diff-lcs (1.6.2)
|
|
11
|
-
json (
|
|
12
|
-
language_server-protocol (3.17.0.
|
|
11
|
+
json (3.1.0)
|
|
12
|
+
language_server-protocol (3.17.0.6)
|
|
13
13
|
lint_roller (1.1.0)
|
|
14
|
-
parallel (2.
|
|
15
|
-
parser (3.3.
|
|
14
|
+
parallel (2.3.0)
|
|
15
|
+
parser (3.3.13.0)
|
|
16
16
|
ast (~> 2.4.1)
|
|
17
17
|
racc
|
|
18
18
|
prism (1.9.0)
|
|
19
19
|
racc (1.8.1)
|
|
20
20
|
rainbow (3.1.1)
|
|
21
21
|
rake (13.4.2)
|
|
22
|
-
rake-compiler (1.3.
|
|
22
|
+
rake-compiler (1.3.2)
|
|
23
23
|
rake
|
|
24
24
|
rake-compiler-dock (1.12.0)
|
|
25
|
-
rb_sys (0.9.
|
|
25
|
+
rb_sys (0.9.130)
|
|
26
26
|
rake-compiler-dock (= 1.12.0)
|
|
27
|
-
regexp_parser (2.
|
|
27
|
+
regexp_parser (2.13.1)
|
|
28
28
|
rspec (3.13.2)
|
|
29
29
|
rspec-core (~> 3.13.0)
|
|
30
30
|
rspec-expectations (~> 3.13.0)
|
|
@@ -38,30 +38,31 @@ GEM
|
|
|
38
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
39
39
|
rspec-support (~> 3.13.0)
|
|
40
40
|
rspec-support (3.13.7)
|
|
41
|
-
rubocop (1.
|
|
42
|
-
json (
|
|
41
|
+
rubocop (1.92.1)
|
|
42
|
+
json (>= 2.3)
|
|
43
43
|
language_server-protocol (~> 3.17.0.2)
|
|
44
44
|
lint_roller (~> 1.1.0)
|
|
45
45
|
parallel (>= 1.10)
|
|
46
46
|
parser (>= 3.3.0.2)
|
|
47
47
|
rainbow (>= 2.2.2, < 4.0)
|
|
48
|
-
regexp_parser (>= 2.
|
|
48
|
+
regexp_parser (>= 2.11.3, < 3.0)
|
|
49
49
|
rubocop-ast (>= 1.49.0, < 2.0)
|
|
50
50
|
ruby-progressbar (~> 1.7)
|
|
51
51
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
52
|
-
rubocop-ast (1.
|
|
52
|
+
rubocop-ast (1.50.0)
|
|
53
53
|
parser (>= 3.3.7.2)
|
|
54
54
|
prism (~> 1.7)
|
|
55
55
|
rubocop-rake (0.7.1)
|
|
56
56
|
lint_roller (~> 1.1)
|
|
57
57
|
rubocop (>= 1.72.1)
|
|
58
|
-
rubocop-rspec (3.
|
|
58
|
+
rubocop-rspec (3.10.2)
|
|
59
59
|
lint_roller (~> 1.1)
|
|
60
|
-
|
|
60
|
+
regexp_parser (>= 2.0)
|
|
61
|
+
rubocop (~> 1.86, >= 1.86.2)
|
|
61
62
|
ruby-progressbar (1.13.0)
|
|
62
|
-
unicode-display_width (3.
|
|
63
|
-
unicode-emoji (~> 4.
|
|
64
|
-
unicode-emoji (4.
|
|
63
|
+
unicode-display_width (3.3.0)
|
|
64
|
+
unicode-emoji (~> 4.3)
|
|
65
|
+
unicode-emoji (4.3.0)
|
|
65
66
|
|
|
66
67
|
PLATFORMS
|
|
67
68
|
aarch64-linux
|
|
@@ -84,4 +85,4 @@ DEPENDENCIES
|
|
|
84
85
|
rubocop-rspec
|
|
85
86
|
|
|
86
87
|
BUNDLED WITH
|
|
87
|
-
4.0.
|
|
88
|
+
4.0.14
|
data/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Tested on Ruby 3.3, 3.4 and 4.0.
|
|
|
9
9
|
You will need to have Rust installed on your system, and the `cargo` command available in your path.
|
|
10
10
|
See [here](https://www.rust-lang.org/tools/install) for instructions on how to install Rust.
|
|
11
11
|
Rust is only required to build the gem, not to use it.
|
|
12
|
-
Minimally, you will need Rust 1.
|
|
12
|
+
Minimally, you will need Rust 1.85 or later (required by the magnus 0.9 bindings).
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
## Installation
|
data/ext/blake3ruby/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "blake3ruby"
|
|
3
|
-
version = "0.4.
|
|
3
|
+
version = "0.4.1"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
authors = ["Nightforge <modo00@gmail.com>"]
|
|
6
6
|
publish = false
|
|
@@ -9,9 +9,9 @@ publish = false
|
|
|
9
9
|
crate-type = ["cdylib"]
|
|
10
10
|
|
|
11
11
|
[dependencies]
|
|
12
|
-
magnus = { version = "0.
|
|
12
|
+
magnus = { version = "0.9.3" }
|
|
13
13
|
hex = { version = "0.4.3" }
|
|
14
|
-
blake3 = { version = "1.8.
|
|
14
|
+
blake3 = { version = "1.8.7" }
|
|
15
15
|
|
|
16
16
|
[package.metadata.magnus]
|
|
17
17
|
rbconfig = true
|
data/lib/blake3ruby/version.rb
CHANGED
data/sig/blake3ruby.rbs
CHANGED
|
@@ -4,12 +4,12 @@ end
|
|
|
4
4
|
|
|
5
5
|
module Digest
|
|
6
6
|
module Blake3
|
|
7
|
-
def self.hexdigest
|
|
8
|
-
def self.derive_key
|
|
7
|
+
def self.hexdigest: (String subject) -> String
|
|
8
|
+
def self.derive_key: (String context, String key) -> String
|
|
9
9
|
|
|
10
10
|
class Hasher
|
|
11
11
|
def self.new: () -> Digest::Blake3::Hasher
|
|
12
|
-
def update: (subject
|
|
12
|
+
def update: (String subject) -> Digest::Blake3::Hasher
|
|
13
13
|
def finalize: () -> String
|
|
14
14
|
end
|
|
15
15
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: blake3ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nightforge
|
|
@@ -27,7 +27,6 @@ files:
|
|
|
27
27
|
- LICENSE.txt
|
|
28
28
|
- README.md
|
|
29
29
|
- Rakefile
|
|
30
|
-
- blake3ruby.gemspec
|
|
31
30
|
- ext/blake3ruby/Cargo.toml
|
|
32
31
|
- ext/blake3ruby/extconf.rb
|
|
33
32
|
- ext/blake3ruby/src/lib.rs
|
|
@@ -56,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
56
55
|
- !ruby/object:Gem::Version
|
|
57
56
|
version: 3.3.11
|
|
58
57
|
requirements: []
|
|
59
|
-
rubygems_version: 4.0.
|
|
58
|
+
rubygems_version: 4.0.14
|
|
60
59
|
specification_version: 4
|
|
61
60
|
summary: Ruby bindings for the blake3 hash function
|
|
62
61
|
test_files: []
|
data/blake3ruby.gemspec
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require_relative "lib/blake3ruby/version"
|
|
4
|
-
|
|
5
|
-
Gem::Specification.new do |spec|
|
|
6
|
-
spec.name = "blake3ruby"
|
|
7
|
-
spec.version = Blake3ruby::VERSION
|
|
8
|
-
spec.authors = ["Nightforge"]
|
|
9
|
-
spec.email = ["modo00@gmail.com"]
|
|
10
|
-
|
|
11
|
-
spec.summary = "Ruby bindings for the blake3 hash function"
|
|
12
|
-
spec.description = "Ruby bindings for the blake3 hash function using the Rust implementation"
|
|
13
|
-
spec.homepage = "https://github.com/Nightforge/blake3ruby"
|
|
14
|
-
spec.required_ruby_version = ">= 3.3"
|
|
15
|
-
spec.required_rubygems_version = ">= 3.3.11"
|
|
16
|
-
spec.licenses = %w[MIT Ruby]
|
|
17
|
-
|
|
18
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
|
19
|
-
spec.metadata["source_code_uri"] = "https://github.com/Nightforge/blake3ruby"
|
|
20
|
-
spec.metadata["rubygems_mfa_required"] = "true"
|
|
21
|
-
|
|
22
|
-
# Specify which files should be added to the gem when it is released.
|
|
23
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
24
|
-
spec.files = Dir.chdir(__dir__) do
|
|
25
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
|
26
|
-
(File.expand_path(f) == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
spec.files << %w[Cargo.lock LICENSE.txt README.md]
|
|
30
|
-
spec.bindir = "exe"
|
|
31
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
32
|
-
spec.require_paths = ["lib"]
|
|
33
|
-
spec.extensions = ["ext/blake3ruby/Cargo.toml"]
|
|
34
|
-
end
|