{"action":"created","comment":{"url":"https://api.github.com/repos/mergesort/Slope/pulls/comments/202544923","pull_request_review_id":137268560,"id":202544923,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjU0NDkyMw==","diff_hunk":"@@ -2,12 +2,19 @@ import UIKit\n \n public struct UniformGradient: Gradient {\n \n+    public var angle: GradientAngle?\n     public let colors: [UIColor]\n+    public let endPoint: CGPoint","path":"Source/UniformGradient.swift","position":6,"original_position":6,"commit_id":"6c57506a23e7c6e1bd178bcaf63e7127f2789e9a","original_commit_id":"6c57506a23e7c6e1bd178bcaf63e7127f2789e9a","user":{"login":"mergesort","id":716513,"node_id":"MDQ6VXNlcjcxNjUxMw==","avatar_url":"https://avatars0.githubusercontent.com/u/716513?v=4","gravatar_id":"","url":"https://api.github.com/users/mergesort","html_url":"https://github.com/mergesort","followers_url":"https://api.github.com/users/mergesort/followers","following_url":"https://api.github.com/users/mergesort/following{/other_user}","gists_url":"https://api.github.com/users/mergesort/gists{/gist_id}","starred_url":"https://api.github.com/users/mergesort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mergesort/subscriptions","organizations_url":"https://api.github.com/users/mergesort/orgs","repos_url":"https://api.github.com/users/mergesort/repos","events_url":"https://api.github.com/users/mergesort/events{/privacy}","received_events_url":"https://api.github.com/users/mergesort/received_events","type":"User","site_admin":false},"body":"Instead of adding `endPoint`, how about we use that `GradientPoints` type you created for the other gradient, to encapsulate them both?","created_at":"2018-07-15T14:35:06Z","updated_at":"2018-07-15T14:39:03Z","html_url":"https://github.com/mergesort/Slope/pull/2#discussion_r202544923","pull_request_url":"https://api.github.com/repos/mergesort/Slope/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/mergesort/Slope/pulls/comments/202544923"},"html":{"href":"https://github.com/mergesort/Slope/pull/2#discussion_r202544923"},"pull_request":{"href":"https://api.github.com/repos/mergesort/Slope/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/mergesort/Slope/pulls/2","id":201398956,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMzk4OTU2","html_url":"https://github.com/mergesort/Slope/pull/2","diff_url":"https://github.com/mergesort/Slope/pull/2.diff","patch_url":"https://github.com/mergesort/Slope/pull/2.patch","issue_url":"https://api.github.com/repos/mergesort/Slope/issues/2","number":2,"state":"open","locked":false,"title":"Support for endPoint property and direction enum","user":{"login":"adamstener","id":680770,"node_id":"MDQ6VXNlcjY4MDc3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/680770?v=4","gravatar_id":"","url":"https://api.github.com/users/adamstener","html_url":"https://github.com/adamstener","followers_url":"https://api.github.com/users/adamstener/followers","following_url":"https://api.github.com/users/adamstener/following{/other_user}","gists_url":"https://api.github.com/users/adamstener/gists{/gist_id}","starred_url":"https://api.github.com/users/adamstener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamstener/subscriptions","organizations_url":"https://api.github.com/users/adamstener/orgs","repos_url":"https://api.github.com/users/adamstener/repos","events_url":"https://api.github.com/users/adamstener/events{/privacy}","received_events_url":"https://api.github.com/users/adamstener/received_events","type":"User","site_admin":false},"body":"Adds an endpoint property (defaulted to Apple Docs recommendation) and support for an enum based direction.","created_at":"2018-07-13T20:58:53Z","updated_at":"2018-07-15T14:39:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d7cd0af07c6d4ccfa7b70ae8bf010cd8b47a02b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mergesort/Slope/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mergesort/Slope/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mergesort/Slope/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mergesort/Slope/issues/2/comments","statuses_url":"https://api.github.com/repos/mergesort/Slope/statuses/6c57506a23e7c6e1bd178bcaf63e7127f2789e9a","head":{"label":"adamstener:feat/enum-direction-support","ref":"feat/enum-direction-support","sha":"6c57506a23e7c6e1bd178bcaf63e7127f2789e9a","user":{"login":"adamstener","id":680770,"node_id":"MDQ6VXNlcjY4MDc3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/680770?v=4","gravatar_id":"","url":"https://api.github.com/users/adamstener","html_url":"https://github.com/adamstener","followers_url":"https://api.github.com/users/adamstener/followers","following_url":"https://api.github.com/users/adamstener/following{/other_user}","gists_url":"https://api.github.com/users/adamstener/gists{/gist_id}","starred_url":"https://api.github.com/users/adamstener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamstener/subscriptions","organizations_url":"https://api.github.com/users/adamstener/orgs","repos_url":"https://api.github.com/users/adamstener/repos","events_url":"https://api.github.com/users/adamstener/events{/privacy}","received_events_url":"https://api.github.com/users/adamstener/received_events","type":"User","site_admin":false},"repo":{"id":140891774,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA4OTE3NzQ=","name":"Slope","full_name":"adamstener/Slope","owner":{"login":"adamstener","id":680770,"node_id":"MDQ6VXNlcjY4MDc3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/680770?v=4","gravatar_id":"","url":"https://api.github.com/users/adamstener","html_url":"https://github.com/adamstener","followers_url":"https://api.github.com/users/adamstener/followers","following_url":"https://api.github.com/users/adamstener/following{/other_user}","gists_url":"https://api.github.com/users/adamstener/gists{/gist_id}","starred_url":"https://api.github.com/users/adamstener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamstener/subscriptions","organizations_url":"https://api.github.com/users/adamstener/orgs","repos_url":"https://api.github.com/users/adamstener/repos","events_url":"https://api.github.com/users/adamstener/events{/privacy}","received_events_url":"https://api.github.com/users/adamstener/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamstener/Slope","description":"A simpler way to implement simple gradients on iOS","fork":true,"url":"https://api.github.com/repos/adamstener/Slope","forks_url":"https://api.github.com/repos/adamstener/Slope/forks","keys_url":"https://api.github.com/repos/adamstener/Slope/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamstener/Slope/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamstener/Slope/teams","hooks_url":"https://api.github.com/repos/adamstener/Slope/hooks","issue_events_url":"https://api.github.com/repos/adamstener/Slope/issues/events{/number}","events_url":"https://api.github.com/repos/adamstener/Slope/events","assignees_url":"https://api.github.com/repos/adamstener/Slope/assignees{/user}","branches_url":"https://api.github.com/repos/adamstener/Slope/branches{/branch}","tags_url":"https://api.github.com/repos/adamstener/Slope/tags","blobs_url":"https://api.github.com/repos/adamstener/Slope/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamstener/Slope/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamstener/Slope/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamstener/Slope/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamstener/Slope/statuses/{sha}","languages_url":"https://api.github.com/repos/adamstener/Slope/languages","stargazers_url":"https://api.github.com/repos/adamstener/Slope/stargazers","contributors_url":"https://api.github.com/repos/adamstener/Slope/contributors","subscribers_url":"https://api.github.com/repos/adamstener/Slope/subscribers","subscription_url":"https://api.github.com/repos/adamstener/Slope/subscription","commits_url":"https://api.github.com/repos/adamstener/Slope/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamstener/Slope/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamstener/Slope/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamstener/Slope/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamstener/Slope/contents/{+path}","compare_url":"https://api.github.com/repos/adamstener/Slope/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamstener/Slope/merges","archive_url":"https://api.github.com/repos/adamstener/Slope/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamstener/Slope/downloads","issues_url":"https://api.github.com/repos/adamstener/Slope/issues{/number}","pulls_url":"https://api.github.com/repos/adamstener/Slope/pulls{/number}","milestones_url":"https://api.github.com/repos/adamstener/Slope/milestones{/number}","notifications_url":"https://api.github.com/repos/adamstener/Slope/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamstener/Slope/labels{/name}","releases_url":"https://api.github.com/repos/adamstener/Slope/releases{/id}","deployments_url":"https://api.github.com/repos/adamstener/Slope/deployments","created_at":"2018-07-13T20:49:27Z","updated_at":"2018-07-13T20:49:29Z","pushed_at":"2018-07-14T00:17:08Z","git_url":"git://github.com/adamstener/Slope.git","ssh_url":"git@github.com:adamstener/Slope.git","clone_url":"https://github.com/adamstener/Slope.git","svn_url":"https://github.com/adamstener/Slope","homepage":null,"size":140,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mergesort:master","ref":"master","sha":"73e51553f314acc545806059fb9337aa5d3d50ed","user":{"login":"mergesort","id":716513,"node_id":"MDQ6VXNlcjcxNjUxMw==","avatar_url":"https://avatars0.githubusercontent.com/u/716513?v=4","gravatar_id":"","url":"https://api.github.com/users/mergesort","html_url":"https://github.com/mergesort","followers_url":"https://api.github.com/users/mergesort/followers","following_url":"https://api.github.com/users/mergesort/following{/other_user}","gists_url":"https://api.github.com/users/mergesort/gists{/gist_id}","starred_url":"https://api.github.com/users/mergesort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mergesort/subscriptions","organizations_url":"https://api.github.com/users/mergesort/orgs","repos_url":"https://api.github.com/users/mergesort/repos","events_url":"https://api.github.com/users/mergesort/events{/privacy}","received_events_url":"https://api.github.com/users/mergesort/received_events","type":"User","site_admin":false},"repo":{"id":139730560,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk3MzA1NjA=","name":"Slope","full_name":"mergesort/Slope","owner":{"login":"mergesort","id":716513,"node_id":"MDQ6VXNlcjcxNjUxMw==","avatar_url":"https://avatars0.githubusercontent.com/u/716513?v=4","gravatar_id":"","url":"https://api.github.com/users/mergesort","html_url":"https://github.com/mergesort","followers_url":"https://api.github.com/users/mergesort/followers","following_url":"https://api.github.com/users/mergesort/following{/other_user}","gists_url":"https://api.github.com/users/mergesort/gists{/gist_id}","starred_url":"https://api.github.com/users/mergesort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mergesort/subscriptions","organizations_url":"https://api.github.com/users/mergesort/orgs","repos_url":"https://api.github.com/users/mergesort/repos","events_url":"https://api.github.com/users/mergesort/events{/privacy}","received_events_url":"https://api.github.com/users/mergesort/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mergesort/Slope","description":"A simpler way to implement simple gradients on iOS","fork":false,"url":"https://api.github.com/repos/mergesort/Slope","forks_url":"https://api.github.com/repos/mergesort/Slope/forks","keys_url":"https://api.github.com/repos/mergesort/Slope/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mergesort/Slope/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mergesort/Slope/teams","hooks_url":"https://api.github.com/repos/mergesort/Slope/hooks","issue_events_url":"https://api.github.com/repos/mergesort/Slope/issues/events{/number}","events_url":"https://api.github.com/repos/mergesort/Slope/events","assignees_url":"https://api.github.com/repos/mergesort/Slope/assignees{/user}","branches_url":"https://api.github.com/repos/mergesort/Slope/branches{/branch}","tags_url":"https://api.github.com/repos/mergesort/Slope/tags","blobs_url":"https://api.github.com/repos/mergesort/Slope/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mergesort/Slope/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mergesort/Slope/git/refs{/sha}","trees_url":"https://api.github.com/repos/mergesort/Slope/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mergesort/Slope/statuses/{sha}","languages_url":"https://api.github.com/repos/mergesort/Slope/languages","stargazers_url":"https://api.github.com/repos/mergesort/Slope/stargazers","contributors_url":"https://api.github.com/repos/mergesort/Slope/contributors","subscribers_url":"https://api.github.com/repos/mergesort/Slope/subscribers","subscription_url":"https://api.github.com/repos/mergesort/Slope/subscription","commits_url":"https://api.github.com/repos/mergesort/Slope/commits{/sha}","git_commits_url":"https://api.github.com/repos/mergesort/Slope/git/commits{/sha}","comments_url":"https://api.github.com/repos/mergesort/Slope/comments{/number}","issue_comment_url":"https://api.github.com/repos/mergesort/Slope/issues/comments{/number}","contents_url":"https://api.github.com/repos/mergesort/Slope/contents/{+path}","compare_url":"https://api.github.com/repos/mergesort/Slope/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mergesort/Slope/merges","archive_url":"https://api.github.com/repos/mergesort/Slope/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mergesort/Slope/downloads","issues_url":"https://api.github.com/repos/mergesort/Slope/issues{/number}","pulls_url":"https://api.github.com/repos/mergesort/Slope/pulls{/number}","milestones_url":"https://api.github.com/repos/mergesort/Slope/milestones{/number}","notifications_url":"https://api.github.com/repos/mergesort/Slope/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mergesort/Slope/labels{/name}","releases_url":"https://api.github.com/repos/mergesort/Slope/releases{/id}","deployments_url":"https://api.github.com/repos/mergesort/Slope/deployments","created_at":"2018-07-04T14:08:55Z","updated_at":"2018-07-15T13:17:14Z","pushed_at":"2018-07-14T00:17:09Z","git_url":"git://github.com/mergesort/Slope.git","ssh_url":"git@github.com:mergesort/Slope.git","clone_url":"https://github.com/mergesort/Slope.git","svn_url":"https://github.com/mergesort/Slope","homepage":null,"size":137,"stargazers_count":163,"watchers_count":163,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":2,"watchers":163,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mergesort/Slope/pulls/2"},"html":{"href":"https://github.com/mergesort/Slope/pull/2"},"issue":{"href":"https://api.github.com/repos/mergesort/Slope/issues/2"},"comments":{"href":"https://api.github.com/repos/mergesort/Slope/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mergesort/Slope/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mergesort/Slope/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mergesort/Slope/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mergesort/Slope/statuses/6c57506a23e7c6e1bd178bcaf63e7127f2789e9a"}},"author_association":"NONE"}}
{"actor":{"display_login":"mergesort"}}