Skip to content

Modernize: Ruby 3.1+, plain gemspec, tests on Spectrum, CI - #10

Merged
trans merged 1 commit into
masterfrom
modernize
Nov 30, 2026
Merged

trans merged 1 commit into
masterfrom
modernize

Conversation

@trans

@trans trans commented Nov 30, 2026

Copy link
Copy Markdown
Member

Brings TomParse up to date, ready for a release that at last carries the fixes made since 0.4.2.

Changes

  • Tests: moved from Citron to Spectrum, which took no change beyond the require. 82 tests, in CI on Ruby 3.1 to 4.0.
  • Fix: when an argument's own option ran over more than one line, a line break was left at the end of its description. A test for arguments with options is added; there was none.
  • TomParse::VERSION is added; the library had no version constant.
  • Packaging: plain tomparse.gemspec, Gemfile, Rakefile; the old build files and the unused lib/tomparse.yml are removed.
  • README and CONTRIBUTING: dead links and the Travis badge replaced.

Version

Set to 0.5.0, with the History entry marked unreleased. The History had a 0.4.3 entry dated 2015 that was never published to RubyGems, so its fix (multi-line option parsing, by Faraz Yashar) is listed under 0.5.0 instead.

🤖 Generated with Claude Code

The tests move from Citron to Spectrum with no change but the
require, and run in CI on Ruby 3.1 to 4.0. TomParse::VERSION is added.

Fixes a line break that was left in the description of an argument's
option when it ran over more than one line.

The History's 0.4.3 entry, which was never published, becomes part of
0.5.0. The old build files are removed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@trans
trans merged commit 3009105 into master Nov 30, 2026
10 checks passed
@trans
trans deleted the modernize branch November 30, 2026 06:13
@trans trans mentioned this pull request Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant