notifiable-core 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: 168bcc6951c9034d4d764b3450636ad3d29d2b9b0ef2f3c6006540ee14b5ad98
4
- data.tar.gz: 113f00a07fcec019617f374397e61364d54547370455ac9e8449d729595a57e8
3
+ metadata.gz: c0865eabff60a2f39d986369dfa5b7fb781d8504aca696a933c2ce7928a86751
4
+ data.tar.gz: 817efa58bc322fa260647ff998f0af1095582a50bb0dcf6d804af9a0b2c419ce
5
5
  SHA512:
6
- metadata.gz: 205fea17555043f1bae8572a3857ce4f8415c4fb6fd5421433047b3df15bb04234f07c7381d6f9fc39dacf70aab14c32bbade60032599bcce8712f012441bd43
7
- data.tar.gz: f0fdfec5cc6ee40a34e3af5d9c8fc4986369ddc9201f9f8bdab59cc1b58fb89f57e1510b273962beee4983d9271855c6ffa04e5d4e7653414b16a3c47d65a9be
6
+ metadata.gz: 715b4ecbc1da59868a6b02e8471400b14abc8f705d9e13c03cd0ee2c5910482caa0a7fe329c8920473bc9a2578e0bd859cb95ca999bc03180f67901ba2d7e317
7
+ data.tar.gz: 5d92f645691f0a6822990e8812ecae30320c62f2f0da08657a8f5b0d0a6f93531f0c9be65eb545d2283fec890289f81fec3e8e639b9bff044bc081b23276803f
@@ -14,8 +14,9 @@ module Notifiable
14
14
  def batch
15
15
  yield(self)
16
16
  update(last_error_message: nil)
17
- rescue Exception => e
17
+ rescue => e
18
18
  update(last_error_message: e.message)
19
+ raise e
19
20
  ensure
20
21
  close
21
22
  end
@@ -1,3 +1,3 @@
1
1
  module Notifiable
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifiable-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith