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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f75a1a77225db89163ca940533f87dea4d5cdd00
4
- data.tar.gz: 8b4eb5b786b98150182f959b13b2a6ab9670e9bd
3
+ metadata.gz: d72f23a450b59fac9738ab69fcd8b1897cb9fe50
4
+ data.tar.gz: b30bbb72e5b3e23b02a0f7d26eb0de51728c18ab
5
5
  SHA512:
6
- metadata.gz: a5d9badef0a2edb2058b9bae4ff6c4b0369d2ec4f79bbc2af8cba7f97d63f6d839219931158f14d4100ffe2998f6a583324d160773a081b724a417fe80d3e3a5
7
- data.tar.gz: 3081d4fd4a14849024699c7ef7485e36f67f91150089e8b8b83bc0c0494c4fb18029bc6899ccb2e1279e00db6518f21f226f8290e85a4d64389c25c7a679bb18
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
- @structure.set_node(Node.new(id: id, label: label, props: props))
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
- @structure.set_edge(Edge.new(id: id, from: from, to: to, label: label, props: props))
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)
@@ -1,3 +1,3 @@
1
1
  module Mementus
2
- VERSION = '0.5.8'.freeze
2
+ VERSION = '0.5.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mementus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - maetl