Skip to content

feat: prepare smalruby3 gem for RubyGems publishing (v26.3.291)#417

Merged
takaokouji merged 6 commits into
developfrom
feature/smalruby3-gem-publishing
Mar 29, 2026
Merged

feat: prepare smalruby3 gem for RubyGems publishing (v26.3.291)#417
takaokouji merged 6 commits into
developfrom
feature/smalruby3-gem-publishing

Conversation

@takaokouji
Copy link
Copy Markdown

Summary

ruby/smalruby3 を RubyGems に公開可能な状態にする。

  • バージョンを 0.1.026.3.291 に更新(YY.M.DDR 形式: 2026年3月29日の1回目リリース)
  • MIT LICENSE + Third-Party Notices(ruby-sdl2: LGPL-3.0, resvg: MPL-2.0, rsdl: Ruby's License)を追加
  • 最小限の README.md を追加
  • gemspec に changelog_uri metadata を追加
  • Rust ビルドキャッシュ(ext/smalruby3_imageutil/target/)を gem ファイルから除外

Changes Made

  • ruby/smalruby3/lib/smalruby3/version.rb — バージョン更新 + コメント追加
  • ruby/smalruby3/smalruby3.gemspec — metadata 追加、target/ 除外
  • ruby/smalruby3/LICENSE — 新規作成
  • ruby/smalruby3/README.md — 新規作成

Test Coverage

  • bundle exec standardrb — lint pass
  • bundle exec rake test — 202 tests, 543 assertions, 0 failures
  • gem build smalruby3.gemspec — ビルド成功、smalruby3-26.3.291.gem 生成確認

Related Issues

Closes #416

takaokouji and others added 4 commits March 29, 2026 22:21
- Update version from 0.1.0 to 26.3.291 (YY.M.DDR scheme)
- Add LICENSE (MIT + Third-Party Notices for ruby-sdl2, resvg, rsdl)
- Add README.md with gem overview, install, and usage
- Add changelog_uri to gemspec metadata
- Exclude Rust build cache from gem files

Closes #416

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
MR = month * 10 + monthly release number, allowing multiple feature
releases within the same month without implying a different month.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add matrix strategy to unit-test job to test against all currently
supported Ruby versions (non-EOL per ruby-lang.org/downloads/branches).
Lint continues to run on the .ruby-version (4.0) only.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

takaokouji and others added 2 commits March 29, 2026 22:54
- Add /gem-release skill for manual gem publishing workflow
- Add release-gem.yml workflow triggered by smalruby3-v* tags
  - Runs tests on Ruby 3.3, 3.4, 4.0 before release
  - Uses Trusted Publishing (OIDC) for RubyGems auth
  - Verifies tag version matches gem version
  - Creates GitHub Release with .gem artifact

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Manual workflow (workflow_dispatch) to verify gem builds on:
- Linux (ubuntu-latest) — equivalent to Chromebook Linux
- Windows (windows-latest) — MSYS2 for SDL2

Tests gem build, native extension compilation, test suite,
and basic require verification on each platform.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@takaokouji takaokouji merged commit 94e7265 into develop Mar 29, 2026
13 checks passed
@takaokouji takaokouji deleted the feature/smalruby3-gem-publishing branch March 29, 2026 14:01
github-actions Bot pushed a commit that referenced this pull request Mar 29, 2026
…uby3-gem-publishing

feat: prepare smalruby3 gem for RubyGems publishing (v26.3.291)
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.

feat: prepare smalruby3 gem for RubyGems publishing (v26.3.291)

1 participant