crawlberg 1.12.3 → 1.12.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30a868ed0481017eb9b39c702345e1400e344c6a5344e032c3373c2639c4d899
4
- data.tar.gz: e3c0a251a23a696d8c50f43dac142b125d39a8c63aea27198df4195b5ebe62c9
3
+ metadata.gz: 747021fcab944856af87da80556698102fb7ee7f3220c354e571fa59280b1160
4
+ data.tar.gz: 54b65fe2b38f69ecfc1d562e0709e866d9a8a553e33efee72ad790496152cca7
5
5
  SHA512:
6
- metadata.gz: 31908f8286aecb43890904b744b3b7ef377965d3db07e0bab5e84c3384314d2b9eb77cda839a21ec9ed76d656de192c63b1afb1c807b3bfaf957518937b4e704
7
- data.tar.gz: '028a9b3167894b417bb5c5a3cf47a268123e9f5f749be60f7a04347ae47e19791db3ae185289140cd379851fc93e954883be62228c229b1fddb9461836658744'
6
+ metadata.gz: 4505534058307fe2ccc412b11218a57529760ee573e5e1115908d08c94ec52968de2fb48abc939cd4c101770446d61813376b4c064505c5137c4294754464f5b
7
+ data.tar.gz: 67f418fd655c3e05874f4fd41faa22bfb71363a800131ae886d5317225f606d600fcbc67bc52e2142c5e5867553d410bb0c196c4742f36ee35e52c13fea7f7bd
@@ -139,9 +139,9 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
139
139
 
140
140
  [[package]]
141
141
  name = "aws-lc-rs"
142
- version = "1.18.2"
142
+ version = "1.19.0"
143
143
  source = "registry+https://github.com/rust-lang/crates.io-index"
144
- checksum = "faac5829c2b74c28f830747e7818ccfb684261b5f48a1118b1e2a13d36dfab13"
144
+ checksum = "048006790404103c488e6c5616b3e7e702a71292aadda08e8f7698a9e0d2eb53"
145
145
  dependencies = [
146
146
  "aws-lc-sys",
147
147
  "zeroize",
@@ -149,9 +149,9 @@ dependencies = [
149
149
 
150
150
  [[package]]
151
151
  name = "aws-lc-sys"
152
- version = "0.46.0"
152
+ version = "0.47.0"
153
153
  source = "registry+https://github.com/rust-lang/crates.io-index"
154
- checksum = "f1622d8446a2d4b2ce0c7eefc73dd43a99779028d5ee5c2dd8073a658ba8a2bc"
154
+ checksum = "8bfbe32ac36b3c428696ce315464181bc4029d689fd58e3f2a4e58c252242f52"
155
155
  dependencies = [
156
156
  "cc",
157
157
  "cmake",
@@ -537,9 +537,9 @@ dependencies = [
537
537
 
538
538
  [[package]]
539
539
  name = "crawlberg"
540
- version = "1.12.3"
540
+ version = "1.12.4"
541
541
  source = "registry+https://github.com/rust-lang/crates.io-index"
542
- checksum = "e9cece970a1c583dc55de73dcbc4d85242c565cd1ab5223eb090aa36632c8f05"
542
+ checksum = "e345a707346726368541ecc67fb348671c883b049aa266153858010514ee20ee"
543
543
  dependencies = [
544
544
  "ahash",
545
545
  "aho-corasick",
@@ -635,7 +635,7 @@ dependencies = [
635
635
 
636
636
  [[package]]
637
637
  name = "crawlberg-rb"
638
- version = "1.12.3"
638
+ version = "1.12.4"
639
639
  dependencies = [
640
640
  "crawlberg",
641
641
  "futures",
@@ -648,9 +648,9 @@ dependencies = [
648
648
 
649
649
  [[package]]
650
650
  name = "crawlberg-robots"
651
- version = "1.12.3"
651
+ version = "1.12.4"
652
652
  source = "registry+https://github.com/rust-lang/crates.io-index"
653
- checksum = "3a38455515bc47cf5e05e8a02a761d24e2b80970af157bcc828d22a99225962f"
653
+ checksum = "7115fd4903fd4d7ffa0193824de27f3a407f6322d8ca2c7bde1025c4c7df841c"
654
654
 
655
655
  [[package]]
656
656
  name = "crc32fast"
@@ -774,9 +774,9 @@ checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
774
774
 
775
775
  [[package]]
776
776
  name = "encoding_rs"
777
- version = "0.8.42"
777
+ version = "0.8.44"
778
778
  source = "registry+https://github.com/rust-lang/crates.io-index"
779
- checksum = "8e985e0451871ad22fb8d2b6b076e2028a502a0d3950998c2c5c0a4f9b5d9679"
779
+ checksum = "89253175e704ab869b04f9db224d38630e0211a53841a79181deae0889e169f5"
780
780
  dependencies = [
781
781
  "cfg-if",
782
782
  "core_detect",
@@ -1077,9 +1077,9 @@ checksum = "491194d601b4fa9fac3c9571e014070a0ad1bc3392d1bc10419695196a8b3cc3"
1077
1077
 
1078
1078
  [[package]]
1079
1079
  name = "html-to-markdown-rs"
1080
- version = "3.19.0"
1080
+ version = "3.19.1"
1081
1081
  source = "registry+https://github.com/rust-lang/crates.io-index"
1082
- checksum = "ddada45be32a036999fbda2be5df286dc2001816e60099ec3fd445fc6c3bb69b"
1082
+ checksum = "e0c9d1d13553220b2dd9bbbd135b6d8d9dfcb8c1893a842e93f93b9f59bcc5a4"
1083
1083
  dependencies = [
1084
1084
  "ahash",
1085
1085
  "astral-tl",
@@ -1521,9 +1521,9 @@ dependencies = [
1521
1521
 
1522
1522
  [[package]]
1523
1523
  name = "js-sys"
1524
- version = "0.3.106"
1524
+ version = "0.3.107"
1525
1525
  source = "registry+https://github.com/rust-lang/crates.io-index"
1526
- checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
1526
+ checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a"
1527
1527
  dependencies = [
1528
1528
  "cfg-if",
1529
1529
  "futures-util",
@@ -1610,9 +1610,9 @@ dependencies = [
1610
1610
 
1611
1611
  [[package]]
1612
1612
  name = "log"
1613
- version = "0.4.34"
1613
+ version = "0.4.35"
1614
1614
  source = "registry+https://github.com/rust-lang/crates.io-index"
1615
- checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
1615
+ checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c"
1616
1616
 
1617
1617
  [[package]]
1618
1618
  name = "lru-slab"
@@ -1757,9 +1757,9 @@ dependencies = [
1757
1757
 
1758
1758
  [[package]]
1759
1759
  name = "notify-types"
1760
- version = "2.1.0"
1760
+ version = "2.2.0"
1761
1761
  source = "registry+https://github.com/rust-lang/crates.io-index"
1762
- checksum = "42b8cfee0e339a0337359f3c88165702ac6e600dc01c0cc9579a92d62b08477a"
1762
+ checksum = "0a437a9308232ce794b1e7fdf540d38ea37efc3c73492640c13b4c8568b8f108"
1763
1763
  dependencies = [
1764
1764
  "bitflags",
1765
1765
  ]
@@ -2686,9 +2686,9 @@ dependencies = [
2686
2686
 
2687
2687
  [[package]]
2688
2688
  name = "sysinfo"
2689
- version = "0.39.6"
2689
+ version = "0.40.1"
2690
2690
  source = "registry+https://github.com/rust-lang/crates.io-index"
2691
- checksum = "d2071df9448915b71c4fe6d25deaf1c22f12bd234f01540b77312bb8e41361e6"
2691
+ checksum = "0e8a3edbe0394ce115f3917a00349dd242be09eb5a091ed509eaf67b55cfb8a8"
2692
2692
  dependencies = [
2693
2693
  "libc",
2694
2694
  "memchr",
@@ -3087,9 +3087,18 @@ dependencies = [
3087
3087
 
3088
3088
  [[package]]
3089
3089
  name = "utf8_iter"
3090
- version = "1.0.4"
3090
+ version = "1.1.0"
3091
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3092
+ checksum = "af3bd9d3e571c26fcce9d033b87ea5ab061b8d2ffe9b7a5675d810d68f03edf0"
3093
+ dependencies = [
3094
+ "utf_types",
3095
+ ]
3096
+
3097
+ [[package]]
3098
+ name = "utf_types"
3099
+ version = "1.0.0"
3091
3100
  source = "registry+https://github.com/rust-lang/crates.io-index"
3092
- checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
3101
+ checksum = "3a3b425286980a367278453f3b6d28cdcb134b574e5a35824a6ff5eebad50bb6"
3093
3102
 
3094
3103
  [[package]]
3095
3104
  name = "version_check"
@@ -3133,12 +3142,11 @@ dependencies = [
3133
3142
 
3134
3143
  [[package]]
3135
3144
  name = "wasm-bindgen"
3136
- version = "0.2.129"
3145
+ version = "0.2.130"
3137
3146
  source = "registry+https://github.com/rust-lang/crates.io-index"
3138
- checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
3147
+ checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c"
3139
3148
  dependencies = [
3140
3149
  "cfg-if",
3141
- "once_cell",
3142
3150
  "rustversion",
3143
3151
  "wasm-bindgen-macro",
3144
3152
  "wasm-bindgen-shared",
@@ -3146,9 +3154,9 @@ dependencies = [
3146
3154
 
3147
3155
  [[package]]
3148
3156
  name = "wasm-bindgen-futures"
3149
- version = "0.4.79"
3157
+ version = "0.4.80"
3150
3158
  source = "registry+https://github.com/rust-lang/crates.io-index"
3151
- checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e"
3159
+ checksum = "5e14e0327cb5368ad60ccb22d04a9827a693c95a926d8d125e9fa39e0baec501"
3152
3160
  dependencies = [
3153
3161
  "js-sys",
3154
3162
  "tokio",
@@ -3157,9 +3165,9 @@ dependencies = [
3157
3165
 
3158
3166
  [[package]]
3159
3167
  name = "wasm-bindgen-macro"
3160
- version = "0.2.129"
3168
+ version = "0.2.130"
3161
3169
  source = "registry+https://github.com/rust-lang/crates.io-index"
3162
- checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
3170
+ checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9"
3163
3171
  dependencies = [
3164
3172
  "quote",
3165
3173
  "wasm-bindgen-macro-support",
@@ -3167,9 +3175,9 @@ dependencies = [
3167
3175
 
3168
3176
  [[package]]
3169
3177
  name = "wasm-bindgen-macro-support"
3170
- version = "0.2.129"
3178
+ version = "0.2.130"
3171
3179
  source = "registry+https://github.com/rust-lang/crates.io-index"
3172
- checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
3180
+ checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a"
3173
3181
  dependencies = [
3174
3182
  "bumpalo",
3175
3183
  "proc-macro2",
@@ -3180,18 +3188,18 @@ dependencies = [
3180
3188
 
3181
3189
  [[package]]
3182
3190
  name = "wasm-bindgen-shared"
3183
- version = "0.2.129"
3191
+ version = "0.2.130"
3184
3192
  source = "registry+https://github.com/rust-lang/crates.io-index"
3185
- checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
3193
+ checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e"
3186
3194
  dependencies = [
3187
3195
  "unicode-ident",
3188
3196
  ]
3189
3197
 
3190
3198
  [[package]]
3191
3199
  name = "web-sys"
3192
- version = "0.3.106"
3200
+ version = "0.3.107"
3193
3201
  source = "registry+https://github.com/rust-lang/crates.io-index"
3194
- checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4"
3202
+ checksum = "d7d179596ff5ec0f6de4db64d54011bde6289cc49603d3a6e4ce3f329207ab88"
3195
3203
  dependencies = [
3196
3204
  "js-sys",
3197
3205
  "wasm-bindgen",
@@ -1,11 +1,11 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:a86b7727e26a9e336e600fe8a57e0a117bf4bfa5b149da399b9648824aaa6c73
2
+ # alef:hash:7503feae8b3539c3d4ba3358faff2fcf06f713448e257078862d2e3b8f2e5ebb
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify
5
5
 
6
6
  [package]
7
7
  name = "crawlberg-rb"
8
- version = "1.12.3"
8
+ version = "1.12.4"
9
9
  edition = "2024"
10
10
  authors = ["Na'aman Hirschfeld <naaman@xberg.io>", "Tobias Perlstein <tobias@xberg.io>"]
11
11
  license = "MIT"
@@ -23,7 +23,7 @@ path = "../src/lib.rs"
23
23
  crate-type = ["cdylib"]
24
24
 
25
25
  [dependencies]
26
- crawlberg = { version = "1.12.3", features = ["interact", "browser-chromiumoxide"] }
26
+ crawlberg = { version = "1.12.4", features = ["interact", "browser-chromiumoxide"] }
27
27
  futures = "0.3"
28
28
  magnus = "0.9"
29
29
  rb-sys = ">=0.9.130, <0.10"
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:60c8949f72e7c9412406a7c721b2968d8acafde7ead2534f00d423542e33bade
2
+ # alef:hash:69b28e0471fcb4accb00c4c7601e854143fc70114da129bcb4f7853d1a92c044
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify
5
5
  # frozen_string_literal: true
@@ -82,7 +82,10 @@ module Crawlberg
82
82
  # @return [self]
83
83
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
84
84
  def self.from_hash(hash)
85
- new(username: hash[:username] || hash["username"], password: hash[:password] || hash["password"])
85
+ new(
86
+ username: hash.key?(:username) ? hash[:username] : hash["username"],
87
+ password: hash.key?(:password) ? hash[:password] : hash["password"]
88
+ )
86
89
  end
87
90
  end
88
91
  ## Bearer token authentication.
@@ -103,7 +106,7 @@ module Crawlberg
103
106
  # @return [self]
104
107
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
105
108
  def self.from_hash(hash)
106
- new(token: hash[:token] || hash["token"])
109
+ new(token: hash.key?(:token) ? hash[:token] : hash["token"])
107
110
  end
108
111
  end
109
112
  ## Custom authentication header.
@@ -127,7 +130,7 @@ module Crawlberg
127
130
  # @return [self]
128
131
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
129
132
  def self.from_hash(hash)
130
- new(name: hash[:name] || hash["name"], value: hash[:value] || hash["value"])
133
+ new(name: hash.key?(:name) ? hash[:name] : hash["name"], value: hash.key?(:value) ? hash[:value] : hash["value"])
131
134
  end
132
135
  end
133
136
  end
@@ -185,7 +188,7 @@ module Crawlberg
185
188
  # @return [self]
186
189
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
187
190
  def self.from_hash(hash)
188
- new(result: hash[:result] || hash["result"])
191
+ new(result: hash.key?(:result) ? hash[:result] : hash["result"])
189
192
  end
190
193
  end
191
194
  ## An error occurred while crawling a URL.
@@ -209,7 +212,7 @@ module Crawlberg
209
212
  # @return [self]
210
213
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
211
214
  def self.from_hash(hash)
212
- new(url: hash[:url] || hash["url"], error: hash[:error] || hash["error"])
215
+ new(url: hash.key?(:url) ? hash[:url] : hash["url"], error: hash.key?(:error) ? hash[:error] : hash["error"])
213
216
  end
214
217
  end
215
218
  ## The crawl has completed.
@@ -230,7 +233,7 @@ module Crawlberg
230
233
  # @return [self]
231
234
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
232
235
  def self.from_hash(hash)
233
- new(pages_crawled: hash[:pages_crawled] || hash["pages_crawled"])
236
+ new(pages_crawled: hash.key?(:pages_crawled) ? hash[:pages_crawled] : hash["pages_crawled"])
234
237
  end
235
238
  end
236
239
  end
@@ -293,7 +296,7 @@ module Crawlberg
293
296
  # @return [self]
294
297
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
295
298
  def self.from_hash(hash)
296
- new(value: hash[:value] || hash["value"])
299
+ new(value: hash.key?(:value) ? hash[:value] : hash["value"])
297
300
  end
298
301
  end
299
302
  ## Suffix match: ".xberg.io" matches "api.xberg.io" and "xberg.io".
@@ -314,7 +317,7 @@ module Crawlberg
314
317
  # @return [self]
315
318
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
316
319
  def self.from_hash(hash)
317
- new(value: hash[:value] || hash["value"])
320
+ new(value: hash.key?(:value) ? hash[:value] : hash["value"])
318
321
  end
319
322
  end
320
323
  ## CIDR match: "10.0.0.0/8" matches IP addresses in that range.
@@ -336,7 +339,7 @@ module Crawlberg
336
339
  # @return [self]
337
340
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
338
341
  def self.from_hash(hash)
339
- new(value: hash[:value] || hash["value"])
342
+ new(value: hash.key?(:value) ? hash[:value] : hash["value"])
340
343
  end
341
344
  end
342
345
  end
@@ -408,7 +411,7 @@ module Crawlberg
408
411
  # @return [self]
409
412
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
410
413
  def self.from_hash(hash)
411
- new(selector: hash[:selector] || hash["selector"])
414
+ new(selector: hash.key?(:selector) ? hash[:selector] : hash["selector"])
412
415
  end
413
416
  end
414
417
  ## Type text into an element matching the given CSS selector.
@@ -442,7 +445,10 @@ module Crawlberg
442
445
  # @return [self]
443
446
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
444
447
  def self.from_hash(hash)
445
- new(selector: hash[:selector] || hash["selector"], text: hash[:text] || hash["text"])
448
+ new(
449
+ selector: hash.key?(:selector) ? hash[:selector] : hash["selector"],
450
+ text: hash.key?(:text) ? hash[:text] : hash["text"]
451
+ )
446
452
  end
447
453
  end
448
454
  ## Press a keyboard key (e.g. "Enter", "Tab", "Escape").
@@ -473,7 +479,7 @@ module Crawlberg
473
479
  # @return [self]
474
480
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
475
481
  def self.from_hash(hash)
476
- new(key: hash[:key] || hash["key"])
482
+ new(key: hash.key?(:key) ? hash[:key] : hash["key"])
477
483
  end
478
484
  end
479
485
  ## Scroll the page or a specific element.
@@ -511,9 +517,9 @@ module Crawlberg
511
517
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
512
518
  def self.from_hash(hash)
513
519
  new(
514
- direction: hash[:direction] || hash["direction"],
515
- selector: hash[:selector] || hash["selector"],
516
- amount: hash[:amount] || hash["amount"]
520
+ direction: hash.key?(:direction) ? hash[:direction] : hash["direction"],
521
+ selector: hash.key?(:selector) ? hash[:selector] : hash["selector"],
522
+ amount: hash.key?(:amount) ? hash[:amount] : hash["amount"]
517
523
  )
518
524
  end
519
525
  end
@@ -548,7 +554,10 @@ module Crawlberg
548
554
  # @return [self]
549
555
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
550
556
  def self.from_hash(hash)
551
- new(milliseconds: hash[:milliseconds] || hash["milliseconds"], selector: hash[:selector] || hash["selector"])
557
+ new(
558
+ milliseconds: hash.key?(:milliseconds) ? hash[:milliseconds] : hash["milliseconds"],
559
+ selector: hash.key?(:selector) ? hash[:selector] : hash["selector"]
560
+ )
552
561
  end
553
562
  end
554
563
  ## Take a screenshot of the current page.
@@ -583,7 +592,7 @@ module Crawlberg
583
592
  # @return [self]
584
593
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
585
594
  def self.from_hash(hash)
586
- new(full_page: hash[:full_page] || hash["full_page"])
595
+ new(full_page: hash.key?(:full_page) ? hash[:full_page] : hash["full_page"])
587
596
  end
588
597
  end
589
598
  ## Execute arbitrary JavaScript in the page context.
@@ -619,7 +628,7 @@ module Crawlberg
619
628
  # @return [self]
620
629
  sig { params(hash: T::Hash[T.untyped, T.untyped]).returns(T.attached_class) }
621
630
  def self.from_hash(hash)
622
- new(script: hash[:script] || hash["script"])
631
+ new(script: hash.key?(:script) ? hash[:script] : hash["script"])
623
632
  end
624
633
  end
625
634
  ## Scrape the current page HTML.
@@ -1,10 +1,10 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:4b49e60e4c3bdd958dfccc4aee6deec2a78c41bafced6ee25ec8b66aa0b049ca
2
+ # alef:hash:27817e744b9371747239d3dbd9b752d1075b40b343e776252ec09010abe2a16b
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify
5
5
  # frozen_string_literal: true
6
6
 
7
7
  module Crawlberg
8
8
  ## The version string for this package.
9
- VERSION = "1.12.3"
9
+ VERSION = "1.12.4"
10
10
  end
data/sig/types.rbs CHANGED
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:4cdc9eb4c9b67c7adb9baf33b70eb0c6ee54e28b0c0973121fbef2934ff8a431
2
+ # alef:hash:2a433f35126235c3682b8cfe4eaad04f121e9210241b4afaa525a7175302dca4
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify
5
5
 
@@ -743,7 +743,7 @@ def initialize: (?deny_private: bool, ?allowlist: Array[HostMatcher], ?denylist:
743
743
  def scrape?: () -> bool
744
744
 
745
745
  def self.from_hash: (untyped hash) -> untyped
746
- def self.new: (direction: enum_ScrollDirection, selector: String, amount: Integer) -> PageActionScroll
746
+ def self.new: (direction: enum_ScrollDirection, selector: String?, amount: Integer?) -> PageActionScroll
747
747
  end
748
748
 
749
749
  class PageActionWait
@@ -761,7 +761,7 @@ def initialize: (?deny_private: bool, ?allowlist: Array[HostMatcher], ?denylist:
761
761
  def scrape?: () -> bool
762
762
 
763
763
  def self.from_hash: (untyped hash) -> untyped
764
- def self.new: (milliseconds: Integer, selector: String) -> PageActionWait
764
+ def self.new: (milliseconds: Integer?, selector: String?) -> PageActionWait
765
765
  end
766
766
 
767
767
  class PageActionScreenshot
@@ -778,7 +778,7 @@ def initialize: (?deny_private: bool, ?allowlist: Array[HostMatcher], ?denylist:
778
778
  def scrape?: () -> bool
779
779
 
780
780
  def self.from_hash: (untyped hash) -> untyped
781
- def self.new: (full_page: bool) -> PageActionScreenshot
781
+ def self.new: (full_page: bool?) -> PageActionScreenshot
782
782
  end
783
783
 
784
784
  class PageActionExecuteJs
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crawlberg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.3
4
+ version: 1.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Na'aman Hirschfeld
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2026-10-27 00:00:00.000000000 Z
12
+ date: 2026-10-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rb_sys