From 5bd7a938e56f3a5ea148f77d1f94a2c727840bde Mon Sep 17 00:00:00 2001 From: Max De Marzi Date: Fri, 21 Mar 2014 17:26:36 -0500 Subject: [PATCH] use neo4j spatial 2.0.1 --- lib/neography/tasks.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/neography/tasks.rb b/lib/neography/tasks.rb index 733753e..2dcfda3 100644 --- a/lib/neography/tasks.rb +++ b/lib/neography/tasks.rb @@ -156,12 +156,15 @@ end task :get_spatial, :version do |t, args| - args.with_defaults(:version => "2.0.0") + args.with_defaults(:version => "2.0.1") puts "Installing Neo4j-Spatial #{args[:version]}" unless File.exist?('neo4j-spatial.zip') df = File.open('neo4j-spatial.zip', 'wb') case args[:version] + when "2.0.1" + dist = "dist.neo4j.org" + request = "/spatial/neo4j-spatial-0.12-neo4j-2.0.1-server-plugin.zip" when "2.0.0" dist = "dist.neo4j.org" request = "/spatial/neo4j-spatial-0.12-neo4j-2.0.0-server-plugin.zip"