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

kettle-rb / ast-merge / 20815529402
94%

Build:
DEFAULT BRANCH: main
Ran 08 Jan 2026 11:40AM UTC
Jobs 1
Files 47
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

08 Jan 2026 11:38AM UTC coverage: 95.015% (-0.02%) from 95.038%
20815529402

push

github

pboling
✨ Ast::Merge::EmitterBase

### Added

- `Ast::Merge::EmitterBase` - Abstract base class for format-specific emitters
  - Provides common infrastructure for converting AST structures back to text
  - Tracks indentation level with configurable `indent_size` (default: 2 spaces)
  - Manages output lines collection with `#lines` accessor
  - `#emit_blank_line` - Emit an empty line
  - `#emit_leading_comments` - Emit comments from CommentTracker
  - `#emit_raw_lines` - Emit lines without modification (preserves exact formatting)
  - `#to_s` - Get output as a single string with trailing newline
  - `#clear` - Reset emitter state
  - `#indent` / `#dedent` - Increase/decrease indentation level
  - Subclass hooks: `#initialize_subclass_state`, `#clear_subclass_state`, `#emit_tracked_comment`
  - Used by jsonc-merge, json-merge, bash-merge, toml-merge, and psych-merge emitters

### Changed

- tree_haver v4.0.0

794 of 886 branches covered (89.62%)

Branch coverage included in aggregate %.

3 of 4 new or added lines in 2 files covered. (75.0%)

2465 of 2544 relevant lines covered (96.89%)

31.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
99.42
-0.58% lib/ast/merge/freeze_node_base.rb
Jobs
ID Job ID Ran Files Coverage
1 20815529402.1 08 Jan 2026 11:40AM UTC 47
95.01
GitHub Action Run
Source Files on build 20815529402
  • Tree
  • List 47
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 945be7c1 on github
  • Prev Build on main (#20738769900)
  • Next Build on main (#20815872703)
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