exceptiontrap 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b93311715f7d0d08f0718689c94acd110933473
4
- data.tar.gz: ac9899abb8d48af4afa8043f3aa407fa34ffa8c2
3
+ metadata.gz: 6fa0ecce0f4cfc15ed217db5c497d83e592ec9ac
4
+ data.tar.gz: 3949c01f6b55bf53d46cba8eacd08777ba290731
5
5
  SHA512:
6
- metadata.gz: e34f270ae8c72a947cec259826e0ad454bccd865aa84a24178a2ed47d793de48b934e05b027160f98d0055fe0f9c7742948d92798e9ce4679d0e9d2e1d4f7c1a
7
- data.tar.gz: 3dff2eaf63615a43d2b9163a076841615f2c70e0c5fc6019950bfa135d50eea4dd6f5e1cb27551bbafe065b8ecba192035da2af197cd2775849cc063bf71a5b7
6
+ metadata.gz: 5d98ae3a2dd332d32d0c87f68962b1c06c90e3dad4fdf9c7c2a84c030899b8f3406d92cb3c89aa8ffa9d0db441bd198d3f9de9c7f1814a7a0b5d79c4d528082a
7
+ data.tar.gz: 9fcde0f601de1c96646e14cd3c70d25da2f2146c49e0253bfc83a92841fa3290b6d2a4343c2405a2aba0a24f2432eda6747fb07ad9b17d84e0763d1a02916a6c
data/README.md CHANGED
@@ -57,6 +57,26 @@ and you should be fine.
57
57
 
58
58
  You can find your API-Key by login to your [Exceptiontrap Account](https://exceptiontrap.com/login), select the application and follow the `Setup` Link.
59
59
 
60
+ ## Integration with Background Jobs and Workers
61
+
62
+ ### Sidekiq
63
+
64
+ Exceptiontrap catches [Sidekiq](http://sidekiq.org) errors automatically, you don't have to do anything. Easy, right?
65
+
66
+ ### DelayedJob
67
+
68
+ There is no automatic integration into [DelayedJob](https://github.com/collectiveidea/delayed_job) yet. Meanwhile you can let Exceptiontrap notifiy you about errors using its `notify` method inside DelayedJob's `error hook`
69
+
70
+ ```ruby
71
+ class ParanoidNewsletterJob < NewsletterJob
72
+ # ...
73
+
74
+ def error(job, exception)
75
+ Exceptiontrap.notify(exception, custom_controller: job.class.name)
76
+ end
77
+ end
78
+ ```
79
+
60
80
  ## Known Issues / Todo
61
81
 
62
82
  Optimize and insert the test suite to the gem.
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.email = ["tbuehl@itm-labs.de"]
10
10
  s.homepage = "http://exceptiontrap.com"
11
11
  s.summary = %q{Exception notifier, used to report your apps exceptions to the exceptiontrap webservice}
12
- s.description = %q{Exception notifier. The Gem catches your applications exceptions and sends those to the exceptiontrap webservice hosted at http://exceptiontrap.com}
12
+ s.description = %q{Exception notifier. The Gem catches your applications exceptions and sends those to the exceptiontrap webservice hosted at https://exceptiontrap.com}
13
13
 
14
14
  s.rubyforge_project = "exceptiontrap"
15
15
 
@@ -19,7 +19,7 @@ module Exceptiontrap
19
19
  @enabled_environments = config['enabledEnvironments']
20
20
  @filtered_params = config['filterParams']
21
21
  rescue Exception => e
22
- raise ConfigException.new("Unable to load configuration #{config_file} : #{e.message}")
22
+ raise Exception.new("Unable to load configuration #{config_file} : #{e.message}")
23
23
  end
24
24
  end
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module Exceptiontrap
2
- VERSION = '1.0.7'
2
+ VERSION = '1.0.8'
3
3
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exceptiontrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - tbuehl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-07 00:00:00.000000000 Z
11
+ date: 2014-04-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Exception notifier. The Gem catches your applications exceptions and
14
- sends those to the exceptiontrap webservice hosted at http://exceptiontrap.com
14
+ sends those to the exceptiontrap webservice hosted at https://exceptiontrap.com
15
15
  email:
16
16
  - tbuehl@itm-labs.de
17
17
  executables: []
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  version: '0'
65
65
  requirements: []
66
66
  rubyforge_project: exceptiontrap
67
- rubygems_version: 2.0.6
67
+ rubygems_version: 2.1.11
68
68
  signing_key:
69
69
  specification_version: 4
70
70
  summary: Exception notifier, used to report your apps exceptions to the exceptiontrap