astro-em-http-request 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/em-http/client.rb +1 -1
- data/lib/em-http/decoders.rb +5 -1
- metadata +2 -2
data/lib/em-http/client.rb
CHANGED
data/lib/em-http/decoders.rb
CHANGED
@@ -109,7 +109,11 @@ module EventMachine::HttpDecoders
|
|
109
109
|
end
|
110
110
|
|
111
111
|
def finalize
|
112
|
-
|
112
|
+
begin
|
113
|
+
Zlib::GzipReader.new(StringIO.new(@buf.to_s)).read
|
114
|
+
rescue Zlib::Error
|
115
|
+
raise DecoderError
|
116
|
+
end
|
113
117
|
end
|
114
118
|
end
|
115
119
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: astro-em-http-request
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Grigorik
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-10-
|
13
|
+
date: 2009-10-25 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|