neography 1.3.12 → 1.3.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neography/connection.rb +1 -1
- data/lib/neography/rest.rb +25 -25
- data/lib/neography/rest/auto_indexes.rb +1 -1
- data/lib/neography/rest/batch.rb +1 -1
- data/lib/neography/rest/clean.rb +1 -1
- data/lib/neography/rest/constraints.rb +1 -1
- data/lib/neography/rest/cypher.rb +1 -1
- data/lib/neography/rest/extensions.rb +1 -1
- data/lib/neography/rest/gremlin.rb +1 -1
- data/lib/neography/rest/indexes.rb +2 -2
- data/lib/neography/rest/node_labels.rb +1 -1
- data/lib/neography/rest/node_paths.rb +1 -1
- data/lib/neography/rest/node_relationships.rb +1 -1
- data/lib/neography/rest/node_traversal.rb +1 -1
- data/lib/neography/rest/nodes.rb +1 -1
- data/lib/neography/rest/other_node_relationships.rb +1 -1
- data/lib/neography/rest/properties.rb +1 -1
- data/lib/neography/rest/relationship_types.rb +1 -1
- data/lib/neography/rest/relationships.rb +1 -1
- data/lib/neography/rest/schema_indexes.rb +1 -1
- data/lib/neography/rest/spatial.rb +1 -1
- data/lib/neography/rest/transactions.rb +1 -1
- data/lib/neography/tasks.rb +4 -1
- data/lib/neography/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 609dbff4ea29be76d5d8e5a0a6594c7d4d51b8e4
|
4
|
+
data.tar.gz: 3e81c09d88b08f30ec36671a37cc2cf18055ccce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d6994e98944f8cb050ad3fd392da299f8edb630fee4b12f6b06f1d5166f5b9dfa6bb137fc2c243b10e3da5c870802079805fca363f4dd9f6dcc39b47714feeb
|
7
|
+
data.tar.gz: 2a5186feff3c291a6d281103f14b6ed511fe54c47361c575b2e28e5535dbdb7137ca3fe6c24d3cad2cdb29d318c83b51652ea361927adf76748f19f9ba7d1ad2
|
data/lib/neography/connection.rb
CHANGED
@@ -16,7 +16,7 @@ module Neography
|
|
16
16
|
def initialize(options = ENV['NEO4J_URL'] || {})
|
17
17
|
config = merge_configuration(options)
|
18
18
|
save_local_configuration(config)
|
19
|
-
@client
|
19
|
+
@client ||= HTTPClient.new(config[:proxy])
|
20
20
|
@client.send_timeout = 1200 # 10 minutes
|
21
21
|
@client.receive_timeout = 1200
|
22
22
|
authenticate
|
data/lib/neography/rest.rb
CHANGED
@@ -48,31 +48,31 @@ module Neography
|
|
48
48
|
def initialize(options = ENV['NEO4J_URL'] || {})
|
49
49
|
@connection = Connection.new(options)
|
50
50
|
|
51
|
-
@nodes
|
52
|
-
@node_properties
|
53
|
-
@node_relationships
|
54
|
-
@other_node_relationships
|
55
|
-
@node_indexes
|
56
|
-
@node_auto_indexes
|
57
|
-
@schema_indexes
|
58
|
-
@node_traversal
|
59
|
-
@node_paths
|
60
|
-
@node_labels
|
61
|
-
|
62
|
-
@relationships
|
63
|
-
@relationship_properties
|
64
|
-
@relationship_indexes
|
65
|
-
@relationship_auto_indexes
|
66
|
-
@relationship_types
|
67
|
-
|
68
|
-
@cypher
|
69
|
-
@gremlin
|
70
|
-
@extensions
|
71
|
-
@batch
|
72
|
-
@clean
|
73
|
-
@transactions
|
74
|
-
@spatial
|
75
|
-
@constraints
|
51
|
+
@nodes ||= Nodes.new(@connection)
|
52
|
+
@node_properties ||= NodeProperties.new(@connection)
|
53
|
+
@node_relationships ||= NodeRelationships.new(@connection)
|
54
|
+
@other_node_relationships ||= OtherNodeRelationships.new(@connection)
|
55
|
+
@node_indexes ||= NodeIndexes.new(@connection)
|
56
|
+
@node_auto_indexes ||= NodeAutoIndexes.new(@connection)
|
57
|
+
@schema_indexes ||= SchemaIndexes.new(@connection)
|
58
|
+
@node_traversal ||= NodeTraversal.new(@connection)
|
59
|
+
@node_paths ||= NodePaths.new(@connection)
|
60
|
+
@node_labels ||= NodeLabels.new(@connection)
|
61
|
+
|
62
|
+
@relationships ||= Relationships.new(@connection)
|
63
|
+
@relationship_properties ||= RelationshipProperties.new(@connection)
|
64
|
+
@relationship_indexes ||= RelationshipIndexes.new(@connection)
|
65
|
+
@relationship_auto_indexes ||= RelationshipAutoIndexes.new(@connection)
|
66
|
+
@relationship_types ||= RelationshipTypes.new(@connection)
|
67
|
+
|
68
|
+
@cypher ||= Cypher.new(@connection)
|
69
|
+
@gremlin ||= Gremlin.new(@connection)
|
70
|
+
@extensions ||= Extensions.new(@connection)
|
71
|
+
@batch ||= Batch.new(@connection)
|
72
|
+
@clean ||= Clean.new(@connection)
|
73
|
+
@transactions ||= Transactions.new(@connection)
|
74
|
+
@spatial ||= Spatial.new(@connection)
|
75
|
+
@constraints ||= Constraints.new(@connection)
|
76
76
|
end
|
77
77
|
|
78
78
|
# meta-data
|
data/lib/neography/rest/batch.rb
CHANGED
data/lib/neography/rest/clean.rb
CHANGED
data/lib/neography/rest/nodes.rb
CHANGED
data/lib/neography/tasks.rb
CHANGED
@@ -156,12 +156,15 @@ namespace :neo4j do
|
|
156
156
|
end
|
157
157
|
|
158
158
|
task :get_spatial, :version do |t, args|
|
159
|
-
args.with_defaults(:version => "2.0.
|
159
|
+
args.with_defaults(:version => "2.0.1")
|
160
160
|
puts "Installing Neo4j-Spatial #{args[:version]}"
|
161
161
|
|
162
162
|
unless File.exist?('neo4j-spatial.zip')
|
163
163
|
df = File.open('neo4j-spatial.zip', 'wb')
|
164
164
|
case args[:version]
|
165
|
+
when "2.0.1"
|
166
|
+
dist = "dist.neo4j.org"
|
167
|
+
request = "/spatial/neo4j-spatial-0.12-neo4j-2.0.1-server-plugin.zip"
|
165
168
|
when "2.0.0"
|
166
169
|
dist = "dist.neo4j.org"
|
167
170
|
request = "/spatial/neo4j-spatial-0.12-neo4j-2.0.0-server-plugin.zip"
|
data/lib/neography/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neography
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max De Marzi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|