1
0
Fork 0
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:
Sutou Kouhei 2019-10-12 12:07:15 +09:00 committed by GitHub
parent c866663784
commit 412cd56766
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
View file

@ -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.

View file

@ -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

View file

@ -26,6 +26,7 @@ module REXML
self.encoding = version.encoding
@writeencoding = version.writeencoding
@standalone = version.standalone
@writethis = version.writethis
else
super()
@version = version

View file

@ -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