mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import REXML 3.2.3 (#2548)
This commit is contained in:
parent
c866663784
commit
412cd56766
Notes:
git
2019-10-12 12:07:49 +09:00
Merged-By: kou <kou@clear-code.com>
4 changed files with 13 additions and 1 deletions
5
NEWS
5
NEWS
|
@ -401,6 +401,11 @@ Reline::
|
|||
* New stdlib that is compatible with readline stdlib by pure Ruby and also
|
||||
has a multiline mode.
|
||||
|
||||
REXML::
|
||||
|
||||
* Upgrade to 3.2.3.
|
||||
See https://github.com/ruby/rexml/blob/master/NEWS.md.
|
||||
|
||||
RSS::
|
||||
|
||||
* Upgrade to RSS 0.2.8.
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
module REXML
|
||||
COPYRIGHT = "Copyright © 2001-2008 Sean Russell <ser@germane-software.com>"
|
||||
DATE = "2008/019"
|
||||
VERSION = "3.2.2"
|
||||
VERSION = "3.2.3"
|
||||
REVISION = ""
|
||||
|
||||
Copyright = COPYRIGHT
|
||||
|
|
|
@ -26,6 +26,7 @@ module REXML
|
|||
self.encoding = version.encoding
|
||||
@writeencoding = version.writeencoding
|
||||
@standalone = version.standalone
|
||||
@writethis = version.writethis
|
||||
else
|
||||
super()
|
||||
@version = version
|
||||
|
|
|
@ -38,5 +38,11 @@ module REXMLTests
|
|||
"encoding=\"UTF-8\" standalone=\"yes\"?>",
|
||||
@xml_declaration.to_s)
|
||||
end
|
||||
|
||||
def test_is_writethis_attribute_copied_by_clone
|
||||
assert_equal(true, @xml_declaration.clone.writethis)
|
||||
@xml_declaration.nowrite
|
||||
assert_equal(false, @xml_declaration.clone.writethis)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue