css_parser 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/css_parser/parser.rb +1 -1
- data/lib/css_parser/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: 73598279b3ad7a2d837e944be7107e3e11a3954a
|
4
|
+
data.tar.gz: 8e01d8d3e92e09fb48cbbcf00557ca565cf1dbec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d04f37c7849fcb11717c393b812a3ef3dc13e28183bcd773d653ea1190b11c4f2da4e62e3e7fbad2ea696341d0100192df6971a5b98133ab28e8420d50a0913
|
7
|
+
data.tar.gz: 0276c36dcbb3d22903cd9751e7b8bad84376cbcae4770f0663a62fbc332d994a28455d4111b07acdb02b8cc21c32e125849bdbb82e0bb2c5ac6fc011d6ebf4f4
|
data/lib/css_parser/parser.rb
CHANGED
@@ -485,7 +485,7 @@ module CssParser
|
|
485
485
|
@redirect_count = nil
|
486
486
|
raise RemoteFileError if @options[:io_exceptions]
|
487
487
|
return '', nil
|
488
|
-
elsif res.code.to_i
|
488
|
+
elsif res.code.to_i >= 300 and res.code.to_i < 400
|
489
489
|
if res.response['Location'] != nil
|
490
490
|
return read_remote_file Addressable::URI.parse(URI::encode(res.response['Location']))
|
491
491
|
end
|
data/lib/css_parser/version.rb
CHANGED