bookingsync-api 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/bookingsync-api.gemspec +1 -0
- data/lib/bookingsync/api/client.rb +2 -0
- data/lib/bookingsync/api/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd120b6e3150316627f5707d653b7ba4ad0ac02e
|
4
|
+
data.tar.gz: 8a2d82b0e26ea7d259b5dded328afbfd8ec6dac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56f0a86137e3d620449d66777b3020448faea701837111047ec7d120eaf5d0e0e02b2b1ca4e4dfdfaffa7df511a7d493d25d693c4c427694d7896aad94c4636f
|
7
|
+
data.tar.gz: 126339a64b04e8c34e0baff0a0cfb94c3c67c65f04b40fd375a415b4491e8909ea8ec865ca2d3637e1243fafcaade6302e1cd1eb1edf2ad49cb26e88f14cc652
|
data/CHANGELOG.md
CHANGED
data/bookingsync-api.gemspec
CHANGED
@@ -43,6 +43,7 @@ require "bookingsync/api/resource"
|
|
43
43
|
require "bookingsync/api/serializer"
|
44
44
|
require "logger"
|
45
45
|
require "addressable/template"
|
46
|
+
require "net/http/persistent"
|
46
47
|
|
47
48
|
module BookingSync::API
|
48
49
|
class Client
|
@@ -273,6 +274,7 @@ module BookingSync::API
|
|
273
274
|
|
274
275
|
def middleware
|
275
276
|
Faraday::RackBuilder.new do |builder|
|
277
|
+
builder.use ::Faraday::Request::Retry, max: 1, exceptions: [::Net::HTTP::Persistent::Error]
|
276
278
|
builder.use :logger, logger
|
277
279
|
builder.adapter :net_http_persistent
|
278
280
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookingsync-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sébastien Grosjean
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -589,4 +589,3 @@ test_files:
|
|
589
589
|
- spec/fixtures/files/test.jpg
|
590
590
|
- spec/spec_helper.rb
|
591
591
|
- spec/support/vcr_helper.rb
|
592
|
-
has_rdoc:
|