mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rss/content/*, lib/rss/dublincore/*: fix circular require.
* test/test_maker_atom_feed.rb, test/test_maker_atom_entry.rb: suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b49be81dbb
commit
c5f0360c07
7 changed files with 7 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
|||
Sat May 16 18:12:39 2009 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* lib/rss/content/*, lib/rss/dublincore/*: fix circular require.
|
||||
* test/test_maker_atom_feed.rb,
|
||||
test/test_maker_atom_entry.rb: suppress warnings.
|
||||
|
||||
Sat May 16 18:07:17 2009 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* lib/rss/maker/feed.rb, test/test_maker_atom_feed.rb:
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require 'rss/1.0'
|
||||
require 'rss/content'
|
||||
|
||||
module RSS
|
||||
RDF.install_ns(CONTENT_PREFIX, CONTENT_URI)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require "rss/2.0"
|
||||
require "rss/content"
|
||||
|
||||
module RSS
|
||||
Rss.install_ns(CONTENT_PREFIX, CONTENT_URI)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require "rss/1.0"
|
||||
require "rss/dublincore"
|
||||
|
||||
module RSS
|
||||
RDF.install_ns(DC_PREFIX, DC_URI)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require "rss/2.0"
|
||||
require "rss/dublincore"
|
||||
|
||||
module RSS
|
||||
Rss.install_ns(DC_PREFIX, DC_URI)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require "rss/atom"
|
||||
require "rss/dublincore"
|
||||
|
||||
module RSS
|
||||
module Atom
|
||||
|
|
|
@ -381,7 +381,7 @@ module RSS
|
|||
end
|
||||
end
|
||||
assert_equal(date, feed.items[0].updated.content)
|
||||
assert_equal([date], feed.items[0].dc_dates.collect {|date| date.value})
|
||||
assert_equal([date], feed.items[0].dc_dates.collect {|_date| _date.value})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue