ruby-changes:23324
From: drbrain <ko1@a...>
Date: Wed, 18 Apr 2012 09:59:21 +0900 (JST)
Subject: [ruby-changes:23324] drbrain:r35375 (trunk): * lib/rubygems/version.rb: Fixed init_with warning by calling into
drbrain 2012-04-18 09:58:47 +0900 (Wed, 18 Apr 2012) New Revision: 35375 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35375 Log: * lib/rubygems/version.rb: Fixed init_with warning by calling into yaml_initialize (for syck) from psych's init_with Modified files: trunk/ChangeLog trunk/lib/rubygems/version.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 35374) +++ ChangeLog (revision 35375) @@ -1,3 +1,8 @@ +Wed Apr 18 09:58:29 2012 Eric Hodel <drbrain@s...> + + * lib/rubygems/version.rb: Fixed init_with warning by calling into + yaml_initialize (for syck) from psych's init_with + Wed Apr 18 09:03:43 2012 Eric Hodel <drbrain@s...> * lib/rubygems: Update to RubyGems 1.8.22 plus r33517 and r35337 which Index: lib/rubygems/version.rb =================================================================== --- lib/rubygems/version.rb (revision 35374) +++ lib/rubygems/version.rb (revision 35375) @@ -218,6 +218,10 @@ @hash ||= segments.hash end + def init_with coder # :nodoc: + yaml_initialize coder.tag, coder.map + end + def inspect # :nodoc: "#<#{self.class} #{version.inspect}>" end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/