fbk 1.4.1 → 1.4.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fbk.rb +4 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10e33e9144ef560a85f200ebd0f75b4cf8cf6470
4
- data.tar.gz: f603f06c441167ced18823986576a872fc6cd5f7
3
+ metadata.gz: fd503e4e5cc1e16092e566a8189ed4f98eb0596d
4
+ data.tar.gz: e5811007d0a7d70aa71e6ce12077b30f9b49f84a
5
5
  SHA512:
6
- metadata.gz: 683152182d3c1afa6635241fc813fd631bb017b8c57e8c9a3ec12e5726634d60131ec1f2a0833d0e4eb2e7f62660dbc2799f0b4079a4a2d5e18f1ecb6ec2ccc8
7
- data.tar.gz: ed4a8216761ac28967a1f7a4414b5c0b0cf575d594bad51e2b06740030d86bb66e8e28b9dc7b86338612a15cf9110f7e4c9f703539227891dd6352abfad0387d
6
+ metadata.gz: eb746341c19affb953de9452900032a75039e5b628a62f0fbc46d423b8757e78dff190e639d05f470ec51a823d9cd4430ad58c5efc2c2dfd8f3d2e3a1c78cfb2
7
+ data.tar.gz: 699f7abf6e4afa909e8ebdffc1d132445903950308382d577a2f7394be182d174144925bf6ab698f4e896624fa6cfc683d772ebcbcefd0ca8e9718c932272583
data/lib/fbk.rb CHANGED
@@ -72,7 +72,10 @@ module FBK
72
72
  def get(endpoint)
73
73
  response = Nestful.get(endpoint).body
74
74
  JSON.parse(response, symbolize_names: true)
75
- rescue Nestful::BadRequest => error
75
+ rescue Nestful::BadRequest,
76
+ Nestful::SSLError,
77
+ Nestful::ServerError,
78
+ Nestful::ErrnoError => error
76
79
  raise FBK::Error.new(error.message)
77
80
  end
78
81
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Gimenez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-22 00:00:00.000000000 Z
11
+ date: 2016-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nestful