Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Yield the payload notifications for further modification (like adding the ↵ | José Valim | 2010-01-15 | 1 | -2/+2 |
| | | | | result). | ||||
* | Add instrument! to notifications which adds the result to the payload. | José Valim | 2010-01-14 | 1 | -1/+11 |
| | |||||
* | Do not send notifications when instrumentation raise an error. | José Valim | 2010-01-13 | 1 | -7/+4 |
| | |||||
* | Remove unneeded reliance on super -> method_missing quirk | Jeremy Kemper | 2010-01-07 | 1 | -0/+25 |
| | |||||
* | instrumenter should be accessible from ActiveSupport::Notifications. | José Valim | 2010-01-06 | 1 | -7/+10 |
| | |||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -1/+0 |
| | |||||
* | Expose Instrumenter id in Notifications. | José Valim | 2010-01-04 | 1 | -0/+4 |
| | |||||
* | Skip isolation test tests until they work | Jeremy Kemper | 2010-01-02 | 1 | -3/+3 |
| | |||||
* | Let Integer#multiple_of? accept zero as argument | Xavier Noria | 2010-01-02 | 1 | -0/+5 |
| | | | | | | [#2982 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fixed some bugs and fixed some tests in new SAX-based XmlMini backends. | Willem van Bergen | 2010-01-01 | 3 | -9/+12 |
| | | | | | | [#3636 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added SAX-based parser for XmlMini, using LibXML | Willem van Bergen | 2010-01-01 | 1 | -0/+194 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added SAX-based parser for XmlMini, using Nokogiri. | Willem van Bergen | 2010-01-01 | 1 | -0/+216 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Code cleanup, bugfixes and speed improvements for the Nokogiri and LibXML ↵ | Willem van Bergen | 2010-01-01 | 2 | -2/+47 |
| | | | | | | | | XmlMini backends [#3641 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix inheritance issue with new callbacks. | José Valim | 2010-01-01 | 1 | -0/+35 |
| | |||||
* | Allow ActiveSupport's isolation tests to run with MiniTest on 1.9 | Carl Lerche | 2009-12-30 | 1 | -123/+143 |
| | |||||
* | Setup and teardown now use new callbacks. | José Valim | 2009-12-30 | 1 | -4/+5 |
| | |||||
* | Added Object#presence that returns the object if it's #present? otherwise ↵ | David Heinemeier Hansson | 2009-12-27 | 1 | -2/+7 |
| | | | | returns nil [DHH/Colin Kelley] | ||||
* | String#exclude? core extension: inverse of #include? | Jeremy Kemper | 2009-12-27 | 1 | -0/+7 |
| | |||||
* | Remove ActionView inline logging to ActiveSupport::Notifications and create ↵ | José Valim | 2009-12-26 | 1 | -12/+10 |
| | | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened. | ||||
* | String#<< should work for any object which responds to :to_str, so enable ↵ | José Valim | 2009-12-26 | 1 | -0/+24 |
| | | | | this without the performance hit and make Fixnum safe by default. | ||||
* | Fix whiny_nil tests, improve error messages and make CI happy. | José Valim | 2009-12-25 | 1 | -6/+7 |
| | |||||
* | Fix ActiveSupport::JSON encoding of control characters [\x00-\x1f] | Dwayne Litzenberger | 2009-12-23 | 1 | -1/+3 |
| | | | | | | | | | | | | | | According to RFC 4627, only the following Unicode code points are allowed unescaped in JSON: unescaped = %x20-21 / %x23-5B / %x5D-10FFFF However, ActiveSupport::JSON did not escape the range %x00-1f. This caused parse errors when trying to decode the resulting output. [#3345 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add test for TimeWithZone#to_i with wrapped DateTime | Geoff Buesing | 2009-12-15 | 1 | -0/+6 |
| | |||||
* | Added #to_i to DateTime in ActiveSupport so #to_yaml works correctly on ↵ | Serguei Filimonov | 2009-12-15 | 1 | -0/+4 |
| | | | | ActiveRecord models with DateTime attributes. | ||||
* | Add Enumerable#exclude? to bring parity to Enumerable#include? and avoid if ↵ | David Heinemeier Hansson | 2009-12-14 | 1 | -0/+5 |
| | | | | !x.include?/else calls [DHH] | ||||
* | Modify backtrace test to take implementations with slightly different ↵ | Yehuda Katz | 2009-12-13 | 1 | -1/+1 |
| | | | | backtrace output into consideration. | ||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 3 | -0/+84 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | Failing tests for to_param/to_query not escaping "[]" | Joshua Peek | 2009-12-02 | 1 | -4/+4 |
| | |||||
* | Notifications: synchronous fanout queue pushes events to subscribers rather ↵ | Jeremy Kemper | 2009-11-29 | 1 | -0/+10 |
| | | | | than having them concurrently pull | ||||
* | Notifications: extract central Notifier, cordon off the internal Fanout ↵ | Jeremy Kemper | 2009-11-28 | 1 | -158/+112 |
| | | | | implementation, and segregate instrumentation concerns | ||||
* | Expose a simple Queue#wait to block until all notifications are drained | Jeremy Kemper | 2009-11-28 | 1 | -1/+1 |
| | |||||
* | Revert "Create SyncListener. Since they do not rely on Thread, they can be ↵ | Jeremy Kemper | 2009-11-28 | 1 | -16/+1 |
| | | | | | | | | used on Google App Engine." Take a step back on this API direction. This reverts commit 8104f65c3225453d13307c3c2733c2a8f99e491a. | ||||
* | Create SyncListener. Since they do not rely on Thread, they can be used on ↵ | José Valim | 2009-11-23 | 1 | -1/+16 |
| | | | | | | Google App Engine. Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Repair time dependencies | Jeremy Kemper | 2009-11-14 | 4 | -1/+5 |
| | |||||
* | No need for test stub | Jeremy Kemper | 2009-11-14 | 1 | -2/+2 |
| | |||||
* | Consolidate date & time landscape: require 'active_support/time' | Jeremy Kemper | 2009-11-14 | 3 | -3/+3 |
| | |||||
* | Notifications: queue.drained? for testability in place of brittle sleeps | Jeremy Kemper | 2009-11-13 | 1 | -10/+14 |
| | |||||
* | Fix duration check for longer sleep | Jeremy Kemper | 2009-11-13 | 1 | -1/+1 |
| | |||||
* | CI: slow down brittle notifications tests | Jeremy Kemper | 2009-11-13 | 1 | -9/+10 |
| | |||||
* | Ruby 1.9.2: fix broken to_ary expectation | Jeremy Kemper | 2009-11-13 | 1 | -1/+3 |
| | |||||
* | Ruby 1.9.2: disallow explicit coercion via method_missing. Only give ↵ | Jeremy Kemper | 2009-11-13 | 2 | -16/+24 |
| | | | | friendly nil errors for Array and Active Record methods. | ||||
* | Test that Array.wrap works with proxy objects and structs | Jeremy Kemper | 2009-11-13 | 1 | -0/+20 |
| | |||||
* | Avoid adding component lib/ to load path multiple times | Joshua Peek | 2009-11-09 | 1 | -1/+2 |
| | |||||
* | Always add AS lib/ to path when running its test suite | Joshua Peek | 2009-11-09 | 1 | -4/+4 |
| | |||||
* | Remove automatic rubygems loading from AS test runner | Joshua Peek | 2009-11-09 | 1 | -9/+1 |
| | |||||
* | Ditto | Jeremy Kemper | 2009-11-09 | 1 | -0/+1 |
| | |||||
* | Fix missing dependency | Jeremy Kemper | 2009-11-09 | 1 | -0/+1 |
| | |||||
* | Enumerable#none? is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -11/+0 |
| | |||||
* | Integer#even? and Integer#odd? are not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -16/+0 |
| | |||||
* | String#each_char is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -11/+0 |
| |