berkshelf-api-client 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/berkshelf/api_client/connection.rb +1 -1
- data/lib/berkshelf/api_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21d51536cae0afcb99a66c0585088daed4b2d64f
|
4
|
+
data.tar.gz: 3bbacc972576855690b35799e9d99c9ee8acaa3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f627f616ed77aaa0ec653fe90418e124f76612ebbb5dfbb33b383de07a30ef61a47cec5eae3df11541792740d516d46430ef09e005eb157e2caea2e7f567ced4
|
7
|
+
data.tar.gz: 8a35d65b7855f2062394f49dd76639b6aef25d60c5db0ba4a563bd9f167f2fa659a63fe182ca1e4858c4a6db7c48a94a1b2696ebda0a1b1aedc95c9008ea189f
|
@@ -27,7 +27,7 @@ module Berkshelf::APIClient
|
|
27
27
|
# how long to wait (in seconds) between each retry
|
28
28
|
def initialize(url, options = {})
|
29
29
|
options = options.reverse_merge(retries: 3, retry_interval: 0.5,
|
30
|
-
open_timeout:
|
30
|
+
open_timeout: 30, timeout: 30)
|
31
31
|
@url = url
|
32
32
|
@retries = options.delete(:retries)
|
33
33
|
@retry_interval = options.delete(:retry_interval)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: berkshelf-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamie Winsor
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|