aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Test for unknown zone with nil utc_offsetSantiago Pastorino2010-04-141-0/+5
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Improve reliability of Inflector.transliterate. [#4374 state:resolved]Norman Clarke2010-04-122-1/+54
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* ActiveSupport::BacktraceCleaner#remove_filters! allows for completely ↵Doug Alcorn2010-04-101-1/+6
| | | | | | untouched backtrace [#4079 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Make tidy_bytes work on 1.9 and improve its performance. [#4350 state:resolved]Norman Clarke2010-04-091-26/+47
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Changed the way inflections for uncountables work for 'funky jeans' [#3576 ↵Rolf Bjaanes2010-04-051-0/+2
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵Xavier Noria2010-04-052-5/+11
| | | | there, same for #class_eval to simplify, and adds coverage for class_eval
* Parameterize should accept malformed utf8 characters [#4323 state:resolved]Kristopher Murata2010-04-041-4/+8
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* delegate unknown timezones to TZInfoSantiago Pastorino2010-04-021-0/+8
|
* Fix class_attribute so that it works with singleton classes.Carl Lerche2010-04-011-0/+6
|
* avoid method redefined; discarding old empty? warning [#4302 state:committed]Santiago Pastorino2010-03-304-16/+8
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* New assertion: assert_present [#4299 state:committed]Juanjo Bazan2010-03-301-1/+21
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* new assertion: assert_blankJuanjo Bazan2010-03-301-0/+28
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* Ruby 1.9.2: marshaling round-trips Time#zoneJeremy Kemper2010-03-283-14/+10
|
* Drop expires argument from call to @data in MemCacheStore so it works with ↵Vladimir Andrijevik2010-03-281-0/+6
| | | | | memcache-client and memcached gems, as advertised [#3672 state:resolved] Signed-off-by: wycats <wycats@gmail.com>
* Time zone tests were right all along.José Valim2010-03-281-4/+4
|
* Ruby's marshaling of Time instances doesn't respect the zone [#4282 ↵Santiago Pastorino2010-03-271-2/+2
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Limit Array#extract_options! to directl instances of Hash and HWIA. Add ↵wycats2010-03-271-0/+34
| | | | extractable_options? to Hash so that subclasses of Hash can opt-into extractable behavior. This fixes an issue where respond_with wasn't working with subclasses of Hash that were provided by other libraries (such as CouchDB or Mashie) [#4145 state:resolved]
* fixing inconsistency with cattr_reader and matter_reader [#4172 state:resolved]Kabari Hendrick2010-03-272-1/+13
| | | Signed-off-by: wycats <wycats@gmail.com>
* Add support for a type=binary with an optional encoding=base64. If the ↵Josh Franklin2010-03-261-1/+3
| | | | | | encoding attribute is absent, the data is considered unencoded. [#2966 state:resolved]
* Remove test ordering bugEvan Phoenix2010-03-221-8/+14
| | | | | Don't reuse classes with class attributes when testing different use cases of class attributes.
* Singleton classes returns parent's methods with instance_methods(false) and ↵José Valim2010-03-191-0/+14
| | | | this makes remove_method in Module#delegate fail. Add a test case and fix the bug.
* Make dependencies_test pass running standalone [#4215 state:resolved]Santiago Pastorino and Sebastian Martinez2010-03-181-1/+1
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Added missing requires abstract_unit and activesupport to the loadpath of ↵Santiago Pastorino and Sebastian Martinez2010-03-184-2/+6
| | | | | | ts_isolated [#4215 state:committed] Signed-off-by: wycats <wycats@gmail.com>
* Fixed require lineSebastian Martinez2010-03-181-1/+1
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Mark bang instrumentations as something that you shuold not be listening to.José Valim2010-03-171-3/+3
|
* Any reason we can't just use the slow 1.8 path for transliteration in 1.9?wycats2010-03-171-12/+4
|
* Fix some more warnings on 1.9wycats2010-03-172-3/+10
|
* Be sure to pass through args to to_yamlJeremy Kemper2010-03-111-1/+1
|
* OutputBuffer#to_yaml should return string yaml, not some custom class dumpJeremy Kemper2010-03-111-0/+4
|
* class_attribute gets instance methods which delegate to but may override ↵Jeremy Kemper2010-03-081-10/+25
| | | | their class values as you'd expect. Disable instance writer methods with :instance_writer => false.
* Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-071-0/+2
| | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
* Removed the + sign as an accepted character from the parameterize method, as ↵Stijn Mathysen2010-03-051-3/+6
| | | | | | | | a + sign is interpreted by the browser as a space, possibly resulting in a "ArgumentError: illegal character in key" [#4080 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Optimize AS::Notifications to remember which subscribers don't match and not ↵Carlhuda2010-03-011-2/+29
| | | | run them. This will allow notifications that are only useful in dev or testing to run efficiently in production.
* You can unsubscribe a subscriberCarlhuda2010-03-011-1/+13
|
* fix up activesupport test load pathsJoshua Peek2010-02-281-0/+3
|
* no more interpreted as grouped expression warnings on array_ext_testSantiago Pastorino2010-02-261-2/+2
|
* metaclass deprecated in 2.3.6Jeremy Kemper2010-02-251-7/+0
|
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-6/+10
|
* Revert "Fix test load paths for those not using bundler"Carlhuda2010-02-231-4/+1
| | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path.
* Fix streaming by having it create a File object, which can be handled by ↵Carlhuda2010-02-231-0/+4
| | | | Rack servers as appropriate
* Fix test ordering bug related to introducing masked Name classYehuda Katz2010-02-191-14/+6
|
* Merge master.José Valim2010-02-175-3/+21
|\
| * Clear the attribute after doneYehuda Katz2010-02-161-0/+2
| |
| * CI has a bunch of duplicate load pathsJoshua Peek2010-02-151-1/+2
| |
| * Make sure AS test env doesn't have duplicate libs in load pathJoshua Peek2010-02-153-2/+14
| |
| * Fix test load paths for those not using bundlerJoshua Peek2010-02-151-1/+4
| |
* | Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-161-3/+3
|/
* Simplify dependencies.rb some. Remove alias of Kernel::Foo to Object::Foo as ↵Yehuda Katz2010-02-141-11/+6
| | | | it was not used and breaks Ruby semantics.
* moves Class#reachable? to Module#reachable?, bases implementation on ↵Xavier Noria2010-02-111-0/+41
| | | | anonymous? and constantize, and adds test coverage
* defines Module#anonymous?Xavier Noria2010-02-111-0/+14
|