coney_island 0.17.4 → 0.17.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coney_island.rb +2 -0
- data/lib/coney_island/notifiers/rollbar_notifier.rb +13 -0
- data/lib/coney_island/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 491d7dac116dd47a9a1dcb9e8091877da4982735014fa4c216d7911affdf24e2
|
4
|
+
data.tar.gz: 68bb38d31136d1a03a46799938c5a02b86c9fc4451c5e3fe34d675bf5aa20133
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28d4d9ac052f028f1f588586e86515b1ca0c78dc499611a8e0a679dde975153c810b08d1d7ca5ee7b15b687cac3e495d096de9820d0230611bafb33ae6163458
|
7
|
+
data.tar.gz: 006faff2e47dc909cc8c19fc82e78068ad8dae31ac84252d478b7bd4e3ccf3efc3057fab486b3140f0c28e0b16dd3d227c0582f9e19810c729c5cad9c25de3d0
|
data/lib/coney_island.rb
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
module ConeyIsland
|
2
|
+
module Notifiers
|
3
|
+
class RollbarNotifier < BaseNotifier
|
4
|
+
def self.notify(message, extra_params = {})
|
5
|
+
dont_raise = RuntimeError.new(message)
|
6
|
+
dont_raise.set_backtrace(caller)
|
7
|
+
Rollbar.error(dont_raise, app_data: extra_params)
|
8
|
+
rescue NameError => e
|
9
|
+
fail ConfigurationError, fail_message(:bugsnag, "Bugsnag")
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/lib/coney_island/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coney_island
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-
|
13
|
+
date: 2018-12-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -164,6 +164,7 @@ files:
|
|
164
164
|
- lib/coney_island/notifiers/bugsnag_notifier.rb
|
165
165
|
- lib/coney_island/notifiers/honeybadger_notifier.rb
|
166
166
|
- lib/coney_island/notifiers/null_notifier.rb
|
167
|
+
- lib/coney_island/notifiers/rollbar_notifier.rb
|
167
168
|
- lib/coney_island/performer.rb
|
168
169
|
- lib/coney_island/submitter.rb
|
169
170
|
- lib/coney_island/version.rb
|