Skip to content

Commit 0bbaaf6

Browse files
committed
Remove outdated libxml-ruby version spec in XmlMini doc comment
XmlMini is currently being tested against libxml-ruby 4.0.0[^1], but the doc comment for XmlMini says: ``` To use the much faster libxml parser: gem 'libxml-ruby', '=0.9.7' ``` This comment seems to be very much out of date and could mislead users. Fix by removing the version specifier so that the documentation simply recommends: ``` To use the much faster libxml parser: gem 'libxml-ruby' XmlMini.backend = 'LibXML' ``` [^1]: https://github.com/rails/rails/blob/621bc6854819847686133a7adb775cf718153fc6/Gemfile.lock#L310
1 parent 621bc68 commit 0bbaaf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activesupport/lib/active_support/xml_mini.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module ActiveSupport
1212
# = \XmlMini
1313
#
1414
# To use the much faster libxml parser:
15-
# gem 'libxml-ruby', '=0.9.7'
15+
# gem 'libxml-ruby'
1616
# XmlMini.backend = 'LibXML'
1717
module XmlMini
1818
extend self

0 commit comments

Comments
 (0)