Skip to content

Implement PullRequest refactor #749

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

Merged
merged 2 commits into from
Dec 19, 2017

Conversation

omgjlk
Copy link
Collaborator

@omgjlk omgjlk commented Dec 19, 2017

Splits PullRequest into 3 objects. See the commit messages for more details.

Related to #670

Related-to sigmavirus24#670

Signed-off-by: Jesse Keating <jkeating@j2solutions.net>
This creates 3 classes; one for iterations (Short), one for direct GETs
(PullRequest), and one for events (EventPullRequest). Most attributes
are directly assigned, except where otherwise commented.

A couple cassettes needed to be updated, and the sample json for
pull_request needed to be updated as well. Updating that one required
updating the tests for the now current data.

Related-to sigmavirus24#670

Signed-off-by: Jesse Keating <jkeating@j2solutions.net>
@omgjlk omgjlk force-pushed the refactor-pulls-670 branch from 0104eaf to 4ddaa8e Compare December 19, 2017 04:49
@sigmavirus24 sigmavirus24 merged commit 96ab0e2 into sigmavirus24:develop Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants