ruby-changes:43885
From: nagachika <ko1@a...>
Date: Thu, 18 Aug 2016 23:06:42 +0900 (JST)
Subject: [ruby-changes:43885] nagachika:r55958 (ruby_2_3): merge revision(s) 55726, 55727: [Backport #12609]
nagachika 2016-08-18 23:06:38 +0900 (Thu, 18 Aug 2016) New Revision: 55958 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55958 Log: merge revision(s) 55726,55727: [Backport #12609] * lib/rexml/attribute.rb (REXML::Attribute#to_string): Fix wrong entry reference name of double quote. [Bug#12609][ruby-core:76509] Patch by Joseph Marrero. Thanks!!! [Bug #12609][ruby-core:76509] Modified directories: branches/ruby_2_3/ Modified files: branches/ruby_2_3/ChangeLog branches/ruby_2_3/lib/rexml/attribute.rb branches/ruby_2_3/version.h Index: ruby_2_3/ChangeLog =================================================================== --- ruby_2_3/ChangeLog (revision 55957) +++ ruby_2_3/ChangeLog (revision 55958) @@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1 +Thu Aug 18 23:06:20 2016 Kouhei Sutou <kou@c...> + + * lib/rexml/attribute.rb (REXML::Attribute#to_string): Fix wrong + entry reference name of double quote. + [Bug #12609][ruby-core:76509] + Patch by Joseph Marrero. Thanks!!! + Thu Aug 18 23:04:59 2016 Naohisa Goto <ngotogenome@g...> * thread.c (rb_wait_for_single_fd): Clean up fds.revents every time Index: ruby_2_3/lib/rexml/attribute.rb =================================================================== --- ruby_2_3/lib/rexml/attribute.rb (revision 55957) +++ ruby_2_3/lib/rexml/attribute.rb (revision 55958) @@ -110,7 +110,7 @@ module REXML https://github.com/ruby/ruby/blob/trunk/ruby_2_3/lib/rexml/attribute.rb#L110 # b.to_string # -> "ns:x='y'" def to_string if @element and @element.context and @element.context[:attribute_quote] == :quote - %Q^#@expanded_name="#{to_s().gsub(/"/, '"e;')}"^ + %Q^#@expanded_name="#{to_s().gsub(/"/, '"')}"^ else "#@expanded_name='#{to_s().gsub(/'/, ''')}'" end Index: ruby_2_3/version.h =================================================================== --- ruby_2_3/version.h (revision 55957) +++ ruby_2_3/version.h (revision 55958) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1 #define RUBY_VERSION "2.3.2" #define RUBY_RELEASE_DATE "2016-08-18" -#define RUBY_PATCHLEVEL 169 +#define RUBY_PATCHLEVEL 170 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 8 Property changes on: ruby_2_3 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r55726-55727 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/