bugsnag 1.1.5 → 1.2.0.beta

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,21 +0,0 @@
1
- module Bugsnag
2
- module Delay
3
- class Resque
4
- @queue = "bugsnag"
5
- def self.perform(*args)
6
- Bugsnag::Notification.deliver_exception_payload_without_resque(*args)
7
- end
8
- end
9
- end
10
- end
11
-
12
- Bugsnag::Notification.class_eval do
13
- class << self
14
- def deliver_exception_payload_with_resque(*args)
15
- Resque.enqueue(Bugsnag::Delay::Resque, *args)
16
- end
17
-
18
- alias_method :deliver_exception_payload_without_resque, :deliver_exception_payload
19
- alias_method :deliver_exception_payload, :deliver_exception_payload_with_resque
20
- end
21
- end