mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05: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/trunk@8321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									abdb27bf16
								
							
						
					
					
						commit
						c56355fbdc
					
				
					 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 22:12:16 2005  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* lib/optparse.rb (OptionParser#order!): call handlers iff matches
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -66,7 +66,7 @@ require "rss/xml-stylesheet"
 | 
			
		|||
 | 
			
		||||
module RSS
 | 
			
		||||
 | 
			
		||||
  VERSION = "0.1.3"
 | 
			
		||||
  VERSION = "0.1.4"
 | 
			
		||||
 | 
			
		||||
  URI = "http://purl.org/rss/1.0/"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -523,8 +523,12 @@ EOC
 | 
			
		|||
    
 | 
			
		||||
    def converter=(converter)
 | 
			
		||||
      @converter = converter
 | 
			
		||||
      children.each do |child|
 | 
			
		||||
        child.converter = converter unless child.nil?
 | 
			
		||||
      targets = children.dup
 | 
			
		||||
      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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,7 @@ require "rss-testcase"
 | 
			
		|||
module RSS
 | 
			
		||||
  class TestVersion < TestCase
 | 
			
		||||
    def test_version
 | 
			
		||||
      assert_equal("0.1.3", ::RSS::VERSION)
 | 
			
		||||
      assert_equal("0.1.4", ::RSS::VERSION)
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue