protocol-http 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protocol/http/body/buffered.rb +1 -1
- data/lib/protocol/http/body/rewindable.rb +2 -2
- data/lib/protocol/http/url.rb +1 -1
- data/lib/protocol/http/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2953e96c1addb4934e048f77b901f4d5a03b3425b0bf0100d7dff9245e6eb370
|
4
|
+
data.tar.gz: 2d4c0922cdbcca179dca6e68e35d552e8e0402726fbc7aa924e01c4ceb1ac74e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e9ba539505e9e99aa8fc7dfb91a06cad3aad67d1ad75eb77dda3bd6dacfb5af5424cdeaee863b5768c2b0fdc94a452c8657083df049d42c424909d0c2f578f5
|
7
|
+
data.tar.gz: afe556ba1f91b03406477390112123907d3e70a3f705686de0ce617389f59850cabf51aa6a1b97745697937bb8853ca3d53de5933e0a05ae39ecda0c4dcee4c8
|
@@ -33,7 +33,7 @@ module Protocol
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def read
|
36
|
-
if @index < @chunks.
|
36
|
+
if @index < @chunks.size
|
37
37
|
chunk = @chunks[@index]
|
38
38
|
@index += 1
|
39
39
|
else
|
@@ -52,7 +52,7 @@ module Protocol
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def inspect
|
55
|
-
"\#<#{self.class} #{@index}/#{@chunks.
|
55
|
+
"\#<#{self.class} #{@index}/#{@chunks.size} chunks read>"
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
data/lib/protocol/http/url.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protocol-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: covered
|