{"action":"opened","number":261,"pull_request":{"url":"https://api.github.com/repos/LoopKit/Loop/pulls/261","id":94089671,"html_url":"https://github.com/LoopKit/Loop/pull/261","diff_url":"https://github.com/LoopKit/Loop/pull/261.diff","patch_url":"https://github.com/LoopKit/Loop/pull/261.patch","issue_url":"https://api.github.com/repos/LoopKit/Loop/issues/261","number":261,"state":"open","locked":false,"title":"Fix improper usage of retrospective correction.","user":{"login":"ps2","id":14649,"avatar_url":"https://avatars.githubusercontent.com/u/14649?v=3","gravatar_id":"","url":"https://api.github.com/users/ps2","html_url":"https://github.com/ps2","followers_url":"https://api.github.com/users/ps2/followers","following_url":"https://api.github.com/users/ps2/following{/other_user}","gists_url":"https://api.github.com/users/ps2/gists{/gist_id}","starred_url":"https://api.github.com/users/ps2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ps2/subscriptions","organizations_url":"https://api.github.com/users/ps2/orgs","repos_url":"https://api.github.com/users/ps2/repos","events_url":"https://api.github.com/users/ps2/events{/privacy}","received_events_url":"https://api.github.com/users/ps2/received_events","type":"User","site_admin":false},"body":"Do not use retrospectiveCorrection if disabled in calculating temp basal rate.\r\n\r\nFixes #260\r\n","created_at":"2016-11-17T02:13:31Z","updated_at":"2016-11-17T02:13:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/LoopKit/Loop/pulls/261/commits","review_comments_url":"https://api.github.com/repos/LoopKit/Loop/pulls/261/comments","review_comment_url":"https://api.github.com/repos/LoopKit/Loop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LoopKit/Loop/issues/261/comments","statuses_url":"https://api.github.com/repos/LoopKit/Loop/statuses/37554b3c6f7d579b796f01f5137cfedc56d40152","head":{"label":"LoopKit:fix-improper-usage-of-retrospective-correction","ref":"fix-improper-usage-of-retrospective-correction","sha":"37554b3c6f7d579b796f01f5137cfedc56d40152","user":{"login":"LoopKit","id":21267095,"avatar_url":"https://avatars.githubusercontent.com/u/21267095?v=3","gravatar_id":"","url":"https://api.github.com/users/LoopKit","html_url":"https://github.com/LoopKit","followers_url":"https://api.github.com/users/LoopKit/followers","following_url":"https://api.github.com/users/LoopKit/following{/other_user}","gists_url":"https://api.github.com/users/LoopKit/gists{/gist_id}","starred_url":"https://api.github.com/users/LoopKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoopKit/subscriptions","organizations_url":"https://api.github.com/users/LoopKit/orgs","repos_url":"https://api.github.com/users/LoopKit/repos","events_url":"https://api.github.com/users/LoopKit/events{/privacy}","received_events_url":"https://api.github.com/users/LoopKit/received_events","type":"Organization","site_admin":false},"repo":{"id":59537417,"name":"Loop","full_name":"LoopKit/Loop","owner":{"login":"LoopKit","id":21267095,"avatar_url":"https://avatars.githubusercontent.com/u/21267095?v=3","gravatar_id":"","url":"https://api.github.com/users/LoopKit","html_url":"https://github.com/LoopKit","followers_url":"https://api.github.com/users/LoopKit/followers","following_url":"https://api.github.com/users/LoopKit/following{/other_user}","gists_url":"https://api.github.com/users/LoopKit/gists{/gist_id}","starred_url":"https://api.github.com/users/LoopKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoopKit/subscriptions","organizations_url":"https://api.github.com/users/LoopKit/orgs","repos_url":"https://api.github.com/users/LoopKit/repos","events_url":"https://api.github.com/users/LoopKit/events{/privacy}","received_events_url":"https://api.github.com/users/LoopKit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LoopKit/Loop","description":"An automated insulin delivery app template for iOS, built on LoopKit","fork":false,"url":"https://api.github.com/repos/LoopKit/Loop","forks_url":"https://api.github.com/repos/LoopKit/Loop/forks","keys_url":"https://api.github.com/repos/LoopKit/Loop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LoopKit/Loop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LoopKit/Loop/teams","hooks_url":"https://api.github.com/repos/LoopKit/Loop/hooks","issue_events_url":"https://api.github.com/repos/LoopKit/Loop/issues/events{/number}","events_url":"https://api.github.com/repos/LoopKit/Loop/events","assignees_url":"https://api.github.com/repos/LoopKit/Loop/assignees{/user}","branches_url":"https://api.github.com/repos/LoopKit/Loop/branches{/branch}","tags_url":"https://api.github.com/repos/LoopKit/Loop/tags","blobs_url":"https://api.github.com/repos/LoopKit/Loop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LoopKit/Loop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LoopKit/Loop/git/refs{/sha}","trees_url":"https://api.github.com/repos/LoopKit/Loop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LoopKit/Loop/statuses/{sha}","languages_url":"https://api.github.com/repos/LoopKit/Loop/languages","stargazers_url":"https://api.github.com/repos/LoopKit/Loop/stargazers","contributors_url":"https://api.github.com/repos/LoopKit/Loop/contributors","subscribers_url":"https://api.github.com/repos/LoopKit/Loop/subscribers","subscription_url":"https://api.github.com/repos/LoopKit/Loop/subscription","commits_url":"https://api.github.com/repos/LoopKit/Loop/commits{/sha}","git_commits_url":"https://api.github.com/repos/LoopKit/Loop/git/commits{/sha}","comments_url":"https://api.github.com/repos/LoopKit/Loop/comments{/number}","issue_comment_url":"https://api.github.com/repos/LoopKit/Loop/issues/comments{/number}","contents_url":"https://api.github.com/repos/LoopKit/Loop/contents/{+path}","compare_url":"https://api.github.com/repos/LoopKit/Loop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LoopKit/Loop/merges","archive_url":"https://api.github.com/repos/LoopKit/Loop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LoopKit/Loop/downloads","issues_url":"https://api.github.com/repos/LoopKit/Loop/issues{/number}","pulls_url":"https://api.github.com/repos/LoopKit/Loop/pulls{/number}","milestones_url":"https://api.github.com/repos/LoopKit/Loop/milestones{/number}","notifications_url":"https://api.github.com/repos/LoopKit/Loop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LoopKit/Loop/labels{/name}","releases_url":"https://api.github.com/repos/LoopKit/Loop/releases{/id}","deployments_url":"https://api.github.com/repos/LoopKit/Loop/deployments","created_at":"2016-05-24T03:26:56Z","updated_at":"2016-11-16T15:39:54Z","pushed_at":"2016-11-17T02:04:03Z","git_url":"git://github.com/LoopKit/Loop.git","ssh_url":"git@github.com:LoopKit/Loop.git","clone_url":"https://github.com/LoopKit/Loop.git","svn_url":"https://github.com/LoopKit/Loop","homepage":"","size":237140,"stargazers_count":43,"watchers_count":43,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":116,"mirror_url":null,"open_issues_count":30,"forks":116,"open_issues":30,"watchers":43,"default_branch":"master"}},"base":{"label":"LoopKit:master","ref":"master","sha":"3460a85aea26bb47a2b46a404a800dad99df2b52","user":{"login":"LoopKit","id":21267095,"avatar_url":"https://avatars.githubusercontent.com/u/21267095?v=3","gravatar_id":"","url":"https://api.github.com/users/LoopKit","html_url":"https://github.com/LoopKit","followers_url":"https://api.github.com/users/LoopKit/followers","following_url":"https://api.github.com/users/LoopKit/following{/other_user}","gists_url":"https://api.github.com/users/LoopKit/gists{/gist_id}","starred_url":"https://api.github.com/users/LoopKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoopKit/subscriptions","organizations_url":"https://api.github.com/users/LoopKit/orgs","repos_url":"https://api.github.com/users/LoopKit/repos","events_url":"https://api.github.com/users/LoopKit/events{/privacy}","received_events_url":"https://api.github.com/users/LoopKit/received_events","type":"Organization","site_admin":false},"repo":{"id":59537417,"name":"Loop","full_name":"LoopKit/Loop","owner":{"login":"LoopKit","id":21267095,"avatar_url":"https://avatars.githubusercontent.com/u/21267095?v=3","gravatar_id":"","url":"https://api.github.com/users/LoopKit","html_url":"https://github.com/LoopKit","followers_url":"https://api.github.com/users/LoopKit/followers","following_url":"https://api.github.com/users/LoopKit/following{/other_user}","gists_url":"https://api.github.com/users/LoopKit/gists{/gist_id}","starred_url":"https://api.github.com/users/LoopKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoopKit/subscriptions","organizations_url":"https://api.github.com/users/LoopKit/orgs","repos_url":"https://api.github.com/users/LoopKit/repos","events_url":"https://api.github.com/users/LoopKit/events{/privacy}","received_events_url":"https://api.github.com/users/LoopKit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LoopKit/Loop","description":"An automated insulin delivery app template for iOS, built on LoopKit","fork":false,"url":"https://api.github.com/repos/LoopKit/Loop","forks_url":"https://api.github.com/repos/LoopKit/Loop/forks","keys_url":"https://api.github.com/repos/LoopKit/Loop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LoopKit/Loop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LoopKit/Loop/teams","hooks_url":"https://api.github.com/repos/LoopKit/Loop/hooks","issue_events_url":"https://api.github.com/repos/LoopKit/Loop/issues/events{/number}","events_url":"https://api.github.com/repos/LoopKit/Loop/events","assignees_url":"https://api.github.com/repos/LoopKit/Loop/assignees{/user}","branches_url":"https://api.github.com/repos/LoopKit/Loop/branches{/branch}","tags_url":"https://api.github.com/repos/LoopKit/Loop/tags","blobs_url":"https://api.github.com/repos/LoopKit/Loop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LoopKit/Loop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LoopKit/Loop/git/refs{/sha}","trees_url":"https://api.github.com/repos/LoopKit/Loop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LoopKit/Loop/statuses/{sha}","languages_url":"https://api.github.com/repos/LoopKit/Loop/languages","stargazers_url":"https://api.github.com/repos/LoopKit/Loop/stargazers","contributors_url":"https://api.github.com/repos/LoopKit/Loop/contributors","subscribers_url":"https://api.github.com/repos/LoopKit/Loop/subscribers","subscription_url":"https://api.github.com/repos/LoopKit/Loop/subscription","commits_url":"https://api.github.com/repos/LoopKit/Loop/commits{/sha}","git_commits_url":"https://api.github.com/repos/LoopKit/Loop/git/commits{/sha}","comments_url":"https://api.github.com/repos/LoopKit/Loop/comments{/number}","issue_comment_url":"https://api.github.com/repos/LoopKit/Loop/issues/comments{/number}","contents_url":"https://api.github.com/repos/LoopKit/Loop/contents/{+path}","compare_url":"https://api.github.com/repos/LoopKit/Loop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LoopKit/Loop/merges","archive_url":"https://api.github.com/repos/LoopKit/Loop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LoopKit/Loop/downloads","issues_url":"https://api.github.com/repos/LoopKit/Loop/issues{/number}","pulls_url":"https://api.github.com/repos/LoopKit/Loop/pulls{/number}","milestones_url":"https://api.github.com/repos/LoopKit/Loop/milestones{/number}","notifications_url":"https://api.github.com/repos/LoopKit/Loop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LoopKit/Loop/labels{/name}","releases_url":"https://api.github.com/repos/LoopKit/Loop/releases{/id}","deployments_url":"https://api.github.com/repos/LoopKit/Loop/deployments","created_at":"2016-05-24T03:26:56Z","updated_at":"2016-11-16T15:39:54Z","pushed_at":"2016-11-17T02:04:03Z","git_url":"git://github.com/LoopKit/Loop.git","ssh_url":"git@github.com:LoopKit/Loop.git","clone_url":"https://github.com/LoopKit/Loop.git","svn_url":"https://github.com/LoopKit/Loop","homepage":"","size":237140,"stargazers_count":43,"watchers_count":43,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":116,"mirror_url":null,"open_issues_count":30,"forks":116,"open_issues":30,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LoopKit/Loop/pulls/261"},"html":{"href":"https://github.com/LoopKit/Loop/pull/261"},"issue":{"href":"https://api.github.com/repos/LoopKit/Loop/issues/261"},"comments":{"href":"https://api.github.com/repos/LoopKit/Loop/issues/261/comments"},"review_comments":{"href":"https://api.github.com/repos/LoopKit/Loop/pulls/261/comments"},"review_comment":{"href":"https://api.github.com/repos/LoopKit/Loop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LoopKit/Loop/pulls/261/commits"},"statuses":{"href":"https://api.github.com/repos/LoopKit/Loop/statuses/37554b3c6f7d579b796f01f5137cfedc56d40152"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ps2"}}