la_maquina 0.1.1 → 0.1.2

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: cfe629f6f7df101c2c54c842e0fdbd8c05e0f663
4
- data.tar.gz: 0f7cacda20c45ae5a0bad8db868cecc60ad4a455
3
+ metadata.gz: acd2791bb4c7f4a12ecce84438589889b745a5c5
4
+ data.tar.gz: 353b65cc5432f9aa0c6263978b70046c21c14d7e
5
5
  SHA512:
6
- metadata.gz: 18482c2158276e90c16d474ae744f2431d6ced0a3a2ff4111914016becf9fdbd2330ba86837fdf732ce14b793cdb7bebe7c482916a26a8330dbaea8f983e1458
7
- data.tar.gz: 7b2626cbb36fac8bed0e69b4418a33be3a63d5f996cefb924b616d7ac3f21ce7e343a8907005454a7b62a7f98c548c87a98116372accab23bbb077084adb1355
6
+ metadata.gz: 7aafe304080235d4f6f2ca9290c078bbd61408230a70aa22c58ee57006e7305302d0bb04e9c397e19549a26c07d2c1a9d0259427999a8506ed8f6728b9e1a7f8
7
+ data.tar.gz: a7f50f4b9e986b241f1e8770f96fd0453356b2d17df698faa18373305d9e4790fb3f39b605fd5b5ca0c4101ecc8681b5f01fdf78c7352d034144d6de219d8c14
data/README.md CHANGED
@@ -76,7 +76,7 @@ It can either notify LaMaquina about the object itself with `notifies_about :sel
76
76
  notified_id = params[:notified_id]
77
77
  notifier_class = params[:notifier_class]
78
78
 
79
- LaMaquina::Engine.notify notifier_class, id, notified_class
79
+ LaMaquina::Engine.notify! notifier_class, id, notified_class
80
80
 
81
81
  render json: {success: true}
82
82
  end
@@ -209,7 +209,7 @@ end
209
209
  ```
210
210
  If you *don't* care about your exceptions and want to ignore them, there's a notifier you can use, `SilentNotifier`, making that last line in your `config/initializers/la_maquina.rb` be
211
211
  ```ruby
212
- LaMaquina::Cinegual.error_notifier = LaMaquina::ErrorNotifier::SilentNotifier
212
+ LaMaquina.error_notifier = LaMaquina::ErrorNotifier::SilentNotifier
213
213
  ```
214
214
 
215
215
  ## Setup
@@ -1,7 +1,7 @@
1
1
  module LaMaquina
2
2
  module ErrorNotifier
3
3
  class HoneybadgerNotifier < LaMaquina::ErrorNotifier::Base
4
- def notify(error, details = {})
4
+ def self.notify(error, details = {})
5
5
  Honeybadger.notify( :error_class => "LaMaquinaError: #{error.class.name}",
6
6
  :error_message => error.message,
7
7
  :parameters => details
@@ -1,3 +1,3 @@
1
1
  module LaMaquina
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: la_maquina
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Orlov