html-to-markdown 3.8.0 → 3.8.1

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.
@@ -1,48 +1,48 @@
1
1
  module HtmlToMarkdown
2
- module CLIProxy
3
- # Base error class
4
- class Error < StandardError
5
- end
2
+ module CLIProxy
3
+ # Base error class
4
+ class Error < StandardError
5
+ end
6
6
 
7
- # Error when CLI binary is not found
8
- class MissingBinaryError < Error
9
- end
7
+ # Error when CLI binary is not found
8
+ class MissingBinaryError < Error
9
+ end
10
10
 
11
- # Error when CLI execution fails
12
- class CLIExecutionError < Error
13
- attr_reader stderr: String
14
- attr_reader status: Integer?
11
+ # Error when CLI execution fails
12
+ class CLIExecutionError < Error
13
+ attr_reader stderr: String
14
+ attr_reader status: Integer?
15
15
 
16
- def initialize: (String message, stderr: String, status: Integer?) -> void
17
- end
16
+ def initialize: (String message, stderr: String, status: Integer?) -> void
17
+ end
18
18
 
19
- # Module methods (module_function creates both module and instance methods)
19
+ # Module methods (module_function creates both module and instance methods)
20
20
 
21
- # Execute CLI with given arguments
22
- def self.call: (Array[String] argv) -> String
21
+ # Execute CLI with given arguments
22
+ def self.call: (Array[String] argv) -> String
23
23
 
24
- # Find the CLI binary in search paths
24
+ # Find the CLI binary in search paths
25
25
  def self.find_cli_binary: () -> Pathname
26
26
 
27
- # Get root path of the gem
27
+ # Get root path of the gem
28
28
  def self.root_path: () -> Pathname
29
29
 
30
- # Get lib path of the gem
30
+ # Get lib path of the gem
31
31
  def self.lib_path: () -> Pathname
32
32
 
33
- # Get search paths for CLI binary
34
- def self.search_paths: (String binary_name) -> Array[Pathname]
33
+ # Get search paths for CLI binary
34
+ def self.search_paths: (String binary_name) -> Array[Pathname]
35
35
 
36
- # Get error message for missing binary
36
+ # Get error message for missing binary
37
37
  def self.missing_binary_message: () -> String
38
38
 
39
- # Instance method versions (created by module_function)
39
+ # Instance method versions (created by module_function)
40
40
 
41
- def call: (Array[String] argv) -> String
41
+ def call: (Array[String] argv) -> String
42
42
  def find_cli_binary: () -> Pathname
43
43
  def root_path: () -> Pathname
44
44
  def lib_path: () -> Pathname
45
- def search_paths: (String binary_name) -> Array[Pathname]
45
+ def search_paths: (String binary_name) -> Array[Pathname]
46
46
  def missing_binary_message: () -> String
47
- end
47
+ end
48
48
  end
data/sig/open3.rbs CHANGED
@@ -1,12 +1,12 @@
1
1
  # Type signature for Open3 standard library
2
2
  module Open3
3
- # Execute command and capture stdout, stderr, and status
4
- #
5
- # @param cmd Command to execute
6
- # @param args Command arguments
7
- # @return Array containing stdout (String), stderr (String), and status (Process::Status)
8
- def self.capture3: (
9
- String cmd,
10
- *String args
11
- ) -> [String, String, Process::Status]
3
+ # Execute command and capture stdout, stderr, and status
4
+ #
5
+ # @param cmd Command to execute
6
+ # @param args Command arguments
7
+ # @return Array containing stdout (String), stderr (String), and status (Process::Status)
8
+ def self.capture3: (
9
+ String cmd,
10
+ *String args
11
+ ) -> [String, String, Process::Status]
12
12
  end