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

evolve75 / RubyTree / 21769600841
96%

Build:
DEFAULT BRANCH: master
Ran 06 Feb 2026 11:30PM UTC
Jobs 5
Files 9
Run time 1min
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

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.

181 of 214 branches covered (84.58%)

26 of 26 new or added lines in 2 files covered. (100.0%)

396 of 411 relevant lines covered (96.35%)

43803.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ruby-3.1 - 21769600841.1 06 Feb 2026 11:30PM UTC 9
96.35
GitHub Action Run
2 ruby-2.7 - 21769600841.2 06 Feb 2026 11:30PM UTC 9
96.35
GitHub Action Run
3 ruby-3.3 - 21769600841.3 06 Feb 2026 11:30PM UTC 9
96.35
GitHub Action Run
4 ruby-3.2 - 21769600841.4 06 Feb 2026 11:30PM UTC 9
96.35
GitHub Action Run
5 ruby-3.0 - 21769600841.5 06 Feb 2026 11:30PM UTC 9
96.35
GitHub Action Run
Source Files on build 21769600841
  • 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 Repo
  • 97f5bdc6 on github
  • Prev Build on master (#12432190937)
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