http_streaming_client 0.8.4 → 0.8.5
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 +4 -4
- data/CHANGELOG +4 -0
- data/README.md +1 -1
- data/lib/http_streaming_client/client.rb +1 -0
- data/lib/http_streaming_client/decoders/gzip.rb +6 -1
- data/lib/http_streaming_client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0bb65b843e7e815666b6ad0469c5012fc0bd74f
|
|
4
|
+
data.tar.gz: dd6dba01afc281a4466d597d1a133c0cc712bc89
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3760c04566e74423422331002fc97caefcf630b148a6972693ca318d4f991528bcd4df9f210ac64f004dad1664031ecdaf7e89fbc65b4487f149b6506528e6c
|
|
7
|
+
data.tar.gz: d44f9f0ecb13336fcf84d47f33d4b2a1185ac2e18b2f0b235185aa9f57716447171c15dd2af23e9171a4ac34a101c0e57c99d8b78f1068e81a66575ca0220c77
|
data/CHANGELOG
CHANGED
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-
|
|
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
|
|
|
@@ -91,7 +91,7 @@ module HttpStreamingClient
|
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
# called by GzipReader
|
|
94
|
-
def
|
|
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
|
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
|
+
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
|
+
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.
|
|
159
|
+
rubygems_version: 2.1.11
|
|
160
160
|
signing_key:
|
|
161
161
|
specification_version: 4
|
|
162
162
|
summary: a streaming HTTP protocol client
|