html-to-markdown 3.5.0.pre.rc.1-aarch64-linux → 3.5.0.pre.rc.2-aarch64-linux

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: a73aa59de86151bba5e3d8ffe5a8f4e6ca52c1f87483e8bd1c8f31059c4bee32
4
- data.tar.gz: 119bca83a886747d4bb4d6f5559a0e1eca68b5ab4c121c93d3aa9fd7896a38b4
3
+ metadata.gz: 3be90352d4ab0b7efd435143c56d7dd26b2cfa94d1d57b5b01ffcceb53b16ed0
4
+ data.tar.gz: a7405d8445a7e45ddfb129612e649396b6b629fd4af178f4ae6b40813b0380aa
5
5
  SHA512:
6
- metadata.gz: 22a19fb994f99a1d599b81ab7d15b4bc9899cdc42b6ec47fb996b0f5b1d78cca9d071092514f1dcdd6999452ef1c96d3acf612ec85b18f32839f61c7350b9e80
7
- data.tar.gz: 3888d4f31bc77d9ae65f5256800b1aadf532627b727d22179c6478d91fcc61d111a8b482edcb73ad406e0bff14278d262abaf88d9561954fd29f1929544fbb35
6
+ metadata.gz: 2773d473f7fc194062ca10eb48df51616ce85d4520e2eb4d38a50f6898329044766e00cc3f3fc06484a596c0f785f652258d6fe8b0ff7a8a5ca0273d33d5ac2c
7
+ data.tar.gz: ad8c3cad212f02760637d2fb2cb31db5d148d338af97d5b3d29c2d44e1c539645afd9b5c3aecbcb62f39e39c14b466eceb834101caaac5a73f69f1b9fe044e0c
@@ -1,7 +1,7 @@
1
1
 
2
2
  [package]
3
3
  name = "html-to-markdown-rb"
4
- version = "3.5.0-rc.1"
4
+ version = "3.5.0-rc.2"
5
5
  edition = "2024"
6
6
  license = "MIT"
7
7
  [workspace]
@@ -263,7 +263,7 @@ dependencies = [
263
263
 
264
264
  [[package]]
265
265
  name = "html-to-markdown-rb"
266
- version = "3.5.0"
266
+ version = "3.5.0-rc.2"
267
267
  dependencies = [
268
268
  "async-trait",
269
269
  "html-to-markdown-rs",
@@ -275,7 +275,7 @@ dependencies = [
275
275
 
276
276
  [[package]]
277
277
  name = "html-to-markdown-rs"
278
- version = "3.5.0-rc.1"
278
+ version = "3.5.0-rc.2"
279
279
  dependencies = [
280
280
  "ahash",
281
281
  "astral-tl",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "html-to-markdown-rb"
3
- version = "3.5.0"
3
+ version = "3.5.0-rc.2"
4
4
  edition = "2024"
5
5
  license = "MIT"
6
6
  description = "High-performance HTML to Markdown converter"
@@ -15,13 +15,7 @@ crate-type = ["cdylib"]
15
15
 
16
16
  [dependencies]
17
17
  async-trait = "0.1"
18
- html-to-markdown-rs = { path = "../../../../../crates/html-to-markdown", features = [
19
- "full",
20
- "metadata",
21
- "visitor",
22
- "serde",
23
- "inline-images",
24
- ] }
18
+ html-to-markdown-rs = { version = "3.5.0-rc.2", path = "../../../../../crates/html-to-markdown", features = ["full", "metadata", "visitor", "serde", "inline-images"] }
25
19
  magnus = "0.8"
26
20
  serde = { version = "1", features = ["derive"] }
27
21
  serde_json = "1"
@@ -1,5 +1,5 @@
1
1
  // This file is auto-generated by alef. DO NOT EDIT.
2
- // alef:hash:2646e7a767b18910277d1f2246dcb76cda420f44acc29fe5e27ff8ada3c3a9c8
2
+ // alef:hash:037680f235275d219f36c92bc439d6099c3dea34a53f0a667715daba72b5c5e3
3
3
  // Re-generate with: alef generate
4
4
  #![allow(dead_code, unused_imports, unused_variables)]
5
5
  #![allow(
@@ -3189,7 +3189,7 @@ pub enum NodeContent {
3189
3189
  content: String,
3190
3190
  },
3191
3191
  MetadataBlock {
3192
- entries: Vec<String>,
3192
+ entries: Vec<Vec<String>>,
3193
3193
  },
3194
3194
  Group {
3195
3195
  label: Option<String>,
@@ -6193,7 +6193,13 @@ impl From<NodeContent> for html_to_markdown_rs::NodeContent {
6193
6193
  NodeContent::DefinitionItem { term, definition } => Self::DefinitionItem { term, definition },
6194
6194
  NodeContent::RawBlock { format, content } => Self::RawBlock { format, content },
6195
6195
  NodeContent::MetadataBlock { entries } => Self::MetadataBlock {
6196
- entries: entries.iter().filter_map(|s| serde_json::from_str(s).ok()).collect(),
6196
+ entries: entries
6197
+ .iter()
6198
+ .filter_map(|inner| {
6199
+ let mut it = inner.iter().cloned();
6200
+ Some((it.next()?, it.next()?))
6201
+ })
6202
+ .collect(),
6197
6203
  },
6198
6204
  NodeContent::Group {
6199
6205
  label,
@@ -6233,7 +6239,10 @@ impl From<html_to_markdown_rs::NodeContent> for NodeContent {
6233
6239
  }
6234
6240
  html_to_markdown_rs::NodeContent::RawBlock { format, content } => Self::RawBlock { format, content },
6235
6241
  html_to_markdown_rs::NodeContent::MetadataBlock { entries } => Self::MetadataBlock {
6236
- entries: entries.iter().map(|i| format!("{:?}", i)).collect(),
6242
+ entries: entries
6243
+ .iter()
6244
+ .map(|(a, b)| vec![a.to_string(), b.to_string()])
6245
+ .collect(),
6237
6246
  },
6238
6247
  html_to_markdown_rs::NodeContent::Group {
6239
6248
  label,
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:426e087c5cc5772c8d493503d16ba3c060f7e2919d1cee22b436155335713ef1
2
+ # alef:hash:5517c8b26656b6a2f5d23d4fcf6d5595fb6c10c6a1693db1f0f9f2052d4e3750
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
  # Issues & docs: https://github.com/kreuzberg-dev/alef
@@ -703,7 +703,7 @@ module HtmlToMarkdown
703
703
  extend T::Sig
704
704
 
705
705
  # Key-value metadata pairs.
706
- sig { returns(T::Array[String]) }
706
+ sig { returns(T::Array[T::Array[String]]) }
707
707
  def entries = super # rubocop:disable Lint/UselessMethodDefinition
708
708
 
709
709
  sig { returns(T::Boolean) }
@@ -1,10 +1,10 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:953f6aad70c613cbaa152bad546114f187e4a10c20f140f17097730d166cc833
2
+ # alef:hash:f334b1ad877ffc38a0f3282142b2940f65cfb4b9a7d05e871eb1378d3a2f8ad6
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
  # Issues & docs: https://github.com/kreuzberg-dev/alef
6
6
  # frozen_string_literal: true
7
7
 
8
8
  module HtmlToMarkdown
9
- VERSION = "3.5.0.pre.rc.1"
9
+ VERSION = "3.5.0.pre.rc.2"
10
10
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-to-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0.pre.rc.1
4
+ version: 3.5.0.pre.rc.2
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Kreuzberg Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-24 00:00:00.000000000 Z
11
+ date: 2026-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys