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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2235852355e4765608d07c7f501095cdf831e99
4
- data.tar.gz: e10526e998c3791112043380ae0e90d170f0af0b
3
+ metadata.gz: 73598279b3ad7a2d837e944be7107e3e11a3954a
4
+ data.tar.gz: 8e01d8d3e92e09fb48cbbcf00557ca565cf1dbec
5
5
  SHA512:
6
- metadata.gz: db43d815d770ac070f6d24a660566467e55ee80bcf88d0a7dd976b9e01c36fe5f22b10d749e28264101e26c4350b35f61b02ff2eab967334e9166d20fd92658a
7
- data.tar.gz: af2feaacfd1770feb88fd301d8a994feb36735bb224d0a5004420e41b8e2d6e27d682680db64c90df3229f55e908b171f19dbda063a5702a87d213cc61d0246f
6
+ metadata.gz: 1d04f37c7849fcb11717c393b812a3ef3dc13e28183bcd773d653ea1190b11c4f2da4e62e3e7fbad2ea696341d0100192df6971a5b98133ab28e8420d50a0913
7
+ data.tar.gz: 0276c36dcbb3d22903cd9751e7b8bad84376cbcae4770f0663a62fbc332d994a28455d4111b07acdb02b8cc21c32e125849bdbb82e0bb2c5ac6fc011d6ebf4f4
@@ -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 == 301 or res.code.to_i == 302
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
@@ -1,3 +1,3 @@
1
1
  module CssParser
2
- VERSION = "1.4.3".freeze
2
+ VERSION = "1.4.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Dunae