http_streaming_client 0.8.4 → 0.8.5

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: 8be7fba1e884b562c5828bcb28336db424e85f3e
4
- data.tar.gz: 7d7830ae3ea835dfed6dd7e4ff3a70bb6de2d4c2
3
+ metadata.gz: d0bb65b843e7e815666b6ad0469c5012fc0bd74f
4
+ data.tar.gz: dd6dba01afc281a4466d597d1a133c0cc712bc89
5
5
  SHA512:
6
- metadata.gz: b29c342cdb3cdf856c859e5a471eb62f6819d09def54357cb44f41f9f1dce34fa465470d1827df2df51623a073a8c0557fcfbc3e22a9b86cfeaa60296c5f5cb0
7
- data.tar.gz: c2b8d52a290f321ab5020ce49892e7ab78eb898112cae99abed035b3d1328fcfbdb93a5a6fd8aa5c76622a391f1d07dfad8806587e858eee33190168f97dd580
6
+ metadata.gz: d3760c04566e74423422331002fc97caefcf630b148a6972693ca318d4f991528bcd4df9f210ac64f004dad1664031ecdaf7e89fbc65b4487f149b6506528e6c
7
+ data.tar.gz: d44f9f0ecb13336fcf84d47f33d4b2a1185ac2e18b2f0b235185aa9f57716447171c15dd2af23e9171a4ac34a101c0e57c99d8b78f1068e81a66575ca0220c77
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ http_streaming_client 0.8.5 (12.10.2013)
2
+ ========================================
3
+ * Updates to support MRI ruby 2.0.0-p353
4
+
1
5
  http_streaming_client 0.8.0 (11.09.2013)
2
6
  ========================================
3
7
  * added adobe firehose performance test client
data/README.md CHANGED
@@ -7,7 +7,7 @@ Ruby HTTP client with support for HTTP 1.1 streaming, GZIP and zlib compressed s
7
7
 
8
8
  ## Ruby Version
9
9
 
10
- MRI ruby-2.0.0-p247. If you need it, install via rvm: https://rvm.io/
10
+ MRI ruby-2.0.0-p353. If you need it, install via rvm: https://rvm.io/
11
11
 
12
12
  ## Installation (local gem bundle/install)
13
13
 
@@ -214,6 +214,7 @@ module HttpStreamingClient
214
214
 
215
215
  if line.match /^0\r\n/ then
216
216
  logger.debug "received zero length chunk, chunked encoding EOF"
217
+ logger.debug "EOF line: #{line}"
217
218
  break
218
219
  end
219
220
 
@@ -91,7 +91,7 @@ module HttpStreamingClient
91
91
  end
92
92
 
93
93
  # called by GzipReader
94
- def read(length=nil, buffer=nil)
94
+ def readpartial(length=nil, buffer=nil)
95
95
  logger.debug "GZipBufferIO:read:packet_stream:#{@packet_stream.nil? ? 'nil' : 'not nil'}"
96
96
  buffer ||= ""
97
97
  length ||= 0
@@ -99,6 +99,11 @@ module HttpStreamingClient
99
99
  @packet_stream = @packet_stream[length..-1]
100
100
  buffer
101
101
  end
102
+
103
+ # called by GzipReader
104
+ def read(length=nil, buffer=nil)
105
+ readpartial(length, buffer)
106
+ end
102
107
 
103
108
  # called by GzipReader
104
109
  def size
@@ -28,5 +28,5 @@
28
28
  ###########################################################################
29
29
 
30
30
  module HttpStreamingClient
31
- VERSION = "0.8.4"
31
+ VERSION = "0.8.5"
32
32
  end
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.4
4
+ version: 0.8.5
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-21 00:00:00.000000000 Z
11
+ date: 2013-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  requirements: []
158
158
  rubyforge_project:
159
- rubygems_version: 2.0.3
159
+ rubygems_version: 2.1.11
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: a streaming HTTP protocol client