resque-honeybadger 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.md +5 -1
- data/README.md +1 -0
- data/Rakefile +1 -27
- data/lib/resque/failure/honeybadger.rb +3 -10
- data/lib/resque-honeybadger.rb +1 -4
- metadata +11 -10
data/HISTORY.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 1.0.0 (2012-12-22)
|
2
|
+
|
3
|
+
* Bundler rake tasks for gem management, like `rake release`.
|
4
|
+
|
1
5
|
## Hacked shit up to work with Honeybadger
|
2
6
|
|
3
7
|
* renamed to resque-honeybadger
|
@@ -17,4 +21,4 @@
|
|
17
21
|
|
18
22
|
## 0.0.1 (2010-10-13)
|
19
23
|
|
20
|
-
* Initial release.
|
24
|
+
* Initial release.
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -1,27 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require 'rake/testtask'
|
4
|
-
require 'fileutils'
|
5
|
-
require 'yard'
|
6
|
-
require 'yard/rake/yardoc_task'
|
7
|
-
require 'bundler/gem_tasks'
|
8
|
-
|
9
|
-
task :default => :test
|
10
|
-
|
11
|
-
##
|
12
|
-
# Test task.
|
13
|
-
Rake::TestTask.new(:test) do |task|
|
14
|
-
task.libs << 'test'
|
15
|
-
task.test_files = FileList['test/*_test.rb']
|
16
|
-
task.verbose = true
|
17
|
-
end
|
18
|
-
|
19
|
-
##
|
20
|
-
# docs task.
|
21
|
-
YARD::Rake::YardocTask.new :yardoc do |t|
|
22
|
-
t.files = ['lib/**/*.rb']
|
23
|
-
t.options = ['--output-dir', 'doc/',
|
24
|
-
'--files', 'LICENSE HISTORY.md',
|
25
|
-
'--readme', 'README.md',
|
26
|
-
'--title', 'resque-honeybadger documentation']
|
27
|
-
end
|
1
|
+
require "bundler/gem_tasks"
|
@@ -1,15 +1,9 @@
|
|
1
|
+
require "resque"
|
2
|
+
require "honeybadger"
|
3
|
+
|
1
4
|
module Resque
|
2
5
|
module Failure
|
3
6
|
class Honeybadger < Base
|
4
|
-
# Configures the failure backend. At a minimum you will need to set
|
5
|
-
# an api_key.
|
6
|
-
#
|
7
|
-
# @example Setting your API Key and enabling SSL:
|
8
|
-
# Resque::Failure::Honeybadger.configure do |config|
|
9
|
-
# config.api_key = '505f2518c41866bb0be7ba434bb2b079'
|
10
|
-
# end
|
11
|
-
#
|
12
|
-
# If you already configured Honeybadger for your app, x§
|
13
7
|
def self.configure(&block)
|
14
8
|
::Honeybadger.configure(&block)
|
15
9
|
end
|
@@ -28,7 +22,6 @@ module Resque
|
|
28
22
|
}
|
29
23
|
)
|
30
24
|
end
|
31
|
-
|
32
25
|
end
|
33
26
|
end
|
34
27
|
end
|
data/lib/resque-honeybadger.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-honeybadger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-12-
|
14
|
+
date: 2012-12-23 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: resque
|
18
|
-
requirement: &
|
18
|
+
requirement: &70111095364020 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: 1.8.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *70111095364020
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: honeybadger
|
29
|
-
requirement: &
|
29
|
+
requirement: &70111095363600 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,9 +34,11 @@ dependencies:
|
|
34
34
|
version: '0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
38
|
-
description: !
|
39
|
-
|
37
|
+
version_requirements: *70111095363600
|
38
|
+
description: ! ' Provides a Resque failure backend that sends exceptions raised
|
39
|
+
by jobs to the Honeybadger service.
|
40
|
+
|
41
|
+
'
|
40
42
|
email: henrik@nyh.se
|
41
43
|
executables: []
|
42
44
|
extensions: []
|
@@ -71,6 +73,5 @@ rubyforge_project:
|
|
71
73
|
rubygems_version: 1.8.5
|
72
74
|
signing_key:
|
73
75
|
specification_version: 3
|
74
|
-
summary: A Resque failure backend for
|
76
|
+
summary: A Resque failure backend for Honeybadger.
|
75
77
|
test_files: []
|
76
|
-
has_rdoc: false
|