--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: > > Issue #4776 has been reported by Aaron Patterson. > > ---------------------------------------- > Bug #4776: DateTime.new! has been disabled > http://redmine.ruby-lang.org/issues/4776 > > Author: Aaron Patterson > Status: Open > Priority: Normal > Assignee: tadayoshi funaba > Category: > Target version: > ruby -v: ruby 1.9.3dev (2011-05-24 trunk 31718) [x86_64-darwin10.7.0] > > > After r31668, `DateTime.new!` no longer works. Is there a replacement? Or is this a mistake? > > This code works before r31668, but breaks after 31668: > > irb(main):001:0> require 'date' > => 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 `<main>' > irb(main):003:0> > > Some gems (specifically the tzinfo gem) depend on this method. Rails depends on tzinfo, and since tzinfo breaks I can no longer test trunk against rails. :-( Bump? -- 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߯p -----END PGP SIGNATURE----- --DocE+STaALJfprDB--