{"action":"opened","number":30,"pull_request":{"url":"https://api.github.com/repos/hybridgroup/rubyserial/pulls/30","id":42581873,"html_url":"https://github.com/hybridgroup/rubyserial/pull/30","diff_url":"https://github.com/hybridgroup/rubyserial/pull/30.diff","patch_url":"https://github.com/hybridgroup/rubyserial/pull/30.patch","issue_url":"https://api.github.com/repos/hybridgroup/rubyserial/issues/30","number":30,"state":"open","locked":false,"title":"Dry error checking by wrapping all syscals in cmd method","user":{"login":"poporul","id":434619,"avatar_url":"https://avatars.githubusercontent.com/u/434619?v=3","gravatar_id":"","url":"https://api.github.com/users/poporul","html_url":"https://github.com/poporul","followers_url":"https://api.github.com/users/poporul/followers","following_url":"https://api.github.com/users/poporul/following{/other_user}","gists_url":"https://api.github.com/users/poporul/gists{/gist_id}","starred_url":"https://api.github.com/users/poporul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poporul/subscriptions","organizations_url":"https://api.github.com/users/poporul/orgs","repos_url":"https://api.github.com/users/poporul/repos","events_url":"https://api.github.com/users/poporul/events{/privacy}","received_events_url":"https://api.github.com/users/poporul/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-17T12:20:19Z","updated_at":"2015-08-17T12:20:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hybridgroup/rubyserial/pulls/30/commits","review_comments_url":"https://api.github.com/repos/hybridgroup/rubyserial/pulls/30/comments","review_comment_url":"https://api.github.com/repos/hybridgroup/rubyserial/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hybridgroup/rubyserial/issues/30/comments","statuses_url":"https://api.github.com/repos/hybridgroup/rubyserial/statuses/b673abdc9daeafd37929add32086de987875cbfb","head":{"label":"poporul:master","ref":"master","sha":"b673abdc9daeafd37929add32086de987875cbfb","user":{"login":"poporul","id":434619,"avatar_url":"https://avatars.githubusercontent.com/u/434619?v=3","gravatar_id":"","url":"https://api.github.com/users/poporul","html_url":"https://github.com/poporul","followers_url":"https://api.github.com/users/poporul/followers","following_url":"https://api.github.com/users/poporul/following{/other_user}","gists_url":"https://api.github.com/users/poporul/gists{/gist_id}","starred_url":"https://api.github.com/users/poporul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poporul/subscriptions","organizations_url":"https://api.github.com/users/poporul/orgs","repos_url":"https://api.github.com/users/poporul/repos","events_url":"https://api.github.com/users/poporul/events{/privacy}","received_events_url":"https://api.github.com/users/poporul/received_events","type":"User","site_admin":false},"repo":{"id":40206959,"name":"rubyserial","full_name":"poporul/rubyserial","owner":{"login":"poporul","id":434619,"avatar_url":"https://avatars.githubusercontent.com/u/434619?v=3","gravatar_id":"","url":"https://api.github.com/users/poporul","html_url":"https://github.com/poporul","followers_url":"https://api.github.com/users/poporul/followers","following_url":"https://api.github.com/users/poporul/following{/other_user}","gists_url":"https://api.github.com/users/poporul/gists{/gist_id}","starred_url":"https://api.github.com/users/poporul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poporul/subscriptions","organizations_url":"https://api.github.com/users/poporul/orgs","repos_url":"https://api.github.com/users/poporul/repos","events_url":"https://api.github.com/users/poporul/events{/privacy}","received_events_url":"https://api.github.com/users/poporul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/poporul/rubyserial","description":"FFI Ruby library for RS-232 serial port communication","fork":true,"url":"https://api.github.com/repos/poporul/rubyserial","forks_url":"https://api.github.com/repos/poporul/rubyserial/forks","keys_url":"https://api.github.com/repos/poporul/rubyserial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poporul/rubyserial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poporul/rubyserial/teams","hooks_url":"https://api.github.com/repos/poporul/rubyserial/hooks","issue_events_url":"https://api.github.com/repos/poporul/rubyserial/issues/events{/number}","events_url":"https://api.github.com/repos/poporul/rubyserial/events","assignees_url":"https://api.github.com/repos/poporul/rubyserial/assignees{/user}","branches_url":"https://api.github.com/repos/poporul/rubyserial/branches{/branch}","tags_url":"https://api.github.com/repos/poporul/rubyserial/tags","blobs_url":"https://api.github.com/repos/poporul/rubyserial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poporul/rubyserial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poporul/rubyserial/git/refs{/sha}","trees_url":"https://api.github.com/repos/poporul/rubyserial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poporul/rubyserial/statuses/{sha}","languages_url":"https://api.github.com/repos/poporul/rubyserial/languages","stargazers_url":"https://api.github.com/repos/poporul/rubyserial/stargazers","contributors_url":"https://api.github.com/repos/poporul/rubyserial/contributors","subscribers_url":"https://api.github.com/repos/poporul/rubyserial/subscribers","subscription_url":"https://api.github.com/repos/poporul/rubyserial/subscription","commits_url":"https://api.github.com/repos/poporul/rubyserial/commits{/sha}","git_commits_url":"https://api.github.com/repos/poporul/rubyserial/git/commits{/sha}","comments_url":"https://api.github.com/repos/poporul/rubyserial/comments{/number}","issue_comment_url":"https://api.github.com/repos/poporul/rubyserial/issues/comments{/number}","contents_url":"https://api.github.com/repos/poporul/rubyserial/contents/{+path}","compare_url":"https://api.github.com/repos/poporul/rubyserial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poporul/rubyserial/merges","archive_url":"https://api.github.com/repos/poporul/rubyserial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poporul/rubyserial/downloads","issues_url":"https://api.github.com/repos/poporul/rubyserial/issues{/number}","pulls_url":"https://api.github.com/repos/poporul/rubyserial/pulls{/number}","milestones_url":"https://api.github.com/repos/poporul/rubyserial/milestones{/number}","notifications_url":"https://api.github.com/repos/poporul/rubyserial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poporul/rubyserial/labels{/name}","releases_url":"https://api.github.com/repos/poporul/rubyserial/releases{/id}","created_at":"2015-08-04T20:16:47Z","updated_at":"2015-08-04T20:16:48Z","pushed_at":"2015-08-17T12:19:20Z","git_url":"git://github.com/poporul/rubyserial.git","ssh_url":"git@github.com:poporul/rubyserial.git","clone_url":"https://github.com/poporul/rubyserial.git","svn_url":"https://github.com/poporul/rubyserial","homepage":"https://rubygems.org/gems/rubyserial","size":366,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"hybridgroup:master","ref":"master","sha":"0ec0dc888440f9de20c3a96bccb509066d37369d","user":{"login":"hybridgroup","id":212109,"avatar_url":"https://avatars.githubusercontent.com/u/212109?v=3","gravatar_id":"","url":"https://api.github.com/users/hybridgroup","html_url":"https://github.com/hybridgroup","followers_url":"https://api.github.com/users/hybridgroup/followers","following_url":"https://api.github.com/users/hybridgroup/following{/other_user}","gists_url":"https://api.github.com/users/hybridgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/hybridgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hybridgroup/subscriptions","organizations_url":"https://api.github.com/users/hybridgroup/orgs","repos_url":"https://api.github.com/users/hybridgroup/repos","events_url":"https://api.github.com/users/hybridgroup/events{/privacy}","received_events_url":"https://api.github.com/users/hybridgroup/received_events","type":"Organization","site_admin":false},"repo":{"id":20902422,"name":"rubyserial","full_name":"hybridgroup/rubyserial","owner":{"login":"hybridgroup","id":212109,"avatar_url":"https://avatars.githubusercontent.com/u/212109?v=3","gravatar_id":"","url":"https://api.github.com/users/hybridgroup","html_url":"https://github.com/hybridgroup","followers_url":"https://api.github.com/users/hybridgroup/followers","following_url":"https://api.github.com/users/hybridgroup/following{/other_user}","gists_url":"https://api.github.com/users/hybridgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/hybridgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hybridgroup/subscriptions","organizations_url":"https://api.github.com/users/hybridgroup/orgs","repos_url":"https://api.github.com/users/hybridgroup/repos","events_url":"https://api.github.com/users/hybridgroup/events{/privacy}","received_events_url":"https://api.github.com/users/hybridgroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hybridgroup/rubyserial","description":"FFI Ruby library for RS-232 serial port communication","fork":false,"url":"https://api.github.com/repos/hybridgroup/rubyserial","forks_url":"https://api.github.com/repos/hybridgroup/rubyserial/forks","keys_url":"https://api.github.com/repos/hybridgroup/rubyserial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hybridgroup/rubyserial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hybridgroup/rubyserial/teams","hooks_url":"https://api.github.com/repos/hybridgroup/rubyserial/hooks","issue_events_url":"https://api.github.com/repos/hybridgroup/rubyserial/issues/events{/number}","events_url":"https://api.github.com/repos/hybridgroup/rubyserial/events","assignees_url":"https://api.github.com/repos/hybridgroup/rubyserial/assignees{/user}","branches_url":"https://api.github.com/repos/hybridgroup/rubyserial/branches{/branch}","tags_url":"https://api.github.com/repos/hybridgroup/rubyserial/tags","blobs_url":"https://api.github.com/repos/hybridgroup/rubyserial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hybridgroup/rubyserial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hybridgroup/rubyserial/git/refs{/sha}","trees_url":"https://api.github.com/repos/hybridgroup/rubyserial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hybridgroup/rubyserial/statuses/{sha}","languages_url":"https://api.github.com/repos/hybridgroup/rubyserial/languages","stargazers_url":"https://api.github.com/repos/hybridgroup/rubyserial/stargazers","contributors_url":"https://api.github.com/repos/hybridgroup/rubyserial/contributors","subscribers_url":"https://api.github.com/repos/hybridgroup/rubyserial/subscribers","subscription_url":"https://api.github.com/repos/hybridgroup/rubyserial/subscription","commits_url":"https://api.github.com/repos/hybridgroup/rubyserial/commits{/sha}","git_commits_url":"https://api.github.com/repos/hybridgroup/rubyserial/git/commits{/sha}","comments_url":"https://api.github.com/repos/hybridgroup/rubyserial/comments{/number}","issue_comment_url":"https://api.github.com/repos/hybridgroup/rubyserial/issues/comments{/number}","contents_url":"https://api.github.com/repos/hybridgroup/rubyserial/contents/{+path}","compare_url":"https://api.github.com/repos/hybridgroup/rubyserial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hybridgroup/rubyserial/merges","archive_url":"https://api.github.com/repos/hybridgroup/rubyserial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hybridgroup/rubyserial/downloads","issues_url":"https://api.github.com/repos/hybridgroup/rubyserial/issues{/number}","pulls_url":"https://api.github.com/repos/hybridgroup/rubyserial/pulls{/number}","milestones_url":"https://api.github.com/repos/hybridgroup/rubyserial/milestones{/number}","notifications_url":"https://api.github.com/repos/hybridgroup/rubyserial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hybridgroup/rubyserial/labels{/name}","releases_url":"https://api.github.com/repos/hybridgroup/rubyserial/releases{/id}","created_at":"2014-06-16T22:09:19Z","updated_at":"2015-08-08T12:58:20Z","pushed_at":"2015-08-04T21:05:57Z","git_url":"git://github.com/hybridgroup/rubyserial.git","ssh_url":"git@github.com:hybridgroup/rubyserial.git","clone_url":"https://github.com/hybridgroup/rubyserial.git","svn_url":"https://github.com/hybridgroup/rubyserial","homepage":"https://rubygems.org/gems/rubyserial","size":747,"stargazers_count":79,"watchers_count":79,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":5,"forks":14,"open_issues":5,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hybridgroup/rubyserial/pulls/30"},"html":{"href":"https://github.com/hybridgroup/rubyserial/pull/30"},"issue":{"href":"https://api.github.com/repos/hybridgroup/rubyserial/issues/30"},"comments":{"href":"https://api.github.com/repos/hybridgroup/rubyserial/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/hybridgroup/rubyserial/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/hybridgroup/rubyserial/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hybridgroup/rubyserial/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/hybridgroup/rubyserial/statuses/b673abdc9daeafd37929add32086de987875cbfb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":22,"deletions":50,"changed_files":1}}