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

Don't include setup script in global executables #1180

Merged
merged 1 commit into from
Feb 26, 2019
Merged

Conversation

mcmire
Copy link
Collaborator

@mcmire mcmire commented Feb 25, 2019

All of the files in bin/ were included in the list of executables in
the gemspec. This is Very Bad and means that setup was getting
installed as a global executable when a user installed the gem on their
computer.

To fix this, I've done an audit and removed all extraneous files from
the installed gem. It should now only include:

  • docs
  • lib
  • MIT-LICENSE
  • README.md
  • shoulda-matchers.gemspec

All of the files in `bin/` were included in the list of executables in
the gemspec. This is Very Bad and means that `setup` was getting
installed as a global executable when a user installed the gem on their
computer.

To fix this, I've done an audit and removed all extraneous files from
the installed gem. It should now only include:

* `docs`
* `lib`
* `MIT-LICENSE`
* `README.md`
* `shoulda-matchers.gemspec`
@mcmire mcmire closed this Feb 26, 2019
@mcmire mcmire deleted the fix-gemspec branch February 26, 2019 05:08
@mcmire mcmire merged commit 525772f into master Feb 26, 2019
@n-rodriguez n-rodriguez mentioned this pull request Feb 26, 2019
@ashmaroli ashmaroli mentioned this pull request Feb 26, 2019
pearlzhuzeng added a commit to galahq/gala that referenced this pull request Feb 28, 2019
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.

None yet

2 participants