mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* lib/rss/rss.rb (RSS::VERSION): 0.1.3 -> 0.1.4.
* lib/rss/rss.rb (RSS::Element#converter): fixed converter transmission bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b665dfd531
commit
18061401cc
3 changed files with 15 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
Wed Apr 13 23:40:21 2005 Kouhei Sutou <kou@cozmixng.org>
|
||||||
|
|
||||||
|
* lib/rss/rss.rb (RSS::VERSION): 0.1.3 -> 0.1.4.
|
||||||
|
|
||||||
|
* lib/rss/rss.rb (RSS::Element#converter): fixed converter
|
||||||
|
transmission bug.
|
||||||
|
|
||||||
Wed Apr 13 21:20:35 2005 WATANABE Hirofumi <eban@ruby-lang.org>
|
Wed Apr 13 21:20:35 2005 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
* configure.in (mingw32): extract msvcr*.dll from objdump result.
|
* configure.in (mingw32): extract msvcr*.dll from objdump result.
|
||||||
|
|
|
@ -66,7 +66,7 @@ require "rss/xml-stylesheet"
|
||||||
|
|
||||||
module RSS
|
module RSS
|
||||||
|
|
||||||
VERSION = "0.1.3"
|
VERSION = "0.1.4"
|
||||||
|
|
||||||
URI = "http://purl.org/rss/1.0/"
|
URI = "http://purl.org/rss/1.0/"
|
||||||
|
|
||||||
|
@ -523,8 +523,12 @@ EOC
|
||||||
|
|
||||||
def converter=(converter)
|
def converter=(converter)
|
||||||
@converter = converter
|
@converter = converter
|
||||||
children.each do |child|
|
targets = children.dup
|
||||||
child.converter = converter unless child.nil?
|
self.class.have_children_elements.each do |variable_name, plural_name|
|
||||||
|
targets.concat(__send__(plural_name))
|
||||||
|
end
|
||||||
|
targets.each do |target|
|
||||||
|
target.converter = converter unless target.nil?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ require "rss-testcase"
|
||||||
module RSS
|
module RSS
|
||||||
class TestVersion < TestCase
|
class TestVersion < TestCase
|
||||||
def test_version
|
def test_version
|
||||||
assert_equal("0.1.3", ::RSS::VERSION)
|
assert_equal("0.1.4", ::RSS::VERSION)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue