Skip to content

Commit

Permalink
update the rubyspec's tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Jun 16, 2012
1 parent 3d2eb7c commit efb8c27
Show file tree
Hide file tree
Showing 25 changed files with 2 additions and 104 deletions.
6 changes: 0 additions & 6 deletions spec/frozen/tags/macruby/core/time/at_tags.txt

This file was deleted.

4 changes: 0 additions & 4 deletions spec/frozen/tags/macruby/core/time/comparison_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/day_tags.txt

This file was deleted.

9 changes: 0 additions & 9 deletions spec/frozen/tags/macruby/core/time/getlocal_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/gm_tags.txt

This file was deleted.

1 change: 1 addition & 0 deletions spec/frozen/tags/macruby/core/time/hash_tags.txt
@@ -0,0 +1 @@
fails:Time#hash returns a Fixnum
1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/hour_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/inspect_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/local_tags.txt

This file was deleted.

9 changes: 0 additions & 9 deletions spec/frozen/tags/macruby/core/time/localtime_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/mday_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/min_tags.txt

This file was deleted.

4 changes: 1 addition & 3 deletions spec/frozen/tags/macruby/core/time/minus_tags.txt
@@ -1,3 +1 @@
fails:Time#- accepts arguments that can be coerced into Rational
fails:Time#- does NOT round
fails:Time#- returns a time with the same fixed offset as self
fails:Time#- understands negative subtractions
1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/mktime_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/mon_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/month_tags.txt

This file was deleted.

37 changes: 0 additions & 37 deletions spec/frozen/tags/macruby/core/time/new_tags.txt
@@ -1,39 +1,2 @@
fails:Time.new creates a time based on given values, interpreted in the local time zone
fails:Time.new respects rare old timezones
fails:Time.new accepts 1 argument (year)
fails:Time.new accepts 2 arguments (year, month)
fails:Time.new accepts 3 arguments (year, month, day)
fails:Time.new accepts 4 arguments (year, month, day, hour)
fails:Time.new accepts 5 arguments (year, month, day, hour, minute)
fails:Time.new raises a TypeError if the year is nil
fails:Time.new accepts nil month, day, hour, minute, and second
fails:Time.new handles a String year
fails:Time.new coerces the year with #to_int
fails:Time.new handles a String month given as a numeral
fails:Time.new handles a String month given as a short month name
fails:Time.new coerces the month with #to_str
fails:Time.new coerces the month with #to_int
fails:Time.new handles a String day
fails:Time.new coerces the day with #to_int
fails:Time.new handles a String hour
fails:Time.new coerces the hour with #to_int
fails:Time.new handles a String minute
fails:Time.new coerces the minute with #to_int
fails:Time.new handles a String second
fails:Time.new coerces the second with #to_int
fails:Time.new interprets all numerals as base 10
fails:Time.new handles fractional seconds as a Float
fails:Time.new handles fractional seconds as a Rational
fails:Time.new accepts various year ranges
fails:Time.new returns subclass instances
fails:Time.new with a utc_offset argument returns a non-UTC time
fails:Time.new with a utc_offset argument returns a Time with a UTC offset of the specified number of Integer seconds
fails:Time.new with a utc_offset argument returns a Time with a UTC offset of the specified number of Rational seconds
fails:Time.new with a utc_offset argument returns a Time with a UTC offset specified as +HH:MM
fails:Time.new with a utc_offset argument returns a Time with a UTC offset specified as -HH:MM
fails:Time.new with a utc_offset argument returns a local Time if the argument is nil
fails:Time.new with a utc_offset argument raises ArgumentError if the argument represents a value less than or equal to -86400 seconds
fails:Time.new with a utc_offset argument raises ArgumentError if the argument represents a value greater than or equal to 86400 seconds
fails:Time.new with a utc_offset argument with an argument that responds to #to_int coerces using #to_int
fails:Time.new with a utc_offset argument with an argument that responds to #to_r coerces using #to_r
fails:Time.new with a utc_offset argument with an argument that responds to #to_str coerces using #to_str
3 changes: 0 additions & 3 deletions spec/frozen/tags/macruby/core/time/plus_tags.txt
@@ -1,4 +1 @@
fails:Time#+ does NOT round
fails:Time#+ adds a negative Float
fails:Time#+ accepts arguments that can be coerced into Rational
fails:Time#+ returns a time with the same fixed offset as self
11 changes: 0 additions & 11 deletions spec/frozen/tags/macruby/core/time/strftime_tags.txt
@@ -1,14 +1,3 @@
fails:Time#strftime returns the fractional seconds digits, default is 9 digits (nanosecond) with %N
fails:Time#strftime supports the '-' modifier to drop leading zeros
fails:Time#strftime with %L formats the milliseconds of of the second
fails:Time#strftime with %N formats the nanoseconds of of the second with %N
fails:Time#strftime with %N formats the milliseconds of of the second with %3N
fails:Time#strftime with %N formats the microseconds of of the second with %6N
fails:Time#strftime with %N formats the nanoseconds of of the second with %9N
fails:Time#strftime with %N formats the picoseconds of of the second with %12N
fails:Time#strftime with %z formats a UTC time offset as '+0000'
fails:Time#strftime with %z formats a time with fixed positive offset as '+HHMM'
fails:Time#strftime with %z formats a time with fixed negative offset as '-HHMM'
fails:Time#strftime with %z formats a time with fixed offset as '+/-HH:MM' with ':' specifier
fails:Time#strftime with %z formats a time with fixed offset as '+/-HH:MM:SS' with '::' specifier
fails:Time#strftime with %z rounds fixed offset to the nearest second
6 changes: 0 additions & 6 deletions spec/frozen/tags/macruby/core/time/subsec_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/frozen/tags/macruby/core/time/to_r_tags.txt
@@ -1,4 +1,2 @@
fails:Time#to_r returns the rational number of seconds + usecs since the epoch
fails:Time#to_r returns the numerator of the rational number when the denominator is 1
fails:Time#to_r returns the a Rational representing seconds and subseconds since the epoch
fails:Time#to_r returns a Rational even for a whole number of seconds
1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/to_s_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/utc_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/year_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/frozen/tags/macruby/core/time/zone_tags.txt

This file was deleted.

0 comments on commit efb8c27

Please sign in to comment.