Skip to content

Conversation

@vilyapilya
Copy link
Contributor

The gemspec file successfully builds the gemspec but it is better not to depend on git while building gem. Besides the way it was filtering the files did not work and the gemspec contained unnecessary files.
And I included minites to the dev dep in gemspec since I am using it. (Added in the previous PR)

Copy link
Contributor

@dchai76 dchai76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment, and a note that this doesn't really need to depend on #11. In fact, I'd pull out the #11 changes to keep this simple.

logdna.gemspec Outdated
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.files = Dir.glob("{lib}/**/*") + %w(LICENSE.txt README.md)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea behind the PR is reasonable but isn't this too broad?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll pull out the #11 changes from here. No, I don't thin the files selection is broad. It includes only the functional files. And I included the .md and .txt files because this is what people seems to do for ruby gems. Although, I don't see why they include them.

@smusali smusali changed the title Remove the git dependecy from gemspec file. Depends on PR #11 Remove the git dependecy from gemspec file Dec 19, 2019
@smusali
Copy link
Contributor

smusali commented Dec 20, 2019

@vilyapilya, whatever this Pull Request was supposed to do was done by #13 - let's close this one

@smusali smusali closed this Dec 20, 2019
@smusali smusali deleted the gemSpecChange branch December 20, 2019 19:55
@smusali smusali restored the gemSpecChange branch December 20, 2019 20:11
@smusali smusali reopened this Dec 20, 2019
@vilyapilya vilyapilya closed this Dec 20, 2019
@jakedipity jakedipity deleted the gemSpecChange branch January 25, 2021 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants