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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3379397b6ae27be70db2a885eff8de137ccab02d3adc8854712a9676fc5617ca
4
- data.tar.gz: c107b99c5122fea958ae43cac8490d5a4f6c8cf65c248936fc708e707401fd5a
3
+ metadata.gz: 83e4b5e79af62b74a0a7fcb4ab999c4fe8883b480fdbdd8d431943ad463e2e01
4
+ data.tar.gz: 39b32ca5003e3d6efc2ecda97b20f5dfeaa040ff9887478c5947dee505af5fc6
5
5
  SHA512:
6
- metadata.gz: 41c09c5389a409349f9f960101e91fb2fd49da0e22bdafd466ecc904190aa6fdade46b08f5655056810335c5249afac079f8a9ce0097e207cdcb318cf9296598
7
- data.tar.gz: 106b43f744394e58d21c956d0b69f8de663961b64ed7db463a67974ced8d90ef7358f975605e6d3ad9e447678a2a9b38e2fb7e2e2bf12e6d2d6dd08ea04561f7
6
+ metadata.gz: 34a96d0a074b1393d14f7e44d3d9e76e34dd8c79f7a1c3a398e3bf0a08e0d68c7f3a01de1d575fee3b33238fe6740d0427848aac36c268a05eceaba69ad62744
7
+ data.tar.gz: 8259f960f0e586dac7013e1f8da646916ebc3e7b4e10b313eb4457669b2a6c7f5c5ded69a5e437398bab377f62aac166ba075c559b81a49db48a2d768386e4a3
Binary file
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:1bd3c99db21c2ca078644f1e220656297c784bcca532f13d3b7efed3f45dbb0b
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
- return self[:_0] || self['_0'] || self if snake_case_method == format_type.to_s.downcase
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:4ce3ba64cbea5c72b082111f57a04e219e555fda52859a9673edcec555031706
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.44'
9
+ VERSION = '3.4.0.pre.rc.45'
10
10
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-to-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0.pre.rc.44
4
+ version: 3.4.0.pre.rc.45
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Kreuzberg Team