neography 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +939 -0
- data/Guardfile +14 -0
- data/README.md +16 -14
- data/lib/neography/connection.rb +1 -0
- data/lib/neography/errors.rb +3 -0
- data/lib/neography/node.rb +21 -25
- data/lib/neography/property.rb +60 -11
- data/lib/neography/property_container.rb +5 -6
- data/lib/neography/rest/batch.rb +10 -0
- data/lib/neography/rest/node_properties.rb +1 -1
- data/lib/neography/version.rb +1 -1
- data/neography.gemspec +4 -2
- data/spec/integration/authorization_spec.rb +4 -4
- data/spec/integration/broken_spatial_spec.rb +6 -6
- data/spec/integration/index_spec.rb +6 -6
- data/spec/integration/neography_spec.rb +1 -1
- data/spec/integration/node_encoding_spec.rb +19 -19
- data/spec/integration/node_path_spec.rb +36 -36
- data/spec/integration/node_relationship_spec.rb +84 -84
- data/spec/integration/node_spec.rb +50 -50
- data/spec/integration/parsing_spec.rb +2 -2
- data/spec/integration/relationship_spec.rb +10 -10
- data/spec/integration/rest_batch_no_streaming_spec.rb +6 -6
- data/spec/integration/rest_batch_spec.rb +209 -188
- data/spec/integration/rest_batch_streaming_spec.rb +8 -8
- data/spec/integration/rest_bulk_spec.rb +23 -23
- data/spec/integration/rest_constraints_spec.rb +17 -17
- data/spec/integration/rest_experimental_spec.rb +2 -2
- data/spec/integration/rest_gremlin_fail_spec.rb +4 -4
- data/spec/integration/rest_header_spec.rb +3 -2
- data/spec/integration/rest_index_spec.rb +76 -76
- data/spec/integration/rest_labels_spec.rb +13 -13
- data/spec/integration/rest_node_spec.rb +50 -50
- data/spec/integration/rest_other_node_relationship_spec.rb +50 -50
- data/spec/integration/rest_path_spec.rb +55 -55
- data/spec/integration/rest_plugin_spec.rb +59 -59
- data/spec/integration/rest_relationship_spec.rb +77 -77
- data/spec/integration/rest_relationship_types_spec.rb +2 -2
- data/spec/integration/rest_schema_index_spec.rb +6 -6
- data/spec/integration/rest_spatial_spec.rb +50 -50
- data/spec/integration/rest_transaction_spec.rb +67 -67
- data/spec/integration/rest_traverse_spec.rb +40 -40
- data/spec/integration/unmanaged_spec.rb +3 -3
- data/spec/matchers.rb +2 -2
- data/spec/neography_spec.rb +3 -3
- data/spec/spec_helper.rb +2 -2
- data/spec/unit/config_spec.rb +95 -20
- data/spec/unit/connection_spec.rb +40 -40
- data/spec/unit/node_spec.rb +12 -12
- data/spec/unit/properties_spec.rb +174 -29
- data/spec/unit/relationship_spec.rb +16 -16
- data/spec/unit/rest/batch_spec.rb +23 -23
- data/spec/unit/rest/clean_spec.rb +1 -1
- data/spec/unit/rest/constraints_spec.rb +6 -6
- data/spec/unit/rest/cypher_spec.rb +1 -1
- data/spec/unit/rest/extensions_spec.rb +2 -2
- data/spec/unit/rest/gremlin_spec.rb +3 -3
- data/spec/unit/rest/helpers_spec.rb +19 -19
- data/spec/unit/rest/labels_spec.rb +10 -10
- data/spec/unit/rest/node_auto_indexes_spec.rb +13 -13
- data/spec/unit/rest/node_indexes_spec.rb +22 -22
- data/spec/unit/rest/node_paths_spec.rb +7 -7
- data/spec/unit/rest/node_properties_spec.rb +15 -15
- data/spec/unit/rest/node_relationships_spec.rb +10 -10
- data/spec/unit/rest/node_traversal_spec.rb +1 -1
- data/spec/unit/rest/nodes_spec.rb +32 -32
- data/spec/unit/rest/relationship_auto_indexes_spec.rb +12 -12
- data/spec/unit/rest/relationship_indexes_spec.rb +21 -21
- data/spec/unit/rest/relationship_properties_spec.rb +15 -15
- data/spec/unit/rest/relationship_types_spec.rb +1 -1
- data/spec/unit/rest/relationships_spec.rb +2 -2
- data/spec/unit/rest/schema_index_spec.rb +3 -3
- data/spec/unit/rest/transactions_spec.rb +4 -4
- metadata +32 -3
- data/ChangeLog +0 -658
@@ -7,57 +7,57 @@ module Neography
|
|
7
7
|
subject { Neography::Rest.new }
|
8
8
|
|
9
9
|
it "gets a relationship from an auto index" do
|
10
|
-
subject.connection.
|
10
|
+
expect(subject.connection).to receive(:get).with("/index/auto/relationship/some_key/some_value")
|
11
11
|
subject.get_relationship_auto_index("some_key", "some_value")
|
12
12
|
end
|
13
13
|
|
14
14
|
it "returns nil if nothing was found in the auto index" do
|
15
|
-
subject.connection.
|
16
|
-
subject.get_relationship_auto_index("some_key", "some_value").
|
15
|
+
allow(subject.connection).to receive(:get).and_return(nil)
|
16
|
+
expect(subject.get_relationship_auto_index("some_key", "some_value")).to be_nil
|
17
17
|
end
|
18
18
|
|
19
19
|
it "finds by key and value if value passed to #find_or_query" do
|
20
|
-
subject.connection.
|
20
|
+
expect(subject.connection).to receive(:get).with("/index/auto/relationship/some_key/some_value")
|
21
21
|
subject.find_relationship_auto_index("some_key", "some_value")
|
22
22
|
end
|
23
23
|
|
24
24
|
it "finds by query if no value passed to #find_or_query" do
|
25
|
-
subject.connection.
|
25
|
+
expect(subject.connection).to receive(:get).with("/index/auto/relationship/?query=some_query")
|
26
26
|
subject.find_relationship_auto_index("some_query")
|
27
27
|
end
|
28
28
|
|
29
29
|
it "finds by key and value" do
|
30
|
-
subject.connection.
|
30
|
+
expect(subject.connection).to receive(:get).with("/index/auto/relationship/some_key/some_value")
|
31
31
|
subject.find_relationship_auto_index("some_key", "some_value")
|
32
32
|
end
|
33
33
|
|
34
34
|
it "finds by query" do
|
35
|
-
subject.connection.
|
35
|
+
expect(subject.connection).to receive(:get).with("/index/auto/relationship/?query=some_query")
|
36
36
|
subject.find_relationship_auto_index("some_query")
|
37
37
|
end
|
38
38
|
|
39
39
|
it "gets the status" do
|
40
|
-
subject.connection.
|
40
|
+
expect(subject.connection).to receive(:get).with("/index/auto/relationship/status")
|
41
41
|
subject.get_relationship_auto_index_status
|
42
42
|
end
|
43
43
|
|
44
44
|
it "sets the status" do
|
45
|
-
subject.connection.
|
45
|
+
expect(subject.connection).to receive(:put).with("/index/auto/relationship/status", hash_match(:body, '"foo"'))
|
46
46
|
subject.set_relationship_auto_index_status("foo")
|
47
47
|
end
|
48
48
|
|
49
49
|
it "gets auto index properties" do
|
50
|
-
subject.connection.
|
50
|
+
expect(subject.connection).to receive(:get).with("/index/auto/relationship/properties")
|
51
51
|
subject.get_relationship_auto_index_properties
|
52
52
|
end
|
53
53
|
|
54
54
|
it "adds a property to an auto index" do
|
55
|
-
subject.connection.
|
55
|
+
expect(subject.connection).to receive(:post).with("/index/auto/relationship/properties", hash_match(:body, "foo"))
|
56
56
|
subject.add_relationship_auto_index_property("foo")
|
57
57
|
end
|
58
58
|
|
59
59
|
it "removes a property from an auto index" do
|
60
|
-
subject.connection.
|
60
|
+
expect(subject.connection).to receive(:delete).with("/index/auto/relationship/properties/foo")
|
61
61
|
subject.remove_relationship_auto_index_property("foo")
|
62
62
|
end
|
63
63
|
|
@@ -7,7 +7,7 @@ module Neography
|
|
7
7
|
subject { Neography::Rest.new }
|
8
8
|
|
9
9
|
it "lists all indexes" do
|
10
|
-
subject.connection.
|
10
|
+
expect(subject.connection).to receive(:get).with("/index/relationship")
|
11
11
|
subject.list_relationship_indexes
|
12
12
|
end
|
13
13
|
|
@@ -19,13 +19,13 @@ module Neography
|
|
19
19
|
},
|
20
20
|
"name" => "some_index"
|
21
21
|
}
|
22
|
-
subject.connection.
|
22
|
+
expect(subject.connection).to receive(:post).with("/index/relationship", json_match(:body, expected_body))
|
23
23
|
subject.create_relationship_index("some_index", "some_type", "some_provider")
|
24
24
|
end
|
25
25
|
|
26
26
|
it "returns the post result after creation" do
|
27
|
-
subject.connection.
|
28
|
-
subject.create_relationship_index("some_index", "some_type", "some_provider").
|
27
|
+
allow(subject.connection).to receive(:post).and_return("foo")
|
28
|
+
expect(subject.create_relationship_index("some_index", "some_type", "some_provider")).to eq("foo")
|
29
29
|
end
|
30
30
|
|
31
31
|
it "creates an auto-index" do
|
@@ -36,7 +36,7 @@ module Neography
|
|
36
36
|
},
|
37
37
|
"name" => "relationship_auto_index"
|
38
38
|
}
|
39
|
-
subject.connection.
|
39
|
+
expect(subject.connection).to receive(:post).with("/index/relationship", json_match(:body, expected_body))
|
40
40
|
subject.create_relationship_auto_index("some_type", "some_provider")
|
41
41
|
end
|
42
42
|
|
@@ -49,7 +49,7 @@ module Neography
|
|
49
49
|
"end" => "http://localhost:7474/node/43",
|
50
50
|
"properties" => "properties"
|
51
51
|
}
|
52
|
-
subject.connection.
|
52
|
+
expect(subject.connection).to receive(:post).with("/index/relationship/some_index?unique", json_match(:body, expected_body))
|
53
53
|
subject.create_unique_relationship("some_index", "key", "value", "type", "42", "43", "properties")
|
54
54
|
end
|
55
55
|
|
@@ -59,72 +59,72 @@ module Neography
|
|
59
59
|
"key" => "key",
|
60
60
|
"value" => "value"
|
61
61
|
}
|
62
|
-
subject.connection.
|
62
|
+
expect(subject.connection).to receive(:post).with("/index/relationship/some_index", json_match(:body, expected_body))
|
63
63
|
subject.add_relationship_to_index("some_index", "key", "value", "42")
|
64
64
|
end
|
65
65
|
|
66
66
|
it "gets a relationship from an index" do
|
67
|
-
subject.connection.
|
67
|
+
expect(subject.connection).to receive(:get).with("/index/relationship/some_index/some_key/some_value")
|
68
68
|
subject.get_relationship_index("some_index", "some_key", "some_value")
|
69
69
|
end
|
70
70
|
|
71
71
|
it "returns nil if nothing was found in the index" do
|
72
|
-
subject.connection.
|
73
|
-
subject.get_relationship_index("some_index", "some_key", "some_value").
|
72
|
+
allow(subject.connection).to receive(:get).and_return(nil)
|
73
|
+
expect(subject.get_relationship_index("some_index", "some_key", "some_value")).to be_nil
|
74
74
|
end
|
75
75
|
|
76
76
|
it "finds by key and value if both passed to #find" do
|
77
|
-
subject.connection.
|
77
|
+
expect(subject.connection).to receive(:get).with("/index/relationship/some_index/some_key/some_value")
|
78
78
|
subject.find_relationship_index("some_index", "some_key", "some_value")
|
79
79
|
end
|
80
80
|
|
81
81
|
it "finds by query if no value passed to #find" do
|
82
|
-
subject.connection.
|
82
|
+
expect(subject.connection).to receive(:get).with("/index/relationship/some_index?query=some_query")
|
83
83
|
subject.find_relationship_index("some_index", "some_query")
|
84
84
|
end
|
85
85
|
|
86
86
|
it "finds by key query" do
|
87
|
-
subject.connection.
|
87
|
+
expect(subject.connection).to receive(:get).with("/index/relationship/some_index/some_key/some_value")
|
88
88
|
subject.find_relationship_index_by_key_value("some_index", "some_key", "some_value")
|
89
89
|
end
|
90
90
|
|
91
91
|
it "finds by query" do
|
92
|
-
subject.connection.
|
92
|
+
expect(subject.connection).to receive(:get).with("/index/relationship/some_index?query=some_query")
|
93
93
|
subject.find_relationship_index_by_query("some_index", "some_query")
|
94
94
|
end
|
95
95
|
|
96
96
|
it "removes a relationship from an index for #remove with two arguments" do
|
97
|
-
subject.connection.
|
97
|
+
expect(subject.connection).to receive(:delete).with("/index/relationship/some_index/42")
|
98
98
|
subject.remove_relationship_from_index("some_index", "42")
|
99
99
|
end
|
100
100
|
|
101
101
|
it "removes a relationship from an index by key for #remove with three arguments" do
|
102
|
-
subject.connection.
|
102
|
+
expect(subject.connection).to receive(:delete).with("/index/relationship/some_index/some_key/42")
|
103
103
|
subject.remove_relationship_from_index("some_index", "some_key", "42")
|
104
104
|
end
|
105
105
|
|
106
106
|
it "removes a relationship from an index by key and value for #remove with four arguments" do
|
107
|
-
subject.connection.
|
107
|
+
expect(subject.connection).to receive(:delete).with("/index/relationship/some_index/some_key/some_value/42")
|
108
108
|
subject.remove_relationship_from_index("some_index", "some_key", "some_value", "42")
|
109
109
|
end
|
110
110
|
|
111
111
|
it "removes a relationship from an index" do
|
112
|
-
subject.connection.
|
112
|
+
expect(subject.connection).to receive(:delete).with("/index/relationship/some_index/42")
|
113
113
|
subject.remove_relationship_index_by_id("some_index", "42")
|
114
114
|
end
|
115
115
|
|
116
116
|
it "removes a relationship from an index by key" do
|
117
|
-
subject.connection.
|
117
|
+
expect(subject.connection).to receive(:delete).with("/index/relationship/some_index/some_key/42")
|
118
118
|
subject.remove_relationship_index_by_key("some_index", "42", "some_key")
|
119
119
|
end
|
120
120
|
|
121
121
|
it "removes a relationship from an index by key and value" do
|
122
|
-
subject.connection.
|
122
|
+
expect(subject.connection).to receive(:delete).with("/index/relationship/some_index/some_key/some_value/42")
|
123
123
|
subject.remove_relationship_index_by_value("some_index", "42", "some_key", "some_value")
|
124
124
|
end
|
125
125
|
|
126
126
|
it "drops an index" do
|
127
|
-
subject.connection.
|
127
|
+
expect(subject.connection).to receive(:delete).with("/index/relationship/some_index")
|
128
128
|
subject.drop_relationship_index("some_index")
|
129
129
|
end
|
130
130
|
end
|
@@ -15,8 +15,8 @@ module Neography
|
|
15
15
|
:body => '"qux"',
|
16
16
|
:headers => json_content_type
|
17
17
|
}
|
18
|
-
subject.connection.
|
19
|
-
subject.connection.
|
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
20
|
subject.set_relationship_properties("42", {:foo => "bar", :baz => "qux"})
|
21
21
|
end
|
22
22
|
|
@@ -25,36 +25,36 @@ module Neography
|
|
25
25
|
:body => '{"foo":"bar"}',
|
26
26
|
:headers => json_content_type
|
27
27
|
}
|
28
|
-
subject.connection.
|
28
|
+
expect(subject.connection).to receive(:put).with("/relationship/42/properties", options)
|
29
29
|
subject.reset_relationship_properties("42", {:foo => "bar"})
|
30
30
|
end
|
31
31
|
|
32
32
|
context "getting properties" do
|
33
33
|
|
34
34
|
it "gets all properties" do
|
35
|
-
subject.connection.
|
35
|
+
expect(subject.connection).to receive(:get).with("/relationship/42/properties")
|
36
36
|
subject.get_relationship_properties("42")
|
37
37
|
end
|
38
38
|
|
39
39
|
it "gets multiple properties" do
|
40
|
-
subject.connection.
|
41
|
-
subject.connection.
|
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
42
|
subject.get_relationship_properties("42", "foo", "bar")
|
43
43
|
end
|
44
44
|
|
45
45
|
it "returns multiple properties as a hash" do
|
46
|
-
subject.connection.
|
47
|
-
subject.get_relationship_properties("42", "foo", "bar").
|
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
48
|
end
|
49
49
|
|
50
50
|
it "returns nil if no properties were found" do
|
51
|
-
subject.connection.
|
52
|
-
subject.get_relationship_properties("42", "foo", "bar").
|
51
|
+
allow(subject.connection).to receive(:get).and_return(nil, nil)
|
52
|
+
expect(subject.get_relationship_properties("42", "foo", "bar")).to be_nil
|
53
53
|
end
|
54
54
|
|
55
55
|
it "returns hash without nil return values" do
|
56
|
-
subject.connection.
|
57
|
-
subject.get_relationship_properties("42", "foo", "bar").
|
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
58
|
end
|
59
59
|
|
60
60
|
end
|
@@ -62,13 +62,13 @@ module Neography
|
|
62
62
|
context "removing properties" do
|
63
63
|
|
64
64
|
it "removes all properties" do
|
65
|
-
subject.connection.
|
65
|
+
expect(subject.connection).to receive(:delete).with("/relationship/42/properties")
|
66
66
|
subject.remove_relationship_properties("42")
|
67
67
|
end
|
68
68
|
|
69
69
|
it "removes multiple properties" do
|
70
|
-
subject.connection.
|
71
|
-
subject.connection.
|
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
72
|
subject.remove_relationship_properties("42", "foo", "bar")
|
73
73
|
end
|
74
74
|
|
@@ -7,7 +7,7 @@ module Neography
|
|
7
7
|
subject { Neography::Rest.new }
|
8
8
|
|
9
9
|
it "lists all relationship types" do
|
10
|
-
subject.connection.
|
10
|
+
expect(subject.connection).to receive(:get).with("/relationship/types")
|
11
11
|
subject.list_relationship_types
|
12
12
|
end
|
13
13
|
end
|
@@ -7,12 +7,12 @@ module Neography
|
|
7
7
|
subject { Neography::Rest.new }
|
8
8
|
|
9
9
|
it "gets a relationship" do
|
10
|
-
subject.connection.
|
10
|
+
expect(subject.connection).to receive(:get).with("/relationship/42")
|
11
11
|
subject.get_relationship("42")
|
12
12
|
end
|
13
13
|
|
14
14
|
it "deletes a relationship" do
|
15
|
-
subject.connection.
|
15
|
+
expect(subject.connection).to receive(:delete).with("/relationship/42")
|
16
16
|
subject.delete_relationship("42")
|
17
17
|
end
|
18
18
|
|
@@ -11,17 +11,17 @@ module Neography
|
|
11
11
|
:body => '{"property_keys":["name"]}',
|
12
12
|
:headers => json_content_type
|
13
13
|
}
|
14
|
-
subject.connection.
|
14
|
+
expect(subject.connection).to receive(:post).with("/schema/index/person", options)
|
15
15
|
subject.create_schema_index("person", ["name"])
|
16
16
|
end
|
17
17
|
|
18
18
|
it "get schema indexes" do
|
19
|
-
subject.connection.
|
19
|
+
expect(subject.connection).to receive(:get).with("/schema/index/person")
|
20
20
|
subject.get_schema_index("person")
|
21
21
|
end
|
22
22
|
|
23
23
|
it "delete schema indexes" do
|
24
|
-
subject.connection.
|
24
|
+
expect(subject.connection).to receive(:delete).with("/schema/index/person/name")
|
25
25
|
subject.delete_schema_index("person","name")
|
26
26
|
end
|
27
27
|
|
@@ -11,7 +11,7 @@ module Neography
|
|
11
11
|
:body => '{"statements":[]}',
|
12
12
|
:headers => json_content_type
|
13
13
|
}
|
14
|
-
subject.connection.
|
14
|
+
expect(subject.connection).to receive(:post).with("/transaction", options)
|
15
15
|
subject.begin_transaction
|
16
16
|
end
|
17
17
|
|
@@ -20,7 +20,7 @@ module Neography
|
|
20
20
|
:body => '{"statements":[]}',
|
21
21
|
:headers => json_content_type
|
22
22
|
}
|
23
|
-
subject.connection.
|
23
|
+
expect(subject.connection).to receive(:post).with("/transaction/1", options)
|
24
24
|
subject.in_transaction(1, [])
|
25
25
|
end
|
26
26
|
|
@@ -29,12 +29,12 @@ module Neography
|
|
29
29
|
:body => '{"statements":[]}',
|
30
30
|
:headers => json_content_type
|
31
31
|
}
|
32
|
-
subject.connection.
|
32
|
+
expect(subject.connection).to receive(:post).with("/transaction/1/commit", options)
|
33
33
|
subject.commit_transaction(1, [])
|
34
34
|
end
|
35
35
|
|
36
36
|
it "can rollback transactions" do
|
37
|
-
subject.connection.
|
37
|
+
expect(subject.connection).to receive(:delete).with("/transaction/1")
|
38
38
|
subject.rollback_transaction(1)
|
39
39
|
end
|
40
40
|
|
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.5.
|
4
|
+
version: 1.5.1
|
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-
|
11
|
+
date: 2014-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -52,6 +52,34 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
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'
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
84
|
name: excon
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -147,9 +175,10 @@ files:
|
|
147
175
|
- ".project"
|
148
176
|
- ".rspec"
|
149
177
|
- ".travis.yml"
|
178
|
+
- CHANGELOG.md
|
150
179
|
- CONTRIBUTORS
|
151
|
-
- ChangeLog
|
152
180
|
- Gemfile
|
181
|
+
- Guardfile
|
153
182
|
- LICENSE
|
154
183
|
- README.md
|
155
184
|
- Rakefile
|
data/ChangeLog
DELETED
@@ -1,658 +0,0 @@
|
|
1
|
-
v1.4.2
|
2
|
-
=======
|
3
|
-
ee25406 Bump to 1.4.2
|
4
|
-
c56574f Add batch_no_streaming method
|
5
|
-
|
6
|
-
v1.3.11
|
7
|
-
=======
|
8
|
-
49e310d Bump to 1.3.11
|
9
|
-
26ec8a0 adding to_s to errors
|
10
|
-
712400e fix config tests for proxy addition
|
11
|
-
475c675 add proxy to config for httpclient calls
|
12
|
-
d9e9e89 it's too much output, reverting this change
|
13
|
-
|
14
|
-
v1.3.10
|
15
|
-
=======
|
16
|
-
3e2a2cc Bump to 1.3.10
|
17
|
-
f7ad164 add the request to the error
|
18
|
-
|
19
|
-
v1.3.9
|
20
|
-
======
|
21
|
-
273fbf4 Bump to 1.3.9
|
22
|
-
7a77fc4 adding constraints to fix #143
|
23
|
-
9d2fee7 add DeadlockDetectedException to fix #145
|
24
|
-
d5df0c4 Avoid waiting for a WWW-Authenticate under HTTP Basic auth
|
25
|
-
4177e6a Add :remove_node_property to batch operations
|
26
|
-
f6b64c0 updating changelog
|
27
|
-
|
28
|
-
v1.3.8
|
29
|
-
======
|
30
|
-
3343c5e Bump to 1.3.8
|
31
|
-
e99ba36 add ChangeLog (using git-changelog gem)
|
32
|
-
de53b89 update neo to 2.0.1, update ruby tests to 2.0.0
|
33
|
-
9a76e11 add unmanaged extensions spec (skipped for test suite)
|
34
|
-
b788b68 moved broken spatial tests out to their own file, and skipping them until we track this Neo4j bug down
|
35
|
-
f1e172e more work on adding spatial to batch... failing test however...
|
36
|
-
8ee5de4 + .labels Node instance method
|
37
|
-
d358eb7 + colors in tests
|
38
|
-
07e63dc let body of post extension pass through without the to_json if headers are not nil
|
39
|
-
cb21b01 allow headers to be past in when using extensions
|
40
|
-
43b64d3 deal with unmanaged extensions a little better... well not really, but at least it should work
|
41
|
-
|
42
|
-
v1.3.7
|
43
|
-
======
|
44
|
-
6bd6842 Bump to 1.3.7
|
45
|
-
ab0bc96 add add_node_to_index method
|
46
|
-
0a360d9 remove mh spec
|
47
|
-
4371c20 passing spatial tests
|
48
|
-
0465e80 most of the way there, but cypher still failing :(
|
49
|
-
02cca20 add spatial to travis
|
50
|
-
c9da4c1 starting on spatial
|
51
|
-
11a6368 added get spatial task
|
52
|
-
d39d70a Update Readme, added link to cypher gem
|
53
|
-
|
54
|
-
v1.3.6
|
55
|
-
======
|
56
|
-
63da260 Bump to 1.3.6
|
57
|
-
e37cd3d fix test
|
58
|
-
e565ecc fix rollbacks
|
59
|
-
3c9583e corrected failing spec
|
60
|
-
d0e75a6 added the option to configure an existing logger (e.g. Rails.logger)
|
61
|
-
|
62
|
-
v1.3.5
|
63
|
-
======
|
64
|
-
8737a75 Bump to 1.3.5
|
65
|
-
8955dda allow unmanaged extensions if they start with unmanaged
|
66
|
-
d4aecae adding request and index to error messages
|
67
|
-
6db7f83 update tests
|
68
|
-
7e63e2e incorporate max-execution-time
|
69
|
-
e4e3e87 get rid of double dependency error
|
70
|
-
7755ecc update rubyzip dependency
|
71
|
-
|
72
|
-
v1.3.4
|
73
|
-
======
|
74
|
-
72eea12 Bump to 1.3.4
|
75
|
-
b074c38 Allow to pass extra configuration options when creating indexes
|
76
|
-
9556d55 adding license in gemspec
|
77
|
-
83be1f9 add support for add_label to batch
|
78
|
-
34a576d added another test and fixed paths to not quote values outside of get params
|
79
|
-
30a94ff fixes automatically quoting value in find_node_labels search
|
80
|
-
|
81
|
-
v1.3.3
|
82
|
-
======
|
83
|
-
e2893e9 Bump to 1.3.3
|
84
|
-
|
85
|
-
v1.3.2
|
86
|
-
======
|
87
|
-
04aa008 Bump to 1.3.2
|
88
|
-
07bed80 log the whole response if there is a problem
|
89
|
-
5800db7 authentication now happens at initialization, not later
|
90
|
-
|
91
|
-
v1.3.1
|
92
|
-
======
|
93
|
-
3b6f990 Bump to 1.3.1
|
94
|
-
4c36b68 set client authentication on initializer
|
95
|
-
|
96
|
-
v1.3.0
|
97
|
-
======
|
98
|
-
8daa667 Bump to 1.3.0
|
99
|
-
570b632 skip reference node tests, fix rest schema index spec
|
100
|
-
1e06e91 upgrade default download to 2.0.0
|
101
|
-
235ab7c Slow query logging for HTTP queries
|
102
|
-
|
103
|
-
v1.2.4
|
104
|
-
======
|
105
|
-
d3e1902 Bump to 1.2.4
|
106
|
-
4f49812 basic query logging
|
107
|
-
77ef235 rspec fix
|
108
|
-
6456640 again...
|
109
|
-
bd06cc5 TravisCI builds were failing due to the missing props arg.
|
110
|
-
e851d5f pass properties to unique relationship creation
|
111
|
-
80c863d allow for Neography::Relationship.create_unique
|
112
|
-
8e33ad7 allow for Neography::Node.create_unique
|
113
|
-
30cf86e Support for create_node_index and drop_node_index in batch
|
114
|
-
|
115
|
-
v1.2.3
|
116
|
-
======
|
117
|
-
d8cadbd Bump to 1.2.3
|
118
|
-
8d1a370 fixing issue 114
|
119
|
-
|
120
|
-
v1.2.2
|
121
|
-
======
|
122
|
-
619ffeb Bump to 1.2.2
|
123
|
-
5eb807a Check for subclasses of Neography::Node and not just an instance.
|
124
|
-
47cba4c Use is_a? instead of inspect to cater to subclasses of Neography::Node
|
125
|
-
90b3a18 Allow specifying relationship type for batch get_node_relationships
|
126
|
-
|
127
|
-
v1.2.1
|
128
|
-
======
|
129
|
-
4469ed3 Bump to 1.2.1
|
130
|
-
c0431f5 bug fixes to rest transactional endpoint, updating tests to 2.0.0-M06
|
131
|
-
f1e1ba9 updating neo4j versions
|
132
|
-
|
133
|
-
v1.2.0
|
134
|
-
======
|
135
|
-
3479028 Bump to 1.2.0
|
136
|
-
857ffb2 upgrading installer to use 1.9.3
|
137
|
-
215b743 maybe code climate likes this way better?
|
138
|
-
7fe6b95 maybe easier to follow
|
139
|
-
5a6c8c2 adding a little bit of meta
|
140
|
-
6f3cfe5 new badge look from code climate
|
141
|
-
9583b70 Rubyzip 1.0 compatibility
|
142
|
-
|
143
|
-
v1.1.4
|
144
|
-
======
|
145
|
-
88565f4 Bump to 1.1.4
|
146
|
-
67e2f2e testing against Neo4j 2.0.0M04
|
147
|
-
6225501 getting rid of deprecations
|
148
|
-
1e1a432 add ability to drop indexes
|
149
|
-
|
150
|
-
v1.1.3
|
151
|
-
======
|
152
|
-
fe61741 Bump to 1.1.3
|
153
|
-
2b98eba Lock rubyzip to 0-9-x-stable
|
154
|
-
|
155
|
-
v1.1.2
|
156
|
-
======
|
157
|
-
b7985ae Bump to 1.1.2
|
158
|
-
07fab4e adding test
|
159
|
-
02295aa Label operations take node hashes, not just ids
|
160
|
-
a1961bd let vim fix whitespace
|
161
|
-
0726da2 better test names
|
162
|
-
d11e08f Fix comment
|
163
|
-
8a475f1 encoding specs
|
164
|
-
5d4e2d0 adding test...
|
165
|
-
85ec0d6 force encoding to see if that makes any difference
|
166
|
-
abfa96b add utf-8 to header
|
167
|
-
263a32e Updated README for clarity.
|
168
|
-
|
169
|
-
v1.1.1
|
170
|
-
======
|
171
|
-
3e25893 Bump to 1.1.1
|
172
|
-
1e2c40a fixing Issue #101
|
173
|
-
da45cb3 download wasn't working on windows
|
174
|
-
|
175
|
-
v1.1.0
|
176
|
-
======
|
177
|
-
13f7632 Bump to 1.1.0
|
178
|
-
bc22a90 fixing transactions
|
179
|
-
|
180
|
-
v1.0.11
|
181
|
-
=======
|
182
|
-
cbbcc22 Bump to 1.0.11
|
183
|
-
531187b adding tx unit tests
|
184
|
-
cd2c452 starting with transactions
|
185
|
-
5be8eb5 weird, works on my mac, just not travis
|
186
|
-
5a3a9d0 reducing size of batch test to 5k
|
187
|
-
da919e8 adding unit tests for labels
|
188
|
-
735ebc2 adding nodes labels, still needs unit tests
|
189
|
-
679591e adding cypher profile and stats options
|
190
|
-
da3081a allowing Node to be loaded from Cypher
|
191
|
-
b921317 clean up a little code
|
192
|
-
ae830d8 increasing receive timeout
|
193
|
-
0726323 catching errors in batch and propagating up
|
194
|
-
e8f9b2b skip all gremlin specs
|
195
|
-
ea658b0 adding schema indexes
|
196
|
-
a547370 make the relationship types properly
|
197
|
-
739befe adding relationship types
|
198
|
-
6db5b23 forgot travis
|
199
|
-
ee4ce69 make 1.9 default
|
200
|
-
|
201
|
-
v1.0.10
|
202
|
-
=======
|
203
|
-
ae14af1 Bump to 1.0.10
|
204
|
-
2b433aa adding start-no-wait
|
205
|
-
4deb7e2 feature: Add unique to add to index
|
206
|
-
b452748 catch Neo4j issue
|
207
|
-
0eee207 Potential Fix for Batch issue
|
208
|
-
40e21d2 added failing test
|
209
|
-
a2cdf54 added additional expect for exception
|
210
|
-
7b87efb Created failing example for batch queries
|
211
|
-
fd13a05 adding get_node_relationships_to method
|
212
|
-
5c18437 up send timeout
|
213
|
-
f0bc117 batch chunked
|
214
|
-
f800179 fixing issue #81
|
215
|
-
e0f56c3 Update README.md
|
216
|
-
845df3e letter version
|
217
|
-
f06bc66 add WasCreated type
|
218
|
-
|
219
|
-
v1.0.9
|
220
|
-
======
|
221
|
-
b651d7b Bump to 1.0.9
|
222
|
-
c3df2f3 looking about right
|
223
|
-
8e36406 first pass at using httpclient instead of httparty
|
224
|
-
4f53d97 ignore coverage dir
|
225
|
-
|
226
|
-
v1.0.8
|
227
|
-
======
|
228
|
-
c8553c0 Bump to 1.0.8
|
229
|
-
f5ab9d1 forgot to require zip
|
230
|
-
dee6ccf switching out curl for wget, since some folks don't have wget
|
231
|
-
|
232
|
-
v1.0.7
|
233
|
-
======
|
234
|
-
02efe14 Bump to 1.0.7
|
235
|
-
b31f829 finally fixed that all paths bug
|
236
|
-
d4bc286 make tests run 1.8.2 as well
|
237
|
-
e194963 upgrading to 1.8.2
|
238
|
-
dc99e62 Fixed error test
|
239
|
-
ff61391 handle json parsing error for empty return body
|
240
|
-
|
241
|
-
v1.0.6
|
242
|
-
======
|
243
|
-
eff6f2a Bump to 1.0.6
|
244
|
-
b234e7f fixes #69
|
245
|
-
4884d9c need another method for find_exact
|
246
|
-
8c95c28 I think this fixes #76
|
247
|
-
|
248
|
-
v1.0.5
|
249
|
-
======
|
250
|
-
d85d88f Bump to 1.0.5
|
251
|
-
c450858 Provides a named initialization hook so people depending on the gem can ensure pre-requisite configuration is complete prior to initialization of neography itself
|
252
|
-
f9804f5 Railties are best namespaced inside the gem's namespace Example: http://api.rubyonrails.org/classes/Rails/Railtie.html
|
253
|
-
56384b5 rename spec to actual _spec file
|
254
|
-
e94ea2e started working on unmanaged extensions
|
255
|
-
|
256
|
-
v1.0.4
|
257
|
-
======
|
258
|
-
210f494 Bump to 1.0.4
|
259
|
-
525ff47 Add UniquePathNotUniqueException.
|
260
|
-
|
261
|
-
v1.0.3
|
262
|
-
======
|
263
|
-
a1e0459 Bump to 1.0.3
|
264
|
-
89e2ff0 upgrade to 1.8.1
|
265
|
-
091ac99 Pass the db to the new Relationship in Relationship.load
|
266
|
-
608dc63 Actually set the neo_server on Relationships
|
267
|
-
12c27f2 one more time
|
268
|
-
ed6e960 wonder if this works on travis
|
269
|
-
2dcfaac make values exist before trying to remove them
|
270
|
-
3263919 config should be subject
|
271
|
-
a20d6b5 Avoid removing trying to remove properties that don't exist
|
272
|
-
a9687eb getting rid of find_and_require_user_defined_code, closing #68
|
273
|
-
|
274
|
-
v1.0.2
|
275
|
-
======
|
276
|
-
6fb334b Bump to 1.0.2
|
277
|
-
267bb32 Raise error on HTTP status code 500.
|
278
|
-
173a9a4 add delete test. Will not work on 1.7
|
279
|
-
a4a3d31 create_relationship in batch can work without properties
|
280
|
-
|
281
|
-
v1.0.1
|
282
|
-
======
|
283
|
-
b8f5834 Bump to 1.0.1
|
284
|
-
cc803eb Fix Exception matching for pre-1.8 Neo4j.
|
285
|
-
|
286
|
-
v1.0.0
|
287
|
-
======
|
288
|
-
c2bbbff version 1
|
289
|
-
c4f7599 Update neography.gemspec
|
290
|
-
34762af Spec #del.
|
291
|
-
bd65e78 Spec #attributes.
|
292
|
-
6596207 prepare for 1.8 release
|
293
|
-
4bf316e No need for .with on stubs.
|
294
|
-
7470332 Test #other_node.
|
295
|
-
1ebac4a Ignore Gemfile.lock.
|
296
|
-
121fabc Add unit tests for node/relationship properties.
|
297
|
-
9f75c12 removing Gemfile.lock
|
298
|
-
9514ec3 adding latest Gemfile.lock for archival purposes
|
299
|
-
ddefa79 Update neography.gemspec
|
300
|
-
491c319 Fix failing spec by using dead code.
|
301
|
-
ba37dda Add note about previous versions and errors.
|
302
|
-
b48144f Add code accessor to NeographyError.
|
303
|
-
58eae25 Bump Travis Neo4j version to 1.8.RC1.
|
304
|
-
86aa096 Add links to Errors wiki page.
|
305
|
-
d3d7752 Raise an error when REST API returns an error.
|
306
|
-
e59c8e9 Change spec_helper File requires to simpler requires.
|
307
|
-
485c1e9 Remove link to unused Experimental page.
|
308
|
-
2a850ef Some more textual layout.
|
309
|
-
b2bc98f Some more textual layout.
|
310
|
-
10921a6 Some layout.
|
311
|
-
99785b1 Move more documentation into the Wiki.
|
312
|
-
8e3f6d7 Fix code in example.
|
313
|
-
02cf457 Fix links to Wiki, explain content, fix code.
|
314
|
-
cfbf7d3 Simplify documentation, move API into Github wiki.
|
315
|
-
c60dc37 Fix more butchered syntax.
|
316
|
-
a1d80cc Fix more butchered syntax.
|
317
|
-
d36d26d Fix butchered syntax.
|
318
|
-
5e47636 Move from rdoc to Markdown.
|
319
|
-
b17df33 Remove helper method used by deprecated code.
|
320
|
-
fea8727 Deprecated syntax with Neography::Rest server as the first argument to Node and Relationship.
|
321
|
-
bee8025 Make configuration a more 'rubyish'.
|
322
|
-
317a44d Move Rest includes to Rest class.
|
323
|
-
3552879 Move global constant into class where it is used.
|
324
|
-
6536a7e Clean up the Node and Relationship classes, add some basic specs.
|
325
|
-
5bb7d01 Cleaner DSL in Batch.
|
326
|
-
798d174 Fix som duplicate code.
|
327
|
-
9725bb8 Clean up some code, use more Rest classes paths.
|
328
|
-
6b8bd1c Minor code layout.
|
329
|
-
12488e5 Add batch unit tests and refactor Batch class.
|
330
|
-
2dd4b16 Add path helpers as class methods.
|
331
|
-
23e4522 Move back to instance variables, cleaner.
|
332
|
-
24dd564 Remove delegation (less magic is cleaner).
|
333
|
-
9e137d2 Make REST delegation a bit cleaner, hopefully.
|
334
|
-
cc059ec Ignore .rvmrc.
|
335
|
-
3a5f3b1 Update README.rdoc
|
336
|
-
8aa7ead Add Connection unit test.
|
337
|
-
c3eaed8 Use Forwardable in Rest class to delegate API.
|
338
|
-
8d3f2a7 Remove remaining logic to separate Rest classes.
|
339
|
-
1275c33 Moves duplicate code to superclasses, cleaned up other duplication.
|
340
|
-
75f47e8 Update CONTRIBUTORS
|
341
|
-
0a1dcaa Fix URL encoding to make spaces and slashes possible.
|
342
|
-
5e00a50 Add RelationshipAutoIndexes spec.
|
343
|
-
d0a27e5 Fix typo.
|
344
|
-
03d2e80 Add RelationshipIndexes spec.
|
345
|
-
c7a17c8 Add Relationships specs.
|
346
|
-
c758b82 Add Relationships specs.
|
347
|
-
987f5f0 Add NodePaths specs.
|
348
|
-
26f9e0e Add traversal options spec.
|
349
|
-
0160de5 Add traversal spec.
|
350
|
-
903aa56 Add NodeAutoIndexes spec.
|
351
|
-
bff0665 Add NodeIndexes specs.
|
352
|
-
65ad592 Add NodeRelationships return specs.
|
353
|
-
7456f9e Update Gemfile.lock.
|
354
|
-
cf6f52c Add NodeRelationships specs.
|
355
|
-
9cd051b Fix hash-rocket syntax.
|
356
|
-
5f88ebd Add spec for REST node properties.
|
357
|
-
d1b50e8 Add some basic unit tests for REST classes.
|
358
|
-
bbe019c Rubified some code.
|
359
|
-
3b9e97f Add _path suffix in all REST classes.
|
360
|
-
b8f1312 Second step of major refactor of REST class.
|
361
|
-
db2f1dd First step of major refactor of REST class.
|
362
|
-
faf7f0c test with 1.8.M07
|
363
|
-
|
364
|
-
v0.0.31
|
365
|
-
=======
|
366
|
-
1f2d14f Bump to 0.0.31
|
367
|
-
9a1d8ba updating gems
|
368
|
-
3f52df5 updating my development gemfile.lock
|
369
|
-
6289b7a Fix bug with finding nodes in index with spaces and/or slashes in value.
|
370
|
-
d8e3319 Fix bug with finding nodes in index with spaces in value.
|
371
|
-
620bb11 Update CONTRIBUTORS
|
372
|
-
6bfaef8 adding remove_relationship_from_index as batch operation
|
373
|
-
|
374
|
-
v0.0.30
|
375
|
-
=======
|
376
|
-
b227119 Bump to 0.0.30
|
377
|
-
0da275e Making tests work on Travis.
|
378
|
-
cfd281f Provide tests as well.
|
379
|
-
a871d00 Add User-Agent header.
|
380
|
-
|
381
|
-
v0.0.29
|
382
|
-
=======
|
383
|
-
b0f6aec Bump to 0.0.29
|
384
|
-
cda0b6e Update lib/neography/multi_json_parser.rb
|
385
|
-
296960d Fix my hard tabs.
|
386
|
-
bbb420a Add delete_relationship to batch operations.
|
387
|
-
802802c dealing with JSON parsing issues
|
388
|
-
1b2aa7e adding idea to gitignore
|
389
|
-
6f60af0 Replace Oj with MultiJson for JSON handling so that neography works with jruby
|
390
|
-
65f6ca9 adding more indexing capabilities
|
391
|
-
28313e1 using strict mode on Oj gem, so we don't convert to strings with colons to symbols
|
392
|
-
100aa75 making note that batch create unique node does not return a referable node
|
393
|
-
79ce7eb update travis to 1.8M6
|
394
|
-
6977df6 adding auto indexing methods
|
395
|
-
a4eb275 Adding Code Climate badge.
|
396
|
-
ad3d0d6 Update travis.yml to use latest neo4j
|
397
|
-
0d17d0a adding multiple ways to remove a node from an index
|
398
|
-
a2bdf97 Added Spec Tests for 2 Operations
|
399
|
-
a079b5a Added 2 Operations to Batch Methods to rest.rb
|
400
|
-
|
401
|
-
v0.0.27
|
402
|
-
=======
|
403
|
-
7eec488 Bump to 0.0.28
|
404
|
-
1b5b444 Bump to 0.0.27
|
405
|
-
a3ae832 adding test
|
406
|
-
d528234 Remove require of crack gem as I don't think it's used anywhere.
|
407
|
-
4d5c87a Alter gemspec so we don't depend on exact version of httparty
|
408
|
-
e4bd60e Revert "switching httparty to excon" Getting reports of excon causing problems, waiting for failing tests, but holding off since streaming batch still not working. This reverts commit 2a2333cccd3807065483431b0e3b6bdac3229c76.
|
409
|
-
31b4867 reverting
|
410
|
-
0cf2222 typo
|
411
|
-
e696516 tweaking travis to use Neo4j 1.8.M03
|
412
|
-
cca4290 tweaking travis to use 1.9.3 instead of 1.8.7
|
413
|
-
f7c15f6 with 5k nodes streaming test
|
414
|
-
8aa9f96 still trying to see positive results from batch rest streaming... so far no luck
|
415
|
-
2a2333c switching httparty to excon
|
416
|
-
3540965 batch cypher now working
|
417
|
-
ac746b1 moving to Oj parser, batch gremlin support, streaming cypher, still need to get streaming batch working
|
418
|
-
514e174 Revert "adding streaming cypher support, using two types of JSON parsing since Crack was breaking on large cypher results, stream is twice as fast as not when pulling in 20k nodes"
|
419
|
-
d9d524a creating auto node and relationship commands, tests not done yet
|
420
|
-
fcf7c3b adding streaming cypher support, using two types of JSON parsing since Crack was breaking on large cypher results, stream is twice as fast as not when pulling in 20k nodes
|
421
|
-
c6075fb Rolling back changes, since rdoc, not markdown is used.
|
422
|
-
2bab85d Updating readme, making core a bit easier to read.
|
423
|
-
29ca66f added travis build status icon to README
|
424
|
-
4a89c61 Bump to 0.0.26
|
425
|
-
346a0f6 using version 1.7 now
|
426
|
-
51b1c42 upgrading to 1.7M03
|
427
|
-
d230abf making sure
|
428
|
-
5e02630 fixed issue where setting a previously undefined property using dot notation has no effect on the DB
|
429
|
-
|
430
|
-
v0.0.25
|
431
|
-
=======
|
432
|
-
a66922f Bump to 0.0.25
|
433
|
-
b04c2bc moving crack parser to its own file
|
434
|
-
1d14860 let people know that wget is required for rake neo4j:install
|
435
|
-
24a1c6c adding test for batch get multiple node relationships, default to all, added to Contributors file, updated Neo4j to 1.7M02
|
436
|
-
65b53b2 Update README.rdoc
|
437
|
-
f59d389 Add a batch call to get_node_relationships
|
438
|
-
373d390 Show an error when an unknown option is used.
|
439
|
-
5a83e3a document and fix wrong variable access
|
440
|
-
49c253c Add a way to query the attributes of a relationship
|
441
|
-
7fddfc9 Added clean_database to Rest module to use test-delete-db-extension plugin
|
442
|
-
1f217fb Update README.rdoc
|
443
|
-
7990f3c add clean database method for testing
|
444
|
-
51d5c35 Subclasses HTTParyt's Parser to use Crack parsing again for HTTParty 0.8.1
|
445
|
-
|
446
|
-
v0.0.24
|
447
|
-
=======
|
448
|
-
3efc2b9 Bump to 0.0.24
|
449
|
-
c7b2149 making tests 1.8.7 compatible
|
450
|
-
8a73e74 adding cypher_path and gremlin_path options
|
451
|
-
bba5783 moving up to 1.7.M01 as the default
|
452
|
-
24bb3e4 fixing weighted path spec
|
453
|
-
122336a Update README.rdoc
|
454
|
-
5bd1325 Support for shortest weighted path
|
455
|
-
86095cd Update to config to allow for different locations for cypher and gremlin plugins
|
456
|
-
9e4540e install 1.6.1 from now on
|
457
|
-
644145b letting reset properties take a newly created relationship
|
458
|
-
8a8e13c Bump to 0.0.23
|
459
|
-
f4b31eb adding get_node_index and get_relationship_index to batch
|
460
|
-
4ffc2e2 adding can reset the properties of a relationship test
|
461
|
-
208b317 adding create unique relationship to batch
|
462
|
-
5e4be72 add create unique node to batch
|
463
|
-
f16ecb6 Whoa... can't believe I had my email address wrong on the readme for so long!
|
464
|
-
8b6604f just making sure
|
465
|
-
|
466
|
-
v0.0.22
|
467
|
-
=======
|
468
|
-
9809d99 Bump to 0.0.22
|
469
|
-
f4a66ad using built in cypher instead of cypher plugin
|
470
|
-
3313e4a adding tests and readme for unique nodes and relationships
|
471
|
-
914d4d3 added 2 more functions - create_unique_node and create_unique_realtionship
|
472
|
-
485e77f make it Rails 2.x compatible
|
473
|
-
72c11fc update link to community server
|
474
|
-
839b2fb update link to rest api
|
475
|
-
b48cf0a adding centrality example
|
476
|
-
|
477
|
-
v0.0.21
|
478
|
-
=======
|
479
|
-
b67bd6e Bump to 0.0.21
|
480
|
-
aac74c5 heroku compatability (thanks Marcel Scherf for the idea)
|
481
|
-
47c2539 lets try that again
|
482
|
-
569d791 make links pretty
|
483
|
-
aec2a73 adding some sample links to readme
|
484
|
-
cddabd3 trying Neo4j 1.6M03
|
485
|
-
632cfd9 continue to make it inheritable
|
486
|
-
217fc4a fixing previous untested commit (after being lured by siren of github editor)
|
487
|
-
bf039e2 allowing Node.load and Node.create to be overridden
|
488
|
-
5b0132c get rid of old function
|
489
|
-
78766b1 discarding nil values, closes #23
|
490
|
-
633206b removed reference to Neo4j 1.4 and neography 0.14 since it's really old
|
491
|
-
eb03523 batch arrays of arrays
|
492
|
-
1e37b32 Bump to 0.0.20
|
493
|
-
ca429b0 whoops, botched that gemspec change
|
494
|
-
c88b20a adding parameters to cypher calls
|
495
|
-
c1eef08 making gremlin script parameter aware
|
496
|
-
ee2335e Bump to 0.0.19
|
497
|
-
8f15c03 adding more batching functions, now with referencing
|
498
|
-
92ce780 more batching functions
|
499
|
-
b211af0 starting naive batch implementation
|
500
|
-
|
501
|
-
v0.0.18
|
502
|
-
=======
|
503
|
-
8c1ce42 Bump to 0.0.18
|
504
|
-
0e3b309 adding travis build status as well as contributing and help sections to readme
|
505
|
-
6de30aa updating rspec dependency
|
506
|
-
9eae2dd skip gremlin and slow in one line...
|
507
|
-
485807c fixing issue 18
|
508
|
-
2b42c9e got tired of failing gremlin tests, excluding for now
|
509
|
-
a185539 reverting httparty to a versin that uses crack until strick json is followed
|
510
|
-
f232e05 use empty not nil
|
511
|
-
318da9e Added missing db parameter for loading relationship nodes
|
512
|
-
5ac7729 how did that blank? stay in there for so long
|
513
|
-
b93913f starting work on batch specs
|
514
|
-
f64652a updating dependencies
|
515
|
-
|
516
|
-
v0.0.17
|
517
|
-
=======
|
518
|
-
c6bafa4 Bump to 0.0.17
|
519
|
-
7c204f0 pick your own version
|
520
|
-
f48cfc7 add get relationship start node and relationship end node.
|
521
|
-
09e8d50 Remove verbose output message.
|
522
|
-
60d32ac using default of localhost for examples now
|
523
|
-
d9f460a using 1.5 GA for install, found problem with gremlin (see rest_gremlin_fail_spec.rb)
|
524
|
-
7596066 adding --trace to travis line to see what we get
|
525
|
-
84b31d0 trying to get travis to work
|
526
|
-
c82650f tweak readme version info
|
527
|
-
|
528
|
-
v0.0.16
|
529
|
-
=======
|
530
|
-
2d325f5 Bump to 0.0.16
|
531
|
-
7a5c6a8 removing fakeweb, escaping execute_script for gremlin, adding execute_query for cypher, adding tests
|
532
|
-
752924a added railtie to autoload tasks
|
533
|
-
066ed4f ugly attempt at a multi-os installer
|
534
|
-
764a146 adding tasks
|
535
|
-
bc49b90 finding nodes and relationships through query. Remote Groovy script through Gremlin plugin ext
|
536
|
-
1097667 Use version 0.0.l4 for Neo4j 1.4 and 0.0.15 for Neo4j 1.5
|
537
|
-
ac2e26a Bump to 0.0.15
|
538
|
-
0ae5090 version bump
|
539
|
-
d070b78 fix spec for traverse
|
540
|
-
9b97130 fix add relationship to index
|
541
|
-
a346ddc fix add node to index
|
542
|
-
|
543
|
-
v0.0.14
|
544
|
-
=======
|
545
|
-
44395df Bump to 0.0.14
|
546
|
-
0aee952 get rid of dead file
|
547
|
-
596f36c clean up file name
|
548
|
-
eac66aa fix passing neo_server instance for traverser-nodes
|
549
|
-
d92dfae Neo4j API now using underscores for max_depth, prune_evaluator and return_filter
|
550
|
-
d58d273 Looks like its missing a .
|
551
|
-
4b097f9 Make neo server connection available in Relationship objects, either by accessing the connection from the start_node or accessing the connection passed by the initialization. [Issue #6]
|
552
|
-
|
553
|
-
v0.0.13
|
554
|
-
=======
|
555
|
-
f47f077 Bump to 0.0.13
|
556
|
-
25f02cd root_node returns same as get_node instead of meta-data
|
557
|
-
fdffbdb handle arrays in get_id, thanks to Phuong CAO
|
558
|
-
|
559
|
-
v0.0.12
|
560
|
-
=======
|
561
|
-
db4f3db Bump to 0.0.12
|
562
|
-
10c8228 advanced queries of the node and relationship indexes
|
563
|
-
3e41e09 adding new ways to remove nodes and relationships from an index
|
564
|
-
1ede7a9 test tweaks for Travis
|
565
|
-
cad9c10 excluding slow tests for now
|
566
|
-
9118a80 typo in relationship readme
|
567
|
-
|
568
|
-
v0.0.11
|
569
|
-
=======
|
570
|
-
6e238ae Bump to 0.0.11
|
571
|
-
b32f7e1 adding create node and relationship index
|
572
|
-
0029ce5 adding another example
|
573
|
-
4f1dd0a adding fullpath type
|
574
|
-
|
575
|
-
v0.0.10
|
576
|
-
=======
|
577
|
-
8f9f6df Bump to 0.0.10
|
578
|
-
994d90c fix to v2 authentication
|
579
|
-
590d763 make sure we're actually getting the right node and relationships in the index
|
580
|
-
6dac3ab typo in relationship index, and updating readme to use latest api docs
|
581
|
-
ab853ae quick initializer
|
582
|
-
2015a05 working on relationship indexes
|
583
|
-
|
584
|
-
v0.0.9
|
585
|
-
======
|
586
|
-
64fbdfd Bump to 0.0.9
|
587
|
-
23ca874 Bump to 0.0.8
|
588
|
-
49fe9ac adding authentication options, fixing index tests
|
589
|
-
|
590
|
-
v0.0.8
|
591
|
-
======
|
592
|
-
4eba8e4 Bump to 0.0.8
|
593
|
-
56f0508 added Ian to contributors
|
594
|
-
517bee3 Updated index methods to Neo4j v1.2.06 API
|
595
|
-
|
596
|
-
v0.0.7
|
597
|
-
======
|
598
|
-
5032bcc Bump to 0.0.7
|
599
|
-
0dd7b47 adding Node Paths
|
600
|
-
56fdc6e adding paths
|
601
|
-
6b29ca8 try neography at neography.org
|
602
|
-
5fd4f25 Bump to 0.0.6
|
603
|
-
da88fba More Phase 2 Functionality
|
604
|
-
d3c4887 adding to documentation
|
605
|
-
6c3d33c node relationship specs
|
606
|
-
f894aa9 adding tests, wacky way to solve untyped incoming,outgoing and both calls
|
607
|
-
8b20bea Adding methods to node traverser
|
608
|
-
07b30d1 Bump to 0.0.5
|
609
|
-
dbaa2ee forgot to add max_threads parameter to readme
|
610
|
-
74204e8 adding relationship tests
|
611
|
-
4e0087d Phase 2: Starting on Relationships
|
612
|
-
7182516 node: new properties in phase 2
|
613
|
-
4541ce9 property deletion
|
614
|
-
9e3b38c adding setter and getter methods
|
615
|
-
54ddb73 more phase 2: adding del and equal to node
|
616
|
-
7b90ece starting phase 2
|
617
|
-
8e66583 started addeding fake bulk operations
|
618
|
-
3570045 Bump to 0.0.4
|
619
|
-
2a6a4bf do not send max depth in traversal if not specified during, added example
|
620
|
-
b48276d it's ruby, not java, skip the parenthesis
|
621
|
-
9dce8b7 easier way to do friend suggestions
|
622
|
-
34068ab adding examples and get_relationship
|
623
|
-
7a4edc7 Bump to 0.0.3
|
624
|
-
4d0c88a readme changes
|
625
|
-
c3a00a0 added find_id and cleaned up tests
|
626
|
-
cafaf2e
|
627
|
-
80cc0f0 typos
|
628
|
-
51bec37 Bump to 0.0.2
|
629
|
-
ab93266 doc updates
|
630
|
-
90cb6ed adding traverser
|
631
|
-
77b9011 adding path tests
|
632
|
-
95560ec removing unnecessary dependency
|
633
|
-
eb4e18f adding logger dependency
|
634
|
-
4e1cf8f documentation changes, use shortest path as default for path
|
635
|
-
e42beda more cleanup
|
636
|
-
611af01 forgot to add the new db path to some delete actions, splitting test file
|
637
|
-
e01369f cleaning up
|
638
|
-
93e4fbd adding get_path
|
639
|
-
2bedc62 adding indexes
|
640
|
-
2b93d8e adding set_relationship_properties and reset_relationship_properties
|
641
|
-
bb3bda9 adding get_relationship_properties and remove_relationship_properties
|
642
|
-
8245c12 added delete_node (and its relationship) and delete_relationship
|
643
|
-
d352e6a adding get_node_relationships
|
644
|
-
081d8e0 added create_relationship
|
645
|
-
100cbbc added delete_node
|
646
|
-
d92c2a6 get some properties
|
647
|
-
60e0b4c changed set to reset and added regular set node properties
|
648
|
-
25f1abb added remove_node_properties
|
649
|
-
3bd4035 added get node properties
|
650
|
-
7f57fcb adding get node and set node properties
|
651
|
-
ef9f673 Spliting off basic Rest wrapper
|
652
|
-
9a9b24a return nil if trying to get properties of a node or relationship that does not exist
|
653
|
-
3a1cef5 make readme prettier
|
654
|
-
0b5b547 starting on relationships
|
655
|
-
0eff227 adding fakeweb and starting to create fake http responses
|
656
|
-
3e4206d added build_node so we return neo_id on node creates and a few more tests
|
657
|
-
bc1f9fc starting with basic functionality
|
658
|
-
1ef9209 bundle gem commit
|