aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext
Commit message (Expand)AuthorAgeFilesLines
* with_timezone test helper renamed with_env_tz, to distinguish between setting...Geoff Buesing2008-01-263-29/+29
* Time#- coerces TimeWithZone argument to a Time instance so that difference in...Geoff Buesing2008-01-252-0/+14
* Adding UTC zone to TimeZone; TimeWithZone no longer has to fake UTC zone with...Geoff Buesing2008-01-253-12/+16
* Time.zone uses thread-local variable for thread safety. Adding Time.use_zone,...Geoff Buesing2008-01-251-24/+38
* Time.days_in_month defaults to current year if no year is supplied as argumen...Geoff Buesing2008-01-251-1/+13
* Adding Time and DateTime #compare_with_coercion, which layers behavior on #<=...Geoff Buesing2008-01-233-3/+51
* Time #in_current_time_zone and #change_time_zone_to_current return self when ...Geoff Buesing2008-01-231-4/+4
* Enumerable#group_by uses ActiveSupport::OrderedHashJeremy Kemper2008-01-231-1/+1
* Adding Time and DateTime #formatted_offset, for outputting +HH:MM utc offset ...Geoff Buesing2008-01-232-0/+27
* Introduce ActiveSupport::TimeWithZone, for wrapping Time instances with a Tim...Geoff Buesing2008-01-231-0/+212
* Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing compatibili...Geoff Buesing2008-01-161-0/+22
* Refactor number-to-HH:MM-string conversion logic from TimeZone#formatted_offs...Geoff Buesing2008-01-121-0/+15
* Fix up Enumerable#group_byJeremy Kemper2008-01-091-2/+6
* Use a decorator module for Files instantiated by Hash.from_xml. Add test cove...Jeremy Kemper2008-01-061-3/+31
* * Continue evolution toward ActiveSupport::TestCase and friends. #10679 [Jos...Jeremy Kemper2008-01-051-1/+1
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-0532-35/+35
* Ruby 1.9 compat: add #raise to AS::BasicObject, fixup Duration argument error...Jeremy Kemper2008-01-021-0/+11
* Fix invalid time test. Closes #10632 [Dirkjan Bussink]Jeremy Kemper2008-01-021-1/+1
* Ruby 1.9 compat: introduce ActiveSupport::FrozenObjectError normalize TypeErr...Jeremy Kemper2007-12-291-0/+4
* Ruby 1.9 compat: introduce instance_variable_names. Closes #10630 [Frederick ...Jeremy Kemper2007-12-281-0/+4
* Multibyte: skip String#each_char test for Ruby 1.9Jeremy Kemper2007-12-211-8/+9
* Hash#symbolize_keys skips keys that can't be symbolized. Closes #10500.Jeremy Kemper2007-12-201-3/+9
* Ruby 1.9 compat: 'a'.ord == 'a'[0]Jeremy Kemper2007-12-151-0/+5
* Ruby 1.9 compat: shadowed vars, kcodeJeremy Kemper2007-12-152-5/+9
* Ruby 1.9 compat: define Duration#== [chuyeow]Jeremy Kemper2007-12-152-2/+0
* Ruby 1.9 compat: normalize date and time xmlschema to match Ruby's formatting...Jeremy Kemper2007-12-151-4/+3
* Ruby 1.9 compat: prefer builtin String#starts_ and ends_with? if available [c...Jeremy Kemper2007-12-151-1/+9
* Added that Array#to_param calls to_param on all it's elements (closes #10473)...David Heinemeier Hansson2007-12-141-0/+10
* Ruby 1.9 compat. References #1689 [Pratik Naik]Jeremy Kemper2007-12-102-4/+4
* to_sentence returns self[0].to_s instead of just self[0] for arrays of length...Jeremy Kemper2007-12-091-1/+3
* Fix HashWithIndifferentAccess#to_options! so it doesn't clear the options has...Rick Olson2007-12-081-0/+8
* Fix potential extra space in Array#to_sentence. Closes #10327 [kamal]Michael Koziarski2007-12-021-0/+6
* Added Array#from and Array#to that behaves just from String#from and String#t...David Heinemeier Hansson2007-11-271-0/+14
* Fix that empty collections should be treated as empty arrays regardless of wh...David Heinemeier Hansson2007-11-251-0/+11
* Honor Ruby's default calendar reform setting when creating DateTime objects v...Geoff Buesing2007-11-243-1/+13
* Change Time and DateTime #end_of_month to return last second of month instea...Geoff Buesing2007-11-242-8/+6
* Speedup String#blank? and remove some overspecified tests.Jeremy Kemper2007-11-141-39/+4
* Cater for DST changes when converting Times to DateTimes. Closes #10068 [gbu...Michael Koziarski2007-11-053-6/+30
* Add new superclass_delegating_accessors. Similar to class inheritable attrib...Michael Koziarski2007-10-291-0/+105
* Hash#to_xml handles symbol values. Closes #9954.Jeremy Kemper2007-10-231-2/+5
* Hash#symbolize_keys behaves well with integer keys. Closes #9890.Jeremy Kemper2007-10-161-0/+6
* Add a time to duplicable testsJeremy Kemper2007-10-151-1/+1
* object.duplicable? returns true if object.dup is safe. False for nil, true, f...Jeremy Kemper2007-10-151-0/+22
* Time, Date and DateTime #advance accept :weeks option. Closes #9866.Jeremy Kemper2007-10-133-4/+16
* Fix Time#years_ago and #years_since from leap days. Closes #9865.Jeremy Kemper2007-10-131-0/+2
* Time and DateTime#advance accept :hours, :minutes, and :seconds options. Clos...Jeremy Kemper2007-10-132-3/+25
* Fix Date#years_ago and #years_since from leap days. Closes #9864.Jeremy Kemper2007-10-132-0/+4
* Refactor Time and Date#months_since and #months_ago to use #advance. Closes #...Jeremy Kemper2007-10-133-0/+12
* Style update for new Range extensionsJeremy Kemper2007-10-091-6/+5
* * Add Range#overlaps?(range), Range#include?(range), and Range#step without a...Michael Koziarski2007-10-081-0/+51