what_you_say 0.6.7 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +143 -158
- data/ext/what_you_say/Cargo.toml +1 -1
- data/ext/what_you_say/src/lib.rs +3 -16
- data/lib/what_you_say/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17527951e2616bbfde861ba852668f321f86255ac79050e6ebe63cf860c5d241
|
4
|
+
data.tar.gz: 4222ae51e10852907a1233d6349338c495a09f78cb1f359221b9c2ba7dc639dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 237bd978eab9ce9dd72f6e08c3c63adc50aea4989c707b06efed4129bd7e8b1588b1d9402c67f5318608ade50c7348f282bc370f47aef84f14b808f7ea407f81
|
7
|
+
data.tar.gz: ce39c602018765e0d6253f52f7a9f6d4bf7c2653d7e0b0f0de73c64a7f8d17431c1cd18bf15a047cafebab787661fad23e32ef040896e78fb7f80ab01de0848c
|
data/Cargo.lock
CHANGED
@@ -4,9 +4,9 @@ version = 3
|
|
4
4
|
|
5
5
|
[[package]]
|
6
6
|
name = "ahash"
|
7
|
-
version = "0.8.
|
7
|
+
version = "0.8.11"
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
9
|
-
checksum = "
|
9
|
+
checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
|
10
10
|
dependencies = [
|
11
11
|
"cfg-if",
|
12
12
|
"const-random",
|
@@ -18,9 +18,9 @@ dependencies = [
|
|
18
18
|
|
19
19
|
[[package]]
|
20
20
|
name = "aho-corasick"
|
21
|
-
version = "1.1.
|
21
|
+
version = "1.1.3"
|
22
22
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
23
|
-
checksum = "
|
23
|
+
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
|
24
24
|
dependencies = [
|
25
25
|
"memchr",
|
26
26
|
]
|
@@ -42,22 +42,22 @@ dependencies = [
|
|
42
42
|
|
43
43
|
[[package]]
|
44
44
|
name = "autocfg"
|
45
|
-
version = "1.
|
45
|
+
version = "1.3.0"
|
46
46
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
47
|
-
checksum = "
|
47
|
+
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
|
48
48
|
|
49
49
|
[[package]]
|
50
50
|
name = "bindgen"
|
51
|
-
version = "0.69.
|
51
|
+
version = "0.69.4"
|
52
52
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
53
|
-
checksum = "
|
53
|
+
checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
|
54
54
|
dependencies = [
|
55
55
|
"bitflags",
|
56
56
|
"cexpr",
|
57
57
|
"clang-sys",
|
58
|
+
"itertools",
|
58
59
|
"lazy_static",
|
59
60
|
"lazycell",
|
60
|
-
"peeking_take_while",
|
61
61
|
"proc-macro2",
|
62
62
|
"quote",
|
63
63
|
"regex",
|
@@ -68,15 +68,15 @@ dependencies = [
|
|
68
68
|
|
69
69
|
[[package]]
|
70
70
|
name = "bitflags"
|
71
|
-
version = "2.
|
71
|
+
version = "2.6.0"
|
72
72
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
73
|
-
checksum = "
|
73
|
+
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
74
74
|
|
75
75
|
[[package]]
|
76
76
|
name = "brotli"
|
77
|
-
version = "3.
|
77
|
+
version = "3.5.0"
|
78
78
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
79
|
-
checksum = "
|
79
|
+
checksum = "d640d25bc63c50fb1f0b545ffd80207d2e10a4c965530809b40ba3386825c391"
|
80
80
|
dependencies = [
|
81
81
|
"alloc-no-stdlib",
|
82
82
|
"alloc-stdlib",
|
@@ -95,15 +95,15 @@ dependencies = [
|
|
95
95
|
|
96
96
|
[[package]]
|
97
97
|
name = "bumpalo"
|
98
|
-
version = "3.
|
98
|
+
version = "3.16.0"
|
99
99
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
100
|
-
checksum = "
|
100
|
+
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
|
101
101
|
|
102
102
|
[[package]]
|
103
103
|
name = "castaway"
|
104
|
-
version = "0.2.
|
104
|
+
version = "0.2.3"
|
105
105
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
106
|
-
checksum = "
|
106
|
+
checksum = "0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5"
|
107
107
|
dependencies = [
|
108
108
|
"rustversion",
|
109
109
|
]
|
@@ -125,9 +125,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
125
125
|
|
126
126
|
[[package]]
|
127
127
|
name = "clang-sys"
|
128
|
-
version = "1.
|
128
|
+
version = "1.8.1"
|
129
129
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
130
|
-
checksum = "
|
130
|
+
checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
|
131
131
|
dependencies = [
|
132
132
|
"glob",
|
133
133
|
"libc",
|
@@ -149,9 +149,9 @@ dependencies = [
|
|
149
149
|
|
150
150
|
[[package]]
|
151
151
|
name = "const-random"
|
152
|
-
version = "0.1.
|
152
|
+
version = "0.1.18"
|
153
153
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
154
|
-
checksum = "
|
154
|
+
checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359"
|
155
155
|
dependencies = [
|
156
156
|
"const-random-macro",
|
157
157
|
]
|
@@ -169,34 +169,28 @@ dependencies = [
|
|
169
169
|
|
170
170
|
[[package]]
|
171
171
|
name = "crossbeam-deque"
|
172
|
-
version = "0.8.
|
172
|
+
version = "0.8.5"
|
173
173
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
174
|
-
checksum = "
|
174
|
+
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
|
175
175
|
dependencies = [
|
176
|
-
"cfg-if",
|
177
176
|
"crossbeam-epoch",
|
178
177
|
"crossbeam-utils",
|
179
178
|
]
|
180
179
|
|
181
180
|
[[package]]
|
182
181
|
name = "crossbeam-epoch"
|
183
|
-
version = "0.9.
|
182
|
+
version = "0.9.18"
|
184
183
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
185
|
-
checksum = "
|
184
|
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
186
185
|
dependencies = [
|
187
|
-
"autocfg",
|
188
|
-
"cfg-if",
|
189
186
|
"crossbeam-utils",
|
190
187
|
]
|
191
188
|
|
192
189
|
[[package]]
|
193
190
|
name = "crossbeam-utils"
|
194
|
-
version = "0.8.
|
191
|
+
version = "0.8.20"
|
195
192
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
196
|
-
checksum = "
|
197
|
-
dependencies = [
|
198
|
-
"cfg-if",
|
199
|
-
]
|
193
|
+
checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
|
200
194
|
|
201
195
|
[[package]]
|
202
196
|
name = "crunchy"
|
@@ -206,9 +200,9 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
|
|
206
200
|
|
207
201
|
[[package]]
|
208
202
|
name = "either"
|
209
|
-
version = "1.
|
203
|
+
version = "1.13.0"
|
210
204
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
211
|
-
checksum = "
|
205
|
+
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
|
212
206
|
|
213
207
|
[[package]]
|
214
208
|
name = "fraction"
|
@@ -222,9 +216,9 @@ dependencies = [
|
|
222
216
|
|
223
217
|
[[package]]
|
224
218
|
name = "getrandom"
|
225
|
-
version = "0.2.
|
219
|
+
version = "0.2.15"
|
226
220
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
227
|
-
checksum = "
|
221
|
+
checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
|
228
222
|
dependencies = [
|
229
223
|
"cfg-if",
|
230
224
|
"libc",
|
@@ -245,18 +239,18 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
|
245
239
|
|
246
240
|
[[package]]
|
247
241
|
name = "include_dir"
|
248
|
-
version = "0.7.
|
242
|
+
version = "0.7.4"
|
249
243
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
250
|
-
checksum = "
|
244
|
+
checksum = "923d117408f1e49d914f1a379a309cffe4f18c05cf4e3d12e613a15fc81bd0dd"
|
251
245
|
dependencies = [
|
252
246
|
"include_dir_macros",
|
253
247
|
]
|
254
248
|
|
255
249
|
[[package]]
|
256
250
|
name = "include_dir_macros"
|
257
|
-
version = "0.7.
|
251
|
+
version = "0.7.4"
|
258
252
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
259
|
-
checksum = "
|
253
|
+
checksum = "7cab85a7ed0bd5f0e76d93846e0147172bed2e2d3f859bcc33a8d9699cad1a75"
|
260
254
|
dependencies = [
|
261
255
|
"proc-macro2",
|
262
256
|
"quote",
|
@@ -264,33 +258,33 @@ dependencies = [
|
|
264
258
|
|
265
259
|
[[package]]
|
266
260
|
name = "itertools"
|
267
|
-
version = "0.12.
|
261
|
+
version = "0.12.1"
|
268
262
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
269
|
-
checksum = "
|
263
|
+
checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
|
270
264
|
dependencies = [
|
271
265
|
"either",
|
272
266
|
]
|
273
267
|
|
274
268
|
[[package]]
|
275
269
|
name = "itoa"
|
276
|
-
version = "1.0.
|
270
|
+
version = "1.0.11"
|
277
271
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
278
|
-
checksum = "
|
272
|
+
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
|
279
273
|
|
280
274
|
[[package]]
|
281
275
|
name = "js-sys"
|
282
|
-
version = "0.3.
|
276
|
+
version = "0.3.70"
|
283
277
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
284
|
-
checksum = "
|
278
|
+
checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a"
|
285
279
|
dependencies = [
|
286
280
|
"wasm-bindgen",
|
287
281
|
]
|
288
282
|
|
289
283
|
[[package]]
|
290
284
|
name = "lazy_static"
|
291
|
-
version = "1.
|
285
|
+
version = "1.5.0"
|
292
286
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
293
|
-
checksum = "
|
287
|
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
294
288
|
|
295
289
|
[[package]]
|
296
290
|
name = "lazycell"
|
@@ -300,18 +294,18 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
300
294
|
|
301
295
|
[[package]]
|
302
296
|
name = "libc"
|
303
|
-
version = "0.2.
|
297
|
+
version = "0.2.158"
|
304
298
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
305
|
-
checksum = "
|
299
|
+
checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
|
306
300
|
|
307
301
|
[[package]]
|
308
302
|
name = "libloading"
|
309
|
-
version = "0.8.
|
303
|
+
version = "0.8.5"
|
310
304
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
311
|
-
checksum = "
|
305
|
+
checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
|
312
306
|
dependencies = [
|
313
307
|
"cfg-if",
|
314
|
-
"windows-
|
308
|
+
"windows-targets",
|
315
309
|
]
|
316
310
|
|
317
311
|
[[package]]
|
@@ -1090,15 +1084,15 @@ dependencies = [
|
|
1090
1084
|
|
1091
1085
|
[[package]]
|
1092
1086
|
name = "log"
|
1093
|
-
version = "0.4.
|
1087
|
+
version = "0.4.22"
|
1094
1088
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1095
|
-
checksum = "
|
1089
|
+
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
1096
1090
|
|
1097
1091
|
[[package]]
|
1098
1092
|
name = "magnus"
|
1099
|
-
version = "0.
|
1093
|
+
version = "0.7.1"
|
1100
1094
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1101
|
-
checksum = "
|
1095
|
+
checksum = "3d87ae53030f3a22e83879e666cb94e58a7bdf31706878a0ba48752994146dab"
|
1102
1096
|
dependencies = [
|
1103
1097
|
"magnus-macros",
|
1104
1098
|
"rb-sys",
|
@@ -1125,9 +1119,9 @@ checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
|
|
1125
1119
|
|
1126
1120
|
[[package]]
|
1127
1121
|
name = "memchr"
|
1128
|
-
version = "2.7.
|
1122
|
+
version = "2.7.4"
|
1129
1123
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1130
|
-
checksum = "
|
1124
|
+
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
1131
1125
|
|
1132
1126
|
[[package]]
|
1133
1127
|
name = "minimal-lexical"
|
@@ -1147,9 +1141,9 @@ dependencies = [
|
|
1147
1141
|
|
1148
1142
|
[[package]]
|
1149
1143
|
name = "num"
|
1150
|
-
version = "0.4.
|
1144
|
+
version = "0.4.3"
|
1151
1145
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1152
|
-
checksum = "
|
1146
|
+
checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23"
|
1153
1147
|
dependencies = [
|
1154
1148
|
"num-bigint",
|
1155
1149
|
"num-complex",
|
@@ -1161,39 +1155,37 @@ dependencies = [
|
|
1161
1155
|
|
1162
1156
|
[[package]]
|
1163
1157
|
name = "num-bigint"
|
1164
|
-
version = "0.4.
|
1158
|
+
version = "0.4.6"
|
1165
1159
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1166
|
-
checksum = "
|
1160
|
+
checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
|
1167
1161
|
dependencies = [
|
1168
|
-
"autocfg",
|
1169
1162
|
"num-integer",
|
1170
1163
|
"num-traits",
|
1171
1164
|
]
|
1172
1165
|
|
1173
1166
|
[[package]]
|
1174
1167
|
name = "num-complex"
|
1175
|
-
version = "0.4.
|
1168
|
+
version = "0.4.6"
|
1176
1169
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1177
|
-
checksum = "
|
1170
|
+
checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
|
1178
1171
|
dependencies = [
|
1179
1172
|
"num-traits",
|
1180
1173
|
]
|
1181
1174
|
|
1182
1175
|
[[package]]
|
1183
1176
|
name = "num-integer"
|
1184
|
-
version = "0.1.
|
1177
|
+
version = "0.1.46"
|
1185
1178
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1186
|
-
checksum = "
|
1179
|
+
checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
|
1187
1180
|
dependencies = [
|
1188
|
-
"autocfg",
|
1189
1181
|
"num-traits",
|
1190
1182
|
]
|
1191
1183
|
|
1192
1184
|
[[package]]
|
1193
1185
|
name = "num-iter"
|
1194
|
-
version = "0.1.
|
1186
|
+
version = "0.1.45"
|
1195
1187
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1196
|
-
checksum = "
|
1188
|
+
checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
|
1197
1189
|
dependencies = [
|
1198
1190
|
"autocfg",
|
1199
1191
|
"num-integer",
|
@@ -1202,11 +1194,10 @@ dependencies = [
|
|
1202
1194
|
|
1203
1195
|
[[package]]
|
1204
1196
|
name = "num-rational"
|
1205
|
-
version = "0.4.
|
1197
|
+
version = "0.4.2"
|
1206
1198
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1207
|
-
checksum = "
|
1199
|
+
checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
|
1208
1200
|
dependencies = [
|
1209
|
-
"autocfg",
|
1210
1201
|
"num-bigint",
|
1211
1202
|
"num-integer",
|
1212
1203
|
"num-traits",
|
@@ -1214,9 +1205,9 @@ dependencies = [
|
|
1214
1205
|
|
1215
1206
|
[[package]]
|
1216
1207
|
name = "num-traits"
|
1217
|
-
version = "0.2.
|
1208
|
+
version = "0.2.19"
|
1218
1209
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1219
|
-
checksum = "
|
1210
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
1220
1211
|
dependencies = [
|
1221
1212
|
"autocfg",
|
1222
1213
|
]
|
@@ -1227,35 +1218,29 @@ version = "1.19.0"
|
|
1227
1218
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1228
1219
|
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
1229
1220
|
|
1230
|
-
[[package]]
|
1231
|
-
name = "peeking_take_while"
|
1232
|
-
version = "0.1.2"
|
1233
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1234
|
-
checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
|
1235
|
-
|
1236
1221
|
[[package]]
|
1237
1222
|
name = "proc-macro2"
|
1238
|
-
version = "1.0.
|
1223
|
+
version = "1.0.86"
|
1239
1224
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1240
|
-
checksum = "
|
1225
|
+
checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
|
1241
1226
|
dependencies = [
|
1242
1227
|
"unicode-ident",
|
1243
1228
|
]
|
1244
1229
|
|
1245
1230
|
[[package]]
|
1246
1231
|
name = "quote"
|
1247
|
-
version = "1.0.
|
1232
|
+
version = "1.0.36"
|
1248
1233
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1249
|
-
checksum = "
|
1234
|
+
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
|
1250
1235
|
dependencies = [
|
1251
1236
|
"proc-macro2",
|
1252
1237
|
]
|
1253
1238
|
|
1254
1239
|
[[package]]
|
1255
1240
|
name = "rayon"
|
1256
|
-
version = "1.
|
1241
|
+
version = "1.10.0"
|
1257
1242
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1258
|
-
checksum = "
|
1243
|
+
checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
|
1259
1244
|
dependencies = [
|
1260
1245
|
"either",
|
1261
1246
|
"rayon-core",
|
@@ -1263,9 +1248,9 @@ dependencies = [
|
|
1263
1248
|
|
1264
1249
|
[[package]]
|
1265
1250
|
name = "rayon-core"
|
1266
|
-
version = "1.12.
|
1251
|
+
version = "1.12.1"
|
1267
1252
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1268
|
-
checksum = "
|
1253
|
+
checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
|
1269
1254
|
dependencies = [
|
1270
1255
|
"crossbeam-deque",
|
1271
1256
|
"crossbeam-utils",
|
@@ -1273,18 +1258,18 @@ dependencies = [
|
|
1273
1258
|
|
1274
1259
|
[[package]]
|
1275
1260
|
name = "rb-sys"
|
1276
|
-
version = "0.9.
|
1261
|
+
version = "0.9.101"
|
1277
1262
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1278
|
-
checksum = "
|
1263
|
+
checksum = "1ba2704ccfa7875c91792c57a9aa7c3caac524d3036c122e36eeddad6f6e7c6f"
|
1279
1264
|
dependencies = [
|
1280
1265
|
"rb-sys-build",
|
1281
1266
|
]
|
1282
1267
|
|
1283
1268
|
[[package]]
|
1284
1269
|
name = "rb-sys-build"
|
1285
|
-
version = "0.9.
|
1270
|
+
version = "0.9.101"
|
1286
1271
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1287
|
-
checksum = "
|
1272
|
+
checksum = "c73585ec80c217b7a81257ca9bb89b191b5e452ec4b9106dc4c2e4e96a822242"
|
1288
1273
|
dependencies = [
|
1289
1274
|
"bindgen",
|
1290
1275
|
"lazy_static",
|
@@ -1303,9 +1288,9 @@ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
|
|
1303
1288
|
|
1304
1289
|
[[package]]
|
1305
1290
|
name = "regex"
|
1306
|
-
version = "1.10.
|
1291
|
+
version = "1.10.6"
|
1307
1292
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1308
|
-
checksum = "
|
1293
|
+
checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
|
1309
1294
|
dependencies = [
|
1310
1295
|
"aho-corasick",
|
1311
1296
|
"memchr",
|
@@ -1315,9 +1300,9 @@ dependencies = [
|
|
1315
1300
|
|
1316
1301
|
[[package]]
|
1317
1302
|
name = "regex-automata"
|
1318
|
-
version = "0.4.
|
1303
|
+
version = "0.4.7"
|
1319
1304
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1320
|
-
checksum = "
|
1305
|
+
checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
|
1321
1306
|
dependencies = [
|
1322
1307
|
"aho-corasick",
|
1323
1308
|
"memchr",
|
@@ -1326,9 +1311,9 @@ dependencies = [
|
|
1326
1311
|
|
1327
1312
|
[[package]]
|
1328
1313
|
name = "regex-syntax"
|
1329
|
-
version = "0.8.
|
1314
|
+
version = "0.8.4"
|
1330
1315
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1331
|
-
checksum = "
|
1316
|
+
checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
|
1332
1317
|
|
1333
1318
|
[[package]]
|
1334
1319
|
name = "rustc-hash"
|
@@ -1338,15 +1323,15 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
1338
1323
|
|
1339
1324
|
[[package]]
|
1340
1325
|
name = "rustversion"
|
1341
|
-
version = "1.0.
|
1326
|
+
version = "1.0.17"
|
1342
1327
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1343
|
-
checksum = "
|
1328
|
+
checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6"
|
1344
1329
|
|
1345
1330
|
[[package]]
|
1346
1331
|
name = "ryu"
|
1347
|
-
version = "1.0.
|
1332
|
+
version = "1.0.18"
|
1348
1333
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1349
|
-
checksum = "
|
1334
|
+
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
|
1350
1335
|
|
1351
1336
|
[[package]]
|
1352
1337
|
name = "seq-macro"
|
@@ -1356,18 +1341,18 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
|
|
1356
1341
|
|
1357
1342
|
[[package]]
|
1358
1343
|
name = "serde"
|
1359
|
-
version = "1.0.
|
1344
|
+
version = "1.0.208"
|
1360
1345
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1361
|
-
checksum = "
|
1346
|
+
checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2"
|
1362
1347
|
dependencies = [
|
1363
1348
|
"serde_derive",
|
1364
1349
|
]
|
1365
1350
|
|
1366
1351
|
[[package]]
|
1367
1352
|
name = "serde-wasm-bindgen"
|
1368
|
-
version = "0.6.
|
1353
|
+
version = "0.6.5"
|
1369
1354
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1370
|
-
checksum = "
|
1355
|
+
checksum = "8302e169f0eddcc139c70f139d19d6467353af16f9fce27e8c30158036a1e16b"
|
1371
1356
|
dependencies = [
|
1372
1357
|
"js-sys",
|
1373
1358
|
"serde",
|
@@ -1376,9 +1361,9 @@ dependencies = [
|
|
1376
1361
|
|
1377
1362
|
[[package]]
|
1378
1363
|
name = "serde_derive"
|
1379
|
-
version = "1.0.
|
1364
|
+
version = "1.0.208"
|
1380
1365
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1381
|
-
checksum = "
|
1366
|
+
checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf"
|
1382
1367
|
dependencies = [
|
1383
1368
|
"proc-macro2",
|
1384
1369
|
"quote",
|
@@ -1387,11 +1372,12 @@ dependencies = [
|
|
1387
1372
|
|
1388
1373
|
[[package]]
|
1389
1374
|
name = "serde_json"
|
1390
|
-
version = "1.0.
|
1375
|
+
version = "1.0.125"
|
1391
1376
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1392
|
-
checksum = "
|
1377
|
+
checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed"
|
1393
1378
|
dependencies = [
|
1394
1379
|
"itoa",
|
1380
|
+
"memchr",
|
1395
1381
|
"ryu",
|
1396
1382
|
"serde",
|
1397
1383
|
]
|
@@ -1404,9 +1390,9 @@ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
|
|
1404
1390
|
|
1405
1391
|
[[package]]
|
1406
1392
|
name = "shlex"
|
1407
|
-
version = "1.
|
1393
|
+
version = "1.3.0"
|
1408
1394
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1409
|
-
checksum = "
|
1395
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
1410
1396
|
|
1411
1397
|
[[package]]
|
1412
1398
|
name = "static_assertions"
|
@@ -1435,9 +1421,9 @@ dependencies = [
|
|
1435
1421
|
|
1436
1422
|
[[package]]
|
1437
1423
|
name = "syn"
|
1438
|
-
version = "2.0.
|
1424
|
+
version = "2.0.75"
|
1439
1425
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1440
|
-
checksum = "
|
1426
|
+
checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9"
|
1441
1427
|
dependencies = [
|
1442
1428
|
"proc-macro2",
|
1443
1429
|
"quote",
|
@@ -1461,9 +1447,9 @@ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
|
1461
1447
|
|
1462
1448
|
[[package]]
|
1463
1449
|
name = "version_check"
|
1464
|
-
version = "0.9.
|
1450
|
+
version = "0.9.5"
|
1465
1451
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1466
|
-
checksum = "
|
1452
|
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
1467
1453
|
|
1468
1454
|
[[package]]
|
1469
1455
|
name = "wasi"
|
@@ -1473,19 +1459,20 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
|
1473
1459
|
|
1474
1460
|
[[package]]
|
1475
1461
|
name = "wasm-bindgen"
|
1476
|
-
version = "0.2.
|
1462
|
+
version = "0.2.93"
|
1477
1463
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1478
|
-
checksum = "
|
1464
|
+
checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5"
|
1479
1465
|
dependencies = [
|
1480
1466
|
"cfg-if",
|
1467
|
+
"once_cell",
|
1481
1468
|
"wasm-bindgen-macro",
|
1482
1469
|
]
|
1483
1470
|
|
1484
1471
|
[[package]]
|
1485
1472
|
name = "wasm-bindgen-backend"
|
1486
|
-
version = "0.2.
|
1473
|
+
version = "0.2.93"
|
1487
1474
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1488
|
-
checksum = "
|
1475
|
+
checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b"
|
1489
1476
|
dependencies = [
|
1490
1477
|
"bumpalo",
|
1491
1478
|
"log",
|
@@ -1498,9 +1485,9 @@ dependencies = [
|
|
1498
1485
|
|
1499
1486
|
[[package]]
|
1500
1487
|
name = "wasm-bindgen-macro"
|
1501
|
-
version = "0.2.
|
1488
|
+
version = "0.2.93"
|
1502
1489
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1503
|
-
checksum = "
|
1490
|
+
checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf"
|
1504
1491
|
dependencies = [
|
1505
1492
|
"quote",
|
1506
1493
|
"wasm-bindgen-macro-support",
|
@@ -1508,9 +1495,9 @@ dependencies = [
|
|
1508
1495
|
|
1509
1496
|
[[package]]
|
1510
1497
|
name = "wasm-bindgen-macro-support"
|
1511
|
-
version = "0.2.
|
1498
|
+
version = "0.2.93"
|
1512
1499
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1513
|
-
checksum = "
|
1500
|
+
checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
|
1514
1501
|
dependencies = [
|
1515
1502
|
"proc-macro2",
|
1516
1503
|
"quote",
|
@@ -1521,9 +1508,9 @@ dependencies = [
|
|
1521
1508
|
|
1522
1509
|
[[package]]
|
1523
1510
|
name = "wasm-bindgen-shared"
|
1524
|
-
version = "0.2.
|
1511
|
+
version = "0.2.93"
|
1525
1512
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1526
|
-
checksum = "
|
1513
|
+
checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
|
1527
1514
|
|
1528
1515
|
[[package]]
|
1529
1516
|
name = "what_you_say"
|
@@ -1533,24 +1520,16 @@ dependencies = [
|
|
1533
1520
|
"magnus",
|
1534
1521
|
]
|
1535
1522
|
|
1536
|
-
[[package]]
|
1537
|
-
name = "windows-sys"
|
1538
|
-
version = "0.48.0"
|
1539
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1540
|
-
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
1541
|
-
dependencies = [
|
1542
|
-
"windows-targets",
|
1543
|
-
]
|
1544
|
-
|
1545
1523
|
[[package]]
|
1546
1524
|
name = "windows-targets"
|
1547
|
-
version = "0.
|
1525
|
+
version = "0.52.6"
|
1548
1526
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1549
|
-
checksum = "
|
1527
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
1550
1528
|
dependencies = [
|
1551
1529
|
"windows_aarch64_gnullvm",
|
1552
1530
|
"windows_aarch64_msvc",
|
1553
1531
|
"windows_i686_gnu",
|
1532
|
+
"windows_i686_gnullvm",
|
1554
1533
|
"windows_i686_msvc",
|
1555
1534
|
"windows_x86_64_gnu",
|
1556
1535
|
"windows_x86_64_gnullvm",
|
@@ -1559,60 +1538,66 @@ dependencies = [
|
|
1559
1538
|
|
1560
1539
|
[[package]]
|
1561
1540
|
name = "windows_aarch64_gnullvm"
|
1562
|
-
version = "0.
|
1541
|
+
version = "0.52.6"
|
1563
1542
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1564
|
-
checksum = "
|
1543
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
1565
1544
|
|
1566
1545
|
[[package]]
|
1567
1546
|
name = "windows_aarch64_msvc"
|
1568
|
-
version = "0.
|
1547
|
+
version = "0.52.6"
|
1569
1548
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1570
|
-
checksum = "
|
1549
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
1571
1550
|
|
1572
1551
|
[[package]]
|
1573
1552
|
name = "windows_i686_gnu"
|
1574
|
-
version = "0.
|
1553
|
+
version = "0.52.6"
|
1554
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1555
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
1556
|
+
|
1557
|
+
[[package]]
|
1558
|
+
name = "windows_i686_gnullvm"
|
1559
|
+
version = "0.52.6"
|
1575
1560
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1576
|
-
checksum = "
|
1561
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
1577
1562
|
|
1578
1563
|
[[package]]
|
1579
1564
|
name = "windows_i686_msvc"
|
1580
|
-
version = "0.
|
1565
|
+
version = "0.52.6"
|
1581
1566
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1582
|
-
checksum = "
|
1567
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
1583
1568
|
|
1584
1569
|
[[package]]
|
1585
1570
|
name = "windows_x86_64_gnu"
|
1586
|
-
version = "0.
|
1571
|
+
version = "0.52.6"
|
1587
1572
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1588
|
-
checksum = "
|
1573
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
1589
1574
|
|
1590
1575
|
[[package]]
|
1591
1576
|
name = "windows_x86_64_gnullvm"
|
1592
|
-
version = "0.
|
1577
|
+
version = "0.52.6"
|
1593
1578
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1594
|
-
checksum = "
|
1579
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
1595
1580
|
|
1596
1581
|
[[package]]
|
1597
1582
|
name = "windows_x86_64_msvc"
|
1598
|
-
version = "0.
|
1583
|
+
version = "0.52.6"
|
1599
1584
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1600
|
-
checksum = "
|
1585
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
1601
1586
|
|
1602
1587
|
[[package]]
|
1603
1588
|
name = "zerocopy"
|
1604
|
-
version = "0.7.
|
1589
|
+
version = "0.7.35"
|
1605
1590
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1606
|
-
checksum = "
|
1591
|
+
checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
|
1607
1592
|
dependencies = [
|
1608
1593
|
"zerocopy-derive",
|
1609
1594
|
]
|
1610
1595
|
|
1611
1596
|
[[package]]
|
1612
1597
|
name = "zerocopy-derive"
|
1613
|
-
version = "0.7.
|
1598
|
+
version = "0.7.35"
|
1614
1599
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1615
|
-
checksum = "
|
1600
|
+
checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
|
1616
1601
|
dependencies = [
|
1617
1602
|
"proc-macro2",
|
1618
1603
|
"quote",
|
data/ext/what_you_say/Cargo.toml
CHANGED
data/ext/what_you_say/src/lib.rs
CHANGED
@@ -5,9 +5,7 @@ use std::str::FromStr;
|
|
5
5
|
use lang::WhatYouSayLang;
|
6
6
|
use lingua::{Language, LanguageDetector, LanguageDetectorBuilder};
|
7
7
|
|
8
|
-
use magnus::{
|
9
|
-
define_class, exception, function, method, scan_args, Error, Module, Object, RArray, Value,
|
10
|
-
};
|
8
|
+
use magnus::{define_class, function, method, scan_args, Error, Module, Object, RArray, Value};
|
11
9
|
|
12
10
|
#[magnus::wrap(class = "WhatYouSay")]
|
13
11
|
struct WhatYouSay {
|
@@ -28,19 +26,8 @@ impl WhatYouSay {
|
|
28
26
|
let mut builder = match rb_allowlist {
|
29
27
|
Some(languages) => {
|
30
28
|
let mut allowed_languages = vec![];
|
31
|
-
for
|
32
|
-
let
|
33
|
-
Ok(allowed) => allowed.to_string(),
|
34
|
-
Err(_) => {
|
35
|
-
return Err(magnus::Error::new(
|
36
|
-
exception::runtime_error(),
|
37
|
-
format!("{allowed:?}"),
|
38
|
-
))
|
39
|
-
}
|
40
|
-
};
|
41
|
-
|
42
|
-
// if !Ok, it maeans the language could not be found
|
43
|
-
if let Ok(language) = Language::from_str(&allowed) {
|
29
|
+
for language in languages.into_iter() {
|
30
|
+
if let Ok(language) = Language::from_str(&language.to_string()) {
|
44
31
|
allowed_languages.push(language)
|
45
32
|
}
|
46
33
|
}
|
data/lib/what_you_say/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: what_you_say
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen J. Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rb_sys
|