booking_locations 0.19.0 → 0.20.0

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: 4c687e25ce9890dc74b93248b8fc264b657329a251d8b03ffe54c8215b17db50
4
- data.tar.gz: c727d892d3b7157f3b1226de70ad7748193220e27eeacadb9e7a0c9a812bc6a8
3
+ metadata.gz: fcd4baacc48870377d1f27ee1658dd90eb6f6fa0387d29e5018237fee8b15f53
4
+ data.tar.gz: dee7ac8ed02965af0095280d5edefca4c830e794c0b4748e871cee30e6262d71
5
5
  SHA512:
6
- metadata.gz: 7b03106bd2fd7cbf7ca4bc3e922c39f24c0e43b86a7491e8d2153b42ffbce5c03e15af77d065a7100cfcdaf0ae5ed08ec49cfd692d61ed9bfbad4da849d8db6f
7
- data.tar.gz: 572d54fda9f516b9de0d12520335ab167904dddbfcd22073544b62aa7c4bbcc45159251d9aa7348b2bfea6e77ee1cbf7a63a967d5da3affcd5ee4dccf43bc32b
6
+ metadata.gz: 96e07f81aba9e49165e5572ab04fb61ec467a881a4174dda7c55de48a3b81337eea7346e96753b23a701e10b291ba997b6239dfe71178de6726e62775025a96d
7
+ data.tar.gz: a43beb460b452760f7daaa883d6164853ef6896a8c601672905bb763a9acfda772ef4ecfef53db14d87b383dd842cf643095db001ba6ed0ef0b99e6d625fb26d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.20.0
2
+
3
+ * Don't swallow API timeouts resulting in `nil` cache entries
4
+
1
5
  ## 0.19.0
2
6
 
3
7
  * Include `online_booking_weekends` in the response
@@ -5,7 +5,7 @@ module BookingLocations
5
5
  def get(id)
6
6
  response = open("#{api_uri}/api/v1/booking_locations/#{id}.json", headers_and_options)
7
7
  yield JSON.parse(response.read)
8
- rescue OpenURI::HTTPError, Net::ReadTimeout
8
+ rescue OpenURI::HTTPError
9
9
  nil
10
10
  end
11
11
 
@@ -1,3 +1,3 @@
1
1
  module BookingLocations
2
- VERSION = '0.19.0'.freeze
2
+ VERSION = '0.20.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: booking_locations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Lovell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-30 00:00:00.000000000 Z
11
+ date: 2018-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport