rom-neo4j 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rom/neo4j.rb +1 -0
- data/lib/rom/neo4j/relation.rb +1 -0
- data/lib/rom/neo4j/transproc_functions.rb +9 -0
- data/lib/rom/neo4j/version.rb +1 -1
- data/rom-neo4j.gemspec +2 -2
- data/spec/spec_helper.rb +4 -2
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f088c4d1705126603095fc53b75246885d9e480f
|
4
|
+
data.tar.gz: bc865c2a3dfe57b582e8bedb2703af068f9328fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57496fef49f082fdfcb4b2e2a4beba9ccacd62adc1a2961516f5b3fb2a4b9acf090cc3a949f06804d6361c3aac8b26ff1352afcf901271b70ffe940b128ecfeb
|
7
|
+
data.tar.gz: ad999179ef60c8dc745c05f54e84da02da13675f7e6413885dcdc3371d382bc4e93ecef85c8bbe6fbb69283117699e37b8c9e38c7a6806d98956213b54545f36
|
data/lib/rom/neo4j.rb
CHANGED
data/lib/rom/neo4j/relation.rb
CHANGED
data/lib/rom/neo4j/version.rb
CHANGED
data/rom-neo4j.gemspec
CHANGED
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.add_runtime_dependency 'rom', '~> 0.
|
22
|
-
spec.add_runtime_dependency 'neo4j-core', '
|
21
|
+
spec.add_runtime_dependency 'rom', '~> 0.9', '>= 0.9.1'
|
22
|
+
spec.add_runtime_dependency 'neo4j-core', '5.1.3'
|
23
23
|
|
24
24
|
spec.add_development_dependency 'bundler'
|
25
25
|
spec.add_development_dependency 'rake'
|
data/spec/spec_helper.rb
CHANGED
@@ -9,9 +9,11 @@ def basic_auth_config
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def rom_neo4j_setup
|
12
|
+
rom_env = ROM::Environment.new
|
13
|
+
rom_env.use :auto_registration
|
12
14
|
if ENV['NEO4J_VERSION'] == '2.2.0'
|
13
|
-
|
15
|
+
rom_env.setup(:neo4j, server_url_config, basic_auth_config)
|
14
16
|
else
|
15
|
-
|
17
|
+
rom_env.setup(:neo4j, server_url_config)
|
16
18
|
end
|
17
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rom-neo4j
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Rickerby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rom
|
@@ -16,34 +16,34 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.9'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.
|
22
|
+
version: 0.9.1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.9'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.
|
32
|
+
version: 0.9.1
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: neo4j-core
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - '='
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
39
|
+
version: 5.1.3
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - '='
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 5.1.3
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,6 +123,7 @@ files:
|
|
123
123
|
- lib/rom/neo4j/gateway.rb
|
124
124
|
- lib/rom/neo4j/relation.rb
|
125
125
|
- lib/rom/neo4j/support/core_ext.rb
|
126
|
+
- lib/rom/neo4j/transproc_functions.rb
|
126
127
|
- lib/rom/neo4j/version.rb
|
127
128
|
- rom-neo4j.gemspec
|
128
129
|
- spec/fixtures/movies.cypher
|