curlyrest 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/curlyrest.rb +1 -1
- data/lib/curlyrest/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ed96132498845d11f0f884c3042f2b1e46fe22e
|
4
|
+
data.tar.gz: 6e9ff83986d8fd8e71f8d7bb680dc70dafcf623b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 853e3ad667deab443ad2ccd4d48789f1faa1d419c4ecc36d6096f9547ce00cf69db7b68bec42eac8438cfa188be5440f81b333ebb2ddfd5b2fbaa84d9ace89ee
|
7
|
+
data.tar.gz: 52cdb405d40a4e24ea5d5b3daa05bf8b1b1f2e0659bafd067285d1778b7fdb5e71c66cf7bc1924c5fcf47d748f5dfd7747036ea5de1eb26cdc9aeee1b5021d1f
|
data/lib/curlyrest.rb
CHANGED
@@ -47,7 +47,7 @@ module Curlyrest
|
|
47
47
|
|
48
48
|
def parse_status(line)
|
49
49
|
%r{^HTTP\/(\d+\.\d+) (\d+) (.+)$} =~ line.chop
|
50
|
-
return if Regexp.last_match(2) == 100
|
50
|
+
return if Regexp.last_match(2) == '100'
|
51
51
|
@state = :headers
|
52
52
|
@response = CurlResponse.new(Regexp.last_match(1),
|
53
53
|
Regexp.last_match(2),
|
data/lib/curlyrest/version.rb
CHANGED