selma 0.4.10 → 0.4.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27c1b5bcd36e8c5627fb874937079041dc07b1b54dc326a8e2eae9b52236b478
4
- data.tar.gz: 46fabb6609038ab3c43b89959e5fa82175633ab8df77eeba6c77a1382d2bf3c4
3
+ metadata.gz: ae851f7bc424c7fc5e023632b3faa7b277877c6cadf87cc7f62522395d840c31
4
+ data.tar.gz: 7ddf1ec6fcba33124266e8a42bf2e15377e8daabd15854e6d5b16279b25f77c0
5
5
  SHA512:
6
- metadata.gz: 46b443634bc2a6e77d2514501489cf9e84e7ee52d0210a8424291a1794a9eb181f508448753c1eb9084d0d4341f41fb4863ed95199c8f8040e7aca269943488d
7
- data.tar.gz: 674f0edf5f22c721340b6ff428f9704663437272bdc37596ba5da098c3b98fcc68de42c4ce1a52f3f447498a5e27414527bc1a076c8c442a5c894f50fdf03941
6
+ metadata.gz: 026d9ca139227477365dabd422caf691926fdf09d8b7bf35a80274669de344b3d7d0e98872e4b099ccd9bf28da3343f67a2aed3a0c0a3ae8582585d489820829
7
+ data.tar.gz: 2b993bc1be6cf561ad54bd77d1c327e57e2e77ba41865fe3fca479849a6c375868c3c82eb10733964a0347d36715715095763ebda94fae416f4d66efe31f92e9
data/Cargo.lock CHANGED
@@ -2,18 +2,6 @@
2
2
  # It is not intended for manual editing.
3
3
  version = 3
4
4
 
5
- [[package]]
6
- name = "ahash"
7
- version = "0.8.11"
8
- source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
10
- dependencies = [
11
- "cfg-if",
12
- "once_cell",
13
- "version_check",
14
- "zerocopy",
15
- ]
16
-
17
5
  [[package]]
18
6
  name = "aho-corasick"
19
7
  version = "1.1.3"
@@ -23,6 +11,12 @@ dependencies = [
23
11
  "memchr",
24
12
  ]
25
13
 
14
+ [[package]]
15
+ name = "allocator-api2"
16
+ version = "0.2.21"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
19
+
26
20
  [[package]]
27
21
  name = "bindgen"
28
22
  version = "0.69.5"
@@ -40,7 +34,7 @@ dependencies = [
40
34
  "regex",
41
35
  "rustc-hash",
42
36
  "shlex",
43
- "syn 2.0.89",
37
+ "syn 2.0.93",
44
38
  ]
45
39
 
46
40
  [[package]]
@@ -117,7 +111,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
117
111
  checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331"
118
112
  dependencies = [
119
113
  "quote",
120
- "syn 2.0.89",
114
+ "syn 2.0.93",
121
115
  ]
122
116
 
123
117
  [[package]]
@@ -130,7 +124,7 @@ dependencies = [
130
124
  "proc-macro2",
131
125
  "quote",
132
126
  "rustc_version",
133
- "syn 2.0.89",
127
+ "syn 2.0.93",
134
128
  ]
135
129
 
136
130
  [[package]]
@@ -186,9 +180,15 @@ checksum = "a1ab991c1362ac86c61ab6f556cff143daa22e5a15e4e189df818b2fd19fe65b"
186
180
  dependencies = [
187
181
  "proc-macro2",
188
182
  "quote",
189
- "syn 2.0.89",
183
+ "syn 2.0.93",
190
184
  ]
191
185
 
186
+ [[package]]
187
+ name = "equivalent"
188
+ version = "1.0.1"
189
+ source = "registry+https://github.com/rust-lang/crates.io-index"
190
+ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
191
+
192
192
  [[package]]
193
193
  name = "escapist"
194
194
  version = "0.0.2"
@@ -198,6 +198,12 @@ dependencies = [
198
198
  "entities",
199
199
  ]
200
200
 
201
+ [[package]]
202
+ name = "foldhash"
203
+ version = "0.1.4"
204
+ source = "registry+https://github.com/rust-lang/crates.io-index"
205
+ checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f"
206
+
201
207
  [[package]]
202
208
  name = "fxhash"
203
209
  version = "0.2.1"
@@ -220,17 +226,19 @@ dependencies = [
220
226
 
221
227
  [[package]]
222
228
  name = "glob"
223
- version = "0.3.1"
229
+ version = "0.3.2"
224
230
  source = "registry+https://github.com/rust-lang/crates.io-index"
225
- checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
231
+ checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
226
232
 
227
233
  [[package]]
228
234
  name = "hashbrown"
229
- version = "0.13.2"
235
+ version = "0.15.2"
230
236
  source = "registry+https://github.com/rust-lang/crates.io-index"
231
- checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e"
237
+ checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
232
238
  dependencies = [
233
- "ahash",
239
+ "allocator-api2",
240
+ "equivalent",
241
+ "foldhash",
234
242
  ]
235
243
 
236
244
  [[package]]
@@ -262,15 +270,15 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
262
270
 
263
271
  [[package]]
264
272
  name = "libc"
265
- version = "0.2.165"
273
+ version = "0.2.169"
266
274
  source = "registry+https://github.com/rust-lang/crates.io-index"
267
- checksum = "fcb4d3d38eab6c5239a362fa8bae48c03baf980a6e7079f063942d563ef3533e"
275
+ checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
268
276
 
269
277
  [[package]]
270
278
  name = "libloading"
271
- version = "0.8.5"
279
+ version = "0.8.6"
272
280
  source = "registry+https://github.com/rust-lang/crates.io-index"
273
- checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
281
+ checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
274
282
  dependencies = [
275
283
  "cfg-if",
276
284
  "windows-targets",
@@ -284,9 +292,9 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
284
292
 
285
293
  [[package]]
286
294
  name = "lol_html"
287
- version = "2.0.0"
295
+ version = "2.1.0"
288
296
  source = "registry+https://github.com/rust-lang/crates.io-index"
289
- checksum = "964b47c14635e111f7efddcd8f1f8794195f66225fef19822fa942b217a859cf"
297
+ checksum = "2872b88213f3cd4b04f719ec8f2e0b37c98882a7c4aa6fc13ba2f19f5eba1bd2"
290
298
  dependencies = [
291
299
  "bitflags 2.6.0",
292
300
  "cfg-if",
@@ -321,7 +329,7 @@ checksum = "5968c820e2960565f647819f5928a42d6e874551cab9d88d75e3e0660d7f71e3"
321
329
  dependencies = [
322
330
  "proc-macro2",
323
331
  "quote",
324
- "syn 2.0.89",
332
+ "syn 2.0.93",
325
333
  ]
326
334
 
327
335
  [[package]]
@@ -364,12 +372,6 @@ dependencies = [
364
372
  "minimal-lexical",
365
373
  ]
366
374
 
367
- [[package]]
368
- name = "once_cell"
369
- version = "1.20.2"
370
- source = "registry+https://github.com/rust-lang/crates.io-index"
371
- checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
372
-
373
375
  [[package]]
374
376
  name = "phf"
375
377
  version = "0.8.0"
@@ -456,9 +458,9 @@ dependencies = [
456
458
 
457
459
  [[package]]
458
460
  name = "quote"
459
- version = "1.0.37"
461
+ version = "1.0.38"
460
462
  source = "registry+https://github.com/rust-lang/crates.io-index"
461
- checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
463
+ checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
462
464
  dependencies = [
463
465
  "proc-macro2",
464
466
  ]
@@ -516,18 +518,18 @@ dependencies = [
516
518
 
517
519
  [[package]]
518
520
  name = "rb-sys"
519
- version = "0.9.103"
521
+ version = "0.9.105"
520
522
  source = "registry+https://github.com/rust-lang/crates.io-index"
521
- checksum = "91dbe37ab6ac2fba187480fb6544b92445e41e5c6f553bf0c33743f3c450a1df"
523
+ checksum = "4b3a1f3ce8e7c36d777d52fe7a99039fe4fea7c8ec355a4c4f3a17f92a14029f"
522
524
  dependencies = [
523
525
  "rb-sys-build",
524
526
  ]
525
527
 
526
528
  [[package]]
527
529
  name = "rb-sys-build"
528
- version = "0.9.103"
530
+ version = "0.9.105"
529
531
  source = "registry+https://github.com/rust-lang/crates.io-index"
530
- checksum = "c4d56a49dcb646b70b758789c0d16c055a386a4f2a3346333abb69850fa860ce"
532
+ checksum = "3e6b246c29c0809e1cbe60a1ba9e093da72a4676d02adc68469297d1e589bbf0"
531
533
  dependencies = [
532
534
  "bindgen",
533
535
  "lazy_static",
@@ -535,7 +537,7 @@ dependencies = [
535
537
  "quote",
536
538
  "regex",
537
539
  "shell-words",
538
- "syn 2.0.89",
540
+ "syn 2.0.93",
539
541
  ]
540
542
 
541
543
  [[package]]
@@ -621,9 +623,9 @@ dependencies = [
621
623
 
622
624
  [[package]]
623
625
  name = "semver"
624
- version = "1.0.23"
626
+ version = "1.0.24"
625
627
  source = "registry+https://github.com/rust-lang/crates.io-index"
626
- checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
628
+ checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba"
627
629
 
628
630
  [[package]]
629
631
  name = "seq-macro"
@@ -684,9 +686,9 @@ dependencies = [
684
686
 
685
687
  [[package]]
686
688
  name = "syn"
687
- version = "2.0.89"
689
+ version = "2.0.93"
688
690
  source = "registry+https://github.com/rust-lang/crates.io-index"
689
- checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e"
691
+ checksum = "9c786062daee0d6db1132800e623df74274a0a87322d8e183338e01b3d98d058"
690
692
  dependencies = [
691
693
  "proc-macro2",
692
694
  "quote",
@@ -716,7 +718,7 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
716
718
  dependencies = [
717
719
  "proc-macro2",
718
720
  "quote",
719
- "syn 2.0.89",
721
+ "syn 2.0.93",
720
722
  ]
721
723
 
722
724
  [[package]]
@@ -725,12 +727,6 @@ version = "1.0.14"
725
727
  source = "registry+https://github.com/rust-lang/crates.io-index"
726
728
  checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
727
729
 
728
- [[package]]
729
- name = "version_check"
730
- version = "0.9.5"
731
- source = "registry+https://github.com/rust-lang/crates.io-index"
732
- checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
733
-
734
730
  [[package]]
735
731
  name = "wasi"
736
732
  version = "0.9.0+wasi-snapshot-preview1"
@@ -819,5 +815,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
819
815
  dependencies = [
820
816
  "proc-macro2",
821
817
  "quote",
822
- "syn 2.0.89",
818
+ "syn 2.0.93",
823
819
  ]
data/ext/selma/Cargo.toml CHANGED
@@ -12,7 +12,7 @@ magnus = { version = "0.7", features = ["rb-sys"] }
12
12
  rb-sys = { version = "*", default-features = false, features = [
13
13
  "stable-api-compiled-fallback",
14
14
  ] }
15
- lol_html = "2.0"
15
+ lol_html = "2.1"
16
16
 
17
17
  [lib]
18
18
  name = "selma"
data/lib/selma/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Selma
4
- VERSION = "0.4.10"
4
+ VERSION = "0.4.11"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.10
4
+ version: 0.4.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen J. Torikian
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-11-26 00:00:00.000000000 Z
10
+ date: 2024-12-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rb_sys
@@ -52,7 +51,6 @@ dependencies:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
53
  version: '1.2'
55
- description:
56
54
  email:
57
55
  - gjtorikian@gmail.com
58
56
  executables: []
@@ -90,7 +88,6 @@ files:
90
88
  - lib/selma/sanitizer/config/restricted.rb
91
89
  - lib/selma/selector.rb
92
90
  - lib/selma/version.rb
93
- homepage:
94
91
  licenses:
95
92
  - MIT
96
93
  metadata:
@@ -98,7 +95,6 @@ metadata:
98
95
  funding_uri: https://github.com/sponsors/gjtorikian/
99
96
  source_code_uri: https://github.com/gjtorikian/selma
100
97
  rubygems_mfa_required: 'true'
101
- post_install_message:
102
98
  rdoc_options: []
103
99
  require_paths:
104
100
  - lib
@@ -109,12 +105,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
105
  version: '3.1'
110
106
  required_rubygems_version: !ruby/object:Gem::Requirement
111
107
  requirements:
112
- - - ">="
108
+ - - "~>"
113
109
  - !ruby/object:Gem::Version
114
- version: 3.3.22
110
+ version: '3.4'
115
111
  requirements: []
116
- rubygems_version: 3.5.3
117
- signing_key:
112
+ rubygems_version: 3.6.2
118
113
  specification_version: 4
119
114
  summary: Selma selects and matches HTML nodes using CSS rules. Backed by Rust's lol_html
120
115
  parser.