[前][次][番号順一覧][スレッド一覧]

ruby-changes:54842

From: kou <ko1@a...>
Date: Wed, 13 Feb 2019 09:31:49 +0900 (JST)
Subject: [ruby-changes:54842] kou:r66536 (trunk): Import REXML 3.1.9

kou	2018-12-25 11:26:30 +0900 (Tue, 25 Dec 2018)

  New Revision: 66536

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66536

  Log:
    Import REXML 3.1.9
    
    It restores removed REXML::Parsers::BaseParser::UNQME_STR.
    Because it's used by kramdown.

  Modified files:
    trunk/NEWS
    trunk/lib/rexml/parsers/baseparser.rb
    trunk/lib/rexml/rexml.gemspec
    trunk/lib/rexml/rexml.rb
Index: lib/rexml/rexml.gemspec
===================================================================
--- lib/rexml/rexml.gemspec	(revision 66535)
+++ lib/rexml/rexml.gemspec	(revision 66536)
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/rexml/rexml.gemspec#L21
     ".travis.yml",
     "Gemfile",
     "LICENSE.txt",
+    "NEWS.md",
     "README.md",
     "Rakefile",
     "lib/rexml/attlistdecl.rb",
Index: lib/rexml/rexml.rb
===================================================================
--- lib/rexml/rexml.rb	(revision 66535)
+++ lib/rexml/rexml.rb	(revision 66536)
@@ -24,7 +24,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/rexml/rexml.rb#L24
 module REXML
   COPYRIGHT = "Copyright 息 2001-2008 Sean Russell <ser@g...>"
   DATE = "2008/019"
-  VERSION = "3.1.8"
+  VERSION = "3.1.9"
   REVISION = ""
 
   Copyright = COPYRIGHT
Index: lib/rexml/parsers/baseparser.rb
===================================================================
--- lib/rexml/parsers/baseparser.rb	(revision 66535)
+++ lib/rexml/parsers/baseparser.rb	(revision 66536)
@@ -37,6 +37,10 @@ module REXML https://github.com/ruby/ruby/blob/trunk/lib/rexml/parsers/baseparser.rb#L37
       QNAME_STR= "(?:(#{NCNAME_STR}):)?(#{NCNAME_STR})"
       QNAME = /(#{QNAME_STR})/
 
+      # Just for backward compatibility. For example, kramdown uses this.
+      # It's not used in REXML.
+      UNAME_STR= "(?:#{NCNAME_STR}:)?#{NCNAME_STR}"
+
       NAMECHAR = '[\-\w\.:]'
       NAME = "([\\w:]#{NAMECHAR}*)"
       NMTOKEN = "(?:#{NAMECHAR})+"
Index: NEWS
===================================================================
--- NEWS	(revision 66535)
+++ NEWS	(revision 66536)
@@ -480,7 +480,7 @@ sufficient information, see the ChangeLo https://github.com/ruby/ruby/blob/trunk/NEWS#L480
 
 [REXML]
 
-  * Upgrade to REXML 3.1.8.
+  * Upgrade to REXML 3.1.9.
     See https://github.com/ruby/rexml/blob/master/NEWS.md.
 
   [Improved some XPath implementations]

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]