rorvswild 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: 45c50403d8de84b552d5dea552c11b515de3b47c
4
- data.tar.gz: 991572cc1fd059bb2f333d93400f97177f9a5e73
3
+ metadata.gz: 9692fc304ba53c4419979e2e90f80c8dddcbe52c
4
+ data.tar.gz: 6c604d217cda610c5f2c3e0cee95cbb09ff9aac1
5
5
  SHA512:
6
- metadata.gz: b2ebcd9f0c8aa3fc304622c08bab5b69e2a385f3e9624cf25cb7aafbc1529198a7daa649bc92873dbaa4d4318a50caebe6019d2425a15bc658e3bdbb209f73a3
7
- data.tar.gz: c55a873de1ade83624e0c2da7d49e19e8da1f528ea2ca1331a2e8d403a3fee1296e4e35b25bf1c11ea2946d24b439067c49342dd24149eca4574c2ca5912b5dd
6
+ metadata.gz: 9925488161d75f9d0a01893abf87c4486b958e468379fd198cc973dc7ff50af27977c6c8b0167194befc6076c623fa5f2ae80042e01d652881c5634607ce2d35
7
+ data.tar.gz: b98e6ec554834ce2b6449037fea17732a3413442ee7fd0e811ba1b61ddd936ebe47e3fc916809855e684ecf73879a87d349f4348646b71e4b9830d21e5de0b23
@@ -1,3 +1,3 @@
1
1
  module RorVsWild
2
- VERSION = "0.1.1".freeze
2
+ VERSION = "0.1.2".freeze
3
3
  end
data/lib/rorvswild.rb CHANGED
@@ -27,7 +27,7 @@ module RorVsWild
27
27
  end
28
28
 
29
29
  def self.catch_error(extra_details = nil, &block)
30
- default_client.catch_error(extra_details, &block) if default_client
30
+ default_client ? default_client.catch_error(extra_details, &block) : block.call
31
31
  end
32
32
 
33
33
  def self.record_error(exception, extra_details = nil)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rorvswild
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
  - Alexis Bernard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-29 00:00:00.000000000 Z
11
+ date: 2015-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler