summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/rubygems/version.rb4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 74b06dd021..0d010426fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/lib/rubygems/version.rb b/lib/rubygems/version.rb
index ecf9f2b4ce..2ced9ccdfb 100644
--- a/lib/rubygems/version.rb
+++ b/lib/rubygems/version.rb
@@ -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