neo4j-rake_tasks 0.7.15 → 0.7.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neo4j/rake_tasks/download.rb +3 -3
- data/lib/neo4j/rake_tasks/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: bbf76607f142e60a67e313d7e4473c91b0b7d595
|
4
|
+
data.tar.gz: 8e2af6b0c3d2614e4565448d2c03584a8138f184
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 889780f2e82ee59ae31d19c69b11be82a73a85173764ba6185a33c157b7198dd70e93658dbe58069753db235c316e6795109258a7633a06ac66fee2ed57cd1a7
|
7
|
+
data.tar.gz: e7c338d0beb17eaf8513f9e65728e1866c1a6db1eccc7ca59a9d2396e33f19bf8c7503eb07b3e3a9b004cb23137076829213a21e1960d3d174b3fc29a42b8a2d
|
@@ -36,9 +36,9 @@ module Neo4j
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def head(url)
|
39
|
-
|
40
|
-
Net::HTTP.start(
|
41
|
-
return http.head("#{
|
39
|
+
uri = URI(url)
|
40
|
+
Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https') do |http|
|
41
|
+
return http.head("#{uri.path}?#{uri.query}")
|
42
42
|
end
|
43
43
|
end
|
44
44
|
end
|