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

* lib/rubygems/specification.rb (Gem::Specification#to_yaml):

use Gem::NoAliasYAMLTree.create instead of Gem::NoAliasYAMLTree.new
  to suppress deprecated warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2013-06-07 13:17:33 +00:00
parent a08b001100
commit bcd5328c70
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Fri Jun 7 22:10:50 2013 NARUSE, Yui <naruse@ruby-lang.org>
* lib/rubygems/specification.rb (Gem::Specification#to_yaml):
use Gem::NoAliasYAMLTree.create instead of Gem::NoAliasYAMLTree.new
to suppress deprecated warnings.
Fri Jun 7 21:39:39 2013 Tanaka Akira <akr@fsij.org> Fri Jun 7 21:39:39 2013 Tanaka Akira <akr@fsij.org>
* bignum.c (rb_integer_pack): Renamed from rb_int_export. * bignum.c (rb_integer_pack): Renamed from rb_int_export.

View file

@ -2270,7 +2270,7 @@ class Gem::Specification
require 'rubygems/psych_tree' require 'rubygems/psych_tree'
end end
builder = Gem::NoAliasYAMLTree.new({}) builder = Gem::NoAliasYAMLTree.create
builder << self builder << self
ast = builder.tree ast = builder.tree