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.
@@ -1,3 +1,9 @@
1
+ === 0.9.9 / 2009-01-04
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Ensure the :order parameter is an array of symbols
6
+
1
7
  === 0.9.8 / 2008-12-07
2
8
 
3
9
  * No changes this version
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'pathname'
3
3
 
4
- gem 'dm-core', '~>0.9.8'
4
+ gem 'dm-core', '~>0.9.9'
5
5
  require 'dm-core'
6
6
 
7
7
  require Pathname(__FILE__).dirname.expand_path / 'dm-is-tree' / 'is' / 'tree.rb'
@@ -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
 
@@ -1,7 +1,7 @@
1
1
  module DataMapper
2
2
  module Is
3
3
  module Tree
4
- VERSION = '0.9.8'
4
+ VERSION = '0.9.9'
5
5
  end
6
6
  end
7
7
  end
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.8
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: 2008-12-07 00:00:00 -08:00
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.8
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: