COMMIT ARGF.lineno: Fix example by initializing #lineno http://github.com/rubyspec/rubyspec/commit/1dce91edf909e5ab76307d941c119abbb39b1a65 COMMIT ARGF.lineno: Add example for $. http://github.com/rubyspec/rubyspec/commit/af92863b93403de48e00f682936772f2f9f171d1 COMMIT ARGF.lineno: Clarify interaction with #rewind (#1693) http://github.com/rubyspec/rubyspec/commit/73239b7b4b15932e64bf84d07374f298df4be450 COMMIT String#sub: Add version guard for 1.9 as per bug #1749 http://github.com/rubyspec/rubyspec/commit/70ecb357e1cebb2244504bde8d5aaa4bd264846b COMMIT Enumerator#next: Clarify behaviour at end of stream http://github.com/rubyspec/rubyspec/commit/07c8e9cf11a7fe356dbc54275a353bb89753b2fb COMMIT Array#pack: Fix example for '@' breaking characters http://github.com/rubyspec/rubyspec/commit/275d658effb2469ab74a328394a4c82cf7ea9651 COMMIT Array#pack: '@' forces ASCII 8-bit encoding under 1.9 http://github.com/rubyspec/rubyspec/commit/7a0cbe9d7cfe84e7bbb32cce0cc01a10e76a6d64 COMMIT Array#pack: Can break characters with 'X' under 1.9 http://github.com/rubyspec/rubyspec/commit/1cf77017c0731338aab41ad8873561a593d3faf3 COMMIT Array#pack returns ASCII 8-bit with 'X' on 1.9 http://github.com/rubyspec/rubyspec/commit/ebb2b310357514efe1b137bb1ffb43122ca51575 COMMIT Module#autoload: Calls #to_path on 2nd arg under 1.9 http://github.com/rubyspec/rubyspec/commit/30f8068c7aa96393230114041a38a491f4dcd92a COMMIT Kernel.autoload: Calls #to_path for 2nd arg under 1.9 http://github.com/rubyspec/rubyspec/commit/cabdbe520761ee0dac1611e6fdaa1a3a0683ec63 COMMIT Kernel.load: Calls #to_path on argument under 1.9 http://github.com/rubyspec/rubyspec/commit/08e5860c76afeba32795ade7152215b188640828 COMMIT Kernel.test: Calls #to_path on 2nd arg under 1.9 http://github.com/rubyspec/rubyspec/commit/f138605958c4ec62271ad181971b640137610360 COMMIT File::Stat.new: Calls #to_path on argument under 1.9 http://github.com/rubyspec/rubyspec/commit/3337d4c088e67e7cf5d120c140ba2911cb4dd9cb COMMIT IO.read: Update for BOM modestr change (r24605) http://github.com/rubyspec/rubyspec/commit/a4e7e27d9308d89279a6e065693551e6ab0a0fae --- 20090904T075858 +++ 20090905T035603 @@ -1,15420 +1,15420 @@ Exception raised: <#>. -5877 tests, 2839078 assertions, 4 failures, 7 errors, 0 skips +5877 tests, 2839174 assertions, 4 failures, 7 errors, 0 skips make: *** [test-all] エラー 1 exit 2 failed(test-all) @@ -15552,6 +15552,10 @@ - returns nil when reaching end of files /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/argf/lineno_spec.rb +ARGF.lineno +- resets to 0 after the stream is rewound +- aliases to $. + /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/argf/path_spec.rb ARGF.path - returns the current file name on each file @@ -17000,6 +17004,8 @@ - raises an ArgumentError if count greater than already generated string length - raises an ArgumentError if it is first directive - doesn't increment the array index count +- returns an ASCII 8-bit String +- doesn't care if it breaks a character Array#pack with '@' - moves the end of result string into the specified position by offset from head @@ -17007,6 +17013,7 @@ - concatenates successing formats at the position '@' moves it into - does not recover lost bytes when shorten the string and then extends it again - is able to work with 'X' +- returns a String in ASCII 8-bit Array#pack with format 'x' - returns NUL-byte string @@ -19052,7 +19059,7 @@ Enumerator#next - returns the next element of the enumeration - raises a StopIteration exception at the end of the stream -- rewinds the enumerator after raising StopIteration +- cannot be called again until the enumerator is rewound (FAILED - ) /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/enumerator/peek_spec.rb Enumerator#peek @@ -20198,6 +20205,7 @@ File::Stat#initialize - raises an exception if the file doesn't exist - creates a File::Stat object for the given file +- calls #to_path on non-String arguments /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/file/stat/nlink_spec.rb File::Stat#nlink @@ -22599,6 +22607,8 @@ Kernel.autoload - registers a file to load the first time the toplevel constant is accessed - sets the autoload constant in Object's metaclass's constant table +- calls #to_path on non-String filenames (ERROR - ) +- calls #to_path on non-String filenames (FAILED - ) Kernel.autoload? - returns the name of the file that will be autoloaded @@ -22986,6 +22996,7 @@ - raises a LoadError if the file can't be found - raises a LoadError if filename given without its extension - only accepts strings as the filename argument +- calls #to_path on non-String arguments - allows wrapping the code in the file in an anonymous module Shell expansion in Kernel#load @@ -23407,6 +23418,9 @@ - returns true when passed ?f if the argument is a regular file - returns true when passed ?e if the argument is a file - returns true when passed ?d if the argument is a directory +- calls #to_path on second argument when passed ?f and a filename +- calls #to_path on second argument when passed ?e and a filename +- calls #to_path on second argument when passed ?d and a directory Kernel.test - needs to be reviewed for spec completeness @@ -24186,6 +24200,8 @@ - does not load the file when removing an autoload constant - does not load the file when accessing the constants table of the module - loads the file when opening a module that is the autoloaded constant +- calls #to_path on non-string filenames (ERROR - ) +- calls #to_path on non-string filenames (FAILED - ) - raises an ArgumentError when an empty filename is given - raises a NameError when the constant name starts with a lower case letter - raises a NameError when the constant name starts with a number