Skip to content

Include the license in source gems - #198

Open
OskarEichler wants to merge 1 commit into
igrigorik:mainfrom
OskarEichler:audit/include-license
Open

Include the license in source gems#198
OskarEichler wants to merge 1 commit into
igrigorik:mainfrom
OskarEichler:audit/include-license

Conversation

@OskarEichler

Copy link
Copy Markdown

Summary

  • use the repository's actual LICENSE filename in the gem manifest
  • include the declared MIT license text in future source packages

Reproduction

The gemspec selects LICENSE.txt, but the tracked file is named LICENSE. A clean build from current main therefore omits the license file.

Verification

  • clean package contains 36 paths including LICENSE
  • package contains no stale LICENSE.txt entry
  • 448 examples, 0 failures on Ruby 4.0.6
  • gemspec RuboCop passes

No repository tests were changed. I used an AI coding assistant during investigation and verification.

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