dato 0.3.23 → 0.3.24

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: 4f1dee8287f371f80c0d9f92c8c979a2857606e7
4
- data.tar.gz: 94a2edd19020f70b7a5cb843fd7f75fe4511b00f
3
+ metadata.gz: 8ef723b4f4b004f399faf9aee96431f8b65bbeb7
4
+ data.tar.gz: cd1a88fcaddbca745c057dd2c6fde65780e0282f
5
5
  SHA512:
6
- metadata.gz: 034eb1820be90435bac07c73b816c8bfbee0ebca17ca5f152867c5bd761c6a09b39a0405a002b783bef1c587d8ea13f788052330349c7023f10d8a8093958ec6
7
- data.tar.gz: b227eb6e849c5b9971d8fd3e2cb10babc4d1dd702424149daad80eb5044ff945acc8422a522c958a5fd5492cc5727392a5fd6f787a4d7364b10a99d56a108ee7
6
+ metadata.gz: b5c43877e076063a8ec6f4230e2135b98c2fa5caf37c8ba0dad9ef17bf986a372d9e4d50b9a53cf594269b9bd2ba0c5ed2cc2e482d63f471c7832b3579050cd5
7
+ data.tar.gz: dc5d1278cea1929deea5ca7d66443104af0022010a6f5da19a4ea816fe56b9f6e834ac479fdbbbd6afa101aada8179807476b435583020a6391fdd3ac26e5b04
@@ -87,7 +87,7 @@ module Dato
87
87
  end
88
88
 
89
89
  def children
90
- @items_repo.children_of(id) if item_type.tree
90
+ @items_repo.children_of(id).sort_by(&:position) if item_type.tree
91
91
  end
92
92
 
93
93
  def updated_at
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dato
3
- VERSION = '0.3.23'
3
+ VERSION = '0.3.24'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.23
4
+ version: 0.3.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna