neo4j-rake_tasks 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ccf839a5c72a67c33ea56a6d287a83ab1919887
4
- data.tar.gz: 06d233a5dafd2c00c6c73fe8a3569d00ca3e4104
3
+ metadata.gz: 52d5f9fdba71ca0b8519704933d3c84d4d2e183d
4
+ data.tar.gz: 9807463faac7f66bb05bc14c4abd5f470b4c95e0
5
5
  SHA512:
6
- metadata.gz: d0841b28c60c93591e777fee8c6a82d2fb8fb2324cbc873c78bd06e251d9a2c5ffb520a1251e03255509372a998ce942d36c65e4dad9f5baef0455e96e9ce7d2
7
- data.tar.gz: 41301cfd19b518d39ebf72c79e425d0881bf23664701a2ed3ad4ff910aad0841669aa8743bb30260604cd30ecd9b6a123c77d3288085a637151a07e8c14297e5
6
+ metadata.gz: 39bd392207d5356f1e03eebbed27d1589fa7921a329e6ec6f2c1fcd804b02a89530bfba7c7ca9ccb4fd5d13f8884af4d42402d763400b183e4cc5832c39c3acb
7
+ data.tar.gz: 8068af1f12bd224ad38a6679cd7e681f0542ad7ae7bb81d0652e1fc3b5d94d977ce669c8473f1f5a78d9e8633c11621a4ce1a747e6fb0569066a87e33dd99eac
@@ -16,12 +16,14 @@ module Neo4j
16
16
  version = version_from_edition(edition_string)
17
17
  puts "Installing neo4j-#{version}"
18
18
 
19
- return false if neo4j_binary_path.exist?
19
+ if !neo4j_binary_path.exist?
20
+ archive_path = download_neo4j(version)
21
+ extract!(archive_path)
20
22
 
21
- archive_path = download_neo4j(version)
22
- extract!(archive_path)
23
+ FileUtils.rm archive_path
24
+ end
23
25
 
24
- FileUtils.rm archive_path
26
+ config_port!(7474) if server_version >= '3.0.0'
25
27
 
26
28
  puts "Neo4j installed to: #{@path}"
27
29
  end
@@ -1,5 +1,5 @@
1
1
  module Neo4j
2
2
  module RakeTasks
3
- VERSION = '0.5.1'
3
+ VERSION = '0.5.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4j-rake_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Underwood
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-09 00:00:00.000000000 Z
11
+ date: 2016-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored