urlpattern 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.devcontainer/devcontainer.json +27 -0
- data/CHANGELOG.md +14 -0
- data/Cargo.lock +115 -103
- data/README.md +6 -6
- data/Rakefile +2 -4
- data/ext/urlpattern/Cargo.toml +3 -3
- data/lib/urlpattern/version.rb +1 -1
- metadata +12 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 391cff5c71126e25aad37a04ce2d2c3d4b91608826345a109efe63e672b5c982
|
|
4
|
+
data.tar.gz: 888e11baefc4f485bcc8029c22d0caf8718416a3b950190bada2fcfae9fd01a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d09dff2c2769b07950d6eaf184a2296f6a786cb906ec13961285364d21f8fab19a3ce9ca0919b1a0e58ad15cb881259a0fa8b5b6d8eb109d96acde430576e09
|
|
7
|
+
data.tar.gz: 4d21ff206100bc1c9bfde3985d538ce95099d039ac0a7c6e8833b4bed2c8b3106b1dd67adf3ff2e557cb43443392a8622e71c0853bdf18dcdb04d3feb94f7023
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
2
|
+
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
|
|
3
|
+
{
|
|
4
|
+
"name": "Ruby",
|
|
5
|
+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
6
|
+
"image": "mcr.microsoft.com/devcontainers/ruby:3-4-trixie",
|
|
7
|
+
"features": {
|
|
8
|
+
"ghcr.io/devcontainers/features/rust:1": {}
|
|
9
|
+
},
|
|
10
|
+
|
|
11
|
+
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
12
|
+
// "features": {},
|
|
13
|
+
|
|
14
|
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
15
|
+
// "forwardPorts": [],
|
|
16
|
+
|
|
17
|
+
// Use 'postCreateCommand' to run commands after the container is created.
|
|
18
|
+
// See: https://containers.dev/implementors/json_reference/#lifecycle-scripts
|
|
19
|
+
// See: https://oxidize-rb.org/docs/faq/#q-the-build-is-failing-with-a-libclang-not-found-error
|
|
20
|
+
"postCreateCommand": "sudo apt update && sudo apt install -y libclang-dev"
|
|
21
|
+
|
|
22
|
+
// Configure tool-specific properties.
|
|
23
|
+
// "customizations": {},
|
|
24
|
+
|
|
25
|
+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
26
|
+
// "remoteUser": "root"
|
|
27
|
+
}
|
data/CHANGELOG.md
ADDED
data/Cargo.lock
CHANGED
|
@@ -4,9 +4,9 @@ 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
|
]
|
|
@@ -26,14 +26,14 @@ dependencies = [
|
|
|
26
26
|
"regex",
|
|
27
27
|
"rustc-hash",
|
|
28
28
|
"shlex",
|
|
29
|
-
"syn",
|
|
29
|
+
"syn 2.0.119",
|
|
30
30
|
]
|
|
31
31
|
|
|
32
32
|
[[package]]
|
|
33
33
|
name = "bitflags"
|
|
34
|
-
version = "2.
|
|
34
|
+
version = "2.13.2"
|
|
35
35
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
-
checksum = "
|
|
36
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
37
37
|
|
|
38
38
|
[[package]]
|
|
39
39
|
name = "cexpr"
|
|
@@ -46,15 +46,15 @@ dependencies = [
|
|
|
46
46
|
|
|
47
47
|
[[package]]
|
|
48
48
|
name = "cfg-if"
|
|
49
|
-
version = "1.0.
|
|
49
|
+
version = "1.0.5"
|
|
50
50
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
51
|
-
checksum = "
|
|
51
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
52
52
|
|
|
53
53
|
[[package]]
|
|
54
54
|
name = "clang-sys"
|
|
55
|
-
version = "1.
|
|
55
|
+
version = "1.9.1"
|
|
56
56
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
57
|
-
checksum = "
|
|
57
|
+
checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a"
|
|
58
58
|
dependencies = [
|
|
59
59
|
"glob",
|
|
60
60
|
"libc",
|
|
@@ -63,20 +63,20 @@ dependencies = [
|
|
|
63
63
|
|
|
64
64
|
[[package]]
|
|
65
65
|
name = "displaydoc"
|
|
66
|
-
version = "0.2.
|
|
66
|
+
version = "0.2.7"
|
|
67
67
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
68
|
-
checksum = "
|
|
68
|
+
checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
|
|
69
69
|
dependencies = [
|
|
70
70
|
"proc-macro2",
|
|
71
71
|
"quote",
|
|
72
|
-
"syn",
|
|
72
|
+
"syn 3.0.9",
|
|
73
73
|
]
|
|
74
74
|
|
|
75
75
|
[[package]]
|
|
76
76
|
name = "either"
|
|
77
|
-
version = "1.
|
|
77
|
+
version = "1.19.0"
|
|
78
78
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
79
|
-
checksum = "
|
|
79
|
+
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
80
80
|
|
|
81
81
|
[[package]]
|
|
82
82
|
name = "form_urlencoded"
|
|
@@ -89,15 +89,15 @@ dependencies = [
|
|
|
89
89
|
|
|
90
90
|
[[package]]
|
|
91
91
|
name = "glob"
|
|
92
|
-
version = "0.3.
|
|
92
|
+
version = "0.3.4"
|
|
93
93
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
94
|
-
checksum = "
|
|
94
|
+
checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
|
|
95
95
|
|
|
96
96
|
[[package]]
|
|
97
97
|
name = "icu_collections"
|
|
98
|
-
version = "2.
|
|
98
|
+
version = "2.3.0"
|
|
99
99
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
100
|
-
checksum = "
|
|
100
|
+
checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513"
|
|
101
101
|
dependencies = [
|
|
102
102
|
"displaydoc",
|
|
103
103
|
"potential_utf",
|
|
@@ -109,9 +109,9 @@ dependencies = [
|
|
|
109
109
|
|
|
110
110
|
[[package]]
|
|
111
111
|
name = "icu_locale_core"
|
|
112
|
-
version = "2.
|
|
112
|
+
version = "2.3.0"
|
|
113
113
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
114
|
-
checksum = "
|
|
114
|
+
checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb"
|
|
115
115
|
dependencies = [
|
|
116
116
|
"displaydoc",
|
|
117
117
|
"litemap",
|
|
@@ -122,9 +122,9 @@ dependencies = [
|
|
|
122
122
|
|
|
123
123
|
[[package]]
|
|
124
124
|
name = "icu_normalizer"
|
|
125
|
-
version = "2.
|
|
125
|
+
version = "2.3.0"
|
|
126
126
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
127
|
-
checksum = "
|
|
127
|
+
checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f"
|
|
128
128
|
dependencies = [
|
|
129
129
|
"icu_collections",
|
|
130
130
|
"icu_normalizer_data",
|
|
@@ -136,16 +136,17 @@ dependencies = [
|
|
|
136
136
|
|
|
137
137
|
[[package]]
|
|
138
138
|
name = "icu_normalizer_data"
|
|
139
|
-
version = "2.
|
|
139
|
+
version = "2.3.0"
|
|
140
140
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
141
|
-
checksum = "
|
|
141
|
+
checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0"
|
|
142
142
|
|
|
143
143
|
[[package]]
|
|
144
144
|
name = "icu_properties"
|
|
145
|
-
version = "2.
|
|
145
|
+
version = "2.3.0"
|
|
146
146
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
147
|
-
checksum = "
|
|
147
|
+
checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148"
|
|
148
148
|
dependencies = [
|
|
149
|
+
"displaydoc",
|
|
149
150
|
"icu_collections",
|
|
150
151
|
"icu_locale_core",
|
|
151
152
|
"icu_properties_data",
|
|
@@ -156,15 +157,15 @@ dependencies = [
|
|
|
156
157
|
|
|
157
158
|
[[package]]
|
|
158
159
|
name = "icu_properties_data"
|
|
159
|
-
version = "2.
|
|
160
|
+
version = "2.3.0"
|
|
160
161
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
161
|
-
checksum = "
|
|
162
|
+
checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa"
|
|
162
163
|
|
|
163
164
|
[[package]]
|
|
164
165
|
name = "icu_provider"
|
|
165
|
-
version = "2.
|
|
166
|
+
version = "2.3.1"
|
|
166
167
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
167
|
-
checksum = "
|
|
168
|
+
checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73"
|
|
168
169
|
dependencies = [
|
|
169
170
|
"displaydoc",
|
|
170
171
|
"icu_locale_core",
|
|
@@ -188,9 +189,9 @@ dependencies = [
|
|
|
188
189
|
|
|
189
190
|
[[package]]
|
|
190
191
|
name = "idna_adapter"
|
|
191
|
-
version = "1.2.
|
|
192
|
+
version = "1.2.2"
|
|
192
193
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
193
|
-
checksum = "
|
|
194
|
+
checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
|
|
194
195
|
dependencies = [
|
|
195
196
|
"icu_normalizer",
|
|
196
197
|
"icu_properties",
|
|
@@ -207,15 +208,15 @@ dependencies = [
|
|
|
207
208
|
|
|
208
209
|
[[package]]
|
|
209
210
|
name = "lazy_static"
|
|
210
|
-
version = "1.5.
|
|
211
|
+
version = "1.5.1"
|
|
211
212
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
-
checksum = "
|
|
213
|
+
checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
|
|
213
214
|
|
|
214
215
|
[[package]]
|
|
215
216
|
name = "libc"
|
|
216
|
-
version = "0.2.
|
|
217
|
+
version = "0.2.190"
|
|
217
218
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
218
|
-
checksum = "
|
|
219
|
+
checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78"
|
|
219
220
|
|
|
220
221
|
[[package]]
|
|
221
222
|
name = "libloading"
|
|
@@ -229,15 +230,15 @@ dependencies = [
|
|
|
229
230
|
|
|
230
231
|
[[package]]
|
|
231
232
|
name = "litemap"
|
|
232
|
-
version = "0.8.
|
|
233
|
+
version = "0.8.3"
|
|
233
234
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
-
checksum = "
|
|
235
|
+
checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
|
|
235
236
|
|
|
236
237
|
[[package]]
|
|
237
238
|
name = "magnus"
|
|
238
|
-
version = "0.
|
|
239
|
+
version = "0.9.3"
|
|
239
240
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
-
checksum = "
|
|
241
|
+
checksum = "40ef424404d166cbb71c8b8d19c9c589c748c4547c1afa1928c5504299f6c713"
|
|
241
242
|
dependencies = [
|
|
242
243
|
"magnus-macros",
|
|
243
244
|
"rb-sys",
|
|
@@ -247,20 +248,20 @@ dependencies = [
|
|
|
247
248
|
|
|
248
249
|
[[package]]
|
|
249
250
|
name = "magnus-macros"
|
|
250
|
-
version = "0.
|
|
251
|
+
version = "0.9.1"
|
|
251
252
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
252
|
-
checksum = "
|
|
253
|
+
checksum = "9dafde2eeb66f090e0f326112323eb8324b12cb32b5d1210e541d3df6b0ce77e"
|
|
253
254
|
dependencies = [
|
|
254
255
|
"proc-macro2",
|
|
255
256
|
"quote",
|
|
256
|
-
"syn",
|
|
257
|
+
"syn 2.0.119",
|
|
257
258
|
]
|
|
258
259
|
|
|
259
260
|
[[package]]
|
|
260
261
|
name = "memchr"
|
|
261
|
-
version = "2.8.
|
|
262
|
+
version = "2.8.3"
|
|
262
263
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
263
|
-
checksum = "
|
|
264
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
264
265
|
|
|
265
266
|
[[package]]
|
|
266
267
|
name = "minimal-lexical"
|
|
@@ -286,45 +287,45 @@ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
|
|
|
286
287
|
|
|
287
288
|
[[package]]
|
|
288
289
|
name = "potential_utf"
|
|
289
|
-
version = "0.1.
|
|
290
|
+
version = "0.1.6"
|
|
290
291
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
291
|
-
checksum = "
|
|
292
|
+
checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661"
|
|
292
293
|
dependencies = [
|
|
293
294
|
"zerovec",
|
|
294
295
|
]
|
|
295
296
|
|
|
296
297
|
[[package]]
|
|
297
298
|
name = "proc-macro2"
|
|
298
|
-
version = "1.0.
|
|
299
|
+
version = "1.0.107"
|
|
299
300
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
300
|
-
checksum = "
|
|
301
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
301
302
|
dependencies = [
|
|
302
303
|
"unicode-ident",
|
|
303
304
|
]
|
|
304
305
|
|
|
305
306
|
[[package]]
|
|
306
307
|
name = "quote"
|
|
307
|
-
version = "1.0.
|
|
308
|
+
version = "1.0.47"
|
|
308
309
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
309
|
-
checksum = "
|
|
310
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
310
311
|
dependencies = [
|
|
311
312
|
"proc-macro2",
|
|
312
313
|
]
|
|
313
314
|
|
|
314
315
|
[[package]]
|
|
315
316
|
name = "rb-sys"
|
|
316
|
-
version = "0.9.
|
|
317
|
+
version = "0.9.130"
|
|
317
318
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
318
|
-
checksum = "
|
|
319
|
+
checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
|
|
319
320
|
dependencies = [
|
|
320
321
|
"rb-sys-build",
|
|
321
322
|
]
|
|
322
323
|
|
|
323
324
|
[[package]]
|
|
324
325
|
name = "rb-sys-build"
|
|
325
|
-
version = "0.9.
|
|
326
|
+
version = "0.9.130"
|
|
326
327
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
327
|
-
checksum = "
|
|
328
|
+
checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
|
|
328
329
|
dependencies = [
|
|
329
330
|
"bindgen",
|
|
330
331
|
"lazy_static",
|
|
@@ -332,7 +333,7 @@ dependencies = [
|
|
|
332
333
|
"quote",
|
|
333
334
|
"regex",
|
|
334
335
|
"shell-words",
|
|
335
|
-
"syn",
|
|
336
|
+
"syn 2.0.119",
|
|
336
337
|
]
|
|
337
338
|
|
|
338
339
|
[[package]]
|
|
@@ -359,14 +360,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
359
360
|
checksum = "b1c1fce35d9ac77a2745e539232fb82a75856675a5daf4ef8b1ca994d89f8b3f"
|
|
360
361
|
dependencies = [
|
|
361
362
|
"quote",
|
|
362
|
-
"syn",
|
|
363
|
+
"syn 2.0.119",
|
|
363
364
|
]
|
|
364
365
|
|
|
365
366
|
[[package]]
|
|
366
367
|
name = "regex"
|
|
367
|
-
version = "1.
|
|
368
|
+
version = "1.13.1"
|
|
368
369
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
369
|
-
checksum = "
|
|
370
|
+
checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
|
|
370
371
|
dependencies = [
|
|
371
372
|
"aho-corasick",
|
|
372
373
|
"memchr",
|
|
@@ -376,9 +377,9 @@ dependencies = [
|
|
|
376
377
|
|
|
377
378
|
[[package]]
|
|
378
379
|
name = "regex-automata"
|
|
379
|
-
version = "0.4.
|
|
380
|
+
version = "0.4.18"
|
|
380
381
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
381
|
-
checksum = "
|
|
382
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
382
383
|
dependencies = [
|
|
383
384
|
"aho-corasick",
|
|
384
385
|
"memchr",
|
|
@@ -387,15 +388,15 @@ dependencies = [
|
|
|
387
388
|
|
|
388
389
|
[[package]]
|
|
389
390
|
name = "regex-syntax"
|
|
390
|
-
version = "0.8.
|
|
391
|
+
version = "0.8.11"
|
|
391
392
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
392
|
-
checksum = "
|
|
393
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
393
394
|
|
|
394
395
|
[[package]]
|
|
395
396
|
name = "rustc-hash"
|
|
396
|
-
version = "2.1.
|
|
397
|
+
version = "2.1.3"
|
|
397
398
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
398
|
-
checksum = "
|
|
399
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
399
400
|
|
|
400
401
|
[[package]]
|
|
401
402
|
name = "seq-macro"
|
|
@@ -405,9 +406,9 @@ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
|
|
|
405
406
|
|
|
406
407
|
[[package]]
|
|
407
408
|
name = "serde"
|
|
408
|
-
version = "1.0.
|
|
409
|
+
version = "1.0.229"
|
|
409
410
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
410
|
-
checksum = "
|
|
411
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
411
412
|
dependencies = [
|
|
412
413
|
"serde_core",
|
|
413
414
|
"serde_derive",
|
|
@@ -415,22 +416,22 @@ dependencies = [
|
|
|
415
416
|
|
|
416
417
|
[[package]]
|
|
417
418
|
name = "serde_core"
|
|
418
|
-
version = "1.0.
|
|
419
|
+
version = "1.0.229"
|
|
419
420
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
420
|
-
checksum = "
|
|
421
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
421
422
|
dependencies = [
|
|
422
423
|
"serde_derive",
|
|
423
424
|
]
|
|
424
425
|
|
|
425
426
|
[[package]]
|
|
426
427
|
name = "serde_derive"
|
|
427
|
-
version = "1.0.
|
|
428
|
+
version = "1.0.229"
|
|
428
429
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
429
|
-
checksum = "
|
|
430
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
430
431
|
dependencies = [
|
|
431
432
|
"proc-macro2",
|
|
432
433
|
"quote",
|
|
433
|
-
"syn",
|
|
434
|
+
"syn 3.0.9",
|
|
434
435
|
]
|
|
435
436
|
|
|
436
437
|
[[package]]
|
|
@@ -447,9 +448,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
|
447
448
|
|
|
448
449
|
[[package]]
|
|
449
450
|
name = "smallvec"
|
|
450
|
-
version = "1.
|
|
451
|
+
version = "1.16.3"
|
|
451
452
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
452
|
-
checksum = "
|
|
453
|
+
checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b"
|
|
453
454
|
|
|
454
455
|
[[package]]
|
|
455
456
|
name = "stable_deref_trait"
|
|
@@ -459,9 +460,20 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
|
|
|
459
460
|
|
|
460
461
|
[[package]]
|
|
461
462
|
name = "syn"
|
|
462
|
-
version = "2.0.
|
|
463
|
+
version = "2.0.119"
|
|
464
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
465
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
466
|
+
dependencies = [
|
|
467
|
+
"proc-macro2",
|
|
468
|
+
"quote",
|
|
469
|
+
"unicode-ident",
|
|
470
|
+
]
|
|
471
|
+
|
|
472
|
+
[[package]]
|
|
473
|
+
name = "syn"
|
|
474
|
+
version = "3.0.9"
|
|
463
475
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
464
|
-
checksum = "
|
|
476
|
+
checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
|
|
465
477
|
dependencies = [
|
|
466
478
|
"proc-macro2",
|
|
467
479
|
"quote",
|
|
@@ -470,20 +482,20 @@ dependencies = [
|
|
|
470
482
|
|
|
471
483
|
[[package]]
|
|
472
484
|
name = "synstructure"
|
|
473
|
-
version = "0.
|
|
485
|
+
version = "0.14.0"
|
|
474
486
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
475
|
-
checksum = "
|
|
487
|
+
checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
|
|
476
488
|
dependencies = [
|
|
477
489
|
"proc-macro2",
|
|
478
490
|
"quote",
|
|
479
|
-
"syn",
|
|
491
|
+
"syn 3.0.9",
|
|
480
492
|
]
|
|
481
493
|
|
|
482
494
|
[[package]]
|
|
483
495
|
name = "tinystr"
|
|
484
|
-
version = "0.8.
|
|
496
|
+
version = "0.8.4"
|
|
485
497
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
486
|
-
checksum = "
|
|
498
|
+
checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643"
|
|
487
499
|
dependencies = [
|
|
488
500
|
"displaydoc",
|
|
489
501
|
"zerovec",
|
|
@@ -491,9 +503,9 @@ dependencies = [
|
|
|
491
503
|
|
|
492
504
|
[[package]]
|
|
493
505
|
name = "unicode-ident"
|
|
494
|
-
version = "1.0.
|
|
506
|
+
version = "1.0.27"
|
|
495
507
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
496
|
-
checksum = "
|
|
508
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
497
509
|
|
|
498
510
|
[[package]]
|
|
499
511
|
name = "url"
|
|
@@ -509,7 +521,7 @@ dependencies = [
|
|
|
509
521
|
|
|
510
522
|
[[package]]
|
|
511
523
|
name = "urlpattern"
|
|
512
|
-
version = "0.1.
|
|
524
|
+
version = "0.1.2"
|
|
513
525
|
dependencies = [
|
|
514
526
|
"magnus",
|
|
515
527
|
"rb-sys",
|
|
@@ -546,15 +558,15 @@ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
|
546
558
|
|
|
547
559
|
[[package]]
|
|
548
560
|
name = "writeable"
|
|
549
|
-
version = "0.6.
|
|
561
|
+
version = "0.6.4"
|
|
550
562
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
551
|
-
checksum = "
|
|
563
|
+
checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
|
|
552
564
|
|
|
553
565
|
[[package]]
|
|
554
566
|
name = "yoke"
|
|
555
|
-
version = "0.8.
|
|
567
|
+
version = "0.8.3"
|
|
556
568
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
557
|
-
checksum = "
|
|
569
|
+
checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
|
|
558
570
|
dependencies = [
|
|
559
571
|
"stable_deref_trait",
|
|
560
572
|
"yoke-derive",
|
|
@@ -563,42 +575,42 @@ dependencies = [
|
|
|
563
575
|
|
|
564
576
|
[[package]]
|
|
565
577
|
name = "yoke-derive"
|
|
566
|
-
version = "0.8.
|
|
578
|
+
version = "0.8.4"
|
|
567
579
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
568
|
-
checksum = "
|
|
580
|
+
checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
|
|
569
581
|
dependencies = [
|
|
570
582
|
"proc-macro2",
|
|
571
583
|
"quote",
|
|
572
|
-
"syn",
|
|
584
|
+
"syn 3.0.9",
|
|
573
585
|
"synstructure",
|
|
574
586
|
]
|
|
575
587
|
|
|
576
588
|
[[package]]
|
|
577
589
|
name = "zerofrom"
|
|
578
|
-
version = "0.1.
|
|
590
|
+
version = "0.1.8"
|
|
579
591
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
580
|
-
checksum = "
|
|
592
|
+
checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272"
|
|
581
593
|
dependencies = [
|
|
582
594
|
"zerofrom-derive",
|
|
583
595
|
]
|
|
584
596
|
|
|
585
597
|
[[package]]
|
|
586
598
|
name = "zerofrom-derive"
|
|
587
|
-
version = "0.1.
|
|
599
|
+
version = "0.1.8"
|
|
588
600
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
589
|
-
checksum = "
|
|
601
|
+
checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
|
|
590
602
|
dependencies = [
|
|
591
603
|
"proc-macro2",
|
|
592
604
|
"quote",
|
|
593
|
-
"syn",
|
|
605
|
+
"syn 3.0.9",
|
|
594
606
|
"synstructure",
|
|
595
607
|
]
|
|
596
608
|
|
|
597
609
|
[[package]]
|
|
598
610
|
name = "zerotrie"
|
|
599
|
-
version = "0.2.
|
|
611
|
+
version = "0.2.5"
|
|
600
612
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
601
|
-
checksum = "
|
|
613
|
+
checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f"
|
|
602
614
|
dependencies = [
|
|
603
615
|
"displaydoc",
|
|
604
616
|
"yoke",
|
|
@@ -607,9 +619,9 @@ dependencies = [
|
|
|
607
619
|
|
|
608
620
|
[[package]]
|
|
609
621
|
name = "zerovec"
|
|
610
|
-
version = "0.11.
|
|
622
|
+
version = "0.11.8"
|
|
611
623
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
612
|
-
checksum = "
|
|
624
|
+
checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8"
|
|
613
625
|
dependencies = [
|
|
614
626
|
"yoke",
|
|
615
627
|
"zerofrom",
|
|
@@ -618,11 +630,11 @@ dependencies = [
|
|
|
618
630
|
|
|
619
631
|
[[package]]
|
|
620
632
|
name = "zerovec-derive"
|
|
621
|
-
version = "0.11.
|
|
633
|
+
version = "0.11.6"
|
|
622
634
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
623
|
-
checksum = "
|
|
635
|
+
checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da"
|
|
624
636
|
dependencies = [
|
|
625
637
|
"proc-macro2",
|
|
626
638
|
"quote",
|
|
627
|
-
"syn",
|
|
639
|
+
"syn 3.0.9",
|
|
628
640
|
]
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# urlpattern
|
|
2
2
|
|
|
3
|
-
[](https://github.com/bangseongbeom/ruby-urlpattern/actions/workflows/main.yml)
|
|
4
|
+
[](https://github.com/standardrb/standard)
|
|
4
5
|
[](https://badge.fury.io/rb/urlpattern)
|
|
5
|
-
[](https://github.com/urlpattern/ruby-urlpattern/actions/workflows/main.yml)
|
|
6
6
|
|
|
7
7
|
An implementation of [the URL Pattern Standard](https://urlpattern.spec.whatwg.org/) for Ruby written in Rust.
|
|
8
8
|
|
|
@@ -28,7 +28,7 @@ gem install urlpattern
|
|
|
28
28
|
|
|
29
29
|
## Usage
|
|
30
30
|
|
|
31
|
-
This library aims to expose an interface as close as possible to the URL Pattern Standard, but some differences are unavoidable because it is designed for Ruby, not JavaScript. For the exact details, please refer to [urlpattern.rbs](https://github.com/
|
|
31
|
+
This library aims to expose an interface as close as possible to the URL Pattern Standard, but some differences are unavoidable because it is designed for Ruby, not JavaScript. For the exact details, please refer to [urlpattern.rbs](https://github.com/bangseongbeom/ruby-urlpattern/blob/main/sig/urlpattern.rbs).
|
|
32
32
|
|
|
33
33
|
Most JavaScript examples from [Chrome for Developers](https://developer.chrome.com/docs/web-platform/urlpattern) and [MDN](https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API) can be adapted to Ruby without much difficulty.
|
|
34
34
|
|
|
@@ -81,7 +81,7 @@ pattern.test? "https://example.com/TeST" #=> true
|
|
|
81
81
|
|
|
82
82
|
Due to limitations in the dependency [denoland/rust-urlpattern](https://github.com/denoland/rust-urlpattern), it may not support all features specified in [the standard](https://urlpattern.spec.whatwg.org/).
|
|
83
83
|
|
|
84
|
-
Check `skip` in [`test/test_urlpattern.rb`](https://github.com/
|
|
84
|
+
Check `skip` in [`test/test_urlpattern.rb`](https://github.com/bangseongbeom/ruby-urlpattern/blob/main/test/test_urlpattern.rb).
|
|
85
85
|
|
|
86
86
|
## Development
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
91
91
|
|
|
92
92
|
## Contributing
|
|
93
93
|
|
|
94
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
94
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/bangseongbeom/ruby-urlpattern. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/bangseongbeom/ruby-urlpattern/blob/main/CODE_OF_CONDUCT.md).
|
|
95
95
|
|
|
96
96
|
## License
|
|
97
97
|
|
|
@@ -99,4 +99,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
|
99
99
|
|
|
100
100
|
## Code of Conduct
|
|
101
101
|
|
|
102
|
-
Everyone interacting in the Urlpattern project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
|
102
|
+
Everyone interacting in the Urlpattern project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/bangseongbeom/ruby-urlpattern/blob/main/CODE_OF_CONDUCT.md).
|
data/Rakefile
CHANGED
|
@@ -5,9 +5,7 @@ require "minitest/test_task"
|
|
|
5
5
|
|
|
6
6
|
Minitest::TestTask.create
|
|
7
7
|
|
|
8
|
-
require "
|
|
9
|
-
|
|
10
|
-
RuboCop::RakeTask.new
|
|
8
|
+
require "standard/rake"
|
|
11
9
|
|
|
12
10
|
require "rb_sys/extensiontask"
|
|
13
11
|
|
|
@@ -24,4 +22,4 @@ task "release:rubygem_push" do
|
|
|
24
22
|
Dir["pkg/*.gem"].each { |gem| sh "gem", "push", gem }
|
|
25
23
|
end
|
|
26
24
|
|
|
27
|
-
task default: %i[compile test
|
|
25
|
+
task default: %i[compile test standard]
|
data/ext/urlpattern/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "urlpattern"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.2"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
authors = ["방성범 (Bang Seongbeom) <bangseongbeom@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -10,9 +10,9 @@ publish = false
|
|
|
10
10
|
crate-type = ["cdylib"]
|
|
11
11
|
|
|
12
12
|
[dependencies]
|
|
13
|
-
magnus = { version = "0.
|
|
13
|
+
magnus = { version = "0.9.2" }
|
|
14
14
|
rb-sys = { version = "0.9", features = ["stable-api-compiled-fallback"] }
|
|
15
|
-
regex = "1.
|
|
15
|
+
regex = "1.13.1"
|
|
16
16
|
url = "2.5.8"
|
|
17
17
|
urlpattern = "0.6.0"
|
|
18
18
|
|
data/lib/urlpattern/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: urlpattern
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 방성범 (Bang Seongbeom)
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.9.
|
|
18
|
+
version: 0.9.130
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.9.
|
|
25
|
+
version: 0.9.130
|
|
26
26
|
description: |
|
|
27
27
|
It's a thin wrapper of denoland/rust-urlpattern with Magnus.
|
|
28
28
|
|
|
@@ -34,6 +34,8 @@ extensions:
|
|
|
34
34
|
- ext/urlpattern/extconf.rb
|
|
35
35
|
extra_rdoc_files: []
|
|
36
36
|
files:
|
|
37
|
+
- ".devcontainer/devcontainer.json"
|
|
38
|
+
- CHANGELOG.md
|
|
37
39
|
- CODE_OF_CONDUCT.md
|
|
38
40
|
- Cargo.lock
|
|
39
41
|
- Cargo.toml
|
|
@@ -47,12 +49,15 @@ files:
|
|
|
47
49
|
- lib/urlpattern.rb
|
|
48
50
|
- lib/urlpattern/version.rb
|
|
49
51
|
- sig/urlpattern.rbs
|
|
50
|
-
homepage: https://github.com/
|
|
52
|
+
homepage: https://github.com/bangseongbeom/ruby-urlpattern
|
|
51
53
|
licenses:
|
|
52
54
|
- MIT
|
|
53
55
|
metadata:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
+
allowed_push_host: https://rubygems.org
|
|
57
|
+
homepage_uri: https://github.com/bangseongbeom/ruby-urlpattern
|
|
58
|
+
source_code_uri: https://github.com/bangseongbeom/ruby-urlpattern
|
|
59
|
+
changelog_uri: https://github.com/bangseongbeom/ruby-urlpattern/blob/main/CHANGELOG.md
|
|
60
|
+
rubygems_mfa_required: 'true'
|
|
56
61
|
rdoc_options: []
|
|
57
62
|
require_paths:
|
|
58
63
|
- lib
|
|
@@ -67,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
67
72
|
- !ruby/object:Gem::Version
|
|
68
73
|
version: '0'
|
|
69
74
|
requirements: []
|
|
70
|
-
rubygems_version: 4.0.
|
|
75
|
+
rubygems_version: 4.0.20
|
|
71
76
|
specification_version: 4
|
|
72
77
|
summary: An implementation of the URL Pattern Standard for Ruby written in Rust.
|
|
73
78
|
test_files: []
|