COMMIT Fiber.yield: Terminology fix: use "root Fiber". http://github.com/rubyspec/rubyspec/commit/6fecf1d20d4b4116210c28010e1fd82a1dd64499 COMMIT Fiber.current: Write initial spec. http://github.com/rubyspec/rubyspec/commit/7ecd43eece25e45c88cfc997067eca03c59b0bc2 COMMIT Fiber.yield: Fix description typo ("Fiber#yield") http://github.com/rubyspec/rubyspec/commit/8d607d944362c4c7d167df6459a531e4f4281e01 COMMIT Fiber#transfer: Write initial specification. http://github.com/rubyspec/rubyspec/commit/02f24925b785f26da4eff4a5eab1eaff78d36198 COMMIT Fiber#resume raises FiberError on "double resume". http://github.com/rubyspec/rubyspec/commit/43a46114c5a8bf539ae910f721838e975022ddfb COMMIT Fiber#yield: Initial spec. http://github.com/rubyspec/rubyspec/commit/906dcaf99547052ff49096401eba741c1660c6fc COMMIT Fiber#resume: Initial spec. http://github.com/rubyspec/rubyspec/commit/268962a2a9d1a21165c41a6ec0128431ef2f8483 COMMIT Fiber#alive?: Initial specs; marred by bug #1547. http://github.com/rubyspec/rubyspec/commit/dd39aca093abe34ae4e23dc1a41761227b28aef8 COMMIT Fiber.new: Initial spec. http://github.com/rubyspec/rubyspec/commit/4a52bd1b83194b7afba64659b2c441b60682e8ed COMMIT Array#index: Move unshared specs. from shared/. http://github.com/rubyspec/rubyspec/commit/c38737a5c8ba075fcd23cf583a1e4c42a992ede2 COMMIT Array#key: Method doesn't exist; deleting spec. http://github.com/rubyspec/rubyspec/commit/915b8637cb49dfbdcb7e3a81ce34585ca689ca5f COMMIT Array#permutation: Use be_an_instance_of matcher. http://github.com/rubyspec/rubyspec/commit/5a2c0ee3c7ac746e52b1e4b640efd8c47f8f926d COMMIT String#bytes: Initial spec for 1.8.7 method. http://github.com/rubyspec/rubyspec/commit/e8f37e985e1e3d3d0ea1d151fa754b3691e38a0b --- 20090531T080334 +++ 20090601T080500 @@ -1,8921 +1,8921 @@ IMAPTest#test_imaps_with_ca_file: s: . IMAPTest#test_starttls: s: . IMAPTest#test_unexpected_eof: s: . -MinitestSpec#test_needs_to_verify_types_of_objects: s: . -MinitestSpec#test_needs_to_verify_non_identity: s: . -MinitestSpec#test_needs_to_verify_non_nil: s: . -MinitestSpec#test_needs_to_verify_identity: s: . MinitestSpec#test_needs_to_verify_equality: s: . -MinitestSpec#test_needs_to_verify_inequality: s: . -MinitestSpec#test_needs_to_verify_mismatch: s: . -MinitestSpec#test_needs_to_verify_nil: s: . MinitestSpec#test_needs_to_be_able_to_catch_a_minitest_assertion_exception: s: . -MinitestSpec#test_needs_to_verify_throw: s: . -MinitestSpec#test_needs_raise_if_an_expected_exception_is_not_raised: s: . -MinitestSpec#test_needs_to_verify_using_any_operator: s: . -MinitestSpec#test_needs_to_catch_an_unexpected_exception: s: . -MinitestSpec#test_needs_to_verify_regexp_matches: s: . +MinitestSpec#test_needs_to_verify_non_nil: s: . +MinitestSpec#test_needs_to_verify_non_identity: s: . MinitestSpec#test_needs_to_verify_floats_within_a_delta: s: . -MinitestSpec#test_needs_to_catch_an_expected_exception: s: . -MinitestSpec#test_needs_to_verify_using_respond_to: s: . MinitestSpec#test_needs_to_verify_kinds_of_objects: s: . +MinitestSpec#test_needs_to_verify_mismatch: s: . MinitestSpec#test_needs_to_have_all_methods_named_well: s: . +MinitestSpec#test_needs_to_verify_inequality: s: . +MinitestSpec#test_needs_to_verify_regexp_matches: s: . +MinitestSpec#test_needs_to_verify_throw: s: . +MinitestSpec#test_needs_to_verify_nil: s: . +MinitestSpec#test_needs_to_catch_an_unexpected_exception: s: . +MinitestSpec#test_needs_to_verify_using_respond_to: s: . +MinitestSpec#test_needs_to_verify_identity: s: . +MinitestSpec#test_needs_to_verify_types_of_objects: s: . +MinitestSpec#test_needs_to_catch_an_expected_exception: s: . +MinitestSpec#test_needs_to_verify_using_any_operator: s: . +MinitestSpec#test_needs_raise_if_an_expected_exception_is_not_raised: s: . NonString#test_6: s: . NonString#test_7: s: . OpenSSL::TestASN1#test_decode: s: . @@ -16416,15 +16416,6 @@ - calls #to_str to convert the separator to a String - raises a TypeError if the separator cannot be coerced to a String by calling #to_str -/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/key_spec.rb -Array#key -- returns the index of the first element == to object (ERROR - ) -- returns 0 if first element == to object (ERROR - ) -- returns size-1 if only last element == to object (ERROR - ) -- returns nil if no element == to object (ERROR - ) -- accepts a block instead of an argument (ERROR - ) -- ignore the block if there is an argument (ERROR - ) - /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/last_spec.rb Array#last - returns the last element @@ -18453,6 +18444,58 @@ FalseClass#^ - returns false if other is nil or false, otherwise true +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/fiber/alive_spec.rb +Fiber#alive? +- doesn't invoke the block associated with the Fiber +- returns false for a Fiber that's dead +- always returns false for a dead Fiber + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/fiber/current_spec.rb +Fiber.current +- returns the root Fiber when called outside of a Fiber +- returns the current Fiber when called from a Fiber +- returns the current Fiber when called from a Fiber that transferred to another + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/fiber/new_spec.rb +Fiber.new +- creates a fiber from the given block +- raises an ArgumentError if called without a block +- does not invoke the block + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/fiber/resume_spec.rb +Fiber#resume +- passes control to the beginning of the block on first invocation +- returns the last value encountered on first invocation +- runs until the end of the block or Fiber.yield on first invocation +- resumes from the last call to Fiber.yield on subsequent invocations +- accepts any number of arguments +- sets the block parameters to its arguments on the first invocation +- raises a FiberError if the Fiber is dead +- raises a FiberError if the Fiber has transfered control to another Fiber + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/fiber/transfer_spec.rb +Fiber#transfer +- passes control to the beginning of the block on first invocation +- returns the last value encountered on first invocation +- runs until the end of the block or Fiber.yield on first invocation +- resumes from the last call to Fiber.yield on subsequent invocations +- accepts any number of arguments +- sets the block parameters to its arguments on the first invocation +- raises a FiberError if the Fiber is dead +- raises a FiberError if the Fiber has transfered control to another Fiber +- transfers control from one Fiber to another when called from a Fiber +- can be invoked from the root Fiber +- can be invoked from the same Fiber it transfers control to +- can transfer control to a Fiber that has transfered to another Fiber + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/fiber/yield_spec.rb +Fiber.yield +- passes control to the Fiber's caller +- returns its arguments to the caller +- returns nil to the caller if given no arguments +- returns to the Fiber the value of the #resume call that invoked it +- raises a FiberError if called from the root Fiber + /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/file/atime_spec.rb File.atime - returns the last access time for the named file as a Time object @@ -20507,8 +20550,7 @@ - flattens a nested array before writing it - writes [...] for a recursive array arg - writes a newline after objects that do not end in newlines -- does not write a newline after objects that end in newlinesheh - +- does not write a newline after objects that end in newlines - ignores the $/ separator global - raises IOError on closed stream @@ -23360,6 +23402,17 @@ - accepts no arguments - returns true for the empty String +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/string/bytes_spec.rb +String#bytes +- returns an Enumerator when no block is given +- yields each byte to a block if one is given, returning self +- returns #bytesize bytes +- returns bytes as Fixnums +- agrees with #unpack('C*') +- yields/returns no bytes for the empty string +- agrees with #getbyte +- is unaffected by #force_encoding + /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/string/bytesize_spec.rb #String#bytesize - needs to be reviewed for spec completeness