COMMIT [Brian Ford] Temporarily Revert "Add spec for 'self' in binding from within Class/Module.new block." http://github.com/rubyspec/rubyspec/commit/2a411cb0130671d398a803578587f876748bf843 COMMIT [Evan Phoenix] Clearify #binding rules wrt. self http://github.com/rubyspec/rubyspec/commit/d997c9bffd36e5f99a08e48716152197625780e8 COMMIT [Brian Ford] Handle differences in addr for IPV4/V6. http://github.com/rubyspec/rubyspec/commit/67ef8bbcdf5101911b9f2dded3586957bf30d9de COMMIT [Brian Ford] Separate Socket#getservbyname specs. http://github.com/rubyspec/rubyspec/commit/3f62328626e7b87867bf95f690d1cace61770c3b COMMIT [Brian Ford] Added spec stubs for URI. http://github.com/rubyspec/rubyspec/commit/b6e50e52d43837d878e4d9f5af8214a6d1c0c9dd COMMIT [Postmodern] Added specs for URI::FTP#path=, #path and #to_s. http://github.com/rubyspec/rubyspec/commit/bad49fe5b485d7ca34ad8baf90c2bb057d9b600a COMMIT [Brian Ford] Some tweaks, fixes for URI::FTP specs. http://github.com/rubyspec/rubyspec/commit/4609f5ea93831773369b88e8c8bb0afe0ebd3b58 COMMIT [Brian Ford] Cleaned up a bunch of 'should' in spec descriptions. http://github.com/rubyspec/rubyspec/commit/6cc901994ef645b62defbd6b4ab89025c03b2df7 COMMIT [Brian Ford] Finally cleaned up trailing whitespace in spec files. http://github.com/rubyspec/rubyspec/commit/356fa4fb3e40f3a739c10f256d59a0885bfe39a7 COMMIT [Brian Ford] Added spec stubs for standard library Date. http://github.com/rubyspec/rubyspec/commit/2a78a58362829c75f553457dba5a19e170ac8420 COMMIT [Brian Ford] Reapply d7532571 -- eval('self', binding) in a Class.new block. http://github.com/rubyspec/rubyspec/commit/5b674bce1c3149bd4962327128271bf08283a85f COMMIT [Evan Phoenix] Add rb_cMethod specs. http://github.com/rubyspec/rubyspec/commit/7b45bca4b9543f5487332ded9388289514410e34 =================================================================== +++ 20110415T010215Z @@ 11457 @@ - returns the errno given as optional argument to new SystemCallError#message +- returns the default message when no message is given - returns the message given as an argument to new /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/exception/to_s_spec.rb @@ 11869 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/lstat_spec.rb File.lstat - returns a File::Stat object if the given file exists +- returns a File::Stat objecw when called on an instance of File - raises an Errno::ENOENT if the file does not exist File.lstat @@ 12022 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/reopen_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/setgid_spec.rb File.setgid? +- returns false if the file was just made - returns false if the file does not exist +- returns true when the gid bit is set /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/setuid_spec.rb File.setuid? +- returns false if the file was just made - returns false if the file does not exist +- returns true when the gid bit is set /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/size_spec.rb File.size? @@ 12082 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/atime_spec.rb File::Stat#atime +- returns the atime of a File::Stat object /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/blksize_spec.rb File::Stat#blksize +- returns the blksize of a File::Stat object /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/blockdev_spec.rb File::Stat#blockdev? @@ 12094 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/blocks_spec.rb File::Stat#blocks +- returns the blocks of a File::Stat object /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/chardev_spec.rb File::Stat#chardev? @@ 12104 @@ File::Stat#<=> - is able to compare files by the same modification times - is able to compare files by different modification times +- includes Comparable and #== shows mtime equality between two File::Stat objects /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/ctime_spec.rb File::Stat#ctime +- returns the ctime of a File::Stat object /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/dev_major_spec.rb File::Stat#dev_major @@ 12162 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/gid_spec.rb File::Stat#gid +- returns the group owner attribute of a File::Stat object /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/grpowned_spec.rb File::Stat#grpowned? @@ 12170 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/ino_spec.rb File::Stat#ino +- returns the ino of a File::Stat object /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/inspect_spec.rb File::Stat#inspect @@ 12178 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/mode_spec.rb File::Stat#mode +- returns the mode of a File::Stat object /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/mtime_spec.rb File::Stat#mtime +- returns the mtime of a File::Stat object /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/new_spec.rb File::Stat#initialize @@ 12263 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/uid_spec.rb File::Stat#uid +- returns the owner attribute of a File::Stat object /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/world_readable_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/world_writable_spec.rb @@ 12290 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat_spec.rb File.stat - returns a File::Stat object if the given file exists +- returns a File::Stat objecw when called on an instance of File - raises an Errno::ENOENT if the file does not exist File.stat @@ 12560 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/fixnum/bit_and_spec.rb Fixnum#& - returns self bitwise AND other +- returns self bitwise AND a Bignum - converts a Float to an Integer - tries to convert it's int like argument to an Integer using to_int - raises a TypeError when the given argument can't be converted to Integer @@ 12568 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/fixnum/bit_or_spec.rb Fixnum#| - returns self bitwise OR other +- returns self bitwise OR a Bignum - converts a Float to an Integer - tries to convert the int like argument to an Integer using to_int - raises a TypeError when the given argument can't be converted to Integer @@ 12576 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/fixnum/bit_xor_spec.rb Fixnum#^ - returns self bitwise EXCLUSIVE OR other +- returns self bitwise EXCLUSIVE OR a Bignum - converts a Float to an Integer - tries to convert the given argument to an Integer using to_int - raises a TypeError when the given argument can't be converted to Integer @@ 13239 @@ Hash#initialize - is private - can be used to reset default_proc +- receives the arguments passed to Hash#new - returns self - raises a TypeError if called on a frozen instance @@ 13645 @@ - returns true after reading with sysread - returns true after reading with readlines - returns false on just opened non-empty stream +- does not consume the data from the stream - raises IOError on closed stream - raises IOError on stream closed for reading by close_read - returns true on one-byte stream after single-byte read @@ 14696 @@ - returns a Binding object - encapsulates the execution context properly - raises a NameError on undefined variable +- uses the receiver of #binding as self in the binding +- uses the receiver of #binding as self in a Class.new block /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/kernel/block_given_spec.rb Kernel#block_given? @@ 14884 @@ - allows creating a new class in a binding - allows creating a new class in a binding created by #eval - includes file and line information in syntax error +- sets constants at the toplevel from inside a block - uses the filename of the binding if none is provided +- does not alter the value of __FILE__ in the binding - uses the receiver as self inside the eval - does not pass the block to the method being eval'ed @@ 18307 @@ Regexp.compile given a String - uses the String argument as an unescaped literal to construct a Regexp object +- raises a RegexpError when passed an incorrect regexp - does not set Regexp options if only given one argument - does not set Regexp options if second argument is nil or false - sets options from second argument if it is one of the Fixnum option constants @@ 18401 @@ Regexp.new given a String - uses the String argument as an unescaped literal to construct a Regexp object +- raises a RegexpError when passed an incorrect regexp - does not set Regexp options if only given one argument - does not set Regexp options if second argument is nil or false - sets options from second argument if it is one of the Fixnum option constants @@ 20919 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/thread/backtrace_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/thread/critical_spec.rb Thread.critical= +- is a persistent attribute - allows all non-bool arguments - functions as a critical section - does not change status of other existing threads @@ 21247 @@ - handles string-like second argument - handles string arguments - handles float arguments +- accepts various year ranges - raises an ArgumentError for out of range values - raises ArgumentError for invalid number of arguments - accepts a String or Integer only for arguments @@ 21311 @@ - handles string-like second argument - handles string arguments - handles float arguments +- accepts various year ranges - raises an ArgumentError for out of range values - raises ArgumentError for invalid number of arguments - accepts a String or Integer only for arguments @@ 21347 @@ - handles string-like second argument - handles string arguments - handles float arguments +- accepts various year ranges - raises an ArgumentError for out of range values - raises ArgumentError for invalid number of arguments - accepts a String or Integer only for arguments @@ 21479 @@ - handles string-like second argument - handles string arguments - handles float arguments +- accepts various year ranges - raises an ArgumentError for out of range values - raises ArgumentError for invalid number of arguments - accepts a String or Integer only for arguments @@ 21897 @@ - replaces the original method Defining an 'initialize' method +- sets the method's visibility to private Defining an 'initialize_copy' method +- sets the method's visibility to private An instance method definition with a splat - accepts an unnamed '*' argument @@ 24327 @@ - includes the return value of the passed block when passed a block CGI::HtmlExtension#textarea when passed Hash +- uses the passed Hash as attributes - includes the return value of the passed block when passed a block /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/cgi/initialize_spec.rb @@ 25177 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/broadcast_spec.rb ConditionVariable#broadcast +- returns self if nothing to broadcast to +- returns self if something is waiting for a broadcast +- releases all threads waiting in line for this resource /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/signal_spec.rb ConditionVariable#signal +- returns self if nothing to signal +- returns self if something is waiting for a signal - releases the first thread waiting in line for this resource /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/wait_spec.rb @@ 25471 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/add_month_spec.rb Date#>> +- adds the number of months to a Date +- sets the day to the last day of a month if the day doesn't exist +- raise a TypeError when passed a Symbol +- raise a TypeError when passed a String +- raise a TypeError when passed a Date +- raise a TypeError when passed an Object /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/add_spec.rb Date#+ +- adds the number of days to a Date +- adds a negative number of days to a Date - raises a TypeError when passed a Symbol - raises a TypeError when passed a String +- raises a TypeError when passed a Date +- raises a TypeError when passed an Object +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/ajd_spec.rb Date#ajd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/ajd_to_amjd_spec.rb +Date.ajd_to_amjd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/ajd_to_jd_spec.rb +Date.ajd_to_jd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/amjd_spec.rb Date#amjd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/amjd_to_ajd_spec.rb +Date.amjd_to_ajd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/append_spec.rb Date#<< - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/asctime_spec.rb +Date#asctime - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/boat_spec.rb Date#<=> +- returns 0 when two dates are equal +- returns -1 when self is less than another date +- returns -1 when self is less than a Numeric +- returns 1 when self is greater than another date +- returns 1 when self is greater than a Numeric +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/case_compare_spec.rb Date#=== - needs to be reviewed for spec completeness @@ 25539 @@ - should be able to determine if a date is valid - should be able to handle negative months and days +Date.civil - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/civil_to_jd_spec.rb +Date.civil_to_jd - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/commercial_spec.rb @@ 25557 @@ - should be able to determine if the date is a valid commercial date - should be able to handle negative week and day numbers +Date.commercial - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/commercial_to_jd_spec.rb +Date.commercial_to_jd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/comparison_spec.rb Date#<=> - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/constants_spec.rb Date constants +- defines ITALY +- defines ENGLAND +- defines MONTHNAMES +- defines DAYNAMES +- defines ABBR_MONTHNAMES /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/conversions_spec.rb Date#new_start +- converts a date object into another with a new calendar reform Date#italy +- converts a date object into another with the Italian calendar reform Date#england +- converts a date object into another with the English calendar reform Date#julian +- converts a date object into another with the Julian calendar Date#gregorian +- converts a date object into another with the Gregorian calendar Date#ordinal_to_jd +- converts an ordinal date (year-day) to a Julian day number Date#jd_to_ordinal +- converts a Julian day number into an ordinal date Date#civil_to_jd +- converts a civil date into a Julian day number Date#jd_to_civil +- converts a Julian day into a civil date Date#commercial_to_jd +- converts a commercial date (year - week - day of week) into a Julian day number Date#jd_to_commercial +- converts a Julian day number into a commercial date Date#ajd_to_jd +- converts a Astronomical Julian day number into a Julian day number Date#jd_to_ajd +- converts a Julian day number into a Astronomical Julian day number Date#day_fraction_to_time +- converts a day fraction into time Date#time_to_day_fraction +- converts a time into a day fraction Date#amjd_to_ajd +- converts Astronomical Modified Julian day numbers into Astronomical Julian day numbers Date#ajd_to_amjd +- converts Astronomical Julian day numbers into Astronomical Modified Julian day numbers Date#mjd_to_jd +- converts Modified Julian day numbers into Julian day numbers Date#jd_to_mjd +- converts Julian day numbers into Modified Julian day numbers Date#ld_to_jd +- converts the number of days since the Gregorian calendar in Italy into Julian day numbers Date#jd_to_ld +- converts Julian day numbers into the number of days since the Gregorian calendar in Italy Date#jd_to_wday +- converts a Julian day number into a week day number +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/ctime_spec.rb +Date#ctime - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/cwday_spec.rb Date#cwday - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/cweek_spec.rb Date#cweek - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/cwyear_spec.rb Date#cwyear - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/day_fraction_spec.rb Date#day_fraction - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/day_fraction_to_time_spec.rb +Date.day_fraction_to_time - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/day_spec.rb +Date#day - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/downto_spec.rb Date#downto +- creates earlier dates when passed a negative step +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/england_spec.rb Date#england - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/eql_spec.rb Date#eql? +- returns true if self is equal to another date +- returns false if self is not equal to another date +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/exist1_spec.rb +Date.exist1? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/exist2_spec.rb +Date.exist2? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/exist3_spec.rb +Date.exist3? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/exist_spec.rb +Date.exist? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/existw_spec.rb +Date.existw? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/format/bag/method_missing_spec.rb +Date::Format::Bag#method_missing - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/format/bag/to_hash_spec.rb +Date::Format::Bag#to_hash - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/gregorian_leap_spec.rb +Date.gregorian_leap? - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/gregorian_spec.rb Date#gregorian? +- marks a day before the calendar reform as Julian +- marks a day after the calendar reform as Julian Date#gregorian_leap? +- returns true if a year is a leap year in the Gregorian calendar +- returns false if a year is not a leap year in the Gregorian calendar +Date.gregorian? - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/hash_spec.rb Date#hash +- returns the same value for equal dates +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/infinity/abs_spec.rb +Date::Infinity#abs - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/infinity/coerce_spec.rb +Date::Infinity#coerce - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/infinity/comparison_spec.rb +Date::Infinity#<=> - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/infinity/d_spec.rb +Date::Infinity#d - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/infinity/finite_spec.rb +Date::Infinity#finite? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/infinity/infinite_spec.rb +Date::Infinity#infinite? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/infinity/nan_spec.rb +Date::Infinity#nan? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/infinity/uminus_spec.rb +Date::Infinity#-@ - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/infinity/uplus_spec.rb +Date::Infinity#+@ - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/infinity/zero_spec.rb +Date::Infinity#zero? - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/infinity_spec.rb @@ 25780 @@ - should be able to check whether Infinity is not a number - should be able to coerce a Date::Infinity object +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/inspect_spec.rb +Date#inspect - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/italy_spec.rb Date#italy - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/jd_spec.rb Date#jd - needs to be reviewed for spec completeness +Date.jd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/jd_to_ajd_spec.rb +Date.jd_to_ajd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/jd_to_civil_spec.rb +Date.jd_to_civil - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/jd_to_commercial_spec.rb +Date.jd_to_commercial - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/jd_to_ld_spec.rb +Date.jd_to_ld - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/jd_to_mjd_spec.rb +Date.jd_to_mjd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/jd_to_ordinal_spec.rb +Date.jd_to_ordinal - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/jd_to_wday_spec.rb +Date.jd_to_wday - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/julian_leap_spec.rb +Date.julian_leap? - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/julian_spec.rb @@ 25842 @@ Date#valid_jd? - should be able to determine if a day number is a valid Julian day number, true for all numbers +Date.julian? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/ld_spec.rb Date#ld - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/ld_to_jd_spec.rb +Date.ld_to_jd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/leap_spec.rb +Date#leap? - needs to be reviewed for spec completeness +Date.leap? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/mday_spec.rb Date#mday - needs to be reviewed for spec completeness @@ 25877 @@ - should be able to compute the different between two dates - should raise an error on non numeric parameters +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/mjd_spec.rb Date#mjd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/mjd_to_jd_spec.rb +Date.mjd_to_jd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/mon_spec.rb Date#mon - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/month_spec.rb +Date#month - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/new0_spec.rb +Date.new0 - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/new1_spec.rb +Date.new1 - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/new2_spec.rb +Date.new2 - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/new3_spec.rb +Date.new3 - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/new_spec.rb @@ 25917 @@ - creats a Date for different calendar reform dates - doesn't blow up (illegal instruction and segfault, respectively) when fed huge numbers (FAILED - ) +Date.new - needs to be reviewed for spec completeness +Date.new! - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/new_start_spec.rb Date#new_start - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/newsg_spec.rb +Date#newsg - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/neww_spec.rb +Date.neww - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/next_spec.rb +Date#next - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/ns_spec.rb +Date#ns? - needs to be reviewed for spec completeness +Date.ns? - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/ordinal_spec.rb @@ 25954 @@ - should be able to determine if the date is a valid ordinal date - should be able to handle negative day numbers +Date.ordinal - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/ordinal_to_jd_spec.rb +Date.ordinal_to_jd - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/os_spec.rb +Date#os? - needs to be reviewed for spec completeness +Date.os? - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/parse_spec.rb @@ 26033 @@ - can parse a MM-DD-YY string into a Date object - can parse a MM-DD-YY string into a Date object using the year digits as 20XX +Date.parse - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/plus_spec.rb Date#+ - needs to be reviewed for spec completeness @@ 26046 @@ - should be able to compute the difference between two dates - should be able to compare to another numeric +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/right_shift_spec.rb Date#>> - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/sg_spec.rb +Date#sg - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/start_spec.rb +Date#start - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/step_spec.rb @@ 26137 @@ - parses a date given MM/DD/YY - parses a date given in full notation +Date.strptime - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/succ_spec.rb +Date#succ - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/time_to_day_fraction_spec.rb +Date.time_to_day_fraction - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/to_s_spec.rb +Date#to_s - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/today_spec.rb +Date.today - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/upto_spec.rb Date#upto +- returns future dates for the default step value +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/valid_civil_spec.rb +Date.valid_civil? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/valid_commercial_spec.rb +Date.valid_commercial? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/valid_date_spec.rb +Date.valid_date? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/valid_jd_spec.rb +Date.valid_jd? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/valid_ordinal_spec.rb +Date.valid_ordinal? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/valid_time_spec.rb +Date.valid_time? - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/wday_spec.rb Date#wday - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/yday_spec.rb Date#yday - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/year_spec.rb Date#year - needs to be reviewed for spec completeness +/home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/zone_to_diff_spec.rb +Date.zone_to_diff - needs to be reviewed for spec completeness /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/datetime/_strptime_spec.rb @@ 26817 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/drb/remove_server_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/drb/start_service_spec.rb DRb.start_service +- runs a basic remote call +- runs a basic remote call passing a block /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/drb/stop_service_spec.rb DRb.stop_service +- clears the port so a new server can start /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/drb/thread_spec.rb /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/drb/to_id_spec.rb @@ 36006 @@ - returns the errno given as optional argument to new SystemCallError#message +- returns the default message when no message is given - returns the message given as an argument to new @@ 36754 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/lstat_spec.rb File.lstat - returns a File::Stat object if the given file exists +- returns a File::Stat objecw when called on an instance of File - raises an Errno::ENOENT if the file does not exist File.lstat @@ 37027 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/setgid_spec.rb File.setgid? +- returns false if the file was just made - returns false if the file does not exist +- returns true when the gid bit is set Finished in seconds @@ 37041 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/setuid_spec.rb File.setuid? +- returns false if the file was just made - returns false if the file does not exist +- returns true when the gid bit is set Finished in seconds @@ 37127 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/atime_spec.rb File::Stat#atime +- returns the atime of a File::Stat object Finished in seconds @@ 37139 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/blksize_spec.rb File::Stat#blksize +- returns the blksize of a File::Stat object Finished in seconds @@ 37163 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/blocks_spec.rb File::Stat#blocks +- returns the blocks of a File::Stat object Finished in seconds @@ 37189 @@ File::Stat#<=> - is able to compare files by the same modification times - is able to compare files by different modification times +- includes Comparable and #== shows mtime equality between two File::Stat objects Finished in seconds @@ 37201 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/ctime_spec.rb File::Stat#ctime +- returns the ctime of a File::Stat object Finished in seconds @@ 37327 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/gid_spec.rb File::Stat#gid +- returns the group owner attribute of a File::Stat object Finished in seconds @@ 37351 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/ino_spec.rb File::Stat#ino +- returns the ino of a File::Stat object Finished in seconds @@ 37375 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/mode_spec.rb File::Stat#mode +- returns the mode of a File::Stat object Finished in seconds @@ 37387 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/mtime_spec.rb File::Stat#mtime +- returns the mtime of a File::Stat object Finished in seconds @@ 37596 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat/uid_spec.rb File::Stat#uid +- returns the owner attribute of a File::Stat object Finished in seconds @@ 37671 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/file/stat_spec.rb File.stat - returns a File::Stat object if the given file exists +- returns a File::Stat objecw when called on an instance of File - raises an Errno::ENOENT if the file does not exist File.stat @@ 38253 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/fixnum/bit_and_spec.rb Fixnum#& - returns self bitwise AND other +- returns self bitwise AND a Bignum - converts a Float to an Integer - tries to convert it's int like argument to an Integer using to_int - raises a TypeError when the given argument can't be converted to Integer @@ 38269 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/fixnum/bit_or_spec.rb Fixnum#| - returns self bitwise OR other +- returns self bitwise OR a Bignum - converts a Float to an Integer - tries to convert the int like argument to an Integer using to_int - raises a TypeError when the given argument can't be converted to Integer @@ 38285 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/fixnum/bit_xor_spec.rb Fixnum#^ - returns self bitwise EXCLUSIVE OR other +- returns self bitwise EXCLUSIVE OR a Bignum - converts a Float to an Integer - tries to convert the given argument to an Integer using to_int - raises a TypeError when the given argument can't be converted to Integer @@ 39927 @@ Hash#initialize - is private - can be used to reset default_proc +- receives the arguments passed to Hash#new - returns self - raises a TypeError if called on a frozen instance @@ 40893 @@ - returns true after reading with sysread - returns true after reading with readlines - returns false on just opened non-empty stream +- does not consume the data from the stream - raises IOError on closed stream - raises IOError on stream closed for reading by close_read - returns true on one-byte stream after single-byte read @@ 42627 @@ - returns a Binding object - encapsulates the execution context properly - raises a NameError on undefined variable +- uses the receiver of #binding as self in the binding +- uses the receiver of #binding as self in a Class.new block Finished in seconds @@ 42967 @@ - allows creating a new class in a binding - allows creating a new class in a binding created by #eval - includes file and line information in syntax error +- sets constants at the toplevel from inside a block - uses the filename of the binding if none is provided +- does not alter the value of __FILE__ in the binding - uses the receiver as self inside the eval - does not pass the block to the method being eval'ed @@ 50444 @@ Regexp.compile given a String - uses the String argument as an unescaped literal to construct a Regexp object +- raises a RegexpError when passed an incorrect regexp - does not set Regexp options if only given one argument - does not set Regexp options if second argument is nil or false - sets options from second argument if it is one of the Fixnum option constants @@ 50658 @@ Regexp.new given a String - uses the String argument as an unescaped literal to construct a Regexp object +- raises a RegexpError when passed an incorrect regexp - does not set Regexp options if only given one argument - does not set Regexp options if second argument is nil or false - sets options from second argument if it is one of the Fixnum option constants @@ 55007 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/core/thread/critical_spec.rb Thread.critical= +- is a persistent attribute - allows all non-bool arguments - functions as a critical section - does not change status of other existing threads @@ 55711 @@ - handles string-like second argument - handles string arguments - handles float arguments +- accepts various year ranges - raises an ArgumentError for out of range values - raises ArgumentError for invalid number of arguments - accepts a String or Integer only for arguments @@ 55863 @@ - handles string-like second argument - handles string arguments - handles float arguments +- accepts various year ranges - raises an ArgumentError for out of range values - raises ArgumentError for invalid number of arguments - accepts a String or Integer only for arguments @@ 55939 @@ - handles string-like second argument - handles string arguments - handles float arguments +- accepts various year ranges - raises an ArgumentError for out of range values - raises ArgumentError for invalid number of arguments - accepts a String or Integer only for arguments @@ 56287 @@ - handles string-like second argument - handles string arguments - handles float arguments +- accepts various year ranges - raises an ArgumentError for out of range values - raises ArgumentError for invalid number of arguments - accepts a String or Integer only for arguments @@ 56977 @@ - replaces the original method Defining an 'initialize' method +- sets the method's visibility to private Defining an 'initialize_copy' method +- sets the method's visibility to private An instance method definition with a splat - accepts an unnamed '*' argument @@ 60908 @@ - includes the return value of the passed block when passed a block CGI::HtmlExtension#textarea when passed Hash +- uses the passed Hash as attributes - includes the return value of the passed block when passed a block @@ 62698 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/broadcast_spec.rb ConditionVariable#broadcast +- returns self if nothing to broadcast to +- returns self if something is waiting for a broadcast - releases all threads waiting in line for this resource (ERROR - ) ) ConditionVariable#broadcast releases all threads waiting in line for this resource ERROR +ThreadError: Thread#join: deadlock 0x7faea4cece08 - mutual join(0x7faea39d0fb8) /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `join' /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/broadcast_spec.rb:55 /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `each' @@ 62746 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/conditionvariable/signal_spec.rb ConditionVariable#signal +- returns self if nothing to signal +- returns self if something is waiting for a signal - releases the first thread waiting in line for this resource @@ 63490 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/add_month_spec.rb Date#>> +- adds the number of months to a Date +- sets the day to the last day of a month if the day doesn't exist +- raise a TypeError when passed a Symbol +- raise a TypeError when passed a String +- raise a TypeError when passed a Date +- raise a TypeError when passed an Object Finished in seconds @@ 63507 @@ /home/chkbuild/tmp/build/ruby-1.8.6//rubyspec/library/date/add_spec.rb Date#+ +- adds the number of days to a Date +- adds a negative number of days to a Date - raises a TypeError when passed a Symbol - raises a TypeError when passed a String +- raises a TypeError when passed a Date +- raises a TypeError when passed an Object Finished in seconds 1 file, 6 examples, expectations, 0 failures, 0 errors +== rubyspec/library/date/ajd_spec.rb #