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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/booking_locations/api.rb +5 -0
- data/lib/booking_locations/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bd306013eba0e64de692d87748840a50d5e4d3f72f83817ec393c3b16deb00f
|
|
4
|
+
data.tar.gz: e5c0ad652b6e714127e887e7e77ffab4408f1467a6a8a0a5f06162c51bedecf5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68e821470f6b10411742818313f5e6d85bdc27e29d80ff8dc25daf7d65d6d93c4b07e680a30eb759a080ae5b240aeb2e58f3516241c654bdb3ce1b1e7047b732
|
|
7
|
+
data.tar.gz: 4fb43b8344bb8fa4fe2bd3c7d55aae32cbc2c23a36033462164787b8d97728d69f85fcad75359f28884226270d281089a01524ed9fa6b2839a3b9d5cf6a79d1f
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
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.
|
|
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-
|
|
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.
|
|
160
|
+
rubygems_version: 3.0.3
|
|
161
161
|
signing_key:
|
|
162
162
|
specification_version: 4
|
|
163
163
|
summary: Pension Guidance Booking Locations API adapter
|