1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rubygems/version.rb: Fixed init_with warning by calling into

yaml_initialize (for syck) from psych's init_with


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2012-04-18 00:58:47 +00:00
parent 6c1da63bd7
commit 5383ccd981
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Wed Apr 18 09:58:29 2012 Eric Hodel <drbrain@segment7.net>
* 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@segment7.net>
* lib/rubygems: Update to RubyGems 1.8.22 plus r33517 and r35337 which

View file

@ -218,6 +218,10 @@ class Gem::Version
@hash ||= segments.hash
end
def init_with coder # :nodoc:
yaml_initialize coder.tag, coder.map
end
def inspect # :nodoc:
"#<#{self.class} #{version.inspect}>"
end