coney_island 0.17.4 → 0.17.5

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
  SHA256:
3
- metadata.gz: ba75ef6cdbabd5978440f368c350f13b90c78320e560ca01983bd8c2fde11b12
4
- data.tar.gz: bfee194d127676dbcc487a0d52b2fa99910033e2bb0e8e12618be6d89bd941eb
3
+ metadata.gz: 491d7dac116dd47a9a1dcb9e8091877da4982735014fa4c216d7911affdf24e2
4
+ data.tar.gz: 68bb38d31136d1a03a46799938c5a02b86c9fc4451c5e3fe34d675bf5aa20133
5
5
  SHA512:
6
- metadata.gz: f3f656c12ac0ec8b77ca055ca47825ab7e9d8c51f83da368426aeda7b434b341d59133c0e09d9248586e68d885492b80300af477f275bfd5c2d8fabc4d0c5141
7
- data.tar.gz: 864403d7f743b07b31b4ed930156324e4e4b59c32e7bc97b73e920c0ca099778bf970e6adb94e3347d098814f0c529890ba7ce057847e57ec919d0d05747728e
6
+ metadata.gz: 28d4d9ac052f028f1f588586e86515b1ca0c78dc499611a8e0a679dde975153c810b08d1d7ca5ee7b15b687cac3e495d096de9820d0230611bafb33ae6163458
7
+ data.tar.gz: 006faff2e47dc909cc8c19fc82e78068ad8dae31ac84252d478b7bd4e3ccf3efc3057fab486b3140f0c28e0b16dd3d227c0582f9e19810c729c5cad9c25de3d0
@@ -39,6 +39,8 @@ module ConeyIsland
39
39
 
40
40
  def self.notifier
41
41
  case self.config[:notifier]
42
+ when :rollbar
43
+ Notifiers::RollbarNotifier
42
44
  when :airbrake
43
45
  Notifiers::AirbrakeNotifier
44
46
  when :bugsnag
@@ -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
@@ -1,3 +1,3 @@
1
1
  module ConeyIsland
2
- VERSION = "0.17.4"
2
+ VERSION = "0.17.5"
3
3
  end
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
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-10-17 00:00:00.000000000 Z
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