зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
c59ba9ce81
Коммит
8152750145
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче