bramble 0.5.0 → 0.5.1

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: 61f945ee023bed4fa6464c90b8568060a1768824
4
- data.tar.gz: 3d2b138f12b2fe5421914732cbbaf04b94a8b40a
3
+ metadata.gz: 0be1feb4c9a93a2159aa779214bcab6f29fd5502
4
+ data.tar.gz: 3a5f0aba73fc9e83e6b0526f58b8dc179f64c1aa
5
5
  SHA512:
6
- metadata.gz: 151e9f40aec216edbadbec3ea225633957c4f294a145ced9fd2c90ac70ba02f52d2014eb09f83011b29eba0224ad0085a2a059a3b297d460ea102325f4068cca
7
- data.tar.gz: a13af709e45714aba91eee42ab8a6600f02c4c76574f39b7df9e5591fcf6c6f2234883a68eff619bd22a6e60bd9b4294aebc10cf9366930c750b53e151b81b9c
6
+ metadata.gz: 0f91e5dd96320ecc5bd1375a9f6ee8601ba24c06f047e52217216f2fd0c399cc193f742bca15d179ddea6cbeeb17c62420fe7d5bae0cd2fa8235f337970259cf
7
+ data.tar.gz: f896f04324b7dccd7960df5e7f6727e6903ccdc37d799e45cc648e1913af2f3e841c17e12f89354800d96e34bddbe04940ced7ea82a2666354dbb265f311a1a6
@@ -5,7 +5,11 @@ module Bramble
5
5
  def self.rescuing(implementation)
6
6
  yield
7
7
  rescue StandardError => err
8
- implementation.on_error(err)
8
+ if implementation.respond_to?(:on_error)
9
+ implementation.on_error(err)
10
+ else
11
+ raise(err)
12
+ end
9
13
  end
10
14
  end
11
15
  end
@@ -1,3 +1,3 @@
1
1
  module Bramble
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bramble
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Mosolgo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-05 00:00:00.000000000 Z
11
+ date: 2016-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob