Skip to content

Modernize gemspec: add metadata, use Dir glob, drop defaults#401

Merged
numbata merged 2 commits into
masterfrom
cleanup-gemspec
Apr 15, 2026
Merged

Modernize gemspec: add metadata, use Dir glob, drop defaults#401
numbata merged 2 commits into
masterfrom
cleanup-gemspec

Conversation

@numbata
Copy link
Copy Markdown
Collaborator

@numbata numbata commented Apr 15, 2026

Summary

  • Replace git ls-files shell-out with Dir['lib/**/*.rb', ...] to avoid
    dependency on git at build time and prevent accidental inclusion of
    non-Ruby files or directories
  • Add RubyGems metadata (homepage, bug tracker, changelog, docs, source code)
    and require MFA for gem pushes via rubygems_mfa_required
  • Remove redundant s.platform = Gem::Platform::RUBY (it is the default)

Replace git ls-files shell-out with Dir glob to avoid dependency
on git at build time. Add RubyGems metadata (homepage, bug tracker,
changelog, docs, source) and require MFA for gem pushes. Remove
redundant s.platform since Gem::Platform::RUBY is the default.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 15, 2026

Danger Report

No issues found.

View run

@numbata numbata self-assigned this Apr 15, 2026
@numbata numbata merged commit 6a2dedd into master Apr 15, 2026
13 checks passed
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