kreuzcrawl 0.3.0.pre.rc.87 → 0.3.0

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: 492ecb7da73423544e907460dbbcf299ae7204c82c99530c49d5066c5a18ae2b
4
- data.tar.gz: 2356827a2dac51799f197232772a5bd43aa19d2774d0a60b63edeb4ee099e9b3
3
+ metadata.gz: b8c2795b895d872641815d1c092dfdeba7cf6d320da089f30367591be2f87315
4
+ data.tar.gz: dccc71c29d5d30f8c40c542caf1e094a08868936df8db278943d86739dbdb84f
5
5
  SHA512:
6
- metadata.gz: c77bccbbd07414232d26e53c8a6e7529a64eb4b93f9c5629197c2ec33ecd5a059a28d79668b221225c8b16584928febbc3ad5dbf12e863d082c2cf461450cce3
7
- data.tar.gz: 9d1720e58647cc063b500110479017f18039649d0bfca5a98dd49704b0a860853284cec706331df8c723e1eab4f8c3c4e404acc2e41bb332546076f48799d472
6
+ metadata.gz: 7f48f5e7f029770256ae5954ad9c15abf797956226915e6247a46573536e81fbc4ff2a687196ae6ba670f1e060188f76266f1e789e8c7fcab1da769195d0bd03
7
+ data.tar.gz: 62559d31eba208c824c54738f73cd851f7a48ef19d92797ebbbf81950a6f309d9a50cf3f15fa95ad3ca7f6eb06adbda0eaf5336b3c2283f2d6ec78b4f90e0904
@@ -1460,9 +1460,9 @@ dependencies = [
1460
1460
 
1461
1461
  [[package]]
1462
1462
  name = "kreuzcrawl"
1463
- version = "0.3.0-rc.87"
1463
+ version = "0.3.0"
1464
1464
  source = "registry+https://github.com/rust-lang/crates.io-index"
1465
- checksum = "5b009a716ab32ed8680946587587f06db0270d797b8ada42da210c80ae8f892e"
1465
+ checksum = "58639a8f13e51670805cf556fcd62a5b0d92cbf5ebeb1ff4740ce189bc45d0e7"
1466
1466
  dependencies = [
1467
1467
  "ahash",
1468
1468
  "aho-corasick",
@@ -1502,7 +1502,7 @@ dependencies = [
1502
1502
 
1503
1503
  [[package]]
1504
1504
  name = "kreuzcrawl-rb"
1505
- version = "0.3.0-rc.87"
1505
+ version = "0.3.0"
1506
1506
  dependencies = [
1507
1507
  "futures",
1508
1508
  "kreuzcrawl",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "kreuzcrawl-rb"
3
- version = "0.3.0-rc.87"
3
+ version = "0.3.0"
4
4
  edition = "2024"
5
5
  license = "Elastic-2.0"
6
6
  description = "High-performance web crawling engine"
@@ -18,7 +18,7 @@ crate-type = ["cdylib"]
18
18
 
19
19
  [dependencies]
20
20
  futures = "0.3"
21
- kreuzcrawl = { version = "0.3.0-rc.87", features = ["interact", "browser-chromiumoxide"] }
21
+ kreuzcrawl = { version = "0.3.0", features = ["interact", "browser-chromiumoxide"] }
22
22
  magnus = "0.8"
23
23
  rb-sys = ">=0.9, <0.9.128"
24
24
  serde = { version = "1", features = ["derive"] }
@@ -1,5 +1,5 @@
1
1
  // This file is auto-generated by alef. DO NOT EDIT.
2
- // alef:hash:6de2d7a3fff7e34a7488334afa8e014e203513905446c2f051c0110b98c25d84
2
+ // alef:hash:c71da313df7b9a37bdd4f997f05150b92dfa5e723d3e2a4db0adafea6f951837
3
3
  // Re-generate with: alef generate
4
4
  #![allow(dead_code, unused_imports, unused_variables)]
5
5
  #![allow(
@@ -4677,9 +4677,11 @@ impl magnus::TryConvert for AuthConfig {
4677
4677
  })?
4678
4678
  };
4679
4679
  // Try deserializing as JSON first (handles JSON strings like "\"markdown\"" or "{\"click\":{\"selector\":\"...\"}}\"")
4680
+ // For internally-tagged enums, a bare variant string is wrapped as {"<tag>": value}.
4680
4681
  // If that fails, try treating it as a plain string value and wrap in quotes
4681
4682
  // If both fail, try as Custom variant (for untagged enum support)
4682
4683
  serde_json::from_str(&json_str)
4684
+ .or_else(|_| serde_json::from_value(serde_json::json!({ "type": json_str })))
4683
4685
  .or_else(|_| serde_json::from_str(&format!("\"{json_str}\"")))
4684
4686
  .or_else(|_| {
4685
4687
  // Try as a JSON string for Custom variant (untagged enums accept any remaining value)
@@ -4946,9 +4948,11 @@ impl magnus::TryConvert for CrawlEvent {
4946
4948
  })?
4947
4949
  };
4948
4950
  // Try deserializing as JSON first (handles JSON strings like "\"markdown\"" or "{\"click\":{\"selector\":\"...\"}}\"")
4951
+ // For internally-tagged enums, a bare variant string is wrapped as {"<tag>": value}.
4949
4952
  // If that fails, try treating it as a plain string value and wrap in quotes
4950
4953
  // If both fail, try as Custom variant (for untagged enum support)
4951
4954
  serde_json::from_str(&json_str)
4955
+ .or_else(|_| serde_json::from_value(serde_json::json!({ "type": json_str })))
4952
4956
  .or_else(|_| serde_json::from_str(&format!("\"{json_str}\"")))
4953
4957
  .or_else(|_| {
4954
4958
  // Try as a JSON string for Custom variant (untagged enums accept any remaining value)
@@ -5029,9 +5033,11 @@ impl magnus::TryConvert for PageAction {
5029
5033
  })?
5030
5034
  };
5031
5035
  // Try deserializing as JSON first (handles JSON strings like "\"markdown\"" or "{\"click\":{\"selector\":\"...\"}}\"")
5036
+ // For internally-tagged enums, a bare variant string is wrapped as {"<tag>": value}.
5032
5037
  // If that fails, try treating it as a plain string value and wrap in quotes
5033
5038
  // If both fail, try as Custom variant (for untagged enum support)
5034
5039
  serde_json::from_str(&json_str)
5040
+ .or_else(|_| serde_json::from_value(serde_json::json!({ "type": json_str })))
5035
5041
  .or_else(|_| serde_json::from_str(&format!("\"{json_str}\"")))
5036
5042
  .or_else(|_| {
5037
5043
  // Try as a JSON string for Custom variant (untagged enums accept any remaining value)
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:6de2d7a3fff7e34a7488334afa8e014e203513905446c2f051c0110b98c25d84
2
+ # alef:hash:c71da313df7b9a37bdd4f997f05150b92dfa5e723d3e2a4db0adafea6f951837
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
  # frozen_string_literal: true
@@ -1,10 +1,10 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:6de2d7a3fff7e34a7488334afa8e014e203513905446c2f051c0110b98c25d84
2
+ # alef:hash:c71da313df7b9a37bdd4f997f05150b92dfa5e723d3e2a4db0adafea6f951837
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
  # frozen_string_literal: true
6
6
 
7
7
  module Kreuzcrawl
8
8
  ## The version string for this package.
9
- VERSION = "0.3.0.pre.rc.87"
9
+ VERSION = "0.3.0"
10
10
  end
data/lib/kreuzcrawl.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:6de2d7a3fff7e34a7488334afa8e014e203513905446c2f051c0110b98c25d84
2
+ # alef:hash:c71da313df7b9a37bdd4f997f05150b92dfa5e723d3e2a4db0adafea6f951837
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
  # frozen_string_literal: true
data/lib/kreuzcrawl_rb.so CHANGED
Binary file
data/sig/types.rbs CHANGED
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:6de2d7a3fff7e34a7488334afa8e014e203513905446c2f051c0110b98c25d84
2
+ # alef:hash:c71da313df7b9a37bdd4f997f05150b92dfa5e723d3e2a4db0adafea6f951837
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kreuzcrawl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.pre.rc.87
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kreuzberg Team