Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused files from package #243

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

f440
Copy link
Contributor

@f440 f440 commented Jul 19, 2024

This pull request updates the *.gemspec file to optimize the gem package size and structure. The changes include:

  • Modified files to exclude test files, documentation files, Gemfile and CHANGELOG from the package.
  • Add URLs for documentation and ChangeLog to the package metadata
    • Users can access this information using bundle info activerecord-multi-tenant

These changes reduce the extracted package size from 1.1 MB to 132 KB.

Benefits:

  • Shorter download times for users
  • Reduced container sizes when the gem is included

References:

@f440 f440 force-pushed the remove-unused-files-from-package branch from 47e4ad6 to a80f084 Compare August 2, 2024 15:25
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.

2 participants