dm-is-tree 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/lib/dm-is-tree.rb +1 -1
- data/lib/dm-is-tree/is/tree.rb +2 -2
- data/lib/dm-is-tree/is/version.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
data/lib/dm-is-tree.rb
CHANGED
data/lib/dm-is-tree/is/tree.rb
CHANGED
@@ -69,11 +69,11 @@ module DataMapper
|
|
69
69
|
|
70
70
|
class_eval <<-CLASS, __FILE__, __LINE__
|
71
71
|
def self.roots
|
72
|
-
all :#{configuration[:child_key]} => nil, :order => #{configuration[:order].inspect}
|
72
|
+
all :#{configuration[:child_key]} => nil, :order => [#{configuration[:order].inspect}]
|
73
73
|
end
|
74
74
|
|
75
75
|
def self.first_root
|
76
|
-
first :#{configuration[:child_key]} => nil, :order => #{configuration[:order].inspect}
|
76
|
+
first :#{configuration[:child_key]} => nil, :order => [#{configuration[:order].inspect}]
|
77
77
|
end
|
78
78
|
CLASS
|
79
79
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dm-is-tree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timothy Bennett
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-01-04 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ~>
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.9.
|
23
|
+
version: 0.9.9
|
24
24
|
version:
|
25
25
|
description: DataMapper plugin allowing the creation of tree structures from data models
|
26
26
|
email:
|