From: Yukihiro Matsumoto Date: 2011-06-08T08:03:21+09:00 Subject: [ruby-dev:43660] Re: DateTime.new! and DateTime.jd まつもと ゆきひろです In message "Re: [ruby-dev:43653] Re: DateTime.new! and DateTime.jd" on Wed, 8 Jun 2011 02:29:15 +0900, Aaron Patterson writes: |1.9.2ではこのコードが作動したにも関わらず、1.9.3では作動しないのが事実です。 |この変更に関してのディプリケーションの警告、移転/移動(?)コードの指示など何も見受けられませんので、 |これがバグか、否かは私には判断できません。 先のメールにも書いた通り、私が、ふなばさんの意図を正しく理解 しているならば、どちらもバグではなく、本来の仕様を外れた使い 方ができなくなったのだということなので、作者の観点からいうと バグではないということなのだと思います。 [En] As I stated before, if I understand him correctly, both "problems" are not caused by bugs, but by changes to internal behavior, which should not be used at first. So from the author's point of view, they are not bugs of date library. |コミットメッセージ(r31862 and r31668) にも「機能の削除」に関して記されていませんでした。 |もしこの動作が廃止/削除されているのであれば、何を代用に使えば良いか |教えていただけませんか? | |私の最終目的はこのコード修正、テスト完了ですので |動作が廃止/削除されていること自体に一切意義などはありません。 dateライブラリの未公開API/未定義の動作に依存していたコードが 存在していたということですから、簡単に「代用」が見つかるとは 限りません。しかし、問題解決に協力はしたいので、具体的にどの ライブラリをどのように使ったときに、どのような問題が生じてい るか教えていただけませんか? [En] That means some gems appear to rely on date's internal API or undefined behavior, so that there might not be easy "replacement". But we'd like to help. Could you tell me what gems cause what kind of problem, preferably in detail, instead of reporting bugs in date library? まつもと ゆきひろ /:|)