http_streaming_client 0.8.3 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c94777d21af9c04344a01c48058ac80e9033342
4
- data.tar.gz: 7736b4916c12cddf71c0d9e66e08cc2d1d51779d
3
+ metadata.gz: 8be7fba1e884b562c5828bcb28336db424e85f3e
4
+ data.tar.gz: 7d7830ae3ea835dfed6dd7e4ff3a70bb6de2d4c2
5
5
  SHA512:
6
- metadata.gz: 4c085884d00f3e4bf5d6966a932759415eec6280b849a734aa27c65eded997c514fe78b37dbbf3073581c5f32c000eeb8e89823ae36cd4efdeff69b560222bc7
7
- data.tar.gz: 62c4df9799732b6fa35a10bd060a03b9e4e73814cc043fc6927d264703870e8bd13ed24da50c42ec8e04b344516c1f09fc6ae3283e3c274975d35cb2fda6074f
6
+ metadata.gz: b29c342cdb3cdf856c859e5a471eb62f6819d09def54357cb44f41f9f1dce34fa465470d1827df2df51623a073a8c0557fcfbc3e22a9b86cfeaa60296c5f5cb0
7
+ data.tar.gz: c2b8d52a290f321ab5020ce49892e7ab78eb898112cae99abed035b3d1328fcfbdb93a5a6fd8aa5c76622a391f1d07dfad8806587e858eee33190168f97dd580
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # HttpStreamingClient [![Coverage Status](https://coveralls.io/repos/adobe-research/http_streaming_client/badge.png)](https://coveralls.io/r/adobe-research/http_streaming_client)
1
+ # HttpStreamingClient [![Coverage Status](https://coveralls.io/repos/adobe-research/http_streaming_client/badge.png)](https://coveralls.io/r/adobe-research/http_streaming_client) [![Gem Version](https://badge.fury.io/rb/http_streaming_client.png)](http://badge.fury.io/rb/http_streaming_client)
2
2
 
3
3
  Ruby HTTP client with support for HTTP 1.1 streaming, GZIP and zlib compressed streams, and chunked transfer encoding. Includes extensible OAuth support for the following:
4
4
 
@@ -212,7 +212,7 @@ module HttpStreamingClient
212
212
  while !socket.eof? && (line = socket.gets)
213
213
  chunkLeft = 0
214
214
 
215
- if line.match /^0*?\r\n/ then
215
+ if line.match /^0\r\n/ then
216
216
  logger.debug "received zero length chunk, chunked encoding EOF"
217
217
  break
218
218
  end
@@ -28,5 +28,5 @@
28
28
  ###########################################################################
29
29
 
30
30
  module HttpStreamingClient
31
- VERSION = "0.8.3"
31
+ VERSION = "0.8.4"
32
32
  end
data/spec/adobe_spec.rb CHANGED
@@ -70,7 +70,7 @@ describe HttpStreamingClient do
70
70
  expect {
71
71
  client = HttpStreamingClient::Client.new(compression: false)
72
72
  begin
73
- status = Timeout::timeout(TIMEOUT_SEC) {
73
+ status = Timeout::timeout(5) {
74
74
  response = client.get(STREAMURL, {:headers => {'Authorization' => "Bearer #{authorization}" }})
75
75
  }
76
76
  rescue Timeout::Error
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_streaming_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Tompkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-11 00:00:00.000000000 Z
11
+ date: 2013-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler