html-proofer 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/html/proofer.rb +1 -1
- data/lib/html/proofer/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: 59729987eddc86b73a5542fe3def694fb034fa0a
|
4
|
+
data.tar.gz: 8a80c231b5e22970b8ca08b6d632c71c86f970ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97b8b71c017a4b188cb3c4275f9c8f94e0337142d90f0e395460e7335c205bff28d38602049e77eaab0d8e8901c2651eeca907be29c37d4b71c593b9b04e3187
|
7
|
+
data.tar.gz: e98f82d67408b22c19ac87ebb10c02a4649b95acf38b2867cc343bb7b809fae5d8d44828b9a888498650298333176fdab8c64215d0be95a42fe7aa3c60aa7166
|
data/lib/html/proofer.rb
CHANGED
@@ -83,7 +83,7 @@ module HTML
|
|
83
83
|
elsif response_code == 404 && method == :head
|
84
84
|
next_response = Typhoeus.get(href, @options)
|
85
85
|
response_handler(next_response, filenames)
|
86
|
-
elsif (response_code == 420 || response_code == 503) && method == :head
|
86
|
+
elsif (response_code == 405 || response_code == 420 || response_code == 503) && method == :head
|
87
87
|
# 420s usually come from rate limiting; let's ignore the query and try just the path with a GET
|
88
88
|
uri = URI(href)
|
89
89
|
next_response = Typhoeus.get(uri.scheme + "://" + uri.host + uri.path, @options)
|
data/lib/html/proofer/version.rb
CHANGED