Skip to content

Package the MIT license with the gem - #162

Merged
tylercschneider merged 1 commit into
mainfrom
fix/package-mit-license
Aug 1, 2026
Merged

Package the MIT license with the gem#162
tylercschneider merged 1 commit into
mainfrom
fix/package-mit-license

Conversation

@tylercschneider

Copy link
Copy Markdown
Collaborator

spec.license = "MIT" was declared, but spec.files globbed only lib/, app/, config/, and the_local/ — so the license text was never included in the built gem. keystone_ui 0.6.0 is on RubyGems right now without its license file.

Found while checking license conventions across the org after the keystone_ui-colors rename.

Changes

  • LICENSEMIT-LICENSE (git mv), matching the convention the other gems use
  • Added "MIT-LICENSE" to spec.files
  • Added a packaging test asserting the declared license actually ships

The copyright line itself is unchanged: Copyright (c) 2026 Tyler Schneider.

Verification

  • New test fails before the fix (license absent from spec.files), passes after
  • Full suite: 425 runs, 1109 assertions, 0 failures
  • Rubocop: 118 files, no offenses
  • gem build confirms MIT-LICENSE is now in the packaged file list

Worth a patch release so the published gem carries its license.

Related

Three other org repos have no license file at all (event_engine-sourced, -telemetry, -user_events), and event_engine-coordinator still ships the generator placeholder Copyright TODO: Write your name. Not touched here.

🤖 Generated with Claude Code

spec.license declared MIT but spec.files globbed only lib, app, config,
and the_local, so the license text never shipped. Renames LICENSE to
MIT-LICENSE to match the other gems and adds it to spec.files.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@tylercschneider
tylercschneider merged commit 6f3b227 into main Aug 1, 2026
5 checks passed
@tylercschneider
tylercschneider deleted the fix/package-mit-license branch August 1, 2026 03:02
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