From: Aaron Patterson Date: 2011-05-28T07:53:17+09:00 Subject: [ruby-core:36518] Re: [Ruby 1.9 - Bug #4776][Open] DateTime.new! has been disabled --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 25, 2011 at 09:26:10AM +0900, Aaron Patterson wrote: >=20 > Issue #4776 has been reported by Aaron Patterson. >=20 > ---------------------------------------- > Bug #4776: DateTime.new! has been disabled > http://redmine.ruby-lang.org/issues/4776 >=20 > Author: Aaron Patterson > Status: Open > Priority: Normal > Assignee: tadayoshi funaba > Category:=20 > Target version:=20 > ruby -v: ruby 1.9.3dev (2011-05-24 trunk 31718) [x86_64-darwin10.7.0] >=20 >=20 > After r31668, `DateTime.new!` no longer works. Is there a replacement? = Or is this a mistake? >=20 > This code works before r31668, but breaks after 31668: >=20 > irb(main):001:0> require 'date' > =3D> true > irb(main):002:0> DateTime.new! > NoMethodError: undefined method `new!' for DateTime:Class > from (irb):2 > from /Users/aaron/.local/bin/irb:12:in `
' > irb(main):003:0> >=20 > Some gems (specifically the tzinfo gem) depend on this method. Rails dep= ends on tzinfo, and since tzinfo breaks I can no longer test trunk against = rails. :-( Bump? --=20 Aaron Patterson http://tenderlovemaking.com/ --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iQEcBAEBAgAGBQJN4CtVAAoJEJUxcLy0/6/GblIH/j5p5o4jtpZb45xO+WHAnAR+ H2Bl4WiKeqMPbPMIPO/kQs9dtiLeHFD8KdqvImyoED1QKAPuXG3S1W6y1uLN6dFA i1LRcRk8I5DP452KU1iSzBkGWY/F/3a5H5U/1+WOHZxCdvQWz1Ii6fXhs7eTasfF INuKcCK/Viph5hOH1Iq3Q/r1B78Hu0nMH4t95/YYGBeLodtn93S8aZY7qdMjJSPD IXe/zukTh+1u/iA5/5RvcXwkiu6ApjT4VP7fTJ0xVlaRVwDYLyPAA7wLALj2LSiG XuIOzXoP07qkJXV8ohcL7Pov0LUmw03PjwdcFgLbaSp9/lj1OGYFAHzh8SYHdj0= =Etep -----END PGP SIGNATURE----- --DocE+STaALJfprDB--