url_canonicalize 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- 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: 5af7a447bc416a72583d21996065ce48fc29a0fd
|
4
|
+
data.tar.gz: 856b26e146eec5c85784908af73ff28a28977a6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 671fed9e62a503c7ba6797f8c501af6cb920c19145ec50690abbe1571a682467b914cb918210e960e91ce56b07e903bf15e17a77727b37f17030b6506b748b1d
|
7
|
+
data.tar.gz: 5714152d98bc8d7b21002c146fe9acabb2c549b72e49a093655b27b0997bc707e82e2a27e56f28cf4e65adafdd761f9d37ad7c6c284eada2864757aa0a012139
|
data/Gemfile.lock
CHANGED
@@ -70,7 +70,7 @@ module URLCanonicalize
|
|
70
70
|
end
|
71
71
|
|
72
72
|
def canonical_url
|
73
|
-
@canonical_url ||= canonical_url_element['href'] if
|
73
|
+
@canonical_url ||= canonical_url_element['href'] if canonical_url_element.is_a?(Nokogiri::XML::Element)
|
74
74
|
end
|
75
75
|
|
76
76
|
def uri
|