Skip to content

Commit 58b9b3e

Browse files
authored
Update require statement for libxml_ruby 6.0.0 (#63)
Requiring libxml no longer works, but `libxml-ruby` does work on older versions too. Tested it locally with `bundle exec rake test XMLRPC_PARSER=libxml` with libxml-ruby 6.0.0 and 5.0.6, I'm not sure if the CI includes this. Co-authored-by: Herwin <herwinw@users.noreply.github.com>
1 parent f47725f commit 58b9b3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/xmlrpc/parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ def parse(str)
595595

596596
class LibXMLStreamParser < AbstractStreamParser
597597
def initialize
598-
require 'libxml'
598+
require 'libxml-ruby'
599599
@parser_class = LibXMLStreamListener
600600
end
601601

0 commit comments

Comments
 (0)