html-to-markdown 2.14.10 → 2.15.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 +4 -4
- data/Gemfile.lock +12 -11
- data/README.md +3 -0
- data/ext/html-to-markdown-rb/native/Cargo.toml +2 -2
- data/lib/html_to_markdown/version.rb +1 -1
- 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: b63f7961f8ff85d6b1af2095e9033365d35d53d7370b9b76da970ca5202c338e
|
|
4
|
+
data.tar.gz: ce6d5595eaa8796e11ab377e17cb722119512273f1c24c38a10d441fe8073a82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a07e1a18462aeeed9fb13a6fe62ed4ad04620bc34208f7a1a8510f4949dc4dd7465a94e7cee72483db5317f14a297aa2004663fe4ddab86582be9c44980608c9
|
|
7
|
+
data.tar.gz: 77b1a8aa989c37e1d52ddefbe71c36dc1a12ac7f35923003cd266ac4689a964c90774d587d9fe9392f007f6df967d675e8039c7227bc741992e67c393824a584
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
html-to-markdown (2.
|
|
4
|
+
html-to-markdown (2.15.0)
|
|
5
5
|
rb_sys (>= 0.9, < 1.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -22,8 +22,8 @@ GEM
|
|
|
22
22
|
uri (>= 0.13.1)
|
|
23
23
|
ast (2.4.3)
|
|
24
24
|
base64 (0.3.0)
|
|
25
|
-
bigdecimal (
|
|
26
|
-
concurrent-ruby (1.3.
|
|
25
|
+
bigdecimal (4.0.1)
|
|
26
|
+
concurrent-ruby (1.3.6)
|
|
27
27
|
connection_pool (3.0.2)
|
|
28
28
|
csv (3.3.5)
|
|
29
29
|
diff-lcs (1.6.2)
|
|
@@ -40,23 +40,24 @@ GEM
|
|
|
40
40
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
41
41
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
42
42
|
logger (1.7.0)
|
|
43
|
-
minitest (
|
|
43
|
+
minitest (6.0.0)
|
|
44
|
+
prism (~> 1.5)
|
|
44
45
|
mutex_m (0.3.0)
|
|
45
46
|
parallel (1.27.0)
|
|
46
47
|
parser (3.3.10.0)
|
|
47
48
|
ast (~> 2.4.1)
|
|
48
49
|
racc
|
|
49
|
-
prism (1.
|
|
50
|
+
prism (1.7.0)
|
|
50
51
|
racc (1.8.1)
|
|
51
52
|
rainbow (3.1.1)
|
|
52
53
|
rake (13.3.1)
|
|
53
|
-
rake-compiler (1.3.
|
|
54
|
+
rake-compiler (1.3.1)
|
|
54
55
|
rake
|
|
55
56
|
rake-compiler-dock (1.10.0)
|
|
56
57
|
rb-fsevent (0.11.2)
|
|
57
58
|
rb-inotify (0.11.1)
|
|
58
59
|
ffi (~> 1.0)
|
|
59
|
-
rb_sys (0.9.
|
|
60
|
+
rb_sys (0.9.123)
|
|
60
61
|
rake-compiler-dock (= 1.10.0)
|
|
61
62
|
rbs (3.9.5)
|
|
62
63
|
logger
|
|
@@ -74,7 +75,7 @@ GEM
|
|
|
74
75
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
75
76
|
rspec-support (~> 3.13.0)
|
|
76
77
|
rspec-support (3.13.6)
|
|
77
|
-
rubocop (1.
|
|
78
|
+
rubocop (1.82.0)
|
|
78
79
|
json (~> 2.3)
|
|
79
80
|
language_server-protocol (~> 3.17.0.2)
|
|
80
81
|
lint_roller (~> 1.1.0)
|
|
@@ -82,7 +83,7 @@ GEM
|
|
|
82
83
|
parser (>= 3.3.0.2)
|
|
83
84
|
rainbow (>= 2.2.2, < 4.0)
|
|
84
85
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
85
|
-
rubocop-ast (>= 1.
|
|
86
|
+
rubocop-ast (>= 1.48.0, < 2.0)
|
|
86
87
|
ruby-progressbar (~> 1.7)
|
|
87
88
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
88
89
|
rubocop-ast (1.48.0)
|
|
@@ -110,14 +111,14 @@ GEM
|
|
|
110
111
|
strscan (>= 1.0.0)
|
|
111
112
|
terminal-table (>= 2, < 5)
|
|
112
113
|
uri (>= 0.12.0)
|
|
113
|
-
strscan (3.1.
|
|
114
|
+
strscan (3.1.6)
|
|
114
115
|
terminal-table (4.0.0)
|
|
115
116
|
unicode-display_width (>= 1.1.1, < 4)
|
|
116
117
|
tzinfo (2.0.6)
|
|
117
118
|
concurrent-ruby (~> 1.0)
|
|
118
119
|
unicode-display_width (3.2.0)
|
|
119
120
|
unicode-emoji (~> 4.1)
|
|
120
|
-
unicode-emoji (4.
|
|
121
|
+
unicode-emoji (4.2.0)
|
|
121
122
|
uri (1.1.1)
|
|
122
123
|
|
|
123
124
|
PLATFORMS
|
data/README.md
CHANGED
|
@@ -449,6 +449,9 @@ Conversion errors raise `HtmlToMarkdown::Error` (wrapping the Rust error context
|
|
|
449
449
|
|
|
450
450
|
Rescue them to provide clearer feedback in your application.
|
|
451
451
|
|
|
452
|
+
Inputs that look like binary data (e.g., PDF bytes coerced to a string) raise `HtmlToMarkdown::Error` with an
|
|
453
|
+
`Invalid input` message.
|
|
454
|
+
|
|
452
455
|
## Consistent Across Languages
|
|
453
456
|
|
|
454
457
|
The Ruby gem shares the exact Rust core with:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "html-to-markdown-rb"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.15.0"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
authors = ["Na'aman Hirschfeld <nhirschfeld@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -22,7 +22,7 @@ default = ["metadata"]
|
|
|
22
22
|
metadata = ["html-to-markdown-rs/metadata"]
|
|
23
23
|
|
|
24
24
|
[dependencies]
|
|
25
|
-
html-to-markdown-rs = { version = "2.
|
|
25
|
+
html-to-markdown-rs = { version = "2.15.0", features = ["inline-images"] }
|
|
26
26
|
magnus = { git = "https://github.com/matsadler/magnus", rev = "f6db11769efb517427bf7f121f9c32e18b059b38", features = ["rb-sys"] }
|
|
27
27
|
|
|
28
28
|
[dev-dependencies]
|
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: 2.
|
|
4
|
+
version: 2.15.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Na'aman Hirschfeld
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rb_sys
|