COMMIT Complex#inspect: Share btw. 1.8 (lib) and 1.9 (core) http://github.com/rubyspec/rubyspec/commit/11bba3be1d0bb55ef1975172c289d27d4fa9d3a5 COMMIT Comparable#<=>: Returns false if other raises on 1.9 http://github.com/rubyspec/rubyspec/commit/1289b3a45b8d025accbcd5043bb77c55426434c3 COMMIT Complex#-: Share btw. 1.8 (lib) and 1.9 (core) http://github.com/rubyspec/rubyspec/commit/f8a005219bcbc0a1a777c6284773cc57f673a0a4 COMMIT Complex#%: Tag for 1.9; isn't implemented yet. http://github.com/rubyspec/rubyspec/commit/8a452e68e5b045a20ce1964fa997f9d691316b1c COMMIT Complex#%: Share btw. 1.8 (lib) and 1.9 (core) http://github.com/rubyspec/rubyspec/commit/76bd4a4dfc5e5fea1fe48f493ce2621a6767e563 COMMIT Complex#*: Share btw. 1.8 (lib) and 1.9 (core) http://github.com/rubyspec/rubyspec/commit/a08e091b62a60fd6c4f5c2e5d9bea18cd80334b3 COMMIT Complex#numerator: Share btw. 1.8 (lib) and 1.9 (core) http://github.com/rubyspec/rubyspec/commit/6f1d389d431587de25770fed4cb7911e6535347a COMMIT Complex#+: Share spec btw. 1.8 (lib) and 1.9 (core) http://github.com/rubyspec/rubyspec/commit/cf2ca80ca087d38b341b641f13f908ad00fd0cde COMMIT Complex#polar: Share spec btw. 1.8 (lib) and 1.9 (core) http://github.com/rubyspec/rubyspec/commit/f8309c7999c7a7faea8ae1d3fa0bb3bf932c1029 COMMIT Float#<=>: Reconcile expectations with descriptions http://github.com/rubyspec/rubyspec/commit/a4f98bc963b58db4b23aaebf6790a2393f3a11b0 COMMIT Complex#real: Share btw. 1.8 (lib) and 1.9 (core) http://github.com/rubyspec/rubyspec/commit/91c1aa2904d4849d550ebe4bb8effb40fb63325c COMMIT Bignum#<=>: Reconcile an expectation with its description http://github.com/rubyspec/rubyspec/commit/d90d4989a9212e444409f6fb2f8466080bfacc95 COMMIT Dir#exists? Apparently now _doesn't_ expand paths on 1.9. http://github.com/rubyspec/rubyspec/commit/af289906b4838778c2a5b1c881465bdb87b942e6 COMMIT Complex#/: ZeroDivisionError if denominator is 0.0 on 1.9 http://github.com/rubyspec/rubyspec/commit/078ab21fd17977cf62c751872e0ac25a15f20411 COMMIT Complex#to_s: 1.9 displays reals of 0 differently to 1.8 http://github.com/rubyspec/rubyspec/commit/3a0934bb92ad8b1c51938f5183df7c28ef0a9e1c COMMIT Complex#to_s: Guard 1.8 oddity which rightly fails on 1.9 http://github.com/rubyspec/rubyspec/commit/447f1ea25d7e91f3f8176703f3c0c64afe127043 COMMIT Complex#to_s: Share btw. 1.8 (lib) and 1.9 (core) http://github.com/rubyspec/rubyspec/commit/3f5e06039e8ecfd7782cf70dbe5318c7eb88df79 COMMIT Complex: rm 'require "complex"' from shared specs http://github.com/rubyspec/rubyspec/commit/711ccbeac05ceda64b43b8902cf5a26fd9890794 COMMIT Complex: Guard library/complex for < 1.9. http://github.com/rubyspec/rubyspec/commit/7112023a6a5c0028db746b63a982829b5ed6db11 COMMIT Tagged failing examples for 1.9.2dev r23916 http://github.com/rubyspec/rubyspec/commit/6f75d0c5ce0edb5437e84f59eda4a9dce4a39a2d COMMIT Tagged hanging examples on 1.9 http://github.com/rubyspec/rubyspec/commit/36c99501b8d21c3ff21cd7e52244c9c4b1fd0419 COMMIT Fixed my Encoding#find example. http://github.com/rubyspec/rubyspec/commit/2e327278c147a8b4cd3ec5bcddcbdf43923fc132 COMMIT Fixed bug in spec. http://github.com/rubyspec/rubyspec/commit/1d07229669c9b745f03ff7007c0962757828d10a COMMIT Updated Thread specs for 1.9 and added a Thread#wakeup example. http://github.com/rubyspec/rubyspec/commit/c627db14977955ac59598bf630ccc80fac106d82 COMMIT Added example of ObjectSpace#each_object with classes. http://github.com/rubyspec/rubyspec/commit/2128fa594adcf100d14d246bf36b49845b59a8d0 COMMIT Kernel#eval can be aliased. http://github.com/rubyspec/rubyspec/commit/5f45f3fc6ef88023b7c642b123a603b493645717 COMMIT Marked an example as not compliant on MacRuby. http://github.com/rubyspec/rubyspec/commit/cb4ed1673da2d7a24307088248930c9bfad4904b COMMIT File#expand_path expands with a reltive path from HOME as the second argument. http://github.com/rubyspec/rubyspec/commit/a0a867555e5a11b109bf6ffea2114f115e37ad75 COMMIT Encoding#find coerces object with #to_str. http://github.com/rubyspec/rubyspec/commit/11c4ddd96723f84c92f45dfdee3b74639b33dc31 COMMIT Fixed a few examples in the Bignum comparison spec. Signed-off-by: Eloy Duran http://github.com/rubyspec/rubyspec/commit/f3bfacdbfd7198e116e3ed22a2510081890f3556 COMMIT Updated and added a few specs in ./language/ for 1.9. http://github.com/rubyspec/rubyspec/commit/554d336fb5911e571e10cada12402a91ab5f8ac0 COMMIT Add a test for timeout with a specified error type. http://github.com/rubyspec/rubyspec/commit/01c957aeac4ae0fcaf7b48063f8a8e4b6c35a97e COMMIT Marshal.dump: Fix all tests for 1.9. http://github.com/rubyspec/rubyspec/commit/b2b70e3288bf24009c812ee412dd06622ce76b05 COMMIT TODO: Spec Ripper. http://github.com/rubyspec/rubyspec/commit/3c29a0ba6a987e28053783a7158dec0c367d06a3 --- 20090701T100955 +++ 20090702T100034 @@ -1,6066 +1,6067 @@ - only allows symbols and strings - returns the last value of the block if it nothing is thrown - matches strings as symbols +- matches strings with strings that contain the same characters - requires a block - supports nesting - supports nesting with the same name @@ -6280,6 +6281,7 @@ - returns 'constant' when defined?(LanguageDefinedSpecs::SomeConst) is sent - returns 'constant' when evaluating self::FOO in module AAA - returns 'constant' when defined?(File) is sent +- returns 'constant' when defined?(::File) is sent - returns 'constant' when defined?(File::SEPARATOR) is sent - returns 'method' when defined?(Object.nil?) is sent - returns 'expression' when defined?(0) is sent @@ -6381,6 +6383,7 @@ - iterates over an Hash passing each key-value pair to the block - iterates over any object responding to 'each' - allows an instance variable as an iterator name +- allows a class variable as an iterator name - splats multiple arguments together if there are fewer arguments than values - optionally takes a 'do' after the expression - allows body begin on the same line if do is used @@ -6919,11 +6922,11 @@ - abandons processing - supports a second parameter - uses nil as a default second parameter -- only allows symbols and strings as it's argument +- only allows symbols and strings as its argument - converts strings to a symbol - unwinds stack from within a method - unwinds stack from within a lambda -- raises a name error if outside of scope of a matching catch +- raises a NameError if outside of scope of a matching catch - raises a ThreadError if used to exit a thread /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/language/undef_spec.rb @@ -8482,7 +8485,7 @@ - reverses order of nonpositive real numbers Array#pack with format 'M' -- enocdes string with Qouted Printable encoding +- encodes string with Quoted Printable encoding - doesn't encode new line chars - always appends soft line break at the end of encoded string - appends soft line break after each 72 chars + 1 encoded char in encoded string by default @@ -9163,8 +9166,17 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/divide_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/equal_value_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/exponent_spec.rb +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/inspect_spec.rb +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/minus_spec.rb +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/modulo_spec.rb +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/multiply_spec.rb +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/numerator_spec.rb +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/plus_spec.rb +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/polar_spec.rb +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/real_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/rect_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/rectangular_spec.rb +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/complex/to_s_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/continuation/call_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/continuation/continuation_spec.rb Creating a Continuation object @@ -10186,9 +10198,11 @@ - converts a pathname to an absolute pathname, using ~ (home) as base - expand path with - expand_path for commoms unix path give a full path +- leaves multiple prefixed slashes untouched - raises an ArgumentError if the path is not valid - expands ~ENV['USER'] to the user's home directory -- raises an ArgumentError is not passed one or two arguments +- expands ../foo with ~/dir as base dir to /path/to/user/home/foo +- raises an ArgumentError if not passed one or two arguments - raises a TypeError if not passed a String type - expands /./dir to /dir @@ -11983,7 +11997,7 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/io/lineno_spec.rb IO#lineno - raises IOError on closed stream -- returns the current line number (ERROR - ) +- returns the current line number IO#lineno= - raises IOError on closed stream @@ -12039,6 +12053,7 @@ - returns nil for IO not associated with a process - returns the ID of a process associated with stream - raises IOError on closed stream +heh /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/io/pipe_spec.rb IO.pipe @@ -12935,6 +12950,7 @@ - includes file and line information in syntax error - should perform top level evaluations from inside a block - uses the filename of the binding if none is provided +- can be aliased Kernel.eval - does not pass the block to the method being eval'ed @@ -15015,7 +15031,8 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/objectspace/each_object_spec.rb ObjectSpace.each_object -- calls the block once for each living, nonimmediate object in the Ruby process +- calls the block once for each living, non-immediate object in the Ruby process +- calls the block once for each class, module in the Ruby process /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/objectspace/finalizers_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/objectspace/garbage_collect_spec.rb @@ -15060,7 +15077,7 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/proc/binding_spec.rb Proc#binding - returns a Binding instance -- returns the binding associated wiht self +- returns the binding associated with self /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/proc/block_pass_spec.rb Proc as a block pass argument @@ -16904,93 +16921,93 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/symbol/inspect_spec.rb Symbol#inspect -- returns self as a symbol literal for :"9" -- returns self as a symbol literal for :"=>" +- returns self as a symbol literal for :"++" +- returns self as a symbol literal for :"." - returns self as a symbol literal for :[] -- returns self as a symbol literal for :fred? - returns self as a symbol literal for :$: -- returns self as a symbol literal for :$1234 - returns self as a symbol literal for :$! - returns self as a symbol literal for :/ - returns self as a symbol literal for :$< +- returns self as a symbol literal for :" " - returns self as a symbol literal for :".." -- returns self as a symbol literal for :"," -- returns self as a symbol literal for :" foo" +- returns self as a symbol literal for :"\"" - returns self as a symbol literal for :$& +- returns self as a symbol literal for :"@ruby!" - returns self as a symbol literal for :=~ -- returns self as a symbol literal for :"$-ww" - returns self as a symbol literal for :$/ +- returns self as a symbol literal for :@@ruby - returns self as a symbol literal for :> -- returns self as a symbol literal for :"|||" +- returns self as a symbol literal for :"=>" +- returns self as a symbol literal for :fred? - returns self as a symbol literal for :< -- returns self as a symbol literal for :"$ruby?" -- returns self as a symbol literal for :"++" -- returns self as a symbol literal for :"@" +- returns self as a symbol literal for :$1234 +- returns self as a symbol literal for :"foo bar" - returns self as a symbol literal for :>= - returns self as a symbol literal for :` +- returns self as a symbol literal for :"," +- returns self as a symbol literal for :fred - returns self as a symbol literal for :$@ +- returns self as a symbol literal for :" foo" - returns self as a symbol literal for :$> - returns self as a symbol literal for :^ - returns self as a symbol literal for :$= +- returns self as a symbol literal for :"$-ww" - returns self as a symbol literal for :% - returns self as a symbol literal for :=== - returns self as a symbol literal for :$_ -- returns self as a symbol literal for :"'" -- returns self as a symbol literal for :"foo " +- returns self as a symbol literal for :"|||" - returns self as a symbol literal for :$~ +- returns self as a symbol literal for :"$ruby?" - returns self as a symbol literal for :<=> -- returns self as a symbol literal for :"@@ruby?" - returns self as a symbol literal for :$, -- returns self as a symbol literal for :"||" +- returns self as a symbol literal for :"@" - returns self as a symbol literal for :"!" -- returns self as a symbol literal for :"$ruby!" - returns self as a symbol literal for :$" - returns self as a symbol literal for :-@ -- returns self as a symbol literal for :"foo bar" -- returns self as a symbol literal for :";" - returns self as a symbol literal for :>> - returns self as a symbol literal for :~ - returns self as a symbol literal for :$* +- returns self as a symbol literal for :"'" +- returns self as a symbol literal for :"foo " - returns self as a symbol literal for :$. -- returns self as a symbol literal for :"&&" - returns self as a symbol literal for :$+ -- returns self as a symbol literal for :@ruby +- returns self as a symbol literal for :"@@ruby?" - returns self as a symbol literal for :[]= - returns self as a symbol literal for :| -- returns self as a symbol literal for :"*foo" +- returns self as a symbol literal for :"||" - returns self as a symbol literal for :"..." -- returns self as a symbol literal for :"@@ruby!" +- returns self as a symbol literal for :"$ruby!" +- returns self as a symbol literal for :";" - returns self as a symbol literal for :"!~" -- returns self as a symbol literal for :":" - returns self as a symbol literal for :* -- returns self as a symbol literal for :$ruby +- returns self as a symbol literal for :@ruby +- returns self as a symbol literal for :"&&" +- returns self as a symbol literal for :"*foo" - returns self as a symbol literal for :<= - returns self as a symbol literal for :$\ - returns self as a symbol literal for :$; - returns self as a symbol literal for :$' - returns self as a symbol literal for :$? -- returns self as a symbol literal for :"\"\"" -- returns self as a symbol literal for :"@ruby?" +- returns self as a symbol literal for :"@@ruby!" - returns self as a symbol literal for :& - returns self as a symbol literal for :"!=" -- returns self as a symbol literal for :"?" -- returns self as a symbol literal for :"=" -- returns self as a symbol literal for :fred! +- returns self as a symbol literal for :"9" +- returns self as a symbol literal for :":" - returns self as a symbol literal for :== -- returns self as a symbol literal for :"$" -- returns self as a symbol literal for :"." - returns self as a symbol literal for :** -- returns self as a symbol literal for :fred -- returns self as a symbol literal for :" " +- returns self as a symbol literal for :$ruby +- returns self as a symbol literal for :"\"\"" - returns self as a symbol literal for :"::" +- returns self as a symbol literal for :"@ruby?" - returns self as a symbol literal for :+@ - returns self as a symbol literal for :$-w - returns self as a symbol literal for :$` - returns self as a symbol literal for :$$ -- returns self as a symbol literal for :"\"" -- returns self as a symbol literal for :"@ruby!" +- returns self as a symbol literal for :"?" +- returns self as a symbol literal for :"=" +- returns self as a symbol literal for :"$" - returns self as a symbol literal for :<< -- returns self as a symbol literal for :@@ruby +- returns self as a symbol literal for :fred! /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/symbol/to_i_spec.rb Symbol#to_i @@ -17178,6 +17195,7 @@ Thread#run - is not queued - does not result in a deadlock +- raises a ThreadError when trying to wake up a dead thread /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/thread/safe_level_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/thread/start_spec.rb @@ -17239,6 +17257,7 @@ Thread#wakeup - is not queued - does not result in a deadlock +- raises a ThreadError when trying to wake up a dead thread /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/threadgroup/add_spec.rb ThreadGroup#add @@ -18906,7 +18925,7 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/complex/inspect_spec.rb Complex#inspect -- returns "Complex(real, image)" +- returns Complex(real, image) /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/complex/math/acos_spec.rb Math#acos @@ -19375,7 +19394,7 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/complex/polar_spec.rb Complex.polar -- returns a complex number in terms of radius and angle +- returns the absolute value and the argument Complex#polar - returns the absolute value and the argument @@ -19395,7 +19414,7 @@ ConditionVariable#broadcast - should return self if nothing to broadcast to - should return self if something is waiting for a broadcast -- releases all threads waiting in line for this resource +- releases all threads waiting in line for this resource (ERROR - ) /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/conditionvariable/signal_spec.rb ConditionVariable#signal @@ -25848,7 +25867,8 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/timeout/timeout_spec.rb Timeout.timeout -- raises Timeout::Error when it times out +- raises Timeout::Error when it times out with no specified error type +- raises specified error type when it times out - does not wait too long - does not return too quickly - returns back the last value in the block @@ -26232,16 +26252,16 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/bin/mspec-run:8 ) -IO#lineno returns the current line number ERROR -Errno::EBADF: Bad file descriptor - /home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/io/shared/../fixtures/gets.txt -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/io/lineno_spec.rb:12:in `gets' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/io/lineno_spec.rb:12 -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/io/lineno_spec.rb:10:in `open' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/io/lineno_spec.rb:10 +ConditionVariable#broadcast releases all threads waiting in line for this resource ERROR +ThreadError: Thread#join: deadlock 0x7f5cbc625e10 - mutual join(0x251eee0) +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `join' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55 +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `each' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:55 /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `protect' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `protect' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/io/lineno_spec.rb:6:in `all?' +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:2:in `all?' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `each' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `all?' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:135:in `protect' @@ -26250,7 +26270,7 @@ /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/context.rb:155:in `process' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:36:in `describe' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/object.rb:11:in `describe' -/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/core/io/lineno_spec.rb:4 +/home/chkbuild/tmp/build/ruby-1.8.6-pth//rubyspec/library/conditionvariable/broadcast_spec.rb:4 /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `load' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:55:in `files' /home/chkbuild/tmp/build/ruby-1.8.6-pth//mspec/lib/mspec/runner/mspec.rb:67:in `instance_eval' @@ -26331,7 +26351,7 @@ Finished in seconds -2733 files, 10783 examples, 33412 expectations, 3 failures, 1 error +2742 files, 10793 examples, 33427 expectations, 3 failures, 1 error exit 1 failed(rubyspec) == end #