daimon_skycrawlers 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/daimon_skycrawlers/sitemap_parser.rb +2 -1
- data/lib/daimon_skycrawlers/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: 10bfbc0d0b9e7a59c63a71543cc1e9d3793476d2
|
4
|
+
data.tar.gz: 2804d5c706f194fc6532df004652e4c73d6a8edf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4df3795d85674a75f52c5881a7b395851b0d95ea8773b0ae7358348e31c6591432eeafe3970f128265d643e5b30d97ea477ddd40d6d7aa35a5bfad541b1b7728
|
7
|
+
data.tar.gz: ab0cc9c39f18e0af8a5e2e462e4406e4b70a34ce156f84ef90260cca13ac26d72fc4a00856019f9a206ca9ba4d495117c879837684833e5560fde2387789c5e5
|
@@ -67,7 +67,8 @@ module DaimonSkycrawlers
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def compressed?(response)
|
70
|
-
|
70
|
+
content_encoding = response.headers["Content-Encoding"]
|
71
|
+
case content_encoding && content_encoding.downcase
|
71
72
|
when "deflate", "gzip", "x-gzip"
|
72
73
|
true
|
73
74
|
else
|