roqua-core-api 0.0.13 → 0.0.14
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 782133b7896ebd753cda95ede0db54827f2c4594
|
4
|
+
data.tar.gz: fff3299005e3fbcaf36efa74325b46fbe3bd7025
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79116cb7661998a9f0b1300a3c21df7d25c40c269e596ffd7107d3cc0ba544bf285f375cbeb0beee77e857e263197b80f3202d4b721cc32146a6c6a278e203d4
|
7
|
+
data.tar.gz: ee40718596d1bca024cf101d47b4284050131a6f36d2151444714b6b07552408407349bbc46b3161d05b56116893537daad652763b0b19344340b9a9e3e266f7
|
data/ChangeLog.md
CHANGED
@@ -18,9 +18,14 @@ describe AuthSession do
|
|
18
18
|
expect(session.core_host).to eq('some_env_core_host')
|
19
19
|
end
|
20
20
|
|
21
|
-
it '
|
21
|
+
it 'sets the default timeout' do
|
22
|
+
session = AuthSession.new timeout: 30
|
23
|
+
expect(session.default_timeout).to eq 30
|
24
|
+
end
|
25
|
+
|
26
|
+
it 'defaults the default timeout to nil' do
|
22
27
|
session = AuthSession.new
|
23
|
-
expect(session.default_timeout).to
|
28
|
+
expect(session.default_timeout).to be_nil
|
24
29
|
end
|
25
30
|
end
|
26
31
|
|
@@ -32,7 +37,7 @@ describe AuthSession do
|
|
32
37
|
query: {some: 'param'},
|
33
38
|
headers: {some: 'header'},
|
34
39
|
basic_auth: {username: 'some_username', password: 'some_password'},
|
35
|
-
timeout:
|
40
|
+
timeout: nil)
|
36
41
|
.and_return(response)
|
37
42
|
session.get '/some_path', some: 'param'
|
38
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roqua-core-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marten Veldthuis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|