aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Since require_dependency cannot be cleared, remove the dependenciesYehuda Katz2010-02-101-0/+5
|
* Fix a JSON ordering issueYehuda Katz2010-02-101-3/+7
|
* No need to emulate default Ruby behavior in initializeYehuda Katz2010-02-101-3/+0
|
* Don't rely on @message in Error classes being available for useYehuda Katz2010-02-101-4/+1
|
* Reinstate Object.subclasses_of and Class#descendents for plugin compat.Jeremy Kemper2010-02-092-0/+79
| | | | This reverts commits 7d312e54bad9c39634c137caec07dfc8df471650, 5f981ff0294ba45aa44ad15aa063970b29aeec44, f85f5dfc8ffefff174b695c6363211d342f77a57, 245bfafe335ff883f7a096eab95ac22fe2848679, and ec7c642f5fe60afc857aa64f1a9b4c2be56f9d70
* removes Module#as_load_path, which is no longer usedXavier Noria2010-02-072-10/+0
|
* removes Module#included_in_classes, which is no longer usedXavier Noria2010-02-071-7/+0
|
* Fixed html_safe test cases which weren't testing correctlySantiago Pastorino and José Ignacio Costa2010-02-051-17/+20
| | | | | | [#3845 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Automatically prefer Yajl or JSON backend over Yaml, if availableJeremy Kemper2010-02-051-1/+1
|
* Add yajl-ruby as a JSON parsing backendBrian Lopez2010-02-051-0/+1
| | | | | | [#2666 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Remove instrument! and require thread from AS::Notifications.José Valim2010-02-041-17/+1
|
* Revert "failing tests in multibyte_chars_test.rb fixed". The bug is in Ruby ↵José Valim2010-02-021-11/+11
| | | | | | 1.9.1 p376, not in AS test suite. This reverts commit bf1f70d8776e28f9181faefc4914059b4ad26b99.
* failing tests in multibyte_chars_test.rb fixedSantiago Pastorino2010-02-011-11/+11
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Introduce class_attribute to declare inheritable class attributes. Writing ↵Jeremy Kemper2010-02-011-0/+47
| | | | an attribute on a subclass behaves just like overriding the superclass reader method. Unifies and replaces most usage of cattr_accessor, class_inheritable_attribute, superclass_delegating_attribute, and extlib_inheritable_attribute.
* Deleted all references to ActionView::SafeBuffer in favor of ↵Santiago Pastorino2010-01-311-0/+41
| | | | | | ActiveSupport::SafeBuffer Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* For performance reasons, you can no longer call html_safe! on Strings. ↵Yehuda Katz2010-01-311-33/+34
| | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe.
* Get rails tests running on bundler 0.9Carl Lerche2010-01-311-9/+1
|
* deOMGifying Railties, Active Support, and Action PackMikel Lindsaar2010-01-315-15/+15
|
* superclass_delegating_accessor rewritten to serve as the base for many other ↵Yehuda Katz2010-01-291-34/+0
| | | | kinds of accessors (step 1 of unification)
* Ensure test sets json time format flagJeremy Kemper2010-01-281-1/+4
|
* Time#- with a DateTime argument behaves the same as with a Time argument, ↵Geoff Buesing2010-01-271-0/+4
| | | | i.e. returns the difference between self and arg as a Float [#3476 status:resolved]
* Adding custom yaml (de-)serialization for OrderedHashGregor Schmidt2010-01-271-0/+24
| | | | | | [#3608 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge remote branch 'fxn/master'Jeremy Kemper2010-01-262-140/+0
|\
| * removes Object#extended_byXavier Noria2010-01-261-7/+0
| |
| * removes unused method Object#extend_with_included_modules_fromXavier Noria2010-01-261-15/+0
| |
| * deletes no void files removal.rb and class_test.rbXavier Noria2010-01-262-21/+0
| |
| * removes unused method Class#remove_classXavier Noria2010-01-261-17/+0
| |
| * removes unused Object#subclasses_ofXavier Noria2010-01-261-49/+0
| |
| * removes unused Class#remove_subclassesXavier Noria2010-01-261-21/+0
| |
| * removes unused method Class#subclassesXavier Noria2010-01-261-10/+0
| |
* | Remove deprecated behavior since 2.3.José Valim and Mikel Lindsaar2010-01-241-17/+1
| |
* | Add uniq_by and uniq_by! to Array.José Valim and Mikel Lindsaar2010-01-241-3/+23
|/
* Default to sync instrumentation.José Valim2010-01-211-17/+1
|
* Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵Yehuda Katz2010-01-191-0/+15
| | | | nil!)
* Fix bug that causes TimeZone.seconds_to_utc_offset to returns wrong offset ↵Prem Sichanugrist2010-01-191-0/+6
| | | | | | when hour < 0 and not in hundreds [#3741 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Add ActionDispatch::Notifications middleware.José Valim2010-01-171-0/+16
|
* Use backtrace cleaner for dev mode exception pageJoshua Peek2010-01-161-69/+0
|
* Yield the payload notifications for further modification (like adding the ↵José Valim2010-01-151-2/+2
| | | | result).
* Add instrument! to notifications which adds the result to the payload.José Valim2010-01-141-1/+11
|
* Do not send notifications when instrumentation raise an error.José Valim2010-01-131-7/+4
|
* Remove unneeded reliance on super -> method_missing quirkJeremy Kemper2010-01-071-0/+25
|
* instrumenter should be accessible from ActiveSupport::Notifications.José Valim2010-01-061-7/+10
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* Expose Instrumenter id in Notifications.José Valim2010-01-041-0/+4
|
* Skip isolation test tests until they workJeremy Kemper2010-01-021-3/+3
|
* Let Integer#multiple_of? accept zero as argumentXavier Noria2010-01-021-0/+5
| | | | | | [#2982 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>