ruby/test/rss
kou faeff623e0 * lib/rss/rss.rb (Hash#merge, Enumerable#sort_by): removed.
* lib/rss/rss.rb (RSS::RootElementMixin#to_xml): added.
  [ruby-talk:197284]

  We can convert RSS version easily like the following:
    rss10 = RSS::Parser.parse(File.read("1.0.rdf"))
    File.open("2.0.rss", "w") {|f| f.print(rss10.to_xml("2.0"))}

* test/rss/test_1.0.rb: added #to_xml test.
* test/rss/test_2.0.rb: ditto.

* test/rss/rss-testcase.rb: added some helper methods that
  generates sample RSS 2.0.

* sample/rss/convert.rb: added a sample script to convert RSS format.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-06-17 01:37:08 +00:00
..
rss-assertions.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 01:02:08 +00:00
rss-testcase.rb * lib/rss/rss.rb (Hash#merge, Enumerable#sort_by): removed. 2006-06-17 01:37:08 +00:00
test_1.0.rb * lib/rss/rss.rb (Hash#merge, Enumerable#sort_by): removed. 2006-06-17 01:37:08 +00:00
test_2.0.rb * lib/rss/rss.rb (Hash#merge, Enumerable#sort_by): removed. 2006-06-17 01:37:08 +00:00
test_accessor.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 01:02:08 +00:00
test_content.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 00:49:38 +00:00
test_dublincore.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 00:49:38 +00:00
test_image.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 01:02:08 +00:00
test_inherit.rb * lib/rss/rss.rb (RSS::VERSION): 0.1.2 -> 0.1.3. 2005-01-15 04:38:29 +00:00
test_maker_0.9.rb * lib/rss/rss.rb (Kernel#funcall): removed. 2006-06-17 01:28:46 +00:00
test_maker_1.0.rb * lib/rss/rss.rb (Kernel#funcall): removed. 2006-06-17 01:28:46 +00:00
test_maker_2.0.rb * lib/rss/rss.rb (Kernel#funcall): removed. 2006-06-17 01:28:46 +00:00
test_maker_content.rb * lib/rss, test/rss, sample/rss: backported from CVS HEAD. 2004-12-08 12:58:36 +00:00
test_maker_dc.rb * lib/rss/rss.rb (Kernel#funcall): removed. 2006-06-17 01:28:46 +00:00
test_maker_image.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 01:02:08 +00:00
test_maker_sy.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 01:02:08 +00:00
test_maker_taxo.rb * lib/rss/rss.rb (Kernel#funcall): removed. 2006-06-17 01:28:46 +00:00
test_maker_trackback.rb * lib/rss/rss.rb (Kernel#funcall): removed. 2006-06-17 01:28:46 +00:00
test_maker_xml-stylesheet.rb * lib/rss/rss.rb (Kernel#funcall): removed. 2006-06-17 01:28:46 +00:00
test_parser.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 01:04:31 +00:00
test_setup_maker_0.9.rb * lib/rss/rss.rb (Kernel#funcall): removed. 2006-06-17 01:28:46 +00:00
test_setup_maker_1.0.rb * lib/rss/rss.rb (Kernel#funcall): removed. 2006-06-17 01:28:46 +00:00
test_setup_maker_2.0.rb * lib/rss/rss.rb (Kernel#funcall): removed. 2006-06-17 01:28:46 +00:00
test_syndication.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 01:02:08 +00:00
test_taxonomy.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 00:30:00 +00:00
test_to_s.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 01:02:08 +00:00
test_trackback.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 00:49:38 +00:00
test_version.rb * lib/rss, test/rss: backported from trunk. (2005-11-16 - now) 2006-06-17 00:07:41 +00:00
test_xml-stylesheet.rb * lib/rss, test/rss, sample/rss: backported from CVS HEAD. 2004-12-08 12:58:36 +00:00