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

evolve75 / RubyTree
96%

Build:
DEFAULT BRANCH: master
Repo Added 03 Jan 2014 03:29AM UTC
Files 13
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • 58-JSON.parse
  • 95-clarification-of-the-used-bsd-licence
  • ISSUE-104
  • R2.1.1
  • bump_dep_versions
  • coverall-check-on-3.1
  • coveralls-github-action
  • dependabot/bundler/rdoc-6.4.1.1
  • dependabot/bundler/rexml-3.2.8
  • dependabot/bundler/rexml-3.3.9
  • dependabot/bundler/yard-0.9.35
  • dependabot/bundler/yard-0.9.36
  • gitbutler/integration
  • license-update
  • license-update-2
  • next
  • readthedocs-config
  • refactor_coveralls_action
  • refs/tags/R2.0.1
  • refs/tags/R2.0.2
  • refs/tags/R2.0.3
  • refs/tags/R2.1.0
  • refs/tags/R2.1.1
  • refs/tags/R2.2.0
  • rexml_update

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%)

396 of 411 relevant lines covered (96.35%)

43803.04 hits per line

Relevant lines Covered
Build:
Build:
411 RELEVANT LINES 396 COVERED LINES
43803.04 HITS PER LINE
Source Files on master
  • Tree
  • List 9
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21769600841 master 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.co... push 06 Feb 2026 11:30PM UTC web-flow github
96.35
12432190937 master Removed the `.coveralls.yml` configuration file. (#113) This is now handled by Github action variables and secrets. push 20 Dec 2024 01:21PM UTC web-flow github
94.42
12427072911 master Added Readthedocs.org configuration The package documentation will be available at <https://rubytree.readthedocs.io/en/>. push 20 Dec 2024 07:03AM UTC web-flow github
94.42
12424480874 master Release 2.1.1. (#111) This includes: 1. Updated guard clause for the `from_hash` method 2. Updated dependencies. push 20 Dec 2024 02:36AM UTC evolve75 github
94.42
12424428810 master Release candidate R2.1.1. (#111) push 20 Dec 2024 02:31AM UTC web-flow github
94.42
12424233195 master Updated guard clause to include subtypes push 20 Dec 2024 02:11AM UTC evolve75 github
94.42
12424110300 master Updated the dependency versions. (#110) push 20 Dec 2024 01:59AM UTC web-flow github
94.42
12423830257 master Merge pull request #109 from evolve75/dependabot/bundler/rexml-3.3.9 Bump rexml from 3.3.5 to 3.3.9 push 20 Dec 2024 01:31AM UTC web-flow github
94.42
10360527402 master Releasing version 2.1.0. push 12 Aug 2024 10:48PM UTC evolve75 github
94.42
10360416016 master Merge pull request #107 from evolve75/rexml_update Updated the library versions and bumped version to 2.1.0. No longer supporting Ruby Version 2.6 push 12 Aug 2024 10:36PM UTC web-flow github
94.42
See All Builds (257)
  • Repo on GitHub
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