{"action":"opened","number":108,"pull_request":{"url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/pulls/108","id":50752384,"html_url":"https://github.com/RPi-Distro/python-gpiozero/pull/108","diff_url":"https://github.com/RPi-Distro/python-gpiozero/pull/108.diff","patch_url":"https://github.com/RPi-Distro/python-gpiozero/pull/108.patch","issue_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/108","number":108,"state":"open","locked":false,"title":"Fix #107","user":{"login":"waveform80","id":1076190,"avatar_url":"https://avatars.githubusercontent.com/u/1076190?v=3","gravatar_id":"","url":"https://api.github.com/users/waveform80","html_url":"https://github.com/waveform80","followers_url":"https://api.github.com/users/waveform80/followers","following_url":"https://api.github.com/users/waveform80/following{/other_user}","gists_url":"https://api.github.com/users/waveform80/gists{/gist_id}","starred_url":"https://api.github.com/users/waveform80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waveform80/subscriptions","organizations_url":"https://api.github.com/users/waveform80/orgs","repos_url":"https://api.github.com/users/waveform80/repos","events_url":"https://api.github.com/users/waveform80/events{/privacy}","received_events_url":"https://api.github.com/users/waveform80/received_events","type":"User","site_admin":false},"body":"Add `forward_device` and `backward_device` to `Motor`, `left_motor` and\r\n`right_motor` to `Robot`, and ensure all `CompositeDevice` descendents have a\r\nproper `close()` method and `closed` property. Also, add a few more\r\n`_check_open` calls around the place to make sure `GPIODeviceClosed` is\r\nproperly raised in response to read and writing values.","created_at":"2015-11-15T18:21:09Z","updated_at":"2015-11-15T18:21:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/pulls/108/commits","review_comments_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/pulls/108/comments","review_comment_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/108/comments","statuses_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/statuses/c929b9a53b98478c45bc5c7c97fe913ac70d8132","head":{"label":"waveform80:motor-pins","ref":"motor-pins","sha":"c929b9a53b98478c45bc5c7c97fe913ac70d8132","user":{"login":"waveform80","id":1076190,"avatar_url":"https://avatars.githubusercontent.com/u/1076190?v=3","gravatar_id":"","url":"https://api.github.com/users/waveform80","html_url":"https://github.com/waveform80","followers_url":"https://api.github.com/users/waveform80/followers","following_url":"https://api.github.com/users/waveform80/following{/other_user}","gists_url":"https://api.github.com/users/waveform80/gists{/gist_id}","starred_url":"https://api.github.com/users/waveform80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waveform80/subscriptions","organizations_url":"https://api.github.com/users/waveform80/orgs","repos_url":"https://api.github.com/users/waveform80/repos","events_url":"https://api.github.com/users/waveform80/events{/privacy}","received_events_url":"https://api.github.com/users/waveform80/received_events","type":"User","site_admin":false},"repo":{"id":42526658,"name":"gpio-zero","full_name":"waveform80/gpio-zero","owner":{"login":"waveform80","id":1076190,"avatar_url":"https://avatars.githubusercontent.com/u/1076190?v=3","gravatar_id":"","url":"https://api.github.com/users/waveform80","html_url":"https://github.com/waveform80","followers_url":"https://api.github.com/users/waveform80/followers","following_url":"https://api.github.com/users/waveform80/following{/other_user}","gists_url":"https://api.github.com/users/waveform80/gists{/gist_id}","starred_url":"https://api.github.com/users/waveform80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waveform80/subscriptions","organizations_url":"https://api.github.com/users/waveform80/orgs","repos_url":"https://api.github.com/users/waveform80/repos","events_url":"https://api.github.com/users/waveform80/events{/privacy}","received_events_url":"https://api.github.com/users/waveform80/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/waveform80/gpio-zero","description":"Abstraction for everyday GPIO components","fork":true,"url":"https://api.github.com/repos/waveform80/gpio-zero","forks_url":"https://api.github.com/repos/waveform80/gpio-zero/forks","keys_url":"https://api.github.com/repos/waveform80/gpio-zero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/waveform80/gpio-zero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/waveform80/gpio-zero/teams","hooks_url":"https://api.github.com/repos/waveform80/gpio-zero/hooks","issue_events_url":"https://api.github.com/repos/waveform80/gpio-zero/issues/events{/number}","events_url":"https://api.github.com/repos/waveform80/gpio-zero/events","assignees_url":"https://api.github.com/repos/waveform80/gpio-zero/assignees{/user}","branches_url":"https://api.github.com/repos/waveform80/gpio-zero/branches{/branch}","tags_url":"https://api.github.com/repos/waveform80/gpio-zero/tags","blobs_url":"https://api.github.com/repos/waveform80/gpio-zero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/waveform80/gpio-zero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/waveform80/gpio-zero/git/refs{/sha}","trees_url":"https://api.github.com/repos/waveform80/gpio-zero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/waveform80/gpio-zero/statuses/{sha}","languages_url":"https://api.github.com/repos/waveform80/gpio-zero/languages","stargazers_url":"https://api.github.com/repos/waveform80/gpio-zero/stargazers","contributors_url":"https://api.github.com/repos/waveform80/gpio-zero/contributors","subscribers_url":"https://api.github.com/repos/waveform80/gpio-zero/subscribers","subscription_url":"https://api.github.com/repos/waveform80/gpio-zero/subscription","commits_url":"https://api.github.com/repos/waveform80/gpio-zero/commits{/sha}","git_commits_url":"https://api.github.com/repos/waveform80/gpio-zero/git/commits{/sha}","comments_url":"https://api.github.com/repos/waveform80/gpio-zero/comments{/number}","issue_comment_url":"https://api.github.com/repos/waveform80/gpio-zero/issues/comments{/number}","contents_url":"https://api.github.com/repos/waveform80/gpio-zero/contents/{+path}","compare_url":"https://api.github.com/repos/waveform80/gpio-zero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/waveform80/gpio-zero/merges","archive_url":"https://api.github.com/repos/waveform80/gpio-zero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/waveform80/gpio-zero/downloads","issues_url":"https://api.github.com/repos/waveform80/gpio-zero/issues{/number}","pulls_url":"https://api.github.com/repos/waveform80/gpio-zero/pulls{/number}","milestones_url":"https://api.github.com/repos/waveform80/gpio-zero/milestones{/number}","notifications_url":"https://api.github.com/repos/waveform80/gpio-zero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/waveform80/gpio-zero/labels{/name}","releases_url":"https://api.github.com/repos/waveform80/gpio-zero/releases{/id}","created_at":"2015-09-15T15:01:38Z","updated_at":"2015-09-15T15:01:38Z","pushed_at":"2015-11-15T18:20:20Z","git_url":"git://github.com/waveform80/gpio-zero.git","ssh_url":"git@github.com:waveform80/gpio-zero.git","clone_url":"https://github.com/waveform80/gpio-zero.git","svn_url":"https://github.com/waveform80/gpio-zero","homepage":"","size":755,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"RPi-Distro:master","ref":"master","sha":"71284b233d21cf4e7c4371a38980bdbb841a1ff8","user":{"login":"RPi-Distro","id":12276469,"avatar_url":"https://avatars.githubusercontent.com/u/12276469?v=3","gravatar_id":"","url":"https://api.github.com/users/RPi-Distro","html_url":"https://github.com/RPi-Distro","followers_url":"https://api.github.com/users/RPi-Distro/followers","following_url":"https://api.github.com/users/RPi-Distro/following{/other_user}","gists_url":"https://api.github.com/users/RPi-Distro/gists{/gist_id}","starred_url":"https://api.github.com/users/RPi-Distro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RPi-Distro/subscriptions","organizations_url":"https://api.github.com/users/RPi-Distro/orgs","repos_url":"https://api.github.com/users/RPi-Distro/repos","events_url":"https://api.github.com/users/RPi-Distro/events{/privacy}","received_events_url":"https://api.github.com/users/RPi-Distro/received_events","type":"Organization","site_admin":false},"repo":{"id":42439862,"name":"python-gpiozero","full_name":"RPi-Distro/python-gpiozero","owner":{"login":"RPi-Distro","id":12276469,"avatar_url":"https://avatars.githubusercontent.com/u/12276469?v=3","gravatar_id":"","url":"https://api.github.com/users/RPi-Distro","html_url":"https://github.com/RPi-Distro","followers_url":"https://api.github.com/users/RPi-Distro/followers","following_url":"https://api.github.com/users/RPi-Distro/following{/other_user}","gists_url":"https://api.github.com/users/RPi-Distro/gists{/gist_id}","starred_url":"https://api.github.com/users/RPi-Distro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RPi-Distro/subscriptions","organizations_url":"https://api.github.com/users/RPi-Distro/orgs","repos_url":"https://api.github.com/users/RPi-Distro/repos","events_url":"https://api.github.com/users/RPi-Distro/events{/privacy}","received_events_url":"https://api.github.com/users/RPi-Distro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RPi-Distro/python-gpiozero","description":"A simple interface to everyday GPIO components used with Raspberry Pi","fork":false,"url":"https://api.github.com/repos/RPi-Distro/python-gpiozero","forks_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/forks","keys_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/teams","hooks_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/hooks","issue_events_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/events{/number}","events_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/events","assignees_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/assignees{/user}","branches_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/branches{/branch}","tags_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/tags","blobs_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/git/refs{/sha}","trees_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/statuses/{sha}","languages_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/languages","stargazers_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/stargazers","contributors_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/contributors","subscribers_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/subscribers","subscription_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/subscription","commits_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/commits{/sha}","git_commits_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/git/commits{/sha}","comments_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/comments{/number}","issue_comment_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/comments{/number}","contents_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/contents/{+path}","compare_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/merges","archive_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/downloads","issues_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues{/number}","pulls_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/pulls{/number}","milestones_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/milestones{/number}","notifications_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/labels{/name}","releases_url":"https://api.github.com/repos/RPi-Distro/python-gpiozero/releases{/id}","created_at":"2015-09-14T09:36:03Z","updated_at":"2015-11-13T12:59:09Z","pushed_at":"2015-11-15T18:21:11Z","git_url":"git://github.com/RPi-Distro/python-gpiozero.git","ssh_url":"git@github.com:RPi-Distro/python-gpiozero.git","clone_url":"https://github.com/RPi-Distro/python-gpiozero.git","svn_url":"https://github.com/RPi-Distro/python-gpiozero","homepage":"http://pythonhosted.org/gpiozero/","size":925,"stargazers_count":30,"watchers_count":30,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":13,"forks":12,"open_issues":13,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RPi-Distro/python-gpiozero/pulls/108"},"html":{"href":"https://github.com/RPi-Distro/python-gpiozero/pull/108"},"issue":{"href":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/108"},"comments":{"href":"https://api.github.com/repos/RPi-Distro/python-gpiozero/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/RPi-Distro/python-gpiozero/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/RPi-Distro/python-gpiozero/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RPi-Distro/python-gpiozero/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/RPi-Distro/python-gpiozero/statuses/c929b9a53b98478c45bc5c7c97fe913ac70d8132"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":79,"deletions":12,"changed_files":3}}