summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rexml/parsers/baseparser.rb4
-rw-r--r--lib/rexml/rexml.gemspec1
-rw-r--r--lib/rexml/rexml.rb2
3 files changed, 6 insertions, 1 deletions
diff --git a/lib/rexml/parsers/baseparser.rb b/lib/rexml/parsers/baseparser.rb
index de337a74d5..39e9ec3fb1 100644
--- a/lib/rexml/parsers/baseparser.rb
+++ b/lib/rexml/parsers/baseparser.rb
@@ -37,6 +37,10 @@ module REXML
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})+"
diff --git a/lib/rexml/rexml.gemspec b/lib/rexml/rexml.gemspec
index 8362ca3c3a..6fe7e635f1 100644
--- a/lib/rexml/rexml.gemspec
+++ b/lib/rexml/rexml.gemspec
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
".travis.yml",
"Gemfile",
"LICENSE.txt",
+ "NEWS.md",
"README.md",
"Rakefile",
"lib/rexml/attlistdecl.rb",
diff --git a/lib/rexml/rexml.rb b/lib/rexml/rexml.rb
index 654f54799f..7851c78bf5 100644
--- a/lib/rexml/rexml.rb
+++ b/lib/rexml/rexml.rb
@@ -24,7 +24,7 @@
module REXML
COPYRIGHT = "Copyright © 2001-2008 Sean Russell <ser@germane-software.com>"
DATE = "2008/019"
- VERSION = "3.1.8"
+ VERSION = "3.1.9"
REVISION = ""
Copyright = COPYRIGHT