COMMIT Fixed private method expectations on 1.9 for StringIO, StringScanner. http://github.com/rubyspec/rubyspec/commit/11d55ec1d2ca80e58ba1c313db86e4ab41f0290e COMMIT Add ticket # for Date.strptime ruby_bug guard. http://github.com/rubyspec/rubyspec/commit/14520634e1245b9bda0e0657377b98c2e796a797 COMMIT Spec for regex Exception coercion http://github.com/rubyspec/rubyspec/commit/b295a3f53ccafe30b38d688b3d0a6ccef7c2c88c COMMIT Spec style fix http://github.com/rubyspec/rubyspec/commit/cefe3ee306dadcbd4808df168fc73e8774cbcb94 COMMIT Add testcase for Regexp#match and $~ http://github.com/rubyspec/rubyspec/commit/36c598164da7441646e397baf09eb082b85762eb COMMIT Fixed the descriptions for Date.strptime specs. http://github.com/rubyspec/rubyspec/commit/90c808286fbf89f441c3cf05c5bf3d6f453cf2c9 COMMIT Fix Date.strptime specs for %W, %U. http://github.com/rubyspec/rubyspec/commit/e4b0f650014780bbfb23bf1b7d59e421361c939f COMMIT Add spec for Exception.exception http://github.com/rubyspec/rubyspec/commit/c535e45ffbd02185bef08dfb0ae36155fbb86a51 --- 20100104T023729 +++ 20100105T084936 @@ -1,19 +1,19 @@ URL: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8 リポジトリのルート: http://svn.ruby-lang.org/repos/ruby リポジトリ UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e -リビジョン: 26236 +リビジョン: 26241 ノード種別: ディレクトリ 準備中の処理: 特になし 最終変更者: knu @@ -9791,6 +9791,7 @@ - creates a new instance of Exception - sets the message of the Exception when passes a message - returns 'Exception' for message when no message given +- returns the exception when it has a custom constructor Exception - is a Class @@ -9835,6 +9836,7 @@ - creates a new instance of Exception - sets the message of the Exception when passes a message - returns 'Exception' for message when no message given +- returns the exception when it has a custom constructor /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/exception/no_method_error_spec.rb NoMethodError.new @@ -15819,6 +15821,7 @@ Regexp#match - returns nil if there is no match - returns nil if the object is nil +- should coerce Exceptions into strings Regexp#~ - matches against the contents of $_ @@ -15828,6 +15831,7 @@ Regexp#match on a successful match - returns a MatchData object +- resets $~ if passed nil /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/regexp/named_captures_spec.rb /home/chkbuild/tmp/build/ruby-1.8//rubyspec/core/regexp/names_spec.rb @@ -21849,31 +21853,31 @@ /home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/date/strptime_spec.rb Date#strptime -- should be able to parse without arguments -- should be able to parse the default date format -- should be able to parse the full day name -- should be able to parse the short day name -- should be able to parse the full month name -- should be able to parse the short month name -- should be able to parse the century -- should be able to parse the month day with leading zeroes -- should be able to parse the month day with leading spaces -- should be able to parse the commercial year with leading zeroes -- should be able to parse the commercial year with only two digits -- should be able to parse the year day with leading zeroes -- should be able to parse the month with leading zeroes -- should be able to show the week number with the week starting on sunday and monday (FAILED - ) -- should be able to show the commercial week day -- should be able to show the commercial week -- should be able to show the week day -- should be able to show the year in YYYY format -- should be able to show the year in YY format -- should be able to parse the date in full -- should be able to parse the date with slashes -- should be able to parse the date as YYYY-MM-DD -- should be able to show the commercial week -- should be able to show MM/DD/YY -- should be able to show a full notation +- returns January 1, 4713 BCE when given no arguments +- uses the default format when not given a date format +- parses a full day name +- parses a short day name +- parses a full month name +- parses a short month name +- parses a century +- parses a month day with leading zeroes +- parses a month day with leading spaces +- parses a commercial year with leading zeroes +- parses a commercial year with only two digits +- parses a year day with leading zeroes +- parses a month with leading zeroes +- parses a week number for a week starting on Sunday +- parses a commercial week day +- parses a commercial week +- parses a week day +- parses a year in YYYY format +- parses a year in YY format +- parses a full date +- parses a date with slashes +- parses a date given as YYYY-MM-DD +- parses a commercial week +- parses a date given MM/DD/YY +- parses a date given in full notation /home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/date/upto_spec.rb Date#upto @@ -32225,39 +32229,6 @@ /home/chkbuild/tmp/build/ruby-1.8//mspec/bin/mspec-run:8 ) -Date#strptime should be able to show the week number with the week starting on sunday and monday FAILED -Expected # - to equal # - -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/matchers/base.rb:8:in `==' -/home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/date/strptime_spec.rb:82 -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `protect' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:149:in `protect' -/home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/date/strptime_spec.rb:2:in `all?' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:149:in `each' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:149:in `all?' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:149:in `protect' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:177:in `process' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:169:in `each' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/context.rb:169:in `process' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:36:in `describe' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/object.rb:11:in `describe' -/home/chkbuild/tmp/build/ruby-1.8//rubyspec/library/date/strptime_spec.rb:4 -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `load' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `files' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:67:in `protect' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:55:in `files' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:49:in `each' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:49:in `files' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/runner/mspec.rb:41:in `process' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/commands/mspec-run.rb:87:in `run' -/home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/utils/script.rb:217:in `main' -/home/chkbuild/tmp/build/ruby-1.8//mspec/bin/mspec-run:8 - - ) SimpleDelegator when frozen is not writeable FAILED Expected RuntimeError but no exception was raised /home/chkbuild/tmp/build/ruby-1.8//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' @@ -35503,7 +35474,7 @@ Finished in seconds -2910 files, 12139 examples, 37472 expectations, 113 failures, 96 errors +2910 files, 12143 examples, 37477 expectations, 112 failures, 96 errors exit 1 failed(rubyspec) == end #