booking_locations 0.23.0 → 0.24.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 601c24bf745982fa3cdc100ff2475ef902d124e060f62cde3160d857fad3fd78
4
- data.tar.gz: 36caf7203a46967adc76263864c09f95c5d9121bd4de8b72f0fa2c15985e19ac
3
+ metadata.gz: 9bd306013eba0e64de692d87748840a50d5e4d3f72f83817ec393c3b16deb00f
4
+ data.tar.gz: e5c0ad652b6e714127e887e7e77ffab4408f1467a6a8a0a5f06162c51bedecf5
5
5
  SHA512:
6
- metadata.gz: 3ee40459d4244cd488e284a892a1e93b3eb8fe2f836a91b3be2822436310b638cf71f24a26bf82f18bceb267825f78e724376517781957ddd040698b1bda4973
7
- data.tar.gz: c06817d3c8949bf65becc926df61a67ddc15d2f956ee07f1cdb154880a2765cd3b4a30dd04c4504d88debc005b977eaedaf1654036fb31fbf9803afcdc0271c6
6
+ metadata.gz: 68e821470f6b10411742818313f5e6d85bdc27e29d80ff8dc25daf7d65d6d93c4b07e680a30eb759a080ae5b240aeb2e58f3516241c654bdb3ce1b1e7047b732
7
+ data.tar.gz: 4fb43b8344bb8fa4fe2bd3c7d55aae32cbc2c23a36033462164787b8d97728d69f85fcad75359f28884226270d281089a01524ed9fa6b2839a3b9d5cf6a79d1f
@@ -1,3 +1,7 @@
1
+ ## 0.24.0
2
+
3
+ * Make open timeout configurable
4
+
1
5
  ## 0.23.0
2
6
 
3
7
  * Added `organisation` for lookups
@@ -19,6 +19,7 @@ module BookingLocations
19
19
  def headers_and_options
20
20
  {}.tap do |hash|
21
21
  hash[:read_timeout] = read_timeout
22
+ hash[:open_timeout] = open_timeout
22
23
  hash['Authorization'] = "Bearer #{bearer_token}" if bearer_token
23
24
  hash['Accept'] = 'application/json'
24
25
  end
@@ -35,5 +36,9 @@ module BookingLocations
35
36
  def read_timeout
36
37
  ENV.fetch('BOOKING_LOCATIONS_API_READ_TIMEOUT', 5).to_i
37
38
  end
39
+
40
+ def open_timeout
41
+ ENV.fetch('BOOKING_LOCATIONS_API_OPEN_TIMEOUT', 5).to_i
42
+ end
38
43
  end
39
44
  end
@@ -1,3 +1,3 @@
1
1
  module BookingLocations
2
- VERSION = '0.23.0'.freeze
2
+ VERSION = '0.24.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.23.0
4
+ version: 0.24.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: 2019-03-06 00:00:00.000000000 Z
11
+ date: 2019-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  requirements: []
160
- rubygems_version: 3.0.1
160
+ rubygems_version: 3.0.3
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: Pension Guidance Booking Locations API adapter