summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-09 14:50:11 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-09 14:50:11 +0000
commit8152750145427a2d8face09a1be18081412bcd55 (patch)
treebb9ad9dc92c9078ab7e4c1fa131e50ff1c74f6f3
parentc59ba9ce8174bf7bba19e081137d3db06d26311c (diff)
* lib/rss/rexmlparser.rb: Remove needless REXML version check.
Both RSS Parser and REXML are bundled in Ruby. RSS Parser can always use the latest REXML. [Bug #8754] [ruby-core:56454] Patch by Steve Klabnik. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--lib/rss/rexmlparser.rb5
2 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index dc2e0da8470..6edc23ff947 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Fri Aug 9 23:47:15 2013 Kouhei Sutou <kou@cozmixng.org>
+
+ * lib/rss/rexmlparser.rb: Remove needless REXML version check.
+ Both RSS Parser and REXML are bundled in Ruby. RSS Parser can
+ always use the latest REXML. [Bug #8754] [ruby-core:56454]
+ Patch by Steve Klabnik. Thanks!!!
+
Fri Aug 9 22:51:10 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (XLDFLAGS, LIBRUBYARG_STATIC): CoreFoundation framework
diff --git a/lib/rss/rexmlparser.rb b/lib/rss/rexmlparser.rb
index 7112ac3669b..a5a2a2edbe4 100644
--- a/lib/rss/rexmlparser.rb
+++ b/lib/rss/rexmlparser.rb
@@ -1,11 +1,6 @@
require "rexml/document"
require "rexml/streamlistener"
-/\A(\d+)\.(\d+)(?:\.\d+)+\z/ =~ REXML::Version
-if ([$1.to_i, $2.to_i] <=> [2, 5]) < 0
- raise LoadError, "needs REXML 2.5 or later (#{REXML::Version})"
-end
-
module RSS
class REXMLParser < BaseParser