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 +4 -4
- data/ext/html_to_markdown_rb/Cargo.toml +1 -1
- data/ext/html_to_markdown_rb/native/Cargo.lock +2 -2
- data/ext/html_to_markdown_rb/native/Cargo.toml +2 -8
- data/ext/html_to_markdown_rb/src/lib.rs +13 -4
- data/lib/html_to_markdown/native.rb +2 -2
- data/lib/html_to_markdown/version.rb +2 -2
- data/lib/html_to_markdown_rb.so +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3be90352d4ab0b7efd435143c56d7dd26b2cfa94d1d57b5b01ffcceb53b16ed0
|
|
4
|
+
data.tar.gz: a7405d8445a7e45ddfb129612e649396b6b629fd4af178f4ae6b40813b0380aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2773d473f7fc194062ca10eb48df51616ce85d4520e2eb4d38a50f6898329044766e00cc3f3fc06484a596c0f785f652258d6fe8b0ff7a8a5ca0273d33d5ac2c
|
|
7
|
+
data.tar.gz: ad8c3cad212f02760637d2fb2cb31db5d148d338af97d5b3d29c2d44e1c539645afd9b5c3aecbcb62f39e39c14b466eceb834101caaac5a73f69f1b9fe044e0c
|
|
@@ -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.
|
|
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:
|
|
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
|
|
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
|
|
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:
|
|
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:
|
|
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.
|
|
9
|
+
VERSION = "3.5.0.pre.rc.2"
|
|
10
10
|
end
|
data/lib/html_to_markdown_rb.so
CHANGED
|
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.
|
|
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-
|
|
11
|
+
date: 2026-05-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rb_sys
|