aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/notifications.rb
Commit message (Collapse)AuthorAgeFilesLines
* edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-301-3/+3
|
* fisting warningAaron Patterson2010-07-251-1/+1
|
* Revert the previous three commits.José Valim2010-07-251-13/+3
| | | | | | * AS::Notifications#instrument should not measure anything, it is not its responsibility; * Adding another argument to AS::Notifications#instrument API needs to be properly discussed;
* use a hash to collect optional statistics about the instrumentationAaron Patterson2010-07-251-3/+13
|
* Performance optimizations to handle cases of instrumentors that are not ↵Carlhuda2010-07-221-2/+22
| | | | listened to. Also, fix a possible concurrency issue.
* Notifier API == Fanout API, so replace Notifier with Fanout as they quack ↵Aaron Patterson2010-07-181-23/+1
| | | | the same
* bind method is not needed, so goodbye! <3 <3 <3Aaron Patterson2010-07-181-1/+1
|
* Remove documentation reference to AS::Notifications::Event#result because it ↵Hongli Lai (Phusion)2010-06-171-1/+0
| | | | has been removed.
* Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-111-1/+1
|
* Optimize AS::Notifications to remember which subscribers don't match and not ↵Carlhuda2010-03-011-1/+1
| | | | 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-0/+4
|
* Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-161-2/+2
|
* Remove instrument! and require thread from AS::Notifications.José Valim2010-02-041-1/+1
|
* Add ActionDispatch::Notifications middleware.José Valim2010-01-171-1/+1
|
* Yield the payload notifications for further modification (like adding the ↵José Valim2010-01-151-1/+1
| | | | result).
* Add instrument! to notifications which adds the result to the payload.José Valim2010-01-141-1/+1
|
* instrumenter should be accessible from ActiveSupport::Notifications.José Valim2010-01-061-8/+6
|
* Notifications: extract central Notifier, cordon off the internal Fanout ↵Jeremy Kemper2009-11-281-132/+16
| | | | implementation, and segregate instrumentation concerns
* Remark that Listener is an implementation detailJeremy Kemper2009-11-281-1/+2
|
* Expose a simple Queue#wait to block until all notifications are drainedJeremy Kemper2009-11-281-2/+7
|
* Revert "Create SyncListener. Since they do not rely on Thread, they can be ↵Jeremy Kemper2009-11-281-58/+34
| | | | | | | | 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é Valim2009-11-231-34/+58
| | | | | | Google App Engine. Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Notifications: queue.drained? for testability in place of brittle sleepsJeremy Kemper2009-11-131-9/+7
|
* Silence spurious warningJeremy Kemper2009-11-091-1/+1
|
* Change Event#thread_id to #transaction_id. Defaults to one "transaction" per ↵Yehuda Katz2009-10-281-13/+12
| | | | thread but you can explicitly declare the start of a new one. This makes it possible for each request to have it own id.
* Make it possible to have IDs per requestYehuda Katz2009-10-281-2/+18
|
* AS::Notifications.subscribe blocks are now yielded the arguments to pass to ↵Yehuda Katz2009-10-271-1/+1
| | | | AS::Notifications::Event.new
* Fix broken testsJeremy Kemper2009-10-271-0/+1
|
* Some optimizations on AS::Notifications. This does not change the ↵Yehuda Katz2009-10-271-29/+33
| | | | public-facing API.
* Renamed Orchestra to Notifications once again [#3321 state:resolved]José Valim2009-10-151-0/+171
|
* Revert "Rename Orchestra to Notifications [#3321 state:resolved]"José Valim2009-10-151-103/+0
| | | | This reverts commit 8cbf825425dc8ad3770881ea4e100b9023c69ce2.
* Rename Orchestra to Notifications [#3321 state:resolved]Joshua Peek2009-10-141-0/+103