From a2c56d53ea610c4caacb3d5ebaa8d027cc06f574 Mon Sep 17 00:00:00 2001 From: tenderlove Date: Tue, 27 Mar 2012 23:45:44 +0000 Subject: * ext/psych/lib/psych.rb: updating version to match gem * ext/psych/psych.gemspec: ditto * ext/psych/lib/psych/visitors/to_ruby.rb: fixing deprecation warning git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/psych/lib/psych/visitors/to_ruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/psych/lib/psych/visitors') diff --git a/ext/psych/lib/psych/visitors/to_ruby.rb b/ext/psych/lib/psych/visitors/to_ruby.rb index 3db67a3698..2e082f90b4 100644 --- a/ext/psych/lib/psych/visitors/to_ruby.rb +++ b/ext/psych/lib/psych/visitors/to_ruby.rb @@ -285,7 +285,7 @@ module Psych o.init_with c elsif o.respond_to?(:yaml_initialize) if $VERBOSE - "Implementing #{o.class}#yaml_initialize is deprecated, please implement \"init_with(coder)\"" + warn "Implementing #{o.class}#yaml_initialize is deprecated, please implement \"init_with(coder)\"" end o.yaml_initialize c.tag, c.map else -- cgit v1.2.3