exception_notification-shoryuken 0.1.0 → 0.1.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dcf542419fd421a66e70bd7cfc1ac0659afdaae6
|
|
4
|
+
data.tar.gz: 9fd02288b63e49843016921fe22d749dbb88b436
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c368b50380450d85256040c0b602e1e2f51d453590f869f157744753bbf27f8263cfe64eee64ac3a73d7bc782d4a7a29c600fb071f7ff5d0637283ba96f66cfd
|
|
7
|
+
data.tar.gz: f1053369e256af2a69456dd564d013f34d2a6252bbbd71dfc66f51b89ded2394c37f61215d20e9410c59f8be42ad4e0c43776c48d3fb20e781066c87c137b145
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ExceptionNotification::Shoryuken
|
|
2
2
|
|
|
3
|
-
This Ruby gem is an extension of the [exception_notification](https://github.com/smartinez87/exception_notification) gem, and
|
|
3
|
+
This Ruby gem is an extension of the [exception_notification](https://github.com/smartinez87/exception_notification) gem, and provides a set of notifiers for sending notifications when errors occur in [Shoryuken](https://github.com/phstc/shoryuken) worker. This is useful if you use Shoryuken worker as asynchronous
|
|
4
4
|
process.
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
@@ -23,7 +23,7 @@ Or install it yourself as:
|
|
|
23
23
|
|
|
24
24
|
Add `require` in your initializer which setup exception_notification like `config/initializers/exception_notification.rb`:
|
|
25
25
|
|
|
26
|
-
```
|
|
26
|
+
```ruby
|
|
27
27
|
require 'exception_notification/shoryuken'
|
|
28
28
|
|
|
29
29
|
ExceptionNotification.configure do |config|
|
|
@@ -8,7 +8,7 @@ module ExceptionNotification
|
|
|
8
8
|
begin
|
|
9
9
|
yield
|
|
10
10
|
rescue Exception => exception
|
|
11
|
-
ExceptionNotifier.notify_exception(exception, :data => { :sqs_msg => sqs_msg })
|
|
11
|
+
ExceptionNotifier.notify_exception(exception, :data => { :sqs_msg => sqs_msg.inspect })
|
|
12
12
|
raise exception
|
|
13
13
|
end
|
|
14
14
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: exception_notification-shoryuken
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- h3poteto
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-06-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: exception_notification
|
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
121
121
|
version: '0'
|
|
122
122
|
requirements: []
|
|
123
123
|
rubyforge_project:
|
|
124
|
-
rubygems_version: 2.
|
|
124
|
+
rubygems_version: 2.5.1
|
|
125
125
|
signing_key:
|
|
126
126
|
specification_version: 4
|
|
127
127
|
summary: exception_notification's plugin for shoryuken.
|