geoff-importer 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/geoff-importer.gemspec +3 -3
- data/lib/geoff-importer/importer.rb +2 -1
- data/lib/geoff-importer/version.rb +1 -1
- metadata +38 -14
data/geoff-importer.gemspec
CHANGED
@@ -21,9 +21,9 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
22
22
|
gem.require_paths = ["lib"]
|
23
23
|
|
24
|
-
gem.add_dependency("neo4j-community", '1.8.0')
|
25
|
-
gem.add_dependency("neo4j-advanced", '1.8.0')
|
26
|
-
gem.add_dependency("neo4j-enterprise", '1.8.0')
|
24
|
+
gem.add_dependency("neo4j-community", '>=1.8', '<2.0')
|
25
|
+
gem.add_dependency("neo4j-advanced", '>=1.8', '<2.0')
|
26
|
+
gem.add_dependency("neo4j-enterprise", '>=1.8', '<2.0')
|
27
27
|
|
28
28
|
gem.add_development_dependency 'jruby-openssl'
|
29
29
|
gem.add_development_dependency 'rake'
|
@@ -65,7 +65,6 @@ class Geoff
|
|
65
65
|
end
|
66
66
|
|
67
67
|
def start_db(db_path)
|
68
|
-
Geoff.log 'starting database'
|
69
68
|
@graph_db = if ha_enabled?
|
70
69
|
start_ha_db(db_path)
|
71
70
|
else
|
@@ -74,10 +73,12 @@ class Geoff
|
|
74
73
|
end
|
75
74
|
|
76
75
|
def start_embedded_db(db_path)
|
76
|
+
Geoff.log 'starting embedded database'
|
77
77
|
EmbeddedDB.new(db_path)
|
78
78
|
end
|
79
79
|
|
80
80
|
def start_ha_db(db_path)
|
81
|
+
Geoff.log 'starting ha embedded database'
|
81
82
|
HaDb.new(db_path, @options)
|
82
83
|
end
|
83
84
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geoff-importer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,21 +9,29 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: neo4j-community
|
16
16
|
version_requirements: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - '
|
18
|
+
- - ! '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.8'
|
21
|
+
- - !binary |-
|
22
|
+
PA==
|
19
23
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
24
|
+
version: '2.0'
|
21
25
|
none: false
|
22
26
|
requirement: !ruby/object:Gem::Requirement
|
23
27
|
requirements:
|
24
|
-
- - '
|
28
|
+
- - ! '>='
|
25
29
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.8
|
30
|
+
version: '1.8'
|
31
|
+
- - !binary |-
|
32
|
+
PA==
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '2.0'
|
27
35
|
none: false
|
28
36
|
prerelease: false
|
29
37
|
type: :runtime
|
@@ -31,15 +39,23 @@ dependencies:
|
|
31
39
|
name: neo4j-advanced
|
32
40
|
version_requirements: !ruby/object:Gem::Requirement
|
33
41
|
requirements:
|
34
|
-
- - '
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '1.8'
|
45
|
+
- - !binary |-
|
46
|
+
PA==
|
35
47
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
48
|
+
version: '2.0'
|
37
49
|
none: false
|
38
50
|
requirement: !ruby/object:Gem::Requirement
|
39
51
|
requirements:
|
40
|
-
- - '
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.8'
|
55
|
+
- - !binary |-
|
56
|
+
PA==
|
41
57
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
58
|
+
version: '2.0'
|
43
59
|
none: false
|
44
60
|
prerelease: false
|
45
61
|
type: :runtime
|
@@ -47,15 +63,23 @@ dependencies:
|
|
47
63
|
name: neo4j-enterprise
|
48
64
|
version_requirements: !ruby/object:Gem::Requirement
|
49
65
|
requirements:
|
50
|
-
- - '
|
66
|
+
- - ! '>='
|
51
67
|
- !ruby/object:Gem::Version
|
52
|
-
version: 1.8
|
68
|
+
version: '1.8'
|
69
|
+
- - !binary |-
|
70
|
+
PA==
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '2.0'
|
53
73
|
none: false
|
54
74
|
requirement: !ruby/object:Gem::Requirement
|
55
75
|
requirements:
|
56
|
-
- - '
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '1.8'
|
79
|
+
- - !binary |-
|
80
|
+
PA==
|
57
81
|
- !ruby/object:Gem::Version
|
58
|
-
version:
|
82
|
+
version: '2.0'
|
59
83
|
none: false
|
60
84
|
prerelease: false
|
61
85
|
type: :runtime
|