neography-down 1.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.project +12 -0
- data/.rspec +1 -0
- data/.travis.yml +4 -0
- data/CHANGELOG.md +939 -0
- data/CONTRIBUTORS +18 -0
- data/Gemfile +4 -0
- data/Guardfile +14 -0
- data/LICENSE +19 -0
- data/README.md +281 -0
- data/Rakefile +14 -0
- data/examples/facebook.rb +40 -0
- data/examples/facebook_v2.rb +25 -0
- data/examples/greatest.rb +43 -0
- data/examples/linkedin.rb +39 -0
- data/examples/linkedin_v2.rb +22 -0
- data/examples/traversal_example1.rb +65 -0
- data/examples/traversal_example2.rb +54 -0
- data/lib/neography.rb +45 -0
- data/lib/neography/config.rb +64 -0
- data/lib/neography/connection.rb +263 -0
- data/lib/neography/equal.rb +21 -0
- data/lib/neography/errors.rb +60 -0
- data/lib/neography/index.rb +52 -0
- data/lib/neography/multi_json_parser.rb +28 -0
- data/lib/neography/neography.rb +10 -0
- data/lib/neography/node.rb +63 -0
- data/lib/neography/node_path.rb +29 -0
- data/lib/neography/node_relationship.rb +37 -0
- data/lib/neography/node_traverser.rb +146 -0
- data/lib/neography/path_traverser.rb +100 -0
- data/lib/neography/property.rb +110 -0
- data/lib/neography/property_container.rb +28 -0
- data/lib/neography/railtie.rb +19 -0
- data/lib/neography/relationship.rb +78 -0
- data/lib/neography/relationship_traverser.rb +80 -0
- data/lib/neography/rest.rb +99 -0
- data/lib/neography/rest/batch.rb +414 -0
- data/lib/neography/rest/clean.rb +17 -0
- data/lib/neography/rest/constraints.rb +38 -0
- data/lib/neography/rest/cypher.rb +29 -0
- data/lib/neography/rest/extensions.rb +21 -0
- data/lib/neography/rest/gremlin.rb +20 -0
- data/lib/neography/rest/helpers.rb +96 -0
- data/lib/neography/rest/node_auto_indexes.rb +60 -0
- data/lib/neography/rest/node_indexes.rb +139 -0
- data/lib/neography/rest/node_labels.rb +49 -0
- data/lib/neography/rest/node_paths.rb +49 -0
- data/lib/neography/rest/node_properties.rb +52 -0
- data/lib/neography/rest/node_relationships.rb +33 -0
- data/lib/neography/rest/node_traversal.rb +25 -0
- data/lib/neography/rest/nodes.rb +94 -0
- data/lib/neography/rest/other_node_relationships.rb +38 -0
- data/lib/neography/rest/relationship_auto_indexes.rb +60 -0
- data/lib/neography/rest/relationship_indexes.rb +142 -0
- data/lib/neography/rest/relationship_properties.rb +52 -0
- data/lib/neography/rest/relationship_types.rb +11 -0
- data/lib/neography/rest/relationships.rb +16 -0
- data/lib/neography/rest/schema_indexes.rb +26 -0
- data/lib/neography/rest/spatial.rb +137 -0
- data/lib/neography/rest/transactions.rb +101 -0
- data/lib/neography/tasks.rb +207 -0
- data/lib/neography/version.rb +3 -0
- data/neography.gemspec +39 -0
- data/spec/integration/authorization_spec.rb +40 -0
- data/spec/integration/broken_spatial_spec.rb +28 -0
- data/spec/integration/index_spec.rb +71 -0
- data/spec/integration/neography_spec.rb +10 -0
- data/spec/integration/node_encoding_spec.rb +71 -0
- data/spec/integration/node_path_spec.rb +222 -0
- data/spec/integration/node_relationship_spec.rb +381 -0
- data/spec/integration/node_spec.rb +260 -0
- data/spec/integration/parsing_spec.rb +13 -0
- data/spec/integration/performance_spec.rb +17 -0
- data/spec/integration/relationship_spec.rb +37 -0
- data/spec/integration/rest_batch_no_streaming_spec.rb +41 -0
- data/spec/integration/rest_batch_spec.rb +604 -0
- data/spec/integration/rest_batch_streaming_spec.rb +51 -0
- data/spec/integration/rest_bulk_spec.rb +106 -0
- data/spec/integration/rest_constraints_spec.rb +72 -0
- data/spec/integration/rest_experimental_spec.rb +22 -0
- data/spec/integration/rest_gremlin_fail_spec.rb +46 -0
- data/spec/integration/rest_header_spec.rb +15 -0
- data/spec/integration/rest_index_spec.rb +481 -0
- data/spec/integration/rest_labels_spec.rb +128 -0
- data/spec/integration/rest_node_spec.rb +274 -0
- data/spec/integration/rest_other_node_relationship_spec.rb +137 -0
- data/spec/integration/rest_path_spec.rb +231 -0
- data/spec/integration/rest_plugin_spec.rb +177 -0
- data/spec/integration/rest_relationship_spec.rb +354 -0
- data/spec/integration/rest_relationship_types_spec.rb +18 -0
- data/spec/integration/rest_schema_index_spec.rb +32 -0
- data/spec/integration/rest_spatial_spec.rb +166 -0
- data/spec/integration/rest_transaction_spec.rb +166 -0
- data/spec/integration/rest_traverse_spec.rb +149 -0
- data/spec/integration/unmanaged_spec.rb +27 -0
- data/spec/matchers.rb +33 -0
- data/spec/neography_spec.rb +23 -0
- data/spec/spec_helper.rb +44 -0
- data/spec/unit/config_spec.rb +135 -0
- data/spec/unit/connection_spec.rb +284 -0
- data/spec/unit/node_spec.rb +100 -0
- data/spec/unit/properties_spec.rb +285 -0
- data/spec/unit/relationship_spec.rb +118 -0
- data/spec/unit/rest/batch_spec.rb +262 -0
- data/spec/unit/rest/clean_spec.rb +16 -0
- data/spec/unit/rest/constraints_spec.rb +45 -0
- data/spec/unit/rest/cypher_spec.rb +20 -0
- data/spec/unit/rest/extensions_spec.rb +28 -0
- data/spec/unit/rest/gremlin_spec.rb +25 -0
- data/spec/unit/rest/helpers_spec.rb +124 -0
- data/spec/unit/rest/labels_spec.rb +77 -0
- data/spec/unit/rest/node_auto_indexes_spec.rb +70 -0
- data/spec/unit/rest/node_indexes_spec.rb +140 -0
- data/spec/unit/rest/node_paths_spec.rb +77 -0
- data/spec/unit/rest/node_properties_spec.rb +79 -0
- data/spec/unit/rest/node_relationships_spec.rb +57 -0
- data/spec/unit/rest/node_traversal_spec.rb +35 -0
- data/spec/unit/rest/nodes_spec.rb +187 -0
- data/spec/unit/rest/relationship_auto_indexes_spec.rb +66 -0
- data/spec/unit/rest/relationship_indexes_spec.rb +132 -0
- data/spec/unit/rest/relationship_properties_spec.rb +79 -0
- data/spec/unit/rest/relationship_types_spec.rb +15 -0
- data/spec/unit/rest/relationships_spec.rb +21 -0
- data/spec/unit/rest/schema_index_spec.rb +30 -0
- data/spec/unit/rest/transactions_spec.rb +43 -0
- metadata +372 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
|
|
3
|
+
module Neography
|
|
4
|
+
class Rest
|
|
5
|
+
describe RelationshipProperties do
|
|
6
|
+
|
|
7
|
+
subject { Neography::Rest.new }
|
|
8
|
+
|
|
9
|
+
it "sets properties" do
|
|
10
|
+
options1 = {
|
|
11
|
+
:body => '"bar"',
|
|
12
|
+
:headers => json_content_type
|
|
13
|
+
}
|
|
14
|
+
options2 = {
|
|
15
|
+
:body => '"qux"',
|
|
16
|
+
:headers => json_content_type
|
|
17
|
+
}
|
|
18
|
+
expect(subject.connection).to receive(:put).with("/relationship/42/properties/foo", options1)
|
|
19
|
+
expect(subject.connection).to receive(:put).with("/relationship/42/properties/baz", options2)
|
|
20
|
+
subject.set_relationship_properties("42", {:foo => "bar", :baz => "qux"})
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
it "resets properties" do
|
|
24
|
+
options = {
|
|
25
|
+
:body => '{"foo":"bar"}',
|
|
26
|
+
:headers => json_content_type
|
|
27
|
+
}
|
|
28
|
+
expect(subject.connection).to receive(:put).with("/relationship/42/properties", options)
|
|
29
|
+
subject.reset_relationship_properties("42", {:foo => "bar"})
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
context "getting properties" do
|
|
33
|
+
|
|
34
|
+
it "gets all properties" do
|
|
35
|
+
expect(subject.connection).to receive(:get).with("/relationship/42/properties")
|
|
36
|
+
subject.get_relationship_properties("42")
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
it "gets multiple properties" do
|
|
40
|
+
expect(subject.connection).to receive(:get).with("/relationship/42/properties/foo")
|
|
41
|
+
expect(subject.connection).to receive(:get).with("/relationship/42/properties/bar")
|
|
42
|
+
subject.get_relationship_properties("42", "foo", "bar")
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
it "returns multiple properties as a hash" do
|
|
46
|
+
allow(subject.connection).to receive(:get).and_return("baz", "qux")
|
|
47
|
+
expect(subject.get_relationship_properties("42", "foo", "bar")).to eq({ "foo" => "baz", "bar" => "qux" })
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
it "returns nil if no properties were found" do
|
|
51
|
+
allow(subject.connection).to receive(:get).and_return(nil, nil)
|
|
52
|
+
expect(subject.get_relationship_properties("42", "foo", "bar")).to be_nil
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
it "returns hash without nil return values" do
|
|
56
|
+
allow(subject.connection).to receive(:get).and_return("baz", nil)
|
|
57
|
+
expect(subject.get_relationship_properties("42", "foo", "bar")).to eq({ "foo" => "baz" })
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
context "removing properties" do
|
|
63
|
+
|
|
64
|
+
it "removes all properties" do
|
|
65
|
+
expect(subject.connection).to receive(:delete).with("/relationship/42/properties")
|
|
66
|
+
subject.remove_relationship_properties("42")
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
it "removes multiple properties" do
|
|
70
|
+
expect(subject.connection).to receive(:delete).with("/relationship/42/properties/foo")
|
|
71
|
+
expect(subject.connection).to receive(:delete).with("/relationship/42/properties/bar")
|
|
72
|
+
subject.remove_relationship_properties("42", "foo", "bar")
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
|
|
3
|
+
module Neography
|
|
4
|
+
class Rest
|
|
5
|
+
describe RelationshipTypes do
|
|
6
|
+
|
|
7
|
+
subject { Neography::Rest.new }
|
|
8
|
+
|
|
9
|
+
it "lists all relationship types" do
|
|
10
|
+
expect(subject.connection).to receive(:get).with("/relationship/types")
|
|
11
|
+
subject.list_relationship_types
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
|
|
3
|
+
module Neography
|
|
4
|
+
class Rest
|
|
5
|
+
describe Relationships do
|
|
6
|
+
|
|
7
|
+
subject { Neography::Rest.new }
|
|
8
|
+
|
|
9
|
+
it "gets a relationship" do
|
|
10
|
+
expect(subject.connection).to receive(:get).with("/relationship/42")
|
|
11
|
+
subject.get_relationship("42")
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
it "deletes a relationship" do
|
|
15
|
+
expect(subject.connection).to receive(:delete).with("/relationship/42")
|
|
16
|
+
subject.delete_relationship("42")
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
|
|
3
|
+
module Neography
|
|
4
|
+
class Rest
|
|
5
|
+
describe SchemaIndexes do
|
|
6
|
+
|
|
7
|
+
subject { Neography::Rest.new }
|
|
8
|
+
|
|
9
|
+
it "create schema indexes" do
|
|
10
|
+
options = {
|
|
11
|
+
:body => '{"property_keys":["name"]}',
|
|
12
|
+
:headers => json_content_type
|
|
13
|
+
}
|
|
14
|
+
expect(subject.connection).to receive(:post).with("/schema/index/person", options)
|
|
15
|
+
subject.create_schema_index("person", ["name"])
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
it "get schema indexes" do
|
|
19
|
+
expect(subject.connection).to receive(:get).with("/schema/index/person")
|
|
20
|
+
subject.get_schema_index("person")
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
it "delete schema indexes" do
|
|
24
|
+
expect(subject.connection).to receive(:delete).with("/schema/index/person/name")
|
|
25
|
+
subject.delete_schema_index("person","name")
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
|
|
3
|
+
module Neography
|
|
4
|
+
class Rest
|
|
5
|
+
describe Transactions do
|
|
6
|
+
|
|
7
|
+
subject { Neography::Rest.new }
|
|
8
|
+
|
|
9
|
+
it "can create new transactions" do
|
|
10
|
+
options = {
|
|
11
|
+
:body => '{"statements":[]}',
|
|
12
|
+
:headers => json_content_type
|
|
13
|
+
}
|
|
14
|
+
expect(subject.connection).to receive(:post).with("/transaction", options)
|
|
15
|
+
subject.begin_transaction
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
it "can add to transactions" do
|
|
19
|
+
options = {
|
|
20
|
+
:body => '{"statements":[]}',
|
|
21
|
+
:headers => json_content_type
|
|
22
|
+
}
|
|
23
|
+
expect(subject.connection).to receive(:post).with("/transaction/1", options)
|
|
24
|
+
subject.in_transaction(1, [])
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
it "can commit transactions" do
|
|
28
|
+
options = {
|
|
29
|
+
:body => '{"statements":[]}',
|
|
30
|
+
:headers => json_content_type
|
|
31
|
+
}
|
|
32
|
+
expect(subject.connection).to receive(:post).with("/transaction/1/commit", options)
|
|
33
|
+
subject.commit_transaction(1, [])
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
it "can rollback transactions" do
|
|
37
|
+
expect(subject.connection).to receive(:delete).with("/transaction/1")
|
|
38
|
+
subject.rollback_transaction(1)
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: neography-down
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.6.4
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Max De Marzi
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2016-05-05 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rspec
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '2.11'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '2.11'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: net-http-spy
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - '='
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 0.2.1
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - '='
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 0.2.1
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: coveralls
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: debugger
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - ">="
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: guard-rspec
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: excon
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - ">="
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: 0.33.0
|
|
90
|
+
type: :runtime
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - ">="
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: 0.33.0
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: json
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - ">="
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: 1.7.7
|
|
104
|
+
type: :runtime
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - ">="
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: 1.7.7
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: os
|
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: 0.9.6
|
|
118
|
+
type: :runtime
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - ">="
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: 0.9.6
|
|
125
|
+
- !ruby/object:Gem::Dependency
|
|
126
|
+
name: multi_json
|
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
|
128
|
+
requirements:
|
|
129
|
+
- - ">="
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: 1.3.2
|
|
132
|
+
type: :runtime
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
- - ">="
|
|
137
|
+
- !ruby/object:Gem::Version
|
|
138
|
+
version: 1.3.2
|
|
139
|
+
- !ruby/object:Gem::Dependency
|
|
140
|
+
name: rake
|
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
|
142
|
+
requirements:
|
|
143
|
+
- - ">="
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: 0.8.7
|
|
146
|
+
type: :runtime
|
|
147
|
+
prerelease: false
|
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
+
requirements:
|
|
150
|
+
- - ">="
|
|
151
|
+
- !ruby/object:Gem::Version
|
|
152
|
+
version: 0.8.7
|
|
153
|
+
description: A Ruby wrapper to the Neo4j Rest API see http://docs.neo4j.org/chunked/stable/rest-api.html
|
|
154
|
+
for more details.
|
|
155
|
+
email: maxdemarzi@gmail.com
|
|
156
|
+
executables: []
|
|
157
|
+
extensions: []
|
|
158
|
+
extra_rdoc_files: []
|
|
159
|
+
files:
|
|
160
|
+
- ".gitignore"
|
|
161
|
+
- ".project"
|
|
162
|
+
- ".rspec"
|
|
163
|
+
- ".travis.yml"
|
|
164
|
+
- CHANGELOG.md
|
|
165
|
+
- CONTRIBUTORS
|
|
166
|
+
- Gemfile
|
|
167
|
+
- Guardfile
|
|
168
|
+
- LICENSE
|
|
169
|
+
- README.md
|
|
170
|
+
- Rakefile
|
|
171
|
+
- examples/facebook.rb
|
|
172
|
+
- examples/facebook_v2.rb
|
|
173
|
+
- examples/greatest.rb
|
|
174
|
+
- examples/linkedin.rb
|
|
175
|
+
- examples/linkedin_v2.rb
|
|
176
|
+
- examples/traversal_example1.rb
|
|
177
|
+
- examples/traversal_example2.rb
|
|
178
|
+
- lib/neography.rb
|
|
179
|
+
- lib/neography/config.rb
|
|
180
|
+
- lib/neography/connection.rb
|
|
181
|
+
- lib/neography/equal.rb
|
|
182
|
+
- lib/neography/errors.rb
|
|
183
|
+
- lib/neography/index.rb
|
|
184
|
+
- lib/neography/multi_json_parser.rb
|
|
185
|
+
- lib/neography/neography.rb
|
|
186
|
+
- lib/neography/node.rb
|
|
187
|
+
- lib/neography/node_path.rb
|
|
188
|
+
- lib/neography/node_relationship.rb
|
|
189
|
+
- lib/neography/node_traverser.rb
|
|
190
|
+
- lib/neography/path_traverser.rb
|
|
191
|
+
- lib/neography/property.rb
|
|
192
|
+
- lib/neography/property_container.rb
|
|
193
|
+
- lib/neography/railtie.rb
|
|
194
|
+
- lib/neography/relationship.rb
|
|
195
|
+
- lib/neography/relationship_traverser.rb
|
|
196
|
+
- lib/neography/rest.rb
|
|
197
|
+
- lib/neography/rest/batch.rb
|
|
198
|
+
- lib/neography/rest/clean.rb
|
|
199
|
+
- lib/neography/rest/constraints.rb
|
|
200
|
+
- lib/neography/rest/cypher.rb
|
|
201
|
+
- lib/neography/rest/extensions.rb
|
|
202
|
+
- lib/neography/rest/gremlin.rb
|
|
203
|
+
- lib/neography/rest/helpers.rb
|
|
204
|
+
- lib/neography/rest/node_auto_indexes.rb
|
|
205
|
+
- lib/neography/rest/node_indexes.rb
|
|
206
|
+
- lib/neography/rest/node_labels.rb
|
|
207
|
+
- lib/neography/rest/node_paths.rb
|
|
208
|
+
- lib/neography/rest/node_properties.rb
|
|
209
|
+
- lib/neography/rest/node_relationships.rb
|
|
210
|
+
- lib/neography/rest/node_traversal.rb
|
|
211
|
+
- lib/neography/rest/nodes.rb
|
|
212
|
+
- lib/neography/rest/other_node_relationships.rb
|
|
213
|
+
- lib/neography/rest/relationship_auto_indexes.rb
|
|
214
|
+
- lib/neography/rest/relationship_indexes.rb
|
|
215
|
+
- lib/neography/rest/relationship_properties.rb
|
|
216
|
+
- lib/neography/rest/relationship_types.rb
|
|
217
|
+
- lib/neography/rest/relationships.rb
|
|
218
|
+
- lib/neography/rest/schema_indexes.rb
|
|
219
|
+
- lib/neography/rest/spatial.rb
|
|
220
|
+
- lib/neography/rest/transactions.rb
|
|
221
|
+
- lib/neography/tasks.rb
|
|
222
|
+
- lib/neography/version.rb
|
|
223
|
+
- neography.gemspec
|
|
224
|
+
- spec/integration/authorization_spec.rb
|
|
225
|
+
- spec/integration/broken_spatial_spec.rb
|
|
226
|
+
- spec/integration/index_spec.rb
|
|
227
|
+
- spec/integration/neography_spec.rb
|
|
228
|
+
- spec/integration/node_encoding_spec.rb
|
|
229
|
+
- spec/integration/node_path_spec.rb
|
|
230
|
+
- spec/integration/node_relationship_spec.rb
|
|
231
|
+
- spec/integration/node_spec.rb
|
|
232
|
+
- spec/integration/parsing_spec.rb
|
|
233
|
+
- spec/integration/performance_spec.rb
|
|
234
|
+
- spec/integration/relationship_spec.rb
|
|
235
|
+
- spec/integration/rest_batch_no_streaming_spec.rb
|
|
236
|
+
- spec/integration/rest_batch_spec.rb
|
|
237
|
+
- spec/integration/rest_batch_streaming_spec.rb
|
|
238
|
+
- spec/integration/rest_bulk_spec.rb
|
|
239
|
+
- spec/integration/rest_constraints_spec.rb
|
|
240
|
+
- spec/integration/rest_experimental_spec.rb
|
|
241
|
+
- spec/integration/rest_gremlin_fail_spec.rb
|
|
242
|
+
- spec/integration/rest_header_spec.rb
|
|
243
|
+
- spec/integration/rest_index_spec.rb
|
|
244
|
+
- spec/integration/rest_labels_spec.rb
|
|
245
|
+
- spec/integration/rest_node_spec.rb
|
|
246
|
+
- spec/integration/rest_other_node_relationship_spec.rb
|
|
247
|
+
- spec/integration/rest_path_spec.rb
|
|
248
|
+
- spec/integration/rest_plugin_spec.rb
|
|
249
|
+
- spec/integration/rest_relationship_spec.rb
|
|
250
|
+
- spec/integration/rest_relationship_types_spec.rb
|
|
251
|
+
- spec/integration/rest_schema_index_spec.rb
|
|
252
|
+
- spec/integration/rest_spatial_spec.rb
|
|
253
|
+
- spec/integration/rest_transaction_spec.rb
|
|
254
|
+
- spec/integration/rest_traverse_spec.rb
|
|
255
|
+
- spec/integration/unmanaged_spec.rb
|
|
256
|
+
- spec/matchers.rb
|
|
257
|
+
- spec/neography_spec.rb
|
|
258
|
+
- spec/spec_helper.rb
|
|
259
|
+
- spec/unit/config_spec.rb
|
|
260
|
+
- spec/unit/connection_spec.rb
|
|
261
|
+
- spec/unit/node_spec.rb
|
|
262
|
+
- spec/unit/properties_spec.rb
|
|
263
|
+
- spec/unit/relationship_spec.rb
|
|
264
|
+
- spec/unit/rest/batch_spec.rb
|
|
265
|
+
- spec/unit/rest/clean_spec.rb
|
|
266
|
+
- spec/unit/rest/constraints_spec.rb
|
|
267
|
+
- spec/unit/rest/cypher_spec.rb
|
|
268
|
+
- spec/unit/rest/extensions_spec.rb
|
|
269
|
+
- spec/unit/rest/gremlin_spec.rb
|
|
270
|
+
- spec/unit/rest/helpers_spec.rb
|
|
271
|
+
- spec/unit/rest/labels_spec.rb
|
|
272
|
+
- spec/unit/rest/node_auto_indexes_spec.rb
|
|
273
|
+
- spec/unit/rest/node_indexes_spec.rb
|
|
274
|
+
- spec/unit/rest/node_paths_spec.rb
|
|
275
|
+
- spec/unit/rest/node_properties_spec.rb
|
|
276
|
+
- spec/unit/rest/node_relationships_spec.rb
|
|
277
|
+
- spec/unit/rest/node_traversal_spec.rb
|
|
278
|
+
- spec/unit/rest/nodes_spec.rb
|
|
279
|
+
- spec/unit/rest/relationship_auto_indexes_spec.rb
|
|
280
|
+
- spec/unit/rest/relationship_indexes_spec.rb
|
|
281
|
+
- spec/unit/rest/relationship_properties_spec.rb
|
|
282
|
+
- spec/unit/rest/relationship_types_spec.rb
|
|
283
|
+
- spec/unit/rest/relationships_spec.rb
|
|
284
|
+
- spec/unit/rest/schema_index_spec.rb
|
|
285
|
+
- spec/unit/rest/transactions_spec.rb
|
|
286
|
+
homepage: http://rubygems.org/gems/neography
|
|
287
|
+
licenses:
|
|
288
|
+
- MIT
|
|
289
|
+
metadata: {}
|
|
290
|
+
post_install_message:
|
|
291
|
+
rdoc_options: []
|
|
292
|
+
require_paths:
|
|
293
|
+
- lib
|
|
294
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
295
|
+
requirements:
|
|
296
|
+
- - ">="
|
|
297
|
+
- !ruby/object:Gem::Version
|
|
298
|
+
version: '0'
|
|
299
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
300
|
+
requirements:
|
|
301
|
+
- - ">="
|
|
302
|
+
- !ruby/object:Gem::Version
|
|
303
|
+
version: '0'
|
|
304
|
+
requirements: []
|
|
305
|
+
rubyforge_project: neography-down
|
|
306
|
+
rubygems_version: 2.4.8
|
|
307
|
+
signing_key:
|
|
308
|
+
specification_version: 4
|
|
309
|
+
summary: ruby wrapper to Neo4j Rest API
|
|
310
|
+
test_files:
|
|
311
|
+
- spec/integration/authorization_spec.rb
|
|
312
|
+
- spec/integration/broken_spatial_spec.rb
|
|
313
|
+
- spec/integration/index_spec.rb
|
|
314
|
+
- spec/integration/neography_spec.rb
|
|
315
|
+
- spec/integration/node_encoding_spec.rb
|
|
316
|
+
- spec/integration/node_path_spec.rb
|
|
317
|
+
- spec/integration/node_relationship_spec.rb
|
|
318
|
+
- spec/integration/node_spec.rb
|
|
319
|
+
- spec/integration/parsing_spec.rb
|
|
320
|
+
- spec/integration/performance_spec.rb
|
|
321
|
+
- spec/integration/relationship_spec.rb
|
|
322
|
+
- spec/integration/rest_batch_no_streaming_spec.rb
|
|
323
|
+
- spec/integration/rest_batch_spec.rb
|
|
324
|
+
- spec/integration/rest_batch_streaming_spec.rb
|
|
325
|
+
- spec/integration/rest_bulk_spec.rb
|
|
326
|
+
- spec/integration/rest_constraints_spec.rb
|
|
327
|
+
- spec/integration/rest_experimental_spec.rb
|
|
328
|
+
- spec/integration/rest_gremlin_fail_spec.rb
|
|
329
|
+
- spec/integration/rest_header_spec.rb
|
|
330
|
+
- spec/integration/rest_index_spec.rb
|
|
331
|
+
- spec/integration/rest_labels_spec.rb
|
|
332
|
+
- spec/integration/rest_node_spec.rb
|
|
333
|
+
- spec/integration/rest_other_node_relationship_spec.rb
|
|
334
|
+
- spec/integration/rest_path_spec.rb
|
|
335
|
+
- spec/integration/rest_plugin_spec.rb
|
|
336
|
+
- spec/integration/rest_relationship_spec.rb
|
|
337
|
+
- spec/integration/rest_relationship_types_spec.rb
|
|
338
|
+
- spec/integration/rest_schema_index_spec.rb
|
|
339
|
+
- spec/integration/rest_spatial_spec.rb
|
|
340
|
+
- spec/integration/rest_transaction_spec.rb
|
|
341
|
+
- spec/integration/rest_traverse_spec.rb
|
|
342
|
+
- spec/integration/unmanaged_spec.rb
|
|
343
|
+
- spec/matchers.rb
|
|
344
|
+
- spec/neography_spec.rb
|
|
345
|
+
- spec/spec_helper.rb
|
|
346
|
+
- spec/unit/config_spec.rb
|
|
347
|
+
- spec/unit/connection_spec.rb
|
|
348
|
+
- spec/unit/node_spec.rb
|
|
349
|
+
- spec/unit/properties_spec.rb
|
|
350
|
+
- spec/unit/relationship_spec.rb
|
|
351
|
+
- spec/unit/rest/batch_spec.rb
|
|
352
|
+
- spec/unit/rest/clean_spec.rb
|
|
353
|
+
- spec/unit/rest/constraints_spec.rb
|
|
354
|
+
- spec/unit/rest/cypher_spec.rb
|
|
355
|
+
- spec/unit/rest/extensions_spec.rb
|
|
356
|
+
- spec/unit/rest/gremlin_spec.rb
|
|
357
|
+
- spec/unit/rest/helpers_spec.rb
|
|
358
|
+
- spec/unit/rest/labels_spec.rb
|
|
359
|
+
- spec/unit/rest/node_auto_indexes_spec.rb
|
|
360
|
+
- spec/unit/rest/node_indexes_spec.rb
|
|
361
|
+
- spec/unit/rest/node_paths_spec.rb
|
|
362
|
+
- spec/unit/rest/node_properties_spec.rb
|
|
363
|
+
- spec/unit/rest/node_relationships_spec.rb
|
|
364
|
+
- spec/unit/rest/node_traversal_spec.rb
|
|
365
|
+
- spec/unit/rest/nodes_spec.rb
|
|
366
|
+
- spec/unit/rest/relationship_auto_indexes_spec.rb
|
|
367
|
+
- spec/unit/rest/relationship_indexes_spec.rb
|
|
368
|
+
- spec/unit/rest/relationship_properties_spec.rb
|
|
369
|
+
- spec/unit/rest/relationship_types_spec.rb
|
|
370
|
+
- spec/unit/rest/relationships_spec.rb
|
|
371
|
+
- spec/unit/rest/schema_index_spec.rb
|
|
372
|
+
- spec/unit/rest/transactions_spec.rb
|