[#39954] Fwd: [ruby-cvs:33451] Ruby:r26235 (trunk): * trace.h: new file. wraps tracing mechanisms. — SASADA Koichi <ko1@...>
ささだです.
2010/1/4 SASADA Koichi <ko1@atdot.net>:
ささだです.
2010/1/4 SASADA Koichi <ko1@atdot.net>:
ささだです.
[#39975] [Feature #2571] 文字列のハミング距離 — Kenta Murata <redmine@...>
Feature #2571: 文字列のハミング距離
まつもと ゆきひろです
=1B$B$`$i$?$G$9!#=1B(B
成瀬です。
まつもと ゆきひろです
成瀬です。
成瀬です。
[#39978] "require 'logge'" fails on ruby 1.8.7 from http://github.com/shyouhei/ruby — MOROHASHI Kyosuke <moronatural@...>
諸橋です。
卜部です。
もろはしです。
いまいち問題を把握してない可能性もありますが、gitが$Id$展開しないからコケるんだけどgitからcloneしてもそのまま動くようにしてくれよ、ということでいいですかね?
[#39987] [Bug #2575] a test fail for IO#readpartial is broken on *BSD — Takahiro Kambe <redmine@...>
Bug #2575: a test fail for IO#readpartial is broken on *BSD
[#40003] [Feature #2579] Net::HTTP.start("www.ruby-lang.org", use_ssl: true) で SSL 利用を可能に — Yui NARUSE <redmine@...>
Feature #2579: Net::HTTP.start("www.ruby-lang.org", use_ssl: true) で SSL 利用を可能に
[#40004] [Bug:trunk] require_relative depends on current directory — Yusuke ENDOH <mame@...>
遠藤です。
チケット #2581 が更新されました。 (by Yusuke Endoh)
2010年3月7日0:30 Yusuke Endoh <redmine@ruby-lang.org>:
>> 1.9.2 では $: から "." が消えるため require_relative の需要が
遠藤です。
[#40017] Linuxで bm_vm3_thread_mutex.rb が刺さってしまい実行が完了しない — KOSAKI Motohiro <kosaki.motohiro@...>
kosakiです
遠藤です。
2010年1月12日0:20 Yusuke ENDOH <mame@tsg.ne.jp>:
[#40023] [Bug:trunk] ENV.[]= should raise an error on failure — "Akinori MUSHA" <knu@...>
現在 ENV.[]= は setenv(3) や putenv(3) の返り値を見ていませんが、
[#40059] [Bug:1.8] block.callの中でsuperできない — Kouhei Sutou <kou@...>
須藤です。
[#40063] [BUG] marshaling Time.utc_offset — Nobuyoshi Nakada <nobu@...>
なかだです。
2010年1月13日13:27 Nobuyoshi Nakada <nobu@ruby-lang.org>:
なかだです。
2010年1月14日13:01 Nobuyoshi Nakada <nobu@ruby-lang.org>:
Tanaka Akira =E3=81=95=E3=82=93=E3=81=AF=E6=9B=B8=E3=81=8D=E3=81=BE=E3=81=
[#40074] [Bug #2603] NetBSD 5.0以降でpthreadの処理に由来する不具合 — Takahiro Kambe <redmine@...>
Bug #2603: NetBSD 5.0以降でpthreadの処理に由来する不具合
NTTレゾナントの三浦です。不完全なpatchを書いてすみません。
こんばんは。
kosakiです
こんにちは。
こんにちは
At Fri, 15 Jan 2010 12:25:52 +0900, Takahiro Kambe wrote:
[#40077] [Bug #2604] test_dsa_sign_verify() in test/openssl/test_ec.rb failes — Takahiro Kambe <redmine@...>
Bug #2604: test_dsa_sign_verify() in test/openssl/test_ec.rb failes
MjAxMC8xLzE0IFRha2FoaXJvIEthbWJlIDxyZWRtaW5lQHJ1YnktbGFuZy5vcmc+Ogo+IBskQiQz
In message <a67aadf81001161911j7f5fbd1bwca86375b70cf514f@mail.gmail.com>
[#40130] arm9プロセッサ用にビルド中のトラブル — hirohito <hirohito-ml@...>
東と申します。
[#40153] [Bug:trunk] three bugs of Matrix::Scalar — Yusuke ENDOH <mame@...>
連投すみません。
けいじゅ@いしつかです.
遠藤です。
けいじゅ@いしつかです.
まつもと ゆきひろです
けいじゅ@いしつかです.
まつもと ゆきひろです
遠藤です。
けいじゅ@いしつかです.
遠藤です。
けいじゅ@いしつかです.
[#40162] [Bug #2658] rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR — Yusuke Endoh <redmine@...>
Bug #2658: rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR
2010年1月26日20:39 Yusuke Endoh <redmine@ruby-lang.org>:
2010年1月26日21:49 Tanaka Akira <akr@fsij.org>:
まつもと ゆきひろです
On 1/27/10 6:29 PM, Yukihiro Matsumoto wrote:
遠藤です。
[#40165] [Bug:1.8] compatibility issue of BigDecimal#** and #power — Yusuke ENDOH <mame@...>
まつもとさんか卜部さん
[#40168] [Bug #2662] BigDecimal#ceil, etc. should not return Integer — Yusuke Endoh <redmine@...>
Bug #2662: BigDecimal#ceil, etc. should not return Integer
ちょっと試してみました。
まつもと ゆきひろです
[#40169] [Bug #2664] Failure: test_segv_test(TestRubyOptions) — Kazuhiro NISHIYAMA <redmine@...>
Bug #2664: Failure: test_segv_test(TestRubyOptions)
[#40200] [Feature #2673] the length for an enumerator generated by Array#permutation and Array#combination — Kenta Murata <redmine@...>
Feature #2673: the length for an enumerator generated by Array#permutation and Array#combination
チケット #2673 が更新されました。 (by _ wanabe)
遠藤です。
=1B$B$`$i$?$G$9!#=1B(B
チケット #2673 が更新されました。 (by Marc-Andre Lafortune)
[#40202] [Feature:trunk] RubyVM::InstructionSequence to accept IOs — Urabe Shyouhei <shyouhei@...>
RipperはRipper#initializeでIOを受け付けますが、ISeqはそうはなっていません。
[#40209] [Bug:trunk] behavior change of some methods of Date between 1.8 and 1.9 — Yusuke ENDOH <mame@...>
ふなばさん
[#40221] [Bug:trunk] rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR — Yusuke ENDOH <mame@...>
まつもとさん、または lib/delegator.rb についてわかる誰か
チケット #2679 が更新されました。 (by Yusuke Endoh)
[#40241] [Feature:trunk] rubyspec: Vector.each2 given one argument returns self when given a block FAILED — Yusuke ENDOH <mame@...>
いしつかさん
[#40265] MonitorMixin::ConditionVariable#wait timeout — Tanaka Akira <akr@...>
手元の Ubuntu 9.10 の環境で Ruby 1.9.2 を make test-all すると
前田です。
前田さん、akr さん
2010年5月5日9:32 Yusuke ENDOH <mame@tsg.ne.jp>:
遠藤です。
2010年5月5日11:46 Yusuke ENDOH <mame@tsg.ne.jp>:
遠藤です。
小崎です
2010年5月5日16:48 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
2010年5月5日13:22 Yusuke ENDOH <mame@tsg.ne.jp>:
遠藤です。
2010年5月6日19:58 Yusuke ENDOH <mame@tsg.ne.jp>:
遠藤です。
遠藤です。
2010年5月6日23:08 Yusuke ENDOH <mame@tsg.ne.jp>:
2010年5月6日23:15 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
遠藤です。
kosakiです
遠藤です。
樽家です。
遠藤です。
樽家です。
2010年5月11日19:17 Masaya TARUI <tarui@prx.jp>:
2010年5月12日23:39 Tanaka Akira <akr@fsij.org>:
2010年5月13日22:19 Masaya TARUI <tarui@prx.jp>:
[#40269] [Feature #2695] Supported Platforms — Kazuhiro NISHIYAMA <redmine@...>
Feature #2695: Supported Platforms
チケット #2695 が更新されました。 (by Yusuke Endoh)
2010/3/26 Yusuke Endoh <redmine@ruby-lang.org>:
遠藤です。
2010/3/26 Yusuke ENDOH <mame@tsg.ne.jp>:
遠藤です。
=1B$B$`$i$?$G$9!#=1B(B
[ruby-dev:40215] [Bug #2675](Rejected) rubyspec: Date#valid_civil? should be able to handle negative months and days FAILED
チケット #2675 が更新されました。 (by Yusuke Endoh)
ステータス OpenからRejectedに変更
ruby -v ruby 1.9.2dev (2010-01-28 trunk 26458) [i686-linux]にセット
> したがって、1582年-3月-18日は、1.8 では存在するが、1.9 では存在しないと
> いうことになります。
説明ありがとうございます!わかりました。
聞かないと到底わかりそうになかったです。
このチケットは reject しつつ、以下のようなパッチを rubyspec に
送ろうと思います。
diff --git a/library/date/civil_spec.rb b/library/date/civil_spec.rb
index e26968c..d169cc2 100644
--- a/library/date/civil_spec.rb
+++ b/library/date/civil_spec.rb
@@ -10,19 +10,56 @@ end
describe "Date#valid_civil?" do
- it "should be able to determine if a date is valid" do
- Date.valid_civil?(1582, 10, 14).should == nil
- Date.valid_civil?(1582, 10, 15).should == Date.civil(1582, 10, 15).jd
- Date.valid_civil?(1582, 10, 14, Date::ENGLAND).should_not == nil
- Date.valid_civil?(1582, 10, 14, Date::ENGLAND).should == Date.civil(1582, 10, 14, Date::ENGLAND).jd
+ ruby_version_is "" ... "1.9" do
+ it "should be able to determine if a date is valid" do
+ Date.valid_civil?(1582, 10, 14).should == nil
+ Date.valid_civil?(1582, 10, 15).should == Date.civil(1582, 10, 15).jd
+ Date.valid_civil?(1582, 10, 14, Date::ENGLAND).should_not == nil
+ Date.valid_civil?(1582, 10, 14, Date::ENGLAND).should == Date.civil(1582, 10, 14, Date::ENGLAND).jd
+ end
+
+ it "should be able to handle negative months and days" do
+ # October 1582
+ # S M Tu W Th F S
+ # -31 -30 -29 -28 -17 -16
+ # -15 -14 -13 -12 -11 -10 -9
+ # -8 -7 -6 -5 -4 -3 -2
+ # -1
+ Date.valid_civil?(1582, -3, -31).should == Date.civil(1582, 10, 1).jd
+ Date.valid_civil?(1582, -3, -28).should == Date.civil(1582, 10, 4).jd
+ Date.valid_civil?(1582, -3, -27).should == nil
+ Date.valid_civil?(1582, -3, -22).should == nil
+ Date.valid_civil?(1582, -3, -21).should == nil
+ Date.valid_civil?(1582, -3, -18).should == nil
+ Date.valid_civil?(1582, -3, -17).should == Date.civil(1582, 10, 15).jd
+
+ Date.valid_civil?(2007, -11, -10).should == Date.civil(2007, 2, 19).jd
+ Date.valid_civil?(2008, -11, -10).should == Date.civil(2008, 2, 20).jd
+ end
end
-
- it "should be able to handle negative months and days" do
- Date.valid_civil?(1582, -3, -18).should == nil
- Date.valid_civil?(1582, -3, -17).should == Date.civil(1582, 10, 15).jd
+
+ ruby_version_is "1.9" do
+ it "should be able to determine if a date is valid" do
+ Date.valid_civil?(1582, 10, 14).should == false
+ Date.valid_civil?(1582, 10, 15).should == true
+ Date.valid_civil?(1582, 10, 14, Date::ENGLAND).should == true
+ end
+
+ it "should be able to handle negative months and days" do
+ # October 1582
+ # S M Tu W Th F S
+ # -21 -20 -19 -18 -17 -16
+ # -15 -14 -13 -12 -11 -10 -9
+ # -8 -7 -6 -5 -4 -3 -2
+ # -1
+ Date.valid_civil?(1582, -3, -22).should == false
+ Date.valid_civil?(1582, -3, -21).should == true
+ Date.valid_civil?(1582, -3, -18).should == true
+ Date.valid_civil?(1582, -3, -17).should == true
- Date.valid_civil?(2007, -11, -10).should == Date.civil(2007, 2, 19).jd
- Date.valid_civil?(2008, -11, -10).should == Date.civil(2008, 2, 20).jd
+ Date.valid_civil?(2007, -11, -10).should == true
+ Date.valid_civil?(2008, -11, -10).should == true
+ end
end
end
--
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2675
----------------------------------------
http://redmine.ruby-lang.org