diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-11 08:24:18 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-11 08:24:18 +0000 |
commit | 9d968bc2219318ea4f8bd2df877f026c9625a2df (patch) | |
tree | 93eaecbf2b894bf946ef21140348b613be7daefb /lib/rss/maker/base.rb | |
parent | bd5a15f76d87f1e095177f5c5db7b7518561ddcf (diff) | |
download | ruby-9d968bc2219318ea4f8bd2df877f026c9625a2df.tar.gz |
* lib/rss/rss.rb (RSS::VERSION), test/rss/test_version.rb:
0.2.3 -> 0.2.4.
* lib/rss/maker.rb, lib/rss/maker/, test/rss/test_maker_2.0.rb:
fixed a bug that RSS::Maker.make("0.9")'s item doesn't make some
elements if description is missed.
Reported by Michael Auzenne. Thanks!!!
* lib/rss/maker/0.9.rb, test/rss/test_maker_0.9.rb:
RSS::Maker.make("0.9") generates RSS 0.92 not RSS 0.91.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/maker/base.rb')
-rw-r--r-- | lib/rss/maker/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/maker/base.rb b/lib/rss/maker/base.rb index fdb8946efc..56bf04657e 100644 --- a/lib/rss/maker/base.rb +++ b/lib/rss/maker/base.rb @@ -357,8 +357,8 @@ module RSS class RSSBase < Base class << self - def make(&block) - new.make(&block) + def make(version, &block) + new(version).make(&block) end end |