restify 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/restify/adapter/typhoeus.rb +2 -1
- data/lib/restify/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: efafa496c201a2b0a9e9c08772dc6975ea76e37b
|
4
|
+
data.tar.gz: 247851fc3d0492a2ae373b969555f52af44d3845
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f40c4d42f9a08e3fbb068f35f19ef7e26e3b55e06e9f465fa93dcc4671d95f4f1039af1020f443a04481c14866a6001760cb7ef1951149c6ecdd1f181a62684
|
7
|
+
data.tar.gz: 6ca87fb113af1ae61152157c91a03668829d70792f86726b373c7c5b42c0a25e0f3500b11c11361a5253ca20441c28112ce284e0b232215a4f5e20516141acaf
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Restify
|
2
2
|
|
3
|
-
Restify is an experimental hypermedia REST client that does parallel, concurrent
|
3
|
+
Restify is an experimental hypermedia REST client that does parallel, concurrent and keep-alive requests by default.
|
4
4
|
|
5
5
|
Restify scans Link headers and returned resource for links and relations to other resources, represented as RFC6570 URI Templates, and exposes those to the developer.
|
6
6
|
|
@@ -14,7 +14,7 @@ module Restify
|
|
14
14
|
|
15
15
|
def initialize(sync: false, **options)
|
16
16
|
@sync = sync
|
17
|
-
@hydra = ::Typhoeus::Hydra.new(
|
17
|
+
@hydra = ::Typhoeus::Hydra.new(**options)
|
18
18
|
@mutex = Mutex.new
|
19
19
|
|
20
20
|
start unless sync?
|
@@ -27,6 +27,7 @@ module Restify
|
|
27
27
|
def call_native(request, writer)
|
28
28
|
@mutex.synchronize do
|
29
29
|
@hydra.queue convert(request, writer)
|
30
|
+
@hydra.dequeue_many
|
30
31
|
end
|
31
32
|
|
32
33
|
sync? ? @hydra.run : start
|
data/lib/restify/version.rb
CHANGED
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: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
171
|
version: '0'
|
172
172
|
requirements: []
|
173
173
|
rubyforge_project:
|
174
|
-
rubygems_version: 2.
|
174
|
+
rubygems_version: 2.6.13
|
175
175
|
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: An experimental hypermedia REST client.
|