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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 83609cc7ae78151c15357d2400a61212e9c1a783a56d9eb2f8bb02b6e678192c
4
- data.tar.gz: 8f95a040bf308a60be58985567fca717dff5979c418d19ad0d41d4ae62c24346
2
+ SHA1:
3
+ metadata.gz: efafa496c201a2b0a9e9c08772dc6975ea76e37b
4
+ data.tar.gz: 247851fc3d0492a2ae373b969555f52af44d3845
5
5
  SHA512:
6
- metadata.gz: 0771f95f1e405ac45c00585db79575bb927e9a860dd26459401b21f0d53947ec04ccb60d4180ef44eb79a4abc05f7707b29e667cbe9af967fd6829a5a0287069
7
- data.tar.gz: fbda92689823e54622f27dbf17f98d12048a721780ccbabb51528d893a8dfc73359807b3d3fdb58a7ec1d43561eb95df0d524334566e2672106df90882981861
6
+ metadata.gz: 0f40c4d42f9a08e3fbb068f35f19ef7e26e3b55e06e9f465fa93dcc4671d95f4f1039af1020f443a04481c14866a6001760cb7ef1951149c6ecdd1f181a62684
7
+ data.tar.gz: 6ca87fb113af1ae61152157c91a03668829d70792f86726b373c7c5b42c0a25e0f3500b11c11361a5253ca20441c28112ce284e0b232215a4f5e20516141acaf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.3.1
4
+
5
+ * Improve typhoeus adapters initial request queuing
6
+ * Disable default pipelining
7
+
3
8
  ## 1.3.0
4
9
 
5
10
  * Improve typhoeus adapter to better utilize concurrency
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, keep-alive and pipelined requests by default.
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(pipelining: true, **options)
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
@@ -4,7 +4,7 @@ module Restify
4
4
  module VERSION
5
5
  MAJOR = 1
6
6
  MINOR = 3
7
- PATCH = 0
7
+ PATCH = 1
8
8
  STAGE = nil
9
9
  STRING = [MAJOR, MINOR, PATCH, STAGE].reject(&:nil?).join('.').freeze
10
10
 
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.0
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-08 00:00:00.000000000 Z
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.7.1
174
+ rubygems_version: 2.6.13
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: An experimental hypermedia REST client.