mementus 0.5.8 → 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mementus/graph_builder.rb +2 -2
- data/lib/mementus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d72f23a450b59fac9738ab69fcd8b1897cb9fe50
|
4
|
+
data.tar.gz: b30bbb72e5b3e23b02a0f7d26eb0de51728c18ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5c318c087e36b1f212c5b3a45afd2c8d38bfb9f44366b2a404a9fa98bf34a534ac8015e35c7a8d9d9474dc3ae9848b7eb777ad48ae9b85f306ff4564969b803
|
7
|
+
data.tar.gz: 5e487bd68022e6fb6c8081e0563eb44e09869734e1b61bffda1f36274deecbf784fb0289332fa7008a3eb67ff9378585dd84919483cec29fe6157a6c7ab9f3b3
|
@@ -18,12 +18,12 @@ module Mementus
|
|
18
18
|
|
19
19
|
def add_node(id: nil, label: nil, props: {})
|
20
20
|
id = @node_ids.next_id unless id
|
21
|
-
|
21
|
+
set_node(Node.new(id: id, label: label, props: props))
|
22
22
|
end
|
23
23
|
|
24
24
|
def add_edge(id: nil, from: nil, to: nil, label: nil, props: {})
|
25
25
|
id = @edge_ids.next_id unless id
|
26
|
-
|
26
|
+
set_edge(Edge.new(id: id, from: from, to: to, label: label, props: props))
|
27
27
|
end
|
28
28
|
|
29
29
|
def create_node(&block)
|
data/lib/mementus/version.rb
CHANGED