COMMIT [burningTyger] added spec for IO#each http://github.com/rubyspec/rubyspec/commit/5da5daaec9f49297d537b4b7379ab5327467e234 COMMIT [Brian Ford] Fixed Method#parameters fixture for 1.9. http://github.com/rubyspec/rubyspec/commit/9a495dbdfcbacf290ca764b128b92a2b1a5c63bc COMMIT [Brian Ford] Apply Evan's cleanup patch from rbx b358be04. http://github.com/rubyspec/rubyspec/commit/83fd62c0466de8c88928b927324079d7ba93419e COMMIT [Brian Ford] Fixed incorrect placement of describe end in db922f3d. http://github.com/rubyspec/rubyspec/commit/10efcf3f6fb0749656f4731791431e22b53ebcfb COMMIT [Brian Ford] Fixed Class#dup name spec. http://github.com/rubyspec/rubyspec/commit/299aeeed55b38605c65d23e4bb6f16080443b6d6 COMMIT [NARUSE, Yui] Fix platform dependent issue of sticky bit. http://github.com/rubyspec/rubyspec/commit/a7d10d81aa5b4d05ead85c40817b45e5eba74366 COMMIT [NARUSE, Yui] On 1.9, it raises a ArgumentError if not passed a block. http://github.com/rubyspec/rubyspec/commit/320a90ce31ec70c21286e64206d0eae4c2fa61c3 COMMIT [NARUSE, Yui] BigDecimal depends sizeof int/long long from 1.9.3. http://github.com/rubyspec/rubyspec/commit/e4602d11fbed0c137d0dc7c0a523860a5e84c476 COMMIT [NARUSE, Yui] Use valid offset for datetime. http://github.com/rubyspec/rubyspec/commit/ff98dec1239e29eb7305e2e83040b52971b17a32 COMMIT [Evan Phoenix] Rename language/method => language/send, big cleanup http://github.com/rubyspec/rubyspec/commit/fbd4517bf246cbb412b6a5f9d285551e20bd32c3 COMMIT [Brian Ford] Fixed require 'syck' in YAML specs. http://github.com/rubyspec/rubyspec/commit/bc36789f50bad0dc1cc2d06e908aaec9fc838627 COMMIT [NARUSE, Yui] Follow 1.9.3 DateTime's restriction. http://github.com/rubyspec/rubyspec/commit/8259f9fc1613c42184f0fdc294eb2c4fbdfcb0a7 COMMIT [NARUSE, Yui] Quarantine broken specs. http://github.com/rubyspec/rubyspec/commit/62560060779d7e8b7e94b128bbf99e176834b405 COMMIT [Charles Oliver Nutter] Add a few Kernel#exec and Process.spawn specs to pick up 1.9 env var logic. http://github.com/rubyspec/rubyspec/commit/39fde61589a94ee300c6929326706a196f198df0 COMMIT [NARUSE, Yui] Avoid spec collision between language/for and core/module. http://github.com/rubyspec/rubyspec/commit/4e69b46c4026487c46484ef7f0a6ed3ff385e6df =================================================================== +++ 20110622T230713Z @@ 11375 @@ Syck::YAML_Unit_Tests#test_symbol_cycle: s: . Syck::YAML_Unit_Tests#test_time_now_cycle: s: . Syck::YAML_Unit_Tests#test_ypath_parsing: s: . +TC_Enumerable#test_to_set: s: . TC_HMAC_MD5#test_hexdigest: s: . TC_HMAC_MD5#test_reset: s: . TC_HMAC_MD5#test_s_hexdigest: s: . @@ 20653 @@ ) Failure: test_non_realpath_in_loadpath(TestAutoload) [/home/chkbuild/tmp/build/ruby-1.9.2//ruby/test/ruby/test_autoload.rb:32]: <[]> expected but was +<["/home/chkbuild/tmp/build/ruby-1.9.2//tmp/autoload20110623-25992-13ve22k/foo.rb:: warning: useless use of :: in void context"]>. ) Failure: test_end_of_option(TestIRB::TestOption) [/home/chkbuild/tmp/build/ruby-1.9.2//ruby/test/irb/test_option.rb:8]: @@ 24378 @@ Class#dup - duplicates both the class and the singleton class - retains the correct ancestor chain for the singleton class +- sets the name from the class to nil if not assigned to a constant - stores the new name if assigned to a constant /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/core/class/inherited_spec.rb @@ 29085 @@ - does not change $_ - returns self - raises an IOError when self is not readable +- makes line count accessible via lineno +- makes line count accessible via $. - returns an Enumerator when passed no block IO#each_line when passed a String containing one space as a separator @@ 29111 @@ - does not change $_ - returns self - raises an IOError when self is not readable +- makes line count accessible via lineno +- makes line count accessible via $. - returns an Enumerator when passed no block IO#each when passed a String containing one space as a separator @@ 30720 @@ Kernel#exec - is a private method - raises a SystemCallError if cmd cannot execute +- runs the specified command, replacing current process +- passes environment vars to the child environment Kernel.exec - needs to be reviewed for spec completeness @@ 32665 @@ - returns [[:req,:a],[:req,:b],[:opt,:c],[:block,:d]] for a method expecting two required arguments ('a','b'), an optional argument ('c'), a splat argument ('d'), and a block ('e') - returns [[:rest,:a],[:req,:b]] for a method expecting a splat argument ('a') and a required argument ('b') - returns [[:rest,:a],[:req,:b],[:req,:c]] for a method expecting a splat argument ('a') and two required arguments ('b','c') +- returns [[:rest,:a],[:req,:b],[:block,:c]] for a method expecting a splat argument ('a'), a required argument ('b'), and a block ('c') - works with ->(){} as the value of an optional argument /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/core/method/receiver_spec.rb @@ 34331 @@ /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/core/process/spawn_spec.rb Process.spawn +- runs the specified command +- passes environment vars to the child environment - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/core/process/status/_spec.rb @@ 38157 @@ /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/core/thread/fork_spec.rb Thread.fork Thread.start +- raises a ArgumentError if not passed a block - spawns a new Thread running the block - respects Thread subclasses - does not call #initialize @@ 38288 @@ /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/core/thread/start_spec.rb Thread.start Thread.start +- raises a ArgumentError if not passed a block - spawns a new Thread running the block - respects Thread subclasses - does not call #initialize @@ 40408 @@ - goes through the method via a closure - stops at the method when the return is used directly +/home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/language/send_spec.rb +Invoking a method +- with a block makes it available to yield +- with a block converts the block to a Proc +- with an object as a block uses 'to_proc' for coercion +- raises a SyntaxError with both a literal block and an object as block - with same names as existing variables is ok +- with splat operator makes the object the direct arguments - without parentheses works - with a space separating method name and parenthesis treats expression in parenthesis as first argument +- passes literal hashes without curly braces as the last parameter +- passes a literal hash without curly braces or parens - allows to literal hashes without curly braces as the only parameter +Invoking a method with zero arguments +- requires no arguments passed +- raises ArgumentError if the method has a positive arity +Invoking a method with only manditory arguments +- requires exactly the same number of passed values +- raises ArgumentError if the methods arity doesn't match +Invoking a method with optional arguments +- uses the optional argument if none is is passed +- uses the passed argument if available +- raises ArgumentError if extra arguments are passed +Invoking a method with manditory and optional arguments +- uses the passed values in left to right order +- raises an ArgumentError if there are no values for the manditory args +- raises an ArgumentError if too many values are passed +Invoking a method with a rest argument +- is an empty array if there are no additional arguments +- gathers unused arguments +Invoking a private setter method permits self as a receiver - for normal assignment - for multiple assignment +Invoking a private getter method - does not permit self as a receiver +Invoking a method +- with .() invokes #call +- allows a vestigial trailing ',' in the arguments +- with splat operator attempts to coerce it to an Array if the object respond_to?(:to_a) +- with splat operator * and non-Array value uses value unchanged if it does not respond_to?(:to_ary) - accepts additional arguments after splat expansion - accepts multiple splat expansions in the same argument list - expands an array to arguments grouped in parentheses @@ 40463 @@ - expands an array to arguments grouped in parentheses and sets not specified arguments to nil - expands an array to arguments grouped in parentheses which in turn takes rest arguments +Invoking a method with required args after the rest arguments +- binds the required arguments first +Invoking a method with manditory arguments after optional arguments +- binds the required arguments first /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/language/splat_spec.rb Splat operator used to assign a splatted object to an object @@ 43270 @@ - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/library/datetime/min_spec.rb +DateTime.min - returns 0 if no argument is passed - returns the minute passed as argument - adds 60 to negative minutes @@ 43283 @@ - takes a minute fraction near 60 /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/library/datetime/minute_spec.rb +DateTime.minute - returns 0 if no argument is passed - returns the minute passed as argument - adds 60 to negative minutes @@ 43348 @@ - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/library/datetime/sec_spec.rb +DateTime.sec - returns 0 seconds if passed no arguments - returns the seconds passed in the arguments - adds 60 to negative values @@ 43365 @@ - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/library/datetime/second_spec.rb +DateTime.second - returns 0 seconds if passed no arguments - returns the seconds passed in the arguments - adds 60 to negative values @@ 45890 @@ Net::HTTP.get when passed URI when passed path in version 1.1 mode - returns the response and the body for the passed path +- yields each read part of the body to the passed block when passed a block /home/chkbuild/tmp/build/ruby-1.9.2//rubyspec/library/net/http/http/head2_spec.rb Net::HTTP#head2 when passed no block @@ 51900 @@ Finished in seconds +3496 files, 17506 examples, expectations, 2 failures, 0 errors exit 1 failed(rubyspec) == end #