html-to-markdown 2.16.0 → 2.18.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 +90 -10
- data/README.md +99 -302
- data/bin/benchmark.rb +100 -12
- data/ext/html-to-markdown-rb/native/Cargo.toml +7 -5
- data/ext/html-to-markdown-rb/native/README.md +5 -5
- data/ext/html-to-markdown-rb/native/src/lib.rs +951 -0
- data/ext/html-to-markdown-rb/native/src/profiling.rs +4 -0
- data/html-to-markdown-rb.gemspec +6 -6
- data/lib/html_to_markdown/version.rb +1 -1
- data/sig/html_to_markdown.rbs +110 -0
- data/spec/visitor_spec.rb +1149 -0
- metadata +9 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 46277b2cbcf02b063ea61a2fe083829ac80bd395e10c5799f7ace0e82cfdf4ed
|
|
4
|
+
data.tar.gz: fbbd6a3ef8f45cc35d85ac7a51b77361c198ab13c981ebb0dc5ad703df8de54c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57db78a9ffbd68b713a4265a0d7cc68d67fbab07ac8a9963b5b7e1c213ce9ec0aec8ef4cbc5cb76aa67bc0cd4b8f976efd45f0e55c458f85136174f25344e74b
|
|
7
|
+
data.tar.gz: 70dcae164812ac269efb2b0a36224b4320b0f1f6341970ee5d626666189d6ede0aac3921edb72f36f30896e257eefdbd55b09328613f02abde501721bd31e944
|
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.18.0)
|
|
5
5
|
rb_sys (>= 0.9, < 1.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -29,9 +29,18 @@ GEM
|
|
|
29
29
|
diff-lcs (1.6.2)
|
|
30
30
|
drb (2.2.3)
|
|
31
31
|
ffi (1.17.2)
|
|
32
|
+
ffi (1.17.2-aarch64-linux-gnu)
|
|
33
|
+
ffi (1.17.2-aarch64-linux-musl)
|
|
34
|
+
ffi (1.17.2-arm-linux-gnu)
|
|
35
|
+
ffi (1.17.2-arm-linux-musl)
|
|
32
36
|
ffi (1.17.2-arm64-darwin)
|
|
37
|
+
ffi (1.17.2-x86-linux-gnu)
|
|
38
|
+
ffi (1.17.2-x86-linux-musl)
|
|
39
|
+
ffi (1.17.2-x86_64-darwin)
|
|
40
|
+
ffi (1.17.2-x86_64-linux-gnu)
|
|
41
|
+
ffi (1.17.2-x86_64-linux-musl)
|
|
33
42
|
fileutils (1.8.0)
|
|
34
|
-
i18n (1.14.
|
|
43
|
+
i18n (1.14.8)
|
|
35
44
|
concurrent-ruby (~> 1.0)
|
|
36
45
|
json (2.18.0)
|
|
37
46
|
language_server-protocol (3.17.0.5)
|
|
@@ -40,7 +49,7 @@ GEM
|
|
|
40
49
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
41
50
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
42
51
|
logger (1.7.0)
|
|
43
|
-
minitest (6.0.
|
|
52
|
+
minitest (6.0.1)
|
|
44
53
|
prism (~> 1.5)
|
|
45
54
|
mutex_m (0.3.0)
|
|
46
55
|
parallel (1.27.0)
|
|
@@ -59,7 +68,7 @@ GEM
|
|
|
59
68
|
ffi (~> 1.0)
|
|
60
69
|
rb_sys (0.9.123)
|
|
61
70
|
rake-compiler-dock (= 1.10.0)
|
|
62
|
-
rbs (3.
|
|
71
|
+
rbs (3.10.0)
|
|
63
72
|
logger
|
|
64
73
|
regexp_parser (2.11.3)
|
|
65
74
|
rspec (3.13.2)
|
|
@@ -75,7 +84,7 @@ GEM
|
|
|
75
84
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
76
85
|
rspec-support (~> 3.13.0)
|
|
77
86
|
rspec-support (3.13.6)
|
|
78
|
-
rubocop (1.82.
|
|
87
|
+
rubocop (1.82.1)
|
|
79
88
|
json (~> 2.3)
|
|
80
89
|
language_server-protocol (~> 3.17.0.2)
|
|
81
90
|
lint_roller (~> 1.1.0)
|
|
@@ -86,9 +95,9 @@ GEM
|
|
|
86
95
|
rubocop-ast (>= 1.48.0, < 2.0)
|
|
87
96
|
ruby-progressbar (~> 1.7)
|
|
88
97
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
89
|
-
rubocop-ast (1.
|
|
98
|
+
rubocop-ast (1.49.0)
|
|
90
99
|
parser (>= 3.3.7.2)
|
|
91
|
-
prism (~> 1.
|
|
100
|
+
prism (~> 1.7)
|
|
92
101
|
rubocop-rspec (3.8.0)
|
|
93
102
|
lint_roller (~> 1.1)
|
|
94
103
|
rubocop (~> 1.81)
|
|
@@ -122,8 +131,17 @@ GEM
|
|
|
122
131
|
uri (1.1.1)
|
|
123
132
|
|
|
124
133
|
PLATFORMS
|
|
125
|
-
|
|
134
|
+
aarch64-linux-gnu
|
|
135
|
+
aarch64-linux-musl
|
|
136
|
+
arm-linux-gnu
|
|
137
|
+
arm-linux-musl
|
|
138
|
+
arm64-darwin
|
|
126
139
|
ruby
|
|
140
|
+
x86-linux-gnu
|
|
141
|
+
x86-linux-musl
|
|
142
|
+
x86_64-darwin
|
|
143
|
+
x86_64-linux-gnu
|
|
144
|
+
x86_64-linux-musl
|
|
127
145
|
|
|
128
146
|
DEPENDENCIES
|
|
129
147
|
html-to-markdown!
|
|
@@ -135,8 +153,70 @@ DEPENDENCIES
|
|
|
135
153
|
rubocop-rspec
|
|
136
154
|
steep
|
|
137
155
|
|
|
156
|
+
CHECKSUMS
|
|
157
|
+
activesupport (8.1.1) sha256=5e92534e8d0c8b8b5e6b16789c69dbea65c1d7b752269f71a39422e9546cea67
|
|
158
|
+
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
159
|
+
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
160
|
+
bigdecimal (4.0.1) sha256=8b07d3d065a9f921c80ceaea7c9d4ae596697295b584c296fe599dd0ad01c4a7
|
|
161
|
+
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
|
|
162
|
+
connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
|
|
163
|
+
csv (3.3.5) sha256=6e5134ac3383ef728b7f02725d9872934f523cb40b961479f69cf3afa6c8e73f
|
|
164
|
+
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
165
|
+
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
166
|
+
ffi (1.17.2) sha256=297235842e5947cc3036ebe64077584bff583cd7a4e94e9a02fdec399ef46da6
|
|
167
|
+
ffi (1.17.2-aarch64-linux-gnu) sha256=c910bd3cae70b76690418cce4572b7f6c208d271f323d692a067d59116211a1a
|
|
168
|
+
ffi (1.17.2-aarch64-linux-musl) sha256=69e6556b091d45df83e6c3b19d3c54177c206910965155a6ec98de5e893c7b7c
|
|
169
|
+
ffi (1.17.2-arm-linux-gnu) sha256=d4a438f2b40224ae42ec72f293b3ebe0ba2159f7d1bd47f8417e6af2f68dbaa5
|
|
170
|
+
ffi (1.17.2-arm-linux-musl) sha256=977dfb7f3a6381206dbda9bc441d9e1f9366bf189a634559c3b7c182c497aaa3
|
|
171
|
+
ffi (1.17.2-arm64-darwin) sha256=54dd9789be1d30157782b8de42d8f887a3c3c345293b57ffb6b45b4d1165f813
|
|
172
|
+
ffi (1.17.2-x86-linux-gnu) sha256=95d8f9ebea23c39888e2ab85a02c98f54acb2f4e79b829250d7267ce741dc7b0
|
|
173
|
+
ffi (1.17.2-x86-linux-musl) sha256=41741449bab2b9530f42a47baa5c26263925306fad0ac2d60887f51af2e3b24c
|
|
174
|
+
ffi (1.17.2-x86_64-darwin) sha256=981f2d4e32ea03712beb26e55e972797c2c5a7b0257955d8667ba58f2da6440e
|
|
175
|
+
ffi (1.17.2-x86_64-linux-gnu) sha256=05d2026fc9dbb7cfd21a5934559f16293815b7ce0314846fee2ac8efbdb823ea
|
|
176
|
+
ffi (1.17.2-x86_64-linux-musl) sha256=97c0eb3981414309285a64dc4d466bd149e981c279a56371ef811395d68cb95c
|
|
177
|
+
fileutils (1.8.0) sha256=8c6b1df54e2540bdb2f39258f08af78853aa70bad52b4d394bbc6424593c6e02
|
|
178
|
+
html-to-markdown (2.18.0)
|
|
179
|
+
i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
|
|
180
|
+
json (2.18.0) sha256=b10506aee4183f5cf49e0efc48073d7b75843ce3782c68dbeb763351c08fd505
|
|
181
|
+
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
|
|
182
|
+
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
|
183
|
+
listen (3.9.0) sha256=db9e4424e0e5834480385197c139cb6b0ae0ef28cc13310cfd1ca78377d59c67
|
|
184
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
185
|
+
minitest (6.0.1) sha256=7854c74f48e2e975969062833adc4013f249a4b212f5e7b9d5c040bf838d54bb
|
|
186
|
+
mutex_m (0.3.0) sha256=cfcb04ac16b69c4813777022fdceda24e9f798e48092a2b817eb4c0a782b0751
|
|
187
|
+
parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
|
|
188
|
+
parser (3.3.10.0) sha256=ce3587fa5cc55a88c4ba5b2b37621b3329aadf5728f9eafa36bbd121462aabd6
|
|
189
|
+
prism (1.7.0) sha256=10062f734bf7985c8424c44fac382ac04a58124ea3d220ec3ba9fe4f2da65103
|
|
190
|
+
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
|
191
|
+
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
|
192
|
+
rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
|
|
193
|
+
rake-compiler (1.3.1) sha256=6b351612b6e2d73ddd5563ee799bb58685176e05363db6758504bd11573d670a
|
|
194
|
+
rake-compiler-dock (1.10.0) sha256=dd62ee19df2a185a3315697e560cfa8cc9129901332152851e023fab0e94bf11
|
|
195
|
+
rb-fsevent (0.11.2) sha256=43900b972e7301d6570f64b850a5aa67833ee7d87b458ee92805d56b7318aefe
|
|
196
|
+
rb-inotify (0.11.1) sha256=a0a700441239b0ff18eb65e3866236cd78613d6b9f78fea1f9ac47a85e47be6e
|
|
197
|
+
rb_sys (0.9.123) sha256=c22ae84d1bca3eec0f13a45ae4ca9ba6eace93d5be270a40a9c0a9a5b92a34e5
|
|
198
|
+
rbs (3.10.0) sha256=e75b5f1313c71c9ee0fcea68bf97d3e5fe8ec7a641d4b5cd18bbc28c94ddf298
|
|
199
|
+
regexp_parser (2.11.3) sha256=ca13f381a173b7a93450e53459075c9b76a10433caadcb2f1180f2c741fc55a4
|
|
200
|
+
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
|
|
201
|
+
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
|
|
202
|
+
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
|
203
|
+
rspec-mocks (3.13.7) sha256=0979034e64b1d7a838aaaddf12bf065ea4dc40ef3d4c39f01f93ae2c66c62b1c
|
|
204
|
+
rspec-support (3.13.6) sha256=2e8de3702427eab064c9352fe74488cc12a1bfae887ad8b91cba480ec9f8afb2
|
|
205
|
+
rubocop (1.82.1) sha256=09f1a6a654a960eda767aebea33e47603080f8e9c9a3f019bf9b94c9cab5e273
|
|
206
|
+
rubocop-ast (1.49.0) sha256=49c3676d3123a0923d333e20c6c2dbaaae2d2287b475273fddee0c61da9f71fd
|
|
207
|
+
rubocop-rspec (3.8.0) sha256=28440dccb3f223a9938ca1f946bd3438275b8c6c156dab909e2cb8bc424cab33
|
|
208
|
+
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
209
|
+
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
|
210
|
+
steep (1.10.0) sha256=1b295b55f9aaff1b8d3ee42453ee55bc2a1078fda0268f288edb2dc014f4d7d1
|
|
211
|
+
strscan (3.1.6) sha256=ebd56df0b0468b00a1f2004b4078c34df58c3506b2bba939e7531892aece81f3
|
|
212
|
+
terminal-table (4.0.0) sha256=f504793203f8251b2ea7c7068333053f0beeea26093ec9962e62ea79f94301d2
|
|
213
|
+
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
|
|
214
|
+
unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
|
|
215
|
+
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
|
|
216
|
+
uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
|
|
217
|
+
|
|
138
218
|
RUBY VERSION
|
|
139
|
-
ruby 3.
|
|
219
|
+
ruby 3.4.8
|
|
140
220
|
|
|
141
221
|
BUNDLED WITH
|
|
142
|
-
4.0.
|
|
222
|
+
4.0.3
|