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

Do not include unneeded hidden files and binaries into gem #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krauselukas
Copy link
Contributor

Right now the gemspec includes the following files into the gem:

[".gitignore",
 ".rspec",
 ".travis.yml",
 "Gemfile",
 "LICENSE.txt",
 "README.md",
 "Rakefile",
 "bin/console",
 "bin/setup",
 "json_refs.gemspec",
 "lib/json_refs.rb",
 "lib/json_refs/dereference_handler.rb",
 "lib/json_refs/loader.rb",
 "lib/json_refs/version.rb"]

Those are not required in the shipped gem and can be excluded.

With the changes only the following files/folders ending up in the gem:

["lib/json_refs", "lib/json_refs/dereference_handler.rb", "lib/json_refs/loader.rb",
 "lib/json_refs/version.rb", "lib/json_refs.rb", "LICENSE.txt", "README.md"]

Right now the gemspec includes the following files into the gem:
```
[".gitignore",
 ".rspec",
 ".travis.yml",
 "Gemfile",
 "LICENSE.txt",
 "README.md",
 "Rakefile",
 "bin/console",
 "bin/setup",
 "json_refs.gemspec",
 "lib/json_refs.rb",
 "lib/json_refs/dereference_handler.rb",
 "lib/json_refs/loader.rb",
 "lib/json_refs/version.rb"]
```
Those are not required in the shipped gem and can be excluded.

With the changes only the following files/folders ending up
in the gem:

```
["lib/json_refs", "lib/json_refs/dereference_handler.rb", "lib/json_refs/loader.rb",
 "lib/json_refs/version.rb", "lib/json_refs.rb", "LICENSE.txt", "README.md"]
```
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