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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop git
in gemspec
#745
Drop git
in gemspec
#745
Conversation
11be2b5
to
8b0a22c
Compare
36c1ff0
to
4d92a6c
Compare
@utkarsh2102 my bad, should be |
Using `git` in gemspec, in general, is problematic. cf: https://docs.rubocop.org/rubocop-packaging/cops_packaging.html#gemspec-git-rationale Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
4d92a6c
to
9008df7
Compare
I've taken all together at once now. Should be good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
馃憤
@utkarsh2102 Thanks! |
Hi @iliabylich, |
.gitignore | ||
) | ||
|
||
spec.files = Dir['bin/*', 'lib/**/*.rb', 'parser.gemspec'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, and this is not a bad thing: before parser
would ship anything which was not gitignored explicit (or in the whitelist) this means that the parser
gem will not ship tests anymore. Which is IMO a good thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, happy to have it this way!
Hi @iliabylich,
As discussed in #743, here's the PR, dropping
git
in gemspec.Rationale at: https://docs.rubocop.org/rubocop-packaging/cops_packaging.html#gemspec-git-rationale
This helps in maintaining this in Debian and other downstream 馃挮
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>