Skip to content

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

Open
krauselukas wants to merge 1 commit intotzmfreedom:masterfrom
krauselukas:correct_gemspec_files
Open

Do not include unneeded hidden files and binaries into gem#9
krauselukas wants to merge 1 commit intotzmfreedom:masterfrom
krauselukas:correct_gemspec_files

Conversation

@krauselukas
Copy link
Copy Markdown
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