-
Notifications
You must be signed in to change notification settings - Fork 140
Add new attributes to return for users and repositories #158
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 serv 8000 ice and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new attributes to return for users and repositories #158
Conversation
This commit: - Adds `hireable` to the whitelisted attributes available on the `owner` hash. - Adds decorator methods for `stargazers_count` and `forks_count` to the `Repository` object. Why? - This will allow users of this gem to access more useful information from users and repositories.
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.
This looks great to me, thank you!!!
@kenyonj Please adjust the changes so that tests pass locally at your end and on our CI. |
@kenyonj I think you missed a test for checking the |
@ashmaroli |
@ashmaroli I’ll make a PR for those user tests sometime tomorrow! |
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.
LGTM!
Thanks, @benbalter! I'm working on the tests now for |
@parkr 🤘 If you tackle the tests, glad to help bump and release (if I remember how... 😄) |
This PR:
hireable
to the whitelisted attributes available on theowner
hash.stargazers_count
andforks_count
to theRepository
object.Why?