OSDN Git Service

Move database.yml to template
[redminele/redminele.git] / redmine / vendor / gems / rubytree-0.5.2 / ChangeLog
1 2007-12-21  Anupam Sengupta  <anupamsg@gmail.com>
2
3         * Rakefile: Added the rcov option to exclude rcov itself from
4         coverage reports.
5
6         * lib/tree.rb: Minor comment changes.
7
8         * test/test_tree.rb: Added the TestTree enclosing module, and
9         renamed tests to meet ZenTest requirements. Also added a few
10         missing test cases.
11
12         * test/test_binarytree.rb: Added the TestTree enclosing Module,
13         and renamed the tests to meet ZenTest requirements.
14
15 2007-12-19  Anupam Sengupta  <anupamsg@gmail.com>
16
17         * README (Module): Modified the install instructions from source.
18
19         * lib/tree.rb (Tree::TreeNode::initialize): Removed the
20         unnecessary self_initialize method.
21         (Tree::TreeNode): Removed the spurious self_initialize from the
22         protected list.
23         (Module): Updated the minor version number.
24
25         * Rakefile: Fixed a problem with reading the Tree::VERSION for the
26         gem packaging, if any prior version of the gem is already installed.
27
28 2007-12-18  Anupam Sengupta  <anupamsg@gmail.com>
29
30         * lib/tree.rb: Updated the marshalling logic to correctly handle
31         non-string content.
32         (Tree::TreeNode::createDumpRep): Minor code change to use symbols
33         instead of string key names.
34         (Tree): Version number change to 0.5.0
35         (Tree::TreeNode::hasContent): Minor fix to the comments.
36
37         * test/test_tree.rb (TC_TreeTest::test_breadth_each): Updated test
38         cases for the marshalling logic.
39
40 2007-11-12  Anupam Sengupta  <anupamsg@gmail.com>
41
42         * test/test_binarytree.rb: Minor documentation correction.
43
44         * lib/tree/binarytree.rb (Tree::BinaryTreeNode::isRightChild):
45         Minor documentation change.
46
47 2007-10-10  Anupam Sengupta  <anupamsg@gmail.com>
48
49         * README: Restructured the format.
50
51         * Rakefile: Added Hoe related logic. If not present, the Rakefile
52         will default to old behavior.
53
54 2007-10-09  Anupam Sengupta  <anupamsg@gmail.com>
55
56         * Rakefile: Added setup.rb related tasks. Also added the setup.rb in the PKG_FILES list.
57
58 2007-10-01  Anupam Sengupta  <anupamsg@gmail.com>
59
60         * Rakefile: Added an optional task for rcov code coverage.
61           Added a dependency for rake in the Gem Specification.
62
63         * test/test_binarytree.rb: Removed the unnecessary dependency on "Person" class.
64
65         * test/test_tree.rb: Removed dependency on the redundant "Person" class.
66         (TC_TreeTest::test_comparator): Added a new test for the spaceship operator.
67         (TC_TreeTest::test_hasContent): Added tests for hasContent? and length methods.
68
69 2007-08-30  Anupam Sengupta  <anupamsg@gmail.com>
70
71         * test/test_tree.rb (TC_TreeTest::test_preordered_each, TC_TreeTest::test_breadth_each, TC_TreeTest::test_detached_copy):
72         Added new tests for the new functions added to tree.rb.
73
74         * lib/tree.rb (Tree::TreeNode::detached_copy, Tree::TreeNode::preordered_each, Tree::TreeNode::breadth_each):
75         Added new functions for returning a detached copy of the node and
76         for performing breadth first traversal. Also added the pre-ordered
77         traversal function which is an alias of the existing 'each' method.
78
79         * test/test_binarytree.rb (TC_BinaryTreeTest::test_swap_children):
80         Added a test case for the children swap function.
81
82         * lib/tree/binarytree.rb (Tree::BinaryTreeNode::swap_children):
83         Added new function to swap the children. Other minor changes in
84         comments and code.
85
86 2007-07-18  Anupam Sengupta  <anupamsg@gmail.com>
87
88         * lib/tree/binarytree.rb (Tree::BinaryTreeNode::leftChild /
89         rightChild): Minor cosmetic change on the parameter name.
90
91         * test/testbinarytree.rb (TC_BinaryTreeTest::test_isLeftChild):
92         Minor syntax correction.
93
94         * lib/tree.rb (Tree::TreeNode::depth): Added a tree depth
95         computation method.
96         (Tree::TreeNode::breadth): Added a tree breadth method.
97
98         * test/testtree.rb (TC_TreeTest::test_depth/test_breadth): Added a
99         test for the depth and breadth method.
100
101         * lib/tree/binarytree.rb (Tree::BinaryTreeNode::is*Child):
102         Added tests for determining whether a node is a left or right
103         child.
104
105         * test/testbinarytree.rb: Added the test cases for the binary tree
106         implementation.
107         (TC_BinaryTreeTest::test_is*Child): Added tests for right or left
108         childs.
109
110         * lib/tree/binarytree.rb: Added the binary tree implementation.
111
112 2007-07-17  Anupam Sengupta  <anupamsg@gmail.com>
113
114         * lib/tree.rb (Tree::TreeNode::parentage): Renamed 'ancestors'
115         method to 'parentage' to avoid clobbering Module.ancestors
116
117 2007-07-16  Anupam Sengupta  <anupamsg@gmail.com>
118
119         * Rakefile: Added an optional rtags task to generate TAGS file for
120         Emacs.
121
122         * lib/tree.rb (Tree::TreeNode): Added navigation methods for
123         siblings and children. Also added some convenience methods.
124
125 2007-07-08  Anupam Sengupta  <anupamsg@gmail.com>
126
127         * Rakefile: Added a developer target for generating rdoc for the
128         website.
129
130 2007-06-24  Anupam Sengupta  <anupamsg@gmail.com>
131
132         * test/testtree.rb, lib/tree.rb: Added the each_leaf traversal method.
133
134         * README: Replaced all occurrances of LICENSE with COPYING
135         and lowercased all instances of the word 'RubyTree'.
136
137         * Rakefile: Replaced all occurrances of LICENSE with COPYING
138
139 2007-06-23  Anupam Sengupta  <anupamsg@gmail.com>
140
141         * lib/tree.rb (Tree::TreeNode::isLeaf): Added a isLeaf? method.
142
143         * test/testtree.rb (TC_TreeTest::test_removeFromParent): Added
144         test for isLeaf? method
145
146         * Rakefile: Added the LICENSE and ChangeLog to the extra RDoc files.
147
148         * lib/tree.rb: Minor updates to the comments.
149
150         * test/testtree.rb: Added the Copyright and License header.
151
152         * test/person.rb: Added the Copyright and License header.
153
154         * lib/tree.rb: Added the Copyright and License header.
155
156         * Rakefile: Added the LICENSE and Changelog to be part of the RDoc task.
157
158         * README: Added documentation in the README, including install
159         instructions and an example.
160
161         * LICENSE: Added the BSD LICENSE file.
162
163         * Changelog: Added the Changelog file.