restify 0.1.2.1.b25 → 0.1.2.1.b27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/restify/adapter.rb +13 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODExNGE4NTJmNjJmOTk2YTY0YjE4YjViYmI3Mzg5MDdiNzAyYTA1Mg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Njg0ZjcxZWI1ZmQ1ODEzNDdiMjYyMjQ1NzdiYjdmMTYyMTM3NGJiNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTA3ZDFkNTAwN2ZmNDExMGQ2YjE0ODZlODhhNTFkZjgxYmEwMmMwNWNiYTE1
|
10
|
+
OTc2NjY3MjhlMjY1OTkxNzc5YTdiYWU4N2JiMTMzNWUzOTM4NmRmMGY2NTE4
|
11
|
+
NmUxNTE3NzU2YmMyNDhkYTE5Y2VmNzA1MzcxMTFmNTFjZWY3MzQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTkzYjUwYzQyM2ZjN2YwMjMwYzI5YzkwZTRhYzA0YWM4YTUzOTQ0NjQ1MDRh
|
14
|
+
ZTMyODEyMzhkNmIxNDQ2YjAwNWY0ZjQyY2FiMGI4ZDRkOTQ0NWM4NWIzMmJi
|
15
|
+
ZGRjODJhNTY0NjU4N2VlNDdhYTY2MGNhZGI4YWZjZDlmMzkwM2Q=
|
data/lib/restify/adapter.rb
CHANGED
@@ -49,13 +49,19 @@ module Restify
|
|
49
49
|
return if requests.empty?
|
50
50
|
|
51
51
|
request, writer, retried = pipeline? ? requests.shift : requests.first
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
52
|
+
begin
|
53
|
+
req = connection.send request.method.downcase,
|
54
|
+
keepalive: true,
|
55
|
+
redirects: 3,
|
56
|
+
path: request.uri.normalized_path,
|
57
|
+
query: request.uri.normalized_query,
|
58
|
+
body: request.body,
|
59
|
+
head: request.headers
|
60
|
+
rescue => err
|
61
|
+
writer.reject err
|
62
|
+
requests.shift unless pipeline?
|
63
|
+
return
|
64
|
+
end
|
59
65
|
|
60
66
|
req.callback do
|
61
67
|
requests.shift unless pipeline?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.2.1.
|
4
|
+
version: 0.1.2.1.b27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09
|
11
|
+
date: 2014-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: obligation
|
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
161
|
version: 1.3.1
|
162
162
|
requirements: []
|
163
163
|
rubyforge_project:
|
164
|
-
rubygems_version: 2.4.
|
164
|
+
rubygems_version: 2.4.5
|
165
165
|
signing_key:
|
166
166
|
specification_version: 4
|
167
167
|
summary: An experimental hypermedia REST client.
|