File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- rubytree (2.1.2pre )
4+ rubytree (2.2.0 )
55 json (~> 2.0 , > 2.9 )
66
77GEM
Original file line number Diff line number Diff line change 11# History of Changes
22
3+ ### 2.2.0 / 2026-02-06
4+
5+ * Prevent cycles by rejecting attempts to add an ancestor as a child.
6+
7+ * Ensure ` remove_all! ` detaches children by clearing their parent links.
8+
9+ * Raise on sibling name collisions in ` rename_child ` .
10+
11+ * Harden binary tree child assignment (` set_child_at ` ) with proper index errors
12+ and cleanup of parent/hash references.
13+
14+ * Make traversals resilient to missing children by skipping ` nil ` nodes in
15+ ` postordered_each ` and ` breadth_each ` .
16+
17+ * Return a level-wise enumerator from ` each_level ` when no block is given.
18+
19+ * Improve ` to_s ` formatting to show ` <Empty> ` for nil content.
20+
321### 2.1.1 / 2024-12-19
422
523* 2.1.1 is a minor update that updates all dependencies and updates the guard
Original file line number Diff line number Diff line change 3535
3636module Tree
3737 # Rubytree Package Version
38- VERSION = '2.1.2pre '
38+ VERSION = '2.2.0 '
3939end
You can’t perform that action at this time.
0 commit comments