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>
5
NEWS
5
NEWS
@ -401,6 +401,11 @@ Reline::
|
|||||||
* New stdlib that is compatible with readline stdlib by pure Ruby and also
|
* New stdlib that is compatible with readline stdlib by pure Ruby and also
|
||||||
has a multiline mode.
|
has a multiline mode.
|
||||||
|
|
||||||
|
REXML::
|
||||||
|
|
||||||
|
* Upgrade to 3.2.3.
|
||||||
|
See https://github.com/ruby/rexml/blob/master/NEWS.md.
|
||||||
|
|
||||||
RSS::
|
RSS::
|
||||||
|
|
||||||
* Upgrade to RSS 0.2.8.
|
* Upgrade to RSS 0.2.8.
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
module REXML
|
module REXML
|
||||||
COPYRIGHT = "Copyright © 2001-2008 Sean Russell <ser@germane-software.com>"
|
COPYRIGHT = "Copyright © 2001-2008 Sean Russell <ser@germane-software.com>"
|
||||||
DATE = "2008/019"
|
DATE = "2008/019"
|
||||||
VERSION = "3.2.2"
|
VERSION = "3.2.3"
|
||||||
REVISION = ""
|
REVISION = ""
|
||||||
|
|
||||||
Copyright = COPYRIGHT
|
Copyright = COPYRIGHT
|
||||||
|
@ -26,6 +26,7 @@ module REXML
|
|||||||
self.encoding = version.encoding
|
self.encoding = version.encoding
|
||||||
@writeencoding = version.writeencoding
|
@writeencoding = version.writeencoding
|
||||||
@standalone = version.standalone
|
@standalone = version.standalone
|
||||||
|
@writethis = version.writethis
|
||||||
else
|
else
|
||||||
super()
|
super()
|
||||||
@version = version
|
@version = version
|
||||||
|
@ -38,5 +38,11 @@ module REXMLTests
|
|||||||
"encoding=\"UTF-8\" standalone=\"yes\"?>",
|
"encoding=\"UTF-8\" standalone=\"yes\"?>",
|
||||||
@xml_declaration.to_s)
|
@xml_declaration.to_s)
|
||||||
end
|
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
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user