Skip to content

Upgrade runtime and packaging metadata to Ruby 3.1.x - #28

Merged
guanw88 merged 2 commits into
masterfrom
copilot/upgrade-ruby-to-3-1-x
Aug 31, 2026
Merged

guanw88 merged 2 commits into
masterfrom
copilot/upgrade-ruby-to-3-1-x

Conversation

Copilot AI commented Aug 28, 2026

Copy link
Copy Markdown

This updates the gem's declared runtime target to Ruby 3.1.x and aligns CI and published metadata with that support level. It also removes a packaging footgun surfaced during the upgrade path.

  • Runtime target

    • Bump .ruby-version to 3.1.6
    • Raise required_ruby_version in the gemspec to >= 3.1.0
  • CI alignment

    • Move the RSpec workflow container from Ruby 3.0.6 to 3.1.6
  • Dependency / gemspec cleanup

    • Tighten virtus from an open-ended dependency to ~> 2.0
    • Drop the legacy # coding: utf-8 header
  • Packaging cleanup

    • Exclude built .gem artifacts from spec.files
    • Ignore root-level .gem outputs in .gitignore
    • Remove the checked-in built gem artifact from the repository
  • Docs

    • Refresh the README's Ruby compatibility and dependency examples to match the current runtime and Faraday stack
spec.required_ruby_version = ">= 3.1.0"
spec.add_dependency "virtus", "~> 2.0"

Copilot AI and others added 2 commits August 28, 2026 19:35
Co-authored-by: guanw88 <44227626+guanw88@users.noreply.github.com>
Co-authored-by: guanw88 <44227626+guanw88@users.noreply.github.com>
@guanw88
guanw88 merged commit 6ecc971 into master Aug 31, 2026
1 check passed
@guanw88
guanw88 deleted the copilot/upgrade-ruby-to-3-1-x branch August 31, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants