-
-
Notifications
You must be signed in to change notification settings - Fork 926
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
Added license information to versions. #458
Conversation
Any thoughts on this? Would love to see this get merged. |
+1 on this -- closing #363 will most definitely help enterprisey Rubyists. |
👍 It would be nice to see the license before I download it and find out I have to GPL my project. |
👍, I agree with @adkron. |
@@ -262,6 +264,10 @@ def join_authors | |||
self.authors = self.authors.join(', ') if self.authors.is_a?(Array) | |||
end | |||
|
|||
def join_licenses | |||
self.licenses = self.licenses.join(', ') if self.licenses.is_a?(Array) |
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.
Let's check that it responds to join instead of checking if it is an array. 🎉
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.
will do.
hi @adkron I've updated the commit. Cheers. |
Added license information to versions.
Added license information to versions.
The license is stored in the database upon creation of a new version. It is then made visible on the web and via the API. This addresses #363.
Existing gem versions will still need to have their license information backfilled, per #422.