neo4j-rake_tasks 0.7.14 → 0.7.15
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 +1 -1
- 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: 19ea54fd8ce1ca6a3e22c15b1138d9a9bd02f487
|
4
|
+
data.tar.gz: 29fc6effe811da0234e959dc71d9dff7b00d335c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1185386da5df38b0ba16231e73517a60fbdda9d9e9324942f3de77633a59d1530efe91bf81c957a171bf9ec6f2e6016040f1dce9d87f4d5c7b8ce17d5d507edf
|
7
|
+
data.tar.gz: 9415f1075441fa1c1814183c4eb9c27a72d0c890e1943690260a4dc0cdc6121961375c7f2a5f14670b66cb4fb885be7e37e44e75bf03fc7b475a940e1f0b526d
|
@@ -37,7 +37,7 @@ module Neo4j
|
|
37
37
|
|
38
38
|
def head(url)
|
39
39
|
parsed_url = URI(url)
|
40
|
-
Net::HTTP.start(parsed_url.host, parsed_url.port) do |http|
|
40
|
+
Net::HTTP.start(parsed_url.host, parsed_url.port, use_ssl: uri.scheme == 'https') do |http|
|
41
41
|
return http.head("#{parsed_url.path}?#{parsed_url.query}")
|
42
42
|
end
|
43
43
|
end
|