segregate 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/segregate/version.rb +2 -2
- data/lib/segregate.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff266c8c0244e7925758f63cdc7d21972e53dcbd
|
4
|
+
data.tar.gz: 964fd20d045508458e73cb2d17e8374a618a92a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55fe992782297d9c1836536f89098e5eed2a385b4e89c21539699eadd66cc96971aa287132d9725d3759ad46b9de2fc72df1b3f5973bfc8efb8fbcd0fd5d5fd3
|
7
|
+
data.tar.gz: 9a621f778945490b359127fbe34417bbbad5c69a5ca4218d6e1d4a2a00e6be4fb18df2366edc27654ed069999d0441eb16a7da964ee75fab60bcb1927c56b165
|
data/lib/segregate/version.rb
CHANGED
data/lib/segregate.rb
CHANGED
@@ -218,7 +218,7 @@ class Segregate
|
|
218
218
|
|
219
219
|
if headers_complete?
|
220
220
|
@callback.on_headers_complete self if @callback.respond_to?(:on_headers_complete)
|
221
|
-
|
221
|
+
if headers['transfer-encoding'].nil? && (headers['content-length'] == "0" || headers['content-length'].nil?)
|
222
222
|
@state.set :done
|
223
223
|
end
|
224
224
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: segregate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Slaughter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|