diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-30 12:56:33 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-30 12:56:33 +0000 |
commit | d731c29b0662e891192a317506bdbccc3c0819a9 (patch) | |
tree | c8db586c7c9a7697a9c85ef3c4f4597ff3f10891 /lib/rss/rss.rb | |
parent | a57d0b0926870d9cfb85e6bd325e084963661de1 (diff) |
* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.0 -> 0.2.1.
* lib/rss/content.rb, lib/rss/content/1.0.rb,
lib/rss/content/2.0.rb, lib/rss/maker/content.rb,
test/rss/rss-testcase.rb, test/rss/test_content.rb,
test/rss/test_maker_content.rb: supported content:encoded with RSS 2.0.
Suggested by Sam Lown. Thanks.
* NEWS: added the above changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/rss.rb')
-rw-r--r-- | lib/rss/rss.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb index d2e226c0fe..c42b86e72a 100644 --- a/lib/rss/rss.rb +++ b/lib/rss/rss.rb @@ -52,7 +52,7 @@ require "rss/xml-stylesheet" module RSS - VERSION = "0.2.0" + VERSION = "0.2.1" URI = "http://purl.org/rss/1.0/" @@ -207,7 +207,7 @@ EOC disp_name=nil) name ||= tag_name disp_name ||= name - self::ELEMENTS << name + self::ELEMENTS << name unless self::ELEMENTS.include?(name) add_need_initialize_variable(name) install_model(tag_name, uri, occurs, name) |