COMMIT Updated version to 1.5.14. http://github.com/rubyspec/mspec/commit/ddf4bd5a4c29e36caad2504749a7bfb5dc8eadf5 COMMIT specs for front underscores http://github.com/rubyspec/rubyspec/commit/ac7f581a4187cbefb2e992df29d434b536207c3a COMMIT Clean up flip-flop specs. http://github.com/rubyspec/rubyspec/commit/80c1cb4b8fad153b42a6bcc80d470a6ac9182b45 COMMIT Simplify -e conditional range specs. http://github.com/rubyspec/rubyspec/commit/f834b15817f1ad907f62dca24354ac522abc2282 COMMIT Adding some specs for describing the conditional range notation. http://github.com/rubyspec/rubyspec/commit/1c946ddc157c9a918ac40a07cae35bb8e2abe8ea COMMIT Adding some specs for describing the conditional range notation. http://github.com/rubyspec/rubyspec/commit/11917a035966dfff46877eaa1e8c4aaa793eeabb COMMIT Updated some ruby_bug guards for released 1.8.7p248. http://github.com/rubyspec/rubyspec/commit/cdce2bd03d44d85bf2b9997380b161317d959d27 COMMIT Add spec for eval/__FILE__ stomping behavior http://github.com/rubyspec/rubyspec/commit/df5d15c2bb330713862ab7844d94883293b6ed8d COMMIT Add a test that chdir should call to_str on an object if a block is given http://github.com/rubyspec/rubyspec/commit/22d18b9a9312e57383135fe4d8e7f0ea649d3f09 COMMIT Require mspec v1.5.14. http://github.com/rubyspec/rubyspec/commit/ff81e2b7a0aa20eff46c108fe63364638cbd2936 --- 20100106T084801 +++ 20100107T084822 @@ -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 -リビジョン: 26246 +リビジョン: 26248 ノード種別: ディレクトリ 準備中の処理: 特になし 最終変更者: knu @@ -6602,6 +6602,10 @@ - uses 'main' as self - uses '-e' as file +The -e command line option with -n and a Fixnum range +- mimics an awk conditional by comparing an inclusive-end range with $. +- mimics a sed conditional by comparing an exclusive-end range with $. + /home/chkbuild/tmp/build/ruby-1.8//rubyspec/command_line/dash_r_spec.rb The -r command line option - requires the specified file/home/chkbuild/tmp/build/ruby-1.8//rubyspec/command_line/dash_r_spec.rb:1: command not found: bin/ruby -r ./fixtures/test_file fixtures/require.rb @@ -8898,6 +8902,7 @@ - changes to the specified directory - returns 0 when successfully changing directory - calls #to_str on the argument if it's not a String +- calls #to_str on the argument if it's not a String and a block is given - returns the value of the block when a block is given - defaults to the home directory when given a block but no argument - changes to the specified directory for the duration of the block @@ -13109,6 +13114,7 @@ - includes file and line information in syntax error - should perform top level evaluations from inside a block - uses the filename of the binding if none is provided +- should not alter the value of __FILE__ in the binding Kernel.eval - does not pass the block to the method being eval'ed @@ -18625,6 +18631,12 @@ - evaluates then-body when then-body separated by 'then', expression is true and else part is present - evaluates else-body when then-body separated by 'then' and expression is false +The if expression with a boolean range ('flip-flop' operator) +- mimics an awk conditional with a single-element inclusive-end range +- mimics an awk conditional with a many-element inclusive-end range +- mimics a sed conditional with a zero-element exclusive-end range +- mimics a sed conditional with a many-element exclusive-end range + The postfix if form - evaluates statement if expression is true - does not evaluate statement if expression is false @@ -35487,7 +35499,7 @@ Finished in seconds -2910 files, 12150 examples, 37490 expectations, 112 failures, 96 errors +2910 files, 12158 examples, 37501 expectations, 112 failures, 96 errors exit 1 failed(rubyspec) == end #