COMMIT [Evan Phoenix] Add mspec -t x19 to run Rubinius in 1.9 mode http://github.com/rubyspec/mspec/commit/827ab467b4ffa38fe9888e8b5b0d2e49186fdcd3 COMMIT [Brian Ford] Show Rake tasks without RSpec installed (patch regularfry). Fixes #4. http://github.com/rubyspec/mspec/commit/e5218fd4906b298a909a991aad0ed5c3fc262c4f COMMIT [Brian Ford] Fixed specs for -x19 support. http://github.com/rubyspec/mspec/commit/3e6132e397a1f161d5f0582c03d59dcb456f8a7a COMMIT [Brian Ford] Fixed OpenStruct specs for #[], #[]=. http://github.com/rubyspec/rubyspec/commit/9bdd28727ceb3e5b085d834810eedfbc673ff72d COMMIT [Dirkjan Bussink] Add spec for module included into singleton ancestor chain http://github.com/rubyspec/rubyspec/commit/7732ac6b9a79a111bbbff40ca60f518a81a569f0 COMMIT [Evan Phoenix] A little spec cleanup http://github.com/rubyspec/rubyspec/commit/8f6e089b2d975ea69c1e6e530d05a558cd891add COMMIT [Evan Phoenix] Add specs for 1.8 vs 1.9 Array casting rules http://github.com/rubyspec/rubyspec/commit/10b19fa7250a33b8ffad885e4e2d1132312c9ec7 COMMIT [Evan Phoenix] Cleanup, shift, and generally cleanup specs http://github.com/rubyspec/rubyspec/commit/4afab837395b086ba47781930208163ca03b95ec COMMIT [Evan Phoenix] Move catch specs into core/kernel/catch http://github.com/rubyspec/rubyspec/commit/38dd145e08ed4bcabe4ee1dc1b1b3b1cfcdc6436 COMMIT [Evan Phoenix] Cleanup class specs and mark spec as not_compliant_on :rubinius http://github.com/rubyspec/rubyspec/commit/baf9767ef9e274f651e59eae713f99b1a35234e3 COMMIT [Evan Phoenix] Add spec for when method_missing is invoked http://github.com/rubyspec/rubyspec/commit/dc16d37e7730f82d386c6950296caab1942abf35 COMMIT [Evan Phoenix] Rename and cleanup the singleton classspec http://github.com/rubyspec/rubyspec/commit/68b77f4dc64263de4f457559e4741984bfbca0db COMMIT [Brian Ford] Fixed catch spec to use identical String value. http://github.com/rubyspec/rubyspec/commit/328b237ae552d341161e97fc5d386e177c83928a COMMIT [Brian Ford] Fixed version guard for DateTime#second spec. http://github.com/rubyspec/rubyspec/commit/66191e737e4f7ce7def4ed18f08f2b977754b385 COMMIT [Brian Ford] Cleaned up constant spec. http://github.com/rubyspec/rubyspec/commit/f66a80432f2f053f197c61f9ec2b03d4803588cf =================================================================== +++ 20110713T231122Z @@ 10773 @@ /home/chkbuild/tmp/build/ruby-1.8.7//rubyspec/core/class/dup_spec.rb Class#dup - duplicates both the class and the singleton class +- retains an included module in the ancestor chain for the singleton class - retains the correct ancestor chain for the singleton class - sets the name from the class to "" if not assigned to a constant - stores the new name if assigned to a constant @@ 15464 @@ - executes its block - returns the last expression evaluated if throw was not called - throws the given name and is caught by matching catch block +- allows a String to be used for the label - matches strings as symbols - matches strings with strings that contain the same characters - requires a block - can be used even in a method different from where throw is called - can be nested - supports nesting with the same name +- raises TypeError if the argument is not a Symbol or String - raises ArgumentError if called without argument - raises LocalJumpError if no block is given @@ 27014 @@ /home/chkbuild/tmp/build/ruby-1.8.7//rubyspec/core/class/dup_spec.rb Class#dup - duplicates both the class and the singleton class +- retains an included module in the ancestor chain for the singleton class - retains the correct ancestor chain for the singleton class - sets the name from the class to "" if not assigned to a constant - stores the new name if assigned to a constant @@ 37314 @@ - executes its block - returns the last expression evaluated if throw was not called - throws the given name and is caught by matching catch block +- allows a String to be used for the label - matches strings as symbols - matches strings with strings that contain the same characters - requires a block - can be used even in a method different from where throw is called - can be nested - supports nesting with the same name +- raises TypeError if the argument is not a Symbol or String - raises ArgumentError if called without argument - raises LocalJumpError if no block is given @@ 51396 @@ - returns a value to the block scope invoking the lambda in a method - raises a LocalJumpError when yielding to a lambda passed as a block argument +Break inside a while loop +- stops a while loop when run +- causes a call with a block to return when run +Break inside a while loop with a value +- exits the loop and returns the value +Break inside a while loop with a splat +- exits the loop and makes the splat an Array +- unwraps the value if there is only one value +- makes the value nil if the splat is empty Executing break from within a block - returns from the original invoking method even in case of chained calls @@ 51569 @@ - searches Object if a toplevel qualifier (::X) is given - does not search the singleton class of the class or module - returns the updated value when a constant is reassigned +- evaluates the right hand side before evaluating a constant path Constant resolution within methods - raises a NameError if no constant is defined in the search path @@ 53027 @@ - with multiple *args and unwraps the last splat - with a *args and multiple rhs args +Invoking a method when the method is not available +- invokes method_missing Invoking a private setter method permits self as a receiver - for normal assignment @@ 53056 @@ Finished in seconds 1 file, 40 examples, expectations, 0 failures, 0 errors +== rubyspec/language/singleton_class_spec.rb #