plu / Pithub

Perl Github v3 API
http://metacpan.org/module/Pithub
Other
68 stars 36 forks source link

Add wishlisted methods to Pithub::Repos. #201

Closed jjatria closed 6 years ago

jjatria commented 6 years ago

This patch adds two methods to Pithub::Repos: ->issues and ->pull_requests. These act as shortcuts to access a Pithub::Issues and Pithub::PullRequests inheriting the parameters from the parent repo.

This makes it easier to use Pithub in the way requested in #194 and #196.

This PR brought to you by the CPAN pull request challenge.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.003%) to 99.075% when pulling 7a01e14d092137ef1775f80c444e73a5b71cc40f on jjatria:wishlist into 6ec66c3d8884bd98598e4c19c9e8f4908c09fdf4 on plu:master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.004%) to 99.017% when pulling da6822854eb086b25bcee123c8296227ba5dafef on jjatria:wishlist into ad4c3bac8a80f239b1dec3a1b2ac97dc58a561f0 on plu:master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.004%) to 99.017% when pulling da6822854eb086b25bcee123c8296227ba5dafef on jjatria:wishlist into ad4c3bac8a80f239b1dec3a1b2ac97dc58a561f0 on plu:master.

oalders commented 6 years ago

I think if you rebase using the latest changes from master we should get a fully passing build on this branch.

oalders commented 6 years ago

LGTM. @plu?

plu commented 6 years ago

Looks great! Thanks for adding tests 👍