• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

evolve75 / RubyTree / 21769600841 / 2
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 06 Feb 2026 11:30PM UTC
Files 9
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Feb 2026 11:30PM UTC coverage: 96.35% (+1.9%) from 94.416%
21769600841.2

push

github

web-flow
Release R2.2.0 (#114)

* Preparing for 2.1.2.

- Updated the version to 2.1.2pre
- Linked the Github repository in the metadata (for Github packages)

* Updated the Rakefile to publish packages to the Github registry.

Registry: <https://github.com/evolve75/RubyTree/pkgs/rubygems/rubytree>

* Prevent adding ancestor as child

* Detach children on remove_all!

Ensure children become true roots after remove_all! by clearing their parent
links. This matches the method's contract and prevents stale parent
references from corrupting later traversal or metrics.

* Guard rename_child collisions

Raise when renaming a child to an existing sibling name to prevent overwriting
entries in the children hash. This avoids orphaning nodes and keeps child
lookup consistent.

* Harden binary child assignment

Fix set_child_at index errors and clean up parent/hash references
when replacing or clearing children. This preserves swap semantics and
avoids stale lookups.

* Handle nils in traversal

Skip nil children during postorder and breadth-first traversals so binary
nodes with missing children do not break traversal. Add a regression test
covering nil child traversal paths.

* Fix each_level enumerator

Return a level-wise enumerator when no block is given and add a test to
assert the yielded level arrays match the tree structure.

* Fix to_s empty content

Render '<Empty>' when a node has nil content and add tests for both
nil and non-nil content values.

* Document 2.2.0 API changes

Add a new 2.2.0 section covering recent behavior changes in tree
operations and traversal, plus link references for the new entries.

* Release 2.2.0

Bump the gem version to 2.2.0 and record the 2.2.0 changes in the
project history.

159 of 183 branches covered (86.89%)

396 of 411 relevant lines covered (96.35%)

8962.91 hits per line

Source Files on job ruby-2.7 - 21769600841.2
  • Tree
  • List 9
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 21769600841
  • 97f5bdc6 on github
  • Prev Job for on master (#12432190937.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc