COMMIT Added optional mode argument to have_data matcher. http://github.com/rubyspec/mspec/commit/7b06d1153e0688335264934794eb417a0e37f2b4 COMMIT Windows does not have Fcntl::F_GETFL. http://github.com/rubyspec/rubyspec/commit/4d94329f504b3593cdcb8a110a7acb7b4845e1b1 COMMIT Redo fix for IO#reopen on Windows. http://github.com/rubyspec/rubyspec/commit/9272b6741a68874fc0e7a62801f786117b1ec241 COMMIT Revert "Fix IO#reopen spec on Windows." http://github.com/rubyspec/rubyspec/commit/dd8096bfa67c93bed100c50cc7438d33261ce9b0 COMMIT Fixed C-API rb_throw specs to annotate control flow. http://github.com/rubyspec/rubyspec/commit/c632218b458a9c0caede4752356f7ae835fb4450 COMMIT Fixed Array#pack specs for NnQqVv. http://github.com/rubyspec/rubyspec/commit/cd5a54408dd650d01f9912223e5914028501883e COMMIT Fixed specs for Array#pack IiLlSs. http://github.com/rubyspec/rubyspec/commit/7b3630a4ab26352f68e488be1b899afdae055d02 COMMIT Cleanup Struct specs somewhat, add new #initialize case http://github.com/rubyspec/rubyspec/commit/a2176df06377c3784144a15a33f8bf0226cdca97 COMMIT Don't spec MRI warnings. http://github.com/rubyspec/rubyspec/commit/71b89333ff0d8ba9258d7a5868979571d25e5dc3 COMMIT Add spec for C API rb_throw. http://github.com/rubyspec/rubyspec/commit/826b1587e5acda46681439a0c6107ad139bf443d COMMIT New spec: rb_class2name should accept a Module argument. http://github.com/rubyspec/rubyspec/commit/9787ff0b8e85ee8e26544265954a0fcba681c02b COMMIT Added Array#pack specs for embedded space/NULL. http://github.com/rubyspec/rubyspec/commit/3edfadfc4d556cfef3b6505e072aa96efba0f681 COMMIT Added specs for String#unpack Cc directives. http://github.com/rubyspec/rubyspec/commit/3b0d98fc655bba54a3259930c787721105b11880 COMMIT Add specs for rb_yield_values http://github.com/rubyspec/rubyspec/commit/83c40d74c77c857df21c19263678828d46f0a5d9 COMMIT Spec that File.size and .size? try to convert argument to an IO. http://github.com/rubyspec/rubyspec/commit/5956f7d9046790b03f1049e0b7c5012937762555 COMMIT Some fixes for Hash specs. Closes #364. http://github.com/rubyspec/rubyspec/commit/a25d2598d766dadee865d3fccc490fb9f6c9853e COMMIT Another next with ensure spec. http://github.com/rubyspec/rubyspec/commit/f4c9fb7234ec9ebb197e62251fd55475a7885587 COMMIT Specs for next running ensure blocks. http://github.com/rubyspec/rubyspec/commit/9bba29f9ff4db463884134d18be07c1227ec8600 COMMIT Begin fixing Array#pack specs. http://github.com/rubyspec/rubyspec/commit/ceb1d95512bbc19f3d9d5d4a5cba1e7dcd384396 COMMIT Add spec for Array#pack('M') with a multibyte set http://github.com/rubyspec/rubyspec/commit/5a601b8eeb3f4fbd607941c5e5743cc0105fa216 COMMIT spec to test that Time objects return type T_DATA to match MRI http://github.com/rubyspec/rubyspec/commit/68357218f595f511733f263a6af1f37b057aa9b5 COMMIT Add more tests for Regexp#inspect http://github.com/rubyspec/rubyspec/commit/752ec3edef66cc9bbcfd469d7dfd4455ffa0921a COMMIT Add spec for module trying to reopen a class http://github.com/rubyspec/rubyspec/commit/51af2aa0f2d61f995ffdc7ef94daf0e1b13757ad COMMIT Fix EBADF spec failure http://github.com/rubyspec/rubyspec/commit/8e3fc079bf9ab72f8722c792c85fb178c6c9be4a COMMIT C-API specs for rb_set_kcode. http://github.com/rubyspec/rubyspec/commit/9f951ede284aa7bd2acf2ded1e0a6bd68c62fcde COMMIT Fixed path in IO.reopen. Closes #360. http://github.com/rubyspec/rubyspec/commit/77c73f185b950fb72187c35b0f3f19733d2e065b COMMIT Show that the arrays in IO.select are minimized http://github.com/rubyspec/rubyspec/commit/7dc89928a36a42c1896ccc9416b0dce9945e0cde COMMIT Quarantine a spec that fails randomly on linux. Fixes #352 http://github.com/rubyspec/rubyspec/commit/536f5ad7b7cd86215f9bb2774e8746acf536b998 COMMIT Add spec showing IO#reopen's flag passing http://github.com/rubyspec/rubyspec/commit/6845fe4c91aa8e26a475ccaa6017a1204eedf3f5 COMMIT Add for_fd specs http://github.com/rubyspec/rubyspec/commit/983159c50fb0b5e13dc49268be6651d4703be825 COMMIT C-API specs for rb_to_int. http://github.com/rubyspec/rubyspec/commit/a7780ea42c789d3a15ae887c5e7be00c5c4b8ad8 COMMIT Dir#new should call #to_str under 1.8 and #to_path under 1.9 http://github.com/rubyspec/rubyspec/commit/a68e5bbe6c0928aeb5dd709d043e6f5fbc11bbf6 COMMIT Dir should be calling to_str on non-String arguments in Ruby 1.8 http://github.com/rubyspec/rubyspec/commit/a03492a2fb83de9e8bfd0fc603ef03c9ccbb8967 =================================================================== +++ 20100714T093931 @@ 11 @@ URL: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7 ?\227?\131?\170?\227?\131?\157?\227?\130?\184?\227?\131?\136?\227?\131?\170?\227?\129?\174?\227?\131?\171?\227?\131?\188?\227?\131?\136: http://svn.ruby-lang.org/repos/ruby ?\227?\131?\170?\227?\131?\157?\227?\130?\184?\227?\131?\136?\227?\131?\170 UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e +?\227?\131?\170?\227?\131?\147?\227?\130?\184?\227?\131?\167?\227?\131?\179: 28635 ?\227?\131?\142?\227?\131?\188?\227?\131?\137?\231?\168?\174?\229?\136?\165: ?\227?\131?\135?\227?\130?\163?\227?\131?\172?\227?\130?\175?\227?\131?\136?\227?\131?\170 ?\230?\186?\150?\229?\130?\153?\228?\184?\173?\227?\129?\174?\229?\135?\166?\231?\144?\134: ?\231?\137?\185?\227?\129?\171?\227?\129?\170?\227?\129?\151 ?\230?\156?\128?\231?\181?\130?\229?\164?\137?\230?\155?\180?\232?\128?\133: shyouhei @@ 8628 @@ - returns the number of non-nil elements - properly handles recursive arrays +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/pack/c_spec.rb Array#pack with format 'C' +- encodes the least significant eight bits of a positive number +- encodes the least significant eight bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer - accepts a Symbol as a pack argument because it responds to #to_int +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int +- raises ArgumentError when the format modifier is '_' +- raises ArgumentError when the format modifier is '!' Array#pack with format 'c' +- encodes the least significant eight bits of a positive number +- encodes the least significant eight bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer - accepts a Symbol as a pack argument because it responds to #to_int +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int +- raises ArgumentError when the format modifier is '_' +- raises ArgumentError when the format modifier is '!' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/pack/i_spec.rb Array#pack with format 'I' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int Array#pack with format 'i' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int Array#pack with format 'I' +- encodes the least significant 32 bits of a positive number +- encodes the least significant 32 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +Array#pack with format 'I' with modifier '_' +- encodes the least significant 32 bits of a number +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +Array#pack with format 'I' with modifier '!' +- encodes the least significant 32 bits of a number +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier Array#pack with format 'i' +- encodes the least significant 32 bits of a positive number +- encodes the least significant 32 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +Array#pack with format 'i' with modifier '_' +- encodes the least significant 32 bits of a number +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +Array#pack with format 'i' with modifier '!' +- encodes the least significant 32 bits of a number +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/pack/l_spec.rb Array#pack with format 'L' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int Array#pack with format 'l' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int Array#pack with format 'L' +- encodes the least significant 32 bits of a positive number +- encodes the least significant 32 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives Array#pack with format 'l' +- encodes the least significant 32 bits of a positive number +- encodes the least significant 32 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +Array#pack with format 'L' with modifier '_' +- encodes the least significant 32 bits of a positive number +- encodes the least significant 32 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +Array#pack with format 'L' with modifier '!' +- encodes the least significant 32 bits of a positive number +- encodes the least significant 32 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +Array#pack with format 'l' with modifier '_' +- encodes the least significant 32 bits of a positive number +- encodes the least significant 32 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +Array#pack with format 'l' with modifier '!' +- encodes the least significant 32 bits of a positive number +- encodes the least significant 32 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/pack/n_spec.rb Array#pack with format 'N' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int +- encodes the least significant 32 bits of a positive number +- encodes the least significant 32 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives Array#pack with format 'n' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int +- encodes the least significant 16 bits of a positive number +- encodes the least significant 16 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/pack/q_spec.rb Array#pack with format 'Q' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int Array#pack with format 'q' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int Array#pack with format 'Q' +- encodes the least significant 64 bits of a positive number +- encodes the least significant 64 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives Array#pack with format 'q' +- encodes the least significant 64 bits of a positive number +- encodes the least significant 64 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/pack/s_spec.rb Array#pack with format 'S' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int Array#pack with format 's' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int Array#pack with format 'S' +- encodes the least significant 16 bits of a positive number +- encodes the least significant 16 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +Array#pack with format 'S' with modifier '_' +- encodes the least significant 16 bits of a positive number +- encodes the least significant 16 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +Array#pack with format 'S' with modifier '!' +- encodes the least significant 16 bits of a positive number +- encodes the least significant 16 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives Array#pack with format 's' +- encodes the least significant 16 bits of a positive number +- encodes the least significant 16 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +Array#pack with format 's' with modifier '_' +- encodes the least significant 16 bits of a positive number +- encodes the least significant 16 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +Array#pack with format 's' with modifier '!' +- encodes the least significant 16 bits of a positive number +- encodes the least significant 16 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/pack/v_spec.rb Array#pack with format 'V' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int +- encodes the least significant 32 bits of a positive number +- encodes the least significant 32 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives Array#pack with format 'v' +- raises an ArgumentError if there are fewer elements than the format requires +- returns an empty String if count is zero - raises a TypeError when passed a String +- raises a TypeError when the object does not respond to #to_int +- encodes the least significant 16 bits of a positive number +- encodes the least significant 16 bits of a negative number +- encodes a Float truncated as an Integer +- calls #to_int to convert the pack argument to an Integer +- encodes the number of array elements specified by the count modifier +- encodes all remaining elements when passed the '*' modifier +- ignores NULL bytes between directives +- ignores spaces between directives /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/array/pack_spec.rb Array#pack @@ 9526 @@ - ignores star parameter - properly handles recursive arrays +Array#pack with format 'M' with a multibyte $KCODE +- encodes multibyte characters Array#pack with format 'm' - encodes string with Base64 encoding @@ 10574 @@ - returns nil for directories current user has no permission to read /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/dir/home_spec.rb +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/dir/initialize_spec.rb +Dir#initialize - calls #to_str on non-String arguments /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/dir/inspect_spec.rb @@ 12062 @@ - accepts a String-like (to_str) parameter File.size? +- calls #to_io to convert the argument to an IO File.size? - returns nil if file_name doesn't exist or has 0 size @@ 12078 @@ - accepts a String-like (to_str) parameter File.size +- calls #to_io to convert the argument to an IO File.size - raises an error if file_name doesn't exist @@ 13153 @@ - does not return default values for keys with nil values - compares keys with eql? semantics - compares key via hash +- does not compare keys with different #hash values via #eql? +- compares keys with the same #hash value via #eql? Hash.[] - needs to be reviewed for spec completeness @@ 13223 @@ - returns true if the key's matching value was nil - returns true if the key's matching value was false - returns true if the key is nil +- compares keys with the same #hash value via #eql? /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/hash/has_value_spec.rb Hash#has_value? @@ 13244 @@ - returns true if the key's matching value was nil - returns true if the key's matching value was false - returns true if the key is nil +- compares keys with the same #hash value via #eql? /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/hash/index_spec.rb Hash#index @@ 13271 @@ - tries to convert the passed argument to a hash using #to_hash - calls to_hash on hash subclasses - does not transfer default values +- raises a RuntimeError if called on a frozen instance that is modified /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/hash/initialize_spec.rb Hash#initialize @@ 13301 @@ - returns true if the key's matching value was nil - returns true if the key's matching value was false - returns true if the key is nil +- compares keys with the same #hash value via #eql? /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/hash/keys_spec.rb Hash#keys @@ 13318 @@ - returns true if the key's matching value was nil - returns true if the key's matching value was false - returns true if the key is nil +- compares keys with the same #hash value via #eql? /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/hash/merge_spec.rb Hash#merge @@ 13377 @@ - tries to convert the passed argument to a hash using #to_hash - calls to_hash on hash subclasses - does not transfer default values +- raises a RuntimeError if called on a frozen instance that is modified /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/hash/select_spec.rb Hash#select @@ 14161 @@ - returns self - positions a newly created instance at the beginning of the new stream - positions an instance that has been read from at the beginning of the new stream +- passes all mode flags through - effects exec/system/fork performed after it IO#reopen with a String @@ 14181 @@ IO#reopen with an IO - associates the IO instance with the other IO's stream - may change the class of the instance +- sets path equals to the other IO's path if other IO is File /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/io/rewind_spec.rb IO#rewind @@ 14211 @@ - returns immediately all objects that are ready for I/O when timeout is 0 - returns nil after timeout if there are no objects ready for I/O - returns supplied objects when they are ready for I/O +- leaves out IO objects for which there is no I/O ready - returns supplied objects correctly even when monitoring the same object in different arrays - invokes to_io on supplied objects that are not IO - raises TypeError if supplied objects are not IO @@ 18145 @@ - returns a formatted string that would eval to the same regexp - correctly escapes forward slashes / - doesn't over escape forward slashes +- escapes 2 slashes in a row properly +- does not over escape /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/regexp/kcode_spec.rb Regexp#kcode @@ 19520 @@ - raises a TypeError if self is frozen /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/string/try_convert_spec.rb +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/string/unpack/c_spec.rb +String#unpack with format 'C' +- decodes one byte for a single format character +- decodes two bytes for two format characters +- decods the number of bytes requested by the count modifier +- decodes the remaining bytes when passed the '*' modifier +- decodes the remaining bytes when passed the '*' modifer after another directive +- decodes zero bytes when no bytes remain and the '*' modifier is passed +- adds nil for each element requested beyond the end of the String +- ignores NULL bytes between directives +- ignores spaces between directives +- decodes a byte with most significant bit set as a positive number +String#unpack with format 'c' +- decodes one byte for a single format character +- decodes two bytes for two format characters +- decods the number of bytes requested by the count modifier +- decodes the remaining bytes when passed the '*' modifier +- decodes the remaining bytes when passed the '*' modifer after another directive +- decodes zero bytes when no bytes remain and the '*' modifier is passed +- adds nil for each element requested beyond the end of the String +- ignores NULL bytes between directives +- ignores spaces between directives +- decodes a byte with most significant bit set as a negative number /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/string/unpack_spec.rb String#unpack @@ 19691 @@ - is private - does nothing when passed a set of fields equal to self - explicitly sets instance variables to nil when args not provided to initialize +- can be overriden /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/core/struct/inspect_spec.rb Struct#inspect @@ 21348 @@ - is executed when an exception is raised and rescued in it's corresponding begin block - is executed even when a symbol is thrown in it's corresponding begin block - is executed when nothing is raised or thrown in it's corresponding begin block +- has no return value An ensure block inside a method - is executed when an exception is raised in the method @@ 21563 @@ module - has the right name - gets a name when assigned to a constant +- raises a TypeError if the constant is a class +- raises a TypeError if the constant is not a module An anonymous module - returns an empty string for its name @@ 21578 @@ - returns to the invoking method - returns to the invoking method, with the specified value - returns to the currently yielding method in case of chained calls +- causes ensure blocks to run +- skips following code outside an exception block +The next statement in a while loop +- causes nested ensure blocks to run +- causes ensure blocks to run when mixed with break +The next statement in a while loop when not passed an argument +- causes ensure blocks to run +- causes ensure blocks to run when nested in an block +The next statement in a while loop when passed an argument +- causes ensure blocks to run +- causes ensure blocks to run when nested in an block +The next statement in an until loop +- causes nested ensure blocks to run +- causes ensure blocks to run when mixed with break +The next statement in an until loop when not passed an argument +- causes ensure blocks to run +- causes ensure blocks to run when nested in an block +The next statement in an until loop when passed an argument +- causes ensure blocks to run +- causes ensure blocks to run when nested in an block +The next statement in a loop +- causes nested ensure blocks to run +- causes ensure blocks to run when mixed with break +The next statement in a loop when not passed an argument +- causes ensure blocks to run +- causes ensure blocks to run when nested in an block +The next statement in a loop when passed an argument +- causes ensure blocks to run +- causes ensure blocks to run when nested in an block Assignment via next - assigns objects @@ 30074 @@ - looks for numeric addresses when set to true /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/library/socket/basicsocket/for_fd_spec.rb +BasicSocket#for_fd +- return a Socket instance wrapped around the descriptor /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/library/socket/basicsocket/getpeername_spec.rb Socket::BasicSocket#getpeername @@ 30343 @@ - can be interrupted by Thread#kill - can be interrupted by Thread#raise +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/library/socket/unixserver/for_fd_spec.rb +UNIXServer#for_fd +- can calculate the path /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/library/socket/unixserver/new_spec.rb UNIXServer.new @@ 32239 @@ - rb_define_readonly_variable should define a new readonly global variable - rb_define_hooked_variable should define a C hooked global variable +CApiGlobalSpecs rb_set_kcode +- sets the value of $KCODE /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/optional/capi/hash_spec.rb C-API Hash function rb_hash_new @@ 32273 @@ - raises an exception - terminates the function at the point it was called +C-API Kernel function rb_throw +- sets the return value of the catch block to the specified value - terminates the function at the point it was called - raises a NameError if there is no catch block for the symbol @@ 32290 @@ - returns the result from block evaluation - raises LocalJumpError when no block is given +C-API Kernel function rb_yield_values +- yields passed arguments - returns the result from block evaluation - raises LocalJumpError when no block is given @@ 32391 @@ CApiModule rb_undef_method - undef'ines a method on a class +CApiModule rb_class2name +- returns the module name /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/optional/capi/numeric_spec.rb CApiNumericSpecs rb_num2long @@ 32490 @@ CApiObject rb_any_to_s - converts obj to string +CApiObject rb_to_int +- returns self when called on an Integer +- returns self when called on a Bignum +- calls #to_int to convert and object to an integer +- converts a Float to an Integer by truncation +- raises a TypeError if #to_int does not return an Integer +- raises a TypeError if called with nil +- raises a TypeError if called with true +- raises a TypeError if called with false +- raises a TypeError if called with a String /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/optional/capi/ext/proc_spec.c: In function 'sp_underline_concat_proc': /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/optional/capi/ext/proc_spec.c:: warning: implicit declaration of function 'rb_proc_new' @@ 33233 @@ ) ConditionVariable#broadcast releases all threads waiting in line for this resource ERROR +ThreadError: Thread#join: deadlock 0x13c1a8 - mutual join(0x1fd6154) /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `join' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `each' @@ 33814 @@ /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//mspec/lib/mspec/expectations/expectations.rb:15:in `fail_with' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//mspec/lib/mspec/matchers/base.rb:8:in `==' +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//rubyspec/optional/capi/bignum_spec.rb:74 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//mspec/lib/mspec/runner/mspec.rb:68:in `instance_eval' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//mspec/lib/mspec/runner/mspec.rb:68:in `protect' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth//mspec/lib/mspec/runner/context.rb:179:in `protect' @@ 34187 @@ Finished in seconds +3217 files, 13369 examples, expectations, 24 failures, 34 errors exit 1 failed(rubyspec) == end #