aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rss/maker/taxonomy.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-02 06:45:53 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-02 06:45:53 +0000
commit4fab2c7526c160bef4db28871864c53c60a6c587 (patch)
treec44b5c4c7419fbd7542760e29ce3f8ab517e4ebe /lib/rss/maker/taxonomy.rb
parentf3e3ce4c8241e1c6aa2afca5468d7fb69b93c47b (diff)
downloadruby-4fab2c7526c160bef4db28871864c53c60a6c587.tar.gz
* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.1 -> 0.2.2.
* lib/rss/maker/itunes.rb: fixed new_itunes_category. * lib/rss/maker/taxonomy.rb: new_taxo_topic -> new_topic because of consistency. * test/rss/test_maker_itunes.rb, test/rss/test_itunes.rb: removed needless UTF-8 characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/maker/taxonomy.rb')
-rw-r--r--lib/rss/maker/taxonomy.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rss/maker/taxonomy.rb b/lib/rss/maker/taxonomy.rb
index 798b239df9..211603840f 100644
--- a/lib/rss/maker/taxonomy.rb
+++ b/lib/rss/maker/taxonomy.rb
@@ -66,7 +66,8 @@ EOC
end
class TaxonomyTopicsBase < Base
- def_array_element("taxo_topic", nil, "TaxonomyTopic")
+ def_array_element("topic", nil, "TaxonomyTopic")
+ alias_method(:new_taxo_topic, :new_topic) # For backward compatibility
class TaxonomyTopicBase < Base
include DublinCoreModel