url_canonicalize 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/lib/url_canonicalize/request.rb +1 -1
- data/lib/url_canonicalize/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: e75a5d85b5bd2db94efda29128f2c276e292089c
|
|
4
|
+
data.tar.gz: 38589707ab4b6e25cafea25235a76d70af018e54
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b0bfc6d3d1b769b2ac744dca0936c9117038185b1fa1535829800acd2ff81b4c27bc97634d337bea40c19efba4a8cb9173dc35779be16ed2f8fc2dd92837b07
|
|
7
|
+
data.tar.gz: 4147f78d538138b564313252ce9517dcd065a1c10d6a45f9e138e8b9fba7d20719db1b6be5ec01b7c82a7fb3b4b4d449dea384a29d35d5f4fa0766c12e34131b
|
data/.rubocop.yml
CHANGED
|
@@ -166,7 +166,7 @@ module URLCanonicalize
|
|
|
166
166
|
# requester after a few attempts. For these sites we'll use GET requests
|
|
167
167
|
# only
|
|
168
168
|
def check_http_method
|
|
169
|
-
@http_method = :get if
|
|
169
|
+
@http_method = :get if /(linkedin|crunchbase).com/ =~ host
|
|
170
170
|
end
|
|
171
171
|
|
|
172
172
|
def relative_to_absolute(partial_url)
|