resque 1.16.0 → 1.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/HISTORY.md +5 -0
- data/Rakefile +2 -2
- data/lib/resque/failure/hoptoad.rb +4 -0
- data/lib/resque/version.rb +1 -1
- metadata +4 -4
data/HISTORY.md
CHANGED
data/Rakefile
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Setup
|
|
3
3
|
#
|
|
4
4
|
|
|
5
|
-
load 'tasks/redis.rake'
|
|
5
|
+
load 'lib/tasks/redis.rake'
|
|
6
6
|
|
|
7
7
|
$LOAD_PATH.unshift 'lib'
|
|
8
8
|
require 'resque/tasks'
|
|
@@ -31,7 +31,7 @@ else
|
|
|
31
31
|
Rake::TestTask.new do |test|
|
|
32
32
|
test.libs << "test"
|
|
33
33
|
test.test_files = FileList['test/**/*_test.rb']
|
|
34
|
-
end
|
|
34
|
+
end
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
if command? :kicker
|
|
@@ -23,6 +23,10 @@ module Resque
|
|
|
23
23
|
# end
|
|
24
24
|
# For more information see https://github.com/thoughtbot/hoptoad_notifier
|
|
25
25
|
class Hoptoad < Base
|
|
26
|
+
def self.configure
|
|
27
|
+
Resque::Failure.backend = self
|
|
28
|
+
HoptoadNotifier.configure
|
|
29
|
+
end
|
|
26
30
|
|
|
27
31
|
def self.count
|
|
28
32
|
# We can't get the total # of errors from Hoptoad so we fake it
|
data/lib/resque/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: resque
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 85
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 16
|
|
9
|
-
-
|
|
10
|
-
version: 1.16.
|
|
9
|
+
- 1
|
|
10
|
+
version: 1.16.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Chris Wanstrath
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-05-
|
|
18
|
+
date: 2011-05-17 00:00:00 -07:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|