neo4j-rake_tasks 0.7.3 → 0.7.4
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/server_manager.rb +6 -5
- data/lib/neo4j/rake_tasks/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53739ba80360d70b457977e4dfb746a63dfe6ca3
|
4
|
+
data.tar.gz: 7094cc1202f69817aa0a6b50ab8632eae3cc77b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34b9c3a09b75c40c09ee35e782a8a6963032d9bffad62f18a2741dd1b50883e032dfc9728e4151f212c211bda42aecdf952f246a6778c0a72a21b63bbe4945f2
|
7
|
+
data.tar.gz: 2ca9e76cd0c3d5f921126e9f6cb207e8f03ccd16c1d1ea0f93651dc3d7637b014953037a3e967658dd669181c5f9c64cc2c83950b87cf2f437762939a9e368e8
|
@@ -237,14 +237,15 @@ module Neo4j
|
|
237
237
|
|
238
238
|
def version_from_edition(edition_string)
|
239
239
|
edition_string.downcase.gsub(/-([a-z\-]+)$/) do
|
240
|
-
|
240
|
+
v = $1.upcase
|
241
|
+
puts "Retrieving #{v} version..."
|
241
242
|
|
242
|
-
version = neo4j_versions[
|
243
|
+
version = neo4j_versions[v]
|
243
244
|
|
244
|
-
fail "Invalid version identifier: #{
|
245
|
-
fail "There is not currently a version for #{
|
245
|
+
fail "Invalid version identifier: #{v}" if !neo4j_versions.key?(v)
|
246
|
+
fail "There is not currently a version for #{v}" if version.nil?
|
246
247
|
|
247
|
-
puts "#{
|
248
|
+
puts "#{v.capitalize} version is: #{version}"
|
248
249
|
|
249
250
|
"-#{version}"
|
250
251
|
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.7.
|
4
|
+
version: 0.7.4
|
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-
|
11
|
+
date: 2016-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
196
|
version: '0'
|
197
197
|
requirements: []
|
198
198
|
rubyforge_project:
|
199
|
-
rubygems_version: 2.
|
199
|
+
rubygems_version: 2.5.1
|
200
200
|
signing_key:
|
201
201
|
specification_version: 4
|
202
202
|
summary: Rake tasks for managing Neo4j
|