{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/pulls/1","id":57776839,"html_url":"https://github.com/OpenAgInitiative/gro-microcontroller/pull/1","diff_url":"https://github.com/OpenAgInitiative/gro-microcontroller/pull/1.diff","patch_url":"https://github.com/OpenAgInitiative/gro-microcontroller/pull/1.patch","issue_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/issues/1","number":1,"state":"open","locked":false,"title":"Optimized function WriteBit in OneWire","user":{"login":"mdaiter","id":1377571,"avatar_url":"https://avatars.githubusercontent.com/u/1377571?v=3","gravatar_id":"","url":"https://api.github.com/users/mdaiter","html_url":"https://github.com/mdaiter","followers_url":"https://api.github.com/users/mdaiter/followers","following_url":"https://api.github.com/users/mdaiter/following{/other_user}","gists_url":"https://api.github.com/users/mdaiter/gists{/gist_id}","starred_url":"https://api.github.com/users/mdaiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdaiter/subscriptions","organizations_url":"https://api.github.com/users/mdaiter/orgs","repos_url":"https://api.github.com/users/mdaiter/repos","events_url":"https://api.github.com/users/mdaiter/events{/privacy}","received_events_url":"https://api.github.com/users/mdaiter/received_events","type":"User","site_admin":false},"body":"\bOptimized function in OneWire class called WriteBit to use comparators instead of if statements to get rid of repetitive code","created_at":"2016-01-31T19:03:21Z","updated_at":"2016-01-31T19:03:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/pulls/1/commits","review_comments_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/pulls/1/comments","review_comment_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/issues/1/comments","statuses_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/statuses/9a32704ca3d5a7cc2c3aff3e96d6a0d87e72dd4e","head":{"label":"mdaiter:OneWireWriteBit","ref":"OneWireWriteBit","sha":"9a32704ca3d5a7cc2c3aff3e96d6a0d87e72dd4e","user":{"login":"mdaiter","id":1377571,"avatar_url":"https://avatars.githubusercontent.com/u/1377571?v=3","gravatar_id":"","url":"https://api.github.com/users/mdaiter","html_url":"https://github.com/mdaiter","followers_url":"https://api.github.com/users/mdaiter/followers","following_url":"https://api.github.com/users/mdaiter/following{/other_user}","gists_url":"https://api.github.com/users/mdaiter/gists{/gist_id}","starred_url":"https://api.github.com/users/mdaiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdaiter/subscriptions","organizations_url":"https://api.github.com/users/mdaiter/orgs","repos_url":"https://api.github.com/users/mdaiter/repos","events_url":"https://api.github.com/users/mdaiter/events{/privacy}","received_events_url":"https://api.github.com/users/mdaiter/received_events","type":"User","site_admin":false},"repo":{"id":50789704,"name":"gro-microcontroller","full_name":"mdaiter/gro-microcontroller","owner":{"login":"mdaiter","id":1377571,"avatar_url":"https://avatars.githubusercontent.com/u/1377571?v=3","gravatar_id":"","url":"https://api.github.com/users/mdaiter","html_url":"https://github.com/mdaiter","followers_url":"https://api.github.com/users/mdaiter/followers","following_url":"https://api.github.com/users/mdaiter/following{/other_user}","gists_url":"https://api.github.com/users/mdaiter/gists{/gist_id}","starred_url":"https://api.github.com/users/mdaiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdaiter/subscriptions","organizations_url":"https://api.github.com/users/mdaiter/orgs","repos_url":"https://api.github.com/users/mdaiter/repos","events_url":"https://api.github.com/users/mdaiter/events{/privacy}","received_events_url":"https://api.github.com/users/mdaiter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mdaiter/gro-microcontroller","description":"**ALPHA VERSION** Code running on bot's microcontroller (Arduino Mega 2560).","fork":true,"url":"https://api.github.com/repos/mdaiter/gro-microcontroller","forks_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/forks","keys_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/teams","hooks_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/hooks","issue_events_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/issues/events{/number}","events_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/events","assignees_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/assignees{/user}","branches_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/branches{/branch}","tags_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/tags","blobs_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/git/refs{/sha}","trees_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/statuses/{sha}","languages_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/languages","stargazers_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/stargazers","contributors_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/contributors","subscribers_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/subscribers","subscription_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/subscription","commits_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/commits{/sha}","git_commits_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/git/commits{/sha}","comments_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/comments{/number}","issue_comment_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/issues/comments{/number}","contents_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/contents/{+path}","compare_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/merges","archive_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/downloads","issues_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/issues{/number}","pulls_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/pulls{/number}","milestones_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/milestones{/number}","notifications_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/labels{/name}","releases_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/releases{/id}","deployments_url":"https://api.github.com/repos/mdaiter/gro-microcontroller/deployments","created_at":"2016-01-31T18:55:51Z","updated_at":"2016-01-31T18:55:53Z","pushed_at":"2016-01-31T19:01:45Z","git_url":"git://github.com/mdaiter/gro-microcontroller.git","ssh_url":"git@github.com:mdaiter/gro-microcontroller.git","clone_url":"https://github.com/mdaiter/gro-microcontroller.git","svn_url":"https://github.com/mdaiter/gro-microcontroller","homepage":"","size":602,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenAgInitiative:master","ref":"master","sha":"e7f3a02e3198efb5e38aaf69a87f572c87c9bf80","user":{"login":"OpenAgInitiative","id":8797566,"avatar_url":"https://avatars.githubusercontent.com/u/8797566?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenAgInitiative","html_url":"https://github.com/OpenAgInitiative","followers_url":"https://api.github.com/users/OpenAgInitiative/followers","following_url":"https://api.github.com/users/OpenAgInitiative/following{/other_user}","gists_url":"https://api.github.com/users/OpenAgInitiative/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenAgInitiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenAgInitiative/subscriptions","organizations_url":"https://api.github.com/users/OpenAgInitiative/orgs","repos_url":"https://api.github.com/users/OpenAgInitiative/repos","events_url":"https://api.github.com/users/OpenAgInitiative/events{/privacy}","received_events_url":"https://api.github.com/users/OpenAgInitiative/received_events","type":"Organization","site_admin":false},"repo":{"id":44190914,"name":"gro-microcontroller","full_name":"OpenAgInitiative/gro-microcontroller","owner":{"login":"OpenAgInitiative","id":8797566,"avatar_url":"https://avatars.githubusercontent.com/u/8797566?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenAgInitiative","html_url":"https://github.com/OpenAgInitiative","followers_url":"https://api.github.com/users/OpenAgInitiative/followers","following_url":"https://api.github.com/users/OpenAgInitiative/following{/other_user}","gists_url":"https://api.github.com/users/OpenAgInitiative/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenAgInitiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenAgInitiative/subscriptions","organizations_url":"https://api.github.com/users/OpenAgInitiative/orgs","repos_url":"https://api.github.com/users/OpenAgInitiative/repos","events_url":"https://api.github.com/users/OpenAgInitiative/events{/privacy}","received_events_url":"https://api.github.com/users/OpenAgInitiative/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenAgInitiative/gro-microcontroller","description":"**ALPHA VERSION** Code running on bot's microcontroller (Arduino Mega 2560).","fork":false,"url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller","forks_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/forks","keys_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/teams","hooks_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/hooks","issue_events_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/issues/events{/number}","events_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/events","assignees_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/assignees{/user}","branches_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/branches{/branch}","tags_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/tags","blobs_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/languages","stargazers_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/stargazers","contributors_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/contributors","subscribers_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/subscribers","subscription_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/subscription","commits_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/contents/{+path}","compare_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/merges","archive_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/downloads","issues_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/issues{/number}","pulls_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/labels{/name}","releases_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/releases{/id}","deployments_url":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/deployments","created_at":"2015-10-13T16:48:57Z","updated_at":"2016-01-02T17:37:46Z","pushed_at":"2016-01-31T19:03:22Z","git_url":"git://github.com/OpenAgInitiative/gro-microcontroller.git","ssh_url":"git@github.com:OpenAgInitiative/gro-microcontroller.git","clone_url":"https://github.com/OpenAgInitiative/gro-microcontroller.git","svn_url":"https://github.com/OpenAgInitiative/gro-microcontroller","homepage":"","size":601,"stargazers_count":10,"watchers_count":10,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/pulls/1"},"html":{"href":"https://github.com/OpenAgInitiative/gro-microcontroller/pull/1"},"issue":{"href":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/issues/1"},"comments":{"href":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/OpenAgInitiative/gro-microcontroller/statuses/9a32704ca3d5a7cc2c3aff3e96d6a0d87e72dd4e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":18,"changed_files":1}}