OLDREV 32374 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32374&diff_format=u NEWREV 32542 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32542&diff_format=u CHG ChangeLog 32373->32542 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?p1=branches/ruby_1_8/ChangeLog&r1=32374&r2=32542&pathrev=32542&diff_format=u CHG eval.c 31655->32542 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/eval.c?p1=branches/ruby_1_8/eval.c&r1=32374&r2=32542&pathrev=32542&diff_format=u CHG version.h 32374->32541 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/version.h?p1=branches/ruby_1_8/version.h&r1=32374&r2=32542&pathrev=32542&diff_format=u CHG test/test_securerandom.rb 32365->32540 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/test/test_securerandom.rb?p1=branches/ruby_1_8/test/test_securerandom.rb&r1=32374&r2=32542&pathrev=32542&diff_format=u CHG test/mkmf/base.rb 30068->32540 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/test/mkmf/base.rb?p1=branches/ruby_1_8/test/mkmf/base.rb&r1=32374&r2=32542&pathrev=32542&diff_format=u CHG test/mkmf/test_find_executable.rb 30068->32540 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/test/mkmf/test_find_executable.rb?p1=branches/ruby_1_8/test/mkmf/test_find_executable.rb&r1=32374&r2=32542&pathrev=32542&diff_format=u CHG test/mkmf/test_sizeof.rb 30068->32540 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/test/mkmf/test_sizeof.rb?p1=branches/ruby_1_8/test/mkmf/test_sizeof.rb&r1=32374&r2=32542&pathrev=32542&diff_format=u CHG test/openssl/test_bn.rb 30279->32540 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/test/openssl/test_bn.rb?p1=branches/ruby_1_8/test/openssl/test_bn.rb&r1=32374&r2=32542&pathrev=32542&diff_format=u CHG test/resolv/test_addr.rb 30302->32540 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/test/resolv/test_addr.rb?p1=branches/ruby_1_8/test/resolv/test_addr.rb&r1=32374&r2=32542&pathrev=32542&diff_format=u COMMIT Add mspec -t x19 to run Rubinius in 1.9 mode http://github.com/rubyspec/mspec/commit/827ab467b4ffa38fe9888e8b5b0d2e49186fdcd3 COMMIT Show Rake tasks without RSpec installed (patch regularfry). Fixes #4. http://github.com/rubyspec/mspec/commit/e5218fd4906b298a909a991aad0ed5c3fc262c4f COMMIT Fixed specs for -x19 support. http://github.com/rubyspec/mspec/commit/3e6132e397a1f161d5f0582c03d59dcb456f8a7a COMMIT Fixed OpenStruct specs for #[], #[]=. http://github.com/rubyspec/rubyspec/commit/9bdd28727ceb3e5b085d834810eedfbc673ff72d COMMIT Add spec for module included into singleton ancestor chain http://github.com/rubyspec/rubyspec/commit/7732ac6b9a79a111bbbff40ca60f518a81a569f0 COMMIT A little spec cleanup http://github.com/rubyspec/rubyspec/commit/8f6e089b2d975ea69c1e6e530d05a558cd891add COMMIT Add specs for 1.8 vs 1.9 Array casting rules http://github.com/rubyspec/rubyspec/commit/10b19fa7250a33b8ffad885e4e2d1132312c9ec7 COMMIT Cleanup, shift, and generally cleanup specs http://github.com/rubyspec/rubyspec/commit/4afab837395b086ba47781930208163ca03b95ec COMMIT Move catch specs into core/kernel/catch http://github.com/rubyspec/rubyspec/commit/38dd145e08ed4bcabe4ee1dc1b1b3b1cfcdc6436 COMMIT Cleanup class specs and mark spec as not_compliant_on :rubinius http://github.com/rubyspec/rubyspec/commit/baf9767ef9e274f651e59eae713f99b1a35234e3 COMMIT Add spec for when method_missing is invoked http://github.com/rubyspec/rubyspec/commit/dc16d37e7730f82d386c6950296caab1942abf35 COMMIT Rename and cleanup the singleton classspec http://github.com/rubyspec/rubyspec/commit/68b77f4dc64263de4f457559e4741984bfbca0db COMMIT Fixed catch spec to use identical String value. http://github.com/rubyspec/rubyspec/commit/328b237ae552d341161e97fc5d386e177c83928a COMMIT Fixed version guard for DateTime#second spec. http://github.com/rubyspec/rubyspec/commit/66191e737e4f7ce7def4ed18f08f2b977754b385 COMMIT Cleaned up constant spec. http://github.com/rubyspec/rubyspec/commit/f66a80432f2f053f197c61f9ec2b03d4803588cf COMMIT 20.times is not enough, use 40. http://github.com/rubyspec/rubyspec/commit/abb2485c1cf010f644144a780eb1c1fcdfcaaa23 COMMIT Class#superclass on uninitialized class should raise TypeError. http://github.com/rubyspec/rubyspec/commit/b6b60b2ec33484b1af19a27b306fdb622b1e77f8 =================================================================== +++ 20110714T213703Z @@ 11038 @@ - returns an instance of self - returns a fully-formed instance of Module - does not call initialize on the new instance +- raises TypeError for #superclass /var/lib/chkbuild/tmp/build/ruby-1.8-o3//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 @@ 15781 @@ - 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 @@ 27780 @@ - returns an instance of self - returns a fully-formed instance of Module - does not call initialize on the new instance +- raises TypeError for #superclass Finished in seconds @@ 27793 @@ /var/lib/chkbuild/tmp/build/ruby-1.8-o3//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 @@ 38517 @@ - 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 @@ 53284 @@ - 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 @@ 53457 @@ - 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 @@ 54951 @@ - 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 @@ 54980 @@ Finished in seconds 1 file, 40 examples, expectations, 0 failures, 0 errors +== rubyspec/language/singleton_class_spec.rb #