html-to-markdown 3.4.0.pre.rc.44-aarch64-linux → 3.4.0.pre.rc.45-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/lib/bin/html-to-markdown +0 -0
- data/lib/html_to_markdown/native.rb +7 -5
- data/lib/html_to_markdown/version.rb +2 -2
- data/lib/html_to_markdown_rb.so +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83e4b5e79af62b74a0a7fcb4ab999c4fe8883b480fdbdd8d431943ad463e2e01
|
|
4
|
+
data.tar.gz: 39b32ca5003e3d6efc2ecda97b20f5dfeaa040ff9887478c5947dee505af5fc6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34a96d0a074b1393d14f7e44d3d9e76e34dd8c79f7a1c3a398e3bf0a08e0d68c7f3a01de1d575fee3b33238fe6740d0427848aac36c268a05eceaba69ad62744
|
|
7
|
+
data.tar.gz: 8259f960f0e586dac7013e1f8da646916ebc3e7b4e10b313eb4457669b2a6c7f5c5ded69a5e437398bab377f62aac166ba075c559b81a49db48a2d768386e4a3
|
data/lib/bin/html-to-markdown
CHANGED
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:5c718821cf533b01ad52b81902a462f47aa0a1fd04079b89e94f85502d1f99ea
|
|
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
|
|
@@ -23,7 +23,7 @@ end
|
|
|
23
23
|
class Hash
|
|
24
24
|
# Support internally-tagged enum accessors like format.excel, format.email, etc.
|
|
25
25
|
# Also support direct field access like format.sheet_count
|
|
26
|
-
def method_missing(method_name, *args, &)
|
|
26
|
+
def method_missing(method_name, *args, &block)
|
|
27
27
|
# Try symbol key first (how Magnus converts JSON keys)
|
|
28
28
|
return self[method_name] if key?(method_name)
|
|
29
29
|
|
|
@@ -31,14 +31,16 @@ class Hash
|
|
|
31
31
|
return self[method_name.to_s] if key?(method_name.to_s)
|
|
32
32
|
|
|
33
33
|
# Check if this hash has a 'format_type' field (indicating an internally-tagged enum)
|
|
34
|
-
format_type = self[:format_type] || self['format_type']
|
|
34
|
+
format_type = self[:'format_type'] || self['format_type']
|
|
35
35
|
return super unless format_type
|
|
36
36
|
|
|
37
37
|
# If the method name matches the format_type (snake_case), extract and return the variant's wrapped data
|
|
38
38
|
# Internally-tagged enums store variant data in the '_0' field (from alef's struct variant conversion)
|
|
39
39
|
# This allows format.excel to return the ExcelMetadata hash with sheet_count, sheet_names, etc.
|
|
40
40
|
snake_case_method = method_name.to_s.downcase
|
|
41
|
-
|
|
41
|
+
if snake_case_method == format_type.to_s.downcase
|
|
42
|
+
return self[:'_0'] || self['_0'] || self
|
|
43
|
+
end
|
|
42
44
|
|
|
43
45
|
super
|
|
44
46
|
end
|
|
@@ -46,7 +48,7 @@ class Hash
|
|
|
46
48
|
def respond_to_missing?(method_name, include_private = false)
|
|
47
49
|
return true if key?(method_name) || key?(method_name.to_s)
|
|
48
50
|
|
|
49
|
-
format_type = self[:format_type] || self['format_type']
|
|
51
|
+
format_type = self[:'format_type'] || self['format_type']
|
|
50
52
|
return false unless format_type
|
|
51
53
|
|
|
52
54
|
snake_case_method = method_name.to_s.downcase
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:38ff512b96e160400de4b9fa4276aa12f513878ab47573b5ead7bc197d95e314
|
|
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.4.0.pre.rc.
|
|
9
|
+
VERSION = '3.4.0.pre.rc.45'
|
|
10
10
|
end
|
data/lib/html_to_markdown_rb.so
CHANGED
|
Binary file
|