-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Released Ruby gem is missing LICENSE file. #292
Comments
Ah. That would have been my fault. I deduplicated the licenses in #195 and in other repos as well. We probably have this problem in quite a few projects then. |
That would be correct observation, Probably also accross languages with $LIBRARY_MANAGER (npm, rubygems, ...). https://github.com/cucumber/messages also has the same problem. BTW the section of the MIT license: |
@luke-hill anyway we can have a single licence file with Ruby? |
Looks like fixing this in any other way but duplicating files is not going to work. To fix:
|
Fixed and files now present in v18 of gem |
I am working on updating a few packages in the Ruby cucumber stack in Fedora and I noticed the license file is missing from this library now, that wasn't the case with v14.
From what I understand the file should be present in the released gem as it's a copy of the software.
Not 100% sure how a proper fix should look like.
AFAICT, to build and then unpack/install the gem properly, the license has to be either on the same level with the
.gemspec
file in the Ruby gem or some level below. A file cannot be referenced a level up from gemspec, so doing something likes.files << "../LICENSE"
is not going to work for unpacking the gem. Perhaps a Rakefile target that copies the LICENSE first and then builds the gem so that something likes.files << "./LICENSE"
would then be OK.The text was updated successfully, but these errors were encountered: