dato 0.3.24 → 0.3.25

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: 8ef723b4f4b004f399faf9aee96431f8b65bbeb7
4
- data.tar.gz: cd1a88fcaddbca745c057dd2c6fde65780e0282f
3
+ metadata.gz: dbd06b2736c126c279c96931245a0953dbc19fd8
4
+ data.tar.gz: 20057113543c2f32291d21bd816d57b8dcd55ff5
5
5
  SHA512:
6
- metadata.gz: b5c43877e076063a8ec6f4230e2135b98c2fa5caf37c8ba0dad9ef17bf986a372d9e4d50b9a53cf594269b9bd2ba0c5ed2cc2e482d63f471c7832b3579050cd5
7
- data.tar.gz: dc5d1278cea1929deea5ca7d66443104af0022010a6f5da19a4ea816fe56b9f6e834ac479fdbbbd6afa101aada8179807476b435583020a6391fdd3ac26e5b04
6
+ metadata.gz: 450f89165246df9aee9aaf407b2a52d7736bb6e3b83b19c8cfeae4243c6ef3112803aaa6fada271c40ed5f4b091f143c7c54f181311eca747ebcd344a079a3fd
7
+ data.tar.gz: 2712cbaebc6a3143378a163ace27999ca97e893c70ab2ece8e93d3e1bfe5cf486cd7a926879a495efcccb6b93b4144bd180e50f247ae764933180ba1da22b081
@@ -23,7 +23,7 @@ module Dato
23
23
  end
24
24
 
25
25
  def children_of(id)
26
- @items_by_parent_id[id.to_s]
26
+ @items_by_parent_id.fetch(id.to_s, [])
27
27
  end
28
28
 
29
29
  def respond_to_missing?(method, include_private = false)
data/lib/dato/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dato
3
- VERSION = '0.3.24'
3
+ VERSION = '0.3.25'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.24
4
+ version: 0.3.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-10 00:00:00.000000000 Z
11
+ date: 2017-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler