{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/pulls/9","id":73130429,"html_url":"https://github.com/zaeleus/ffi-gphoto2/pull/9","diff_url":"https://github.com/zaeleus/ffi-gphoto2/pull/9.diff","patch_url":"https://github.com/zaeleus/ffi-gphoto2/pull/9.patch","issue_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/issues/9","number":9,"state":"open","locked":false,"title":"Guard against nonexistent Camera#config keys","user":{"login":"Sija","id":988,"avatar_url":"https://avatars.githubusercontent.com/u/988?v=3","gravatar_id":"","url":"https://api.github.com/users/Sija","html_url":"https://github.com/Sija","followers_url":"https://api.github.com/users/Sija/followers","following_url":"https://api.github.com/users/Sija/following{/other_user}","gists_url":"https://api.github.com/users/Sija/gists{/gist_id}","starred_url":"https://api.github.com/users/Sija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sija/subscriptions","organizations_url":"https://api.github.com/users/Sija/orgs","repos_url":"https://api.github.com/users/Sija/repos","events_url":"https://api.github.com/users/Sija/events{/privacy}","received_events_url":"https://api.github.com/users/Sija/received_events","type":"User","site_admin":false},"body":"Passing nonexistent key to `Camera#[]=` or `Camera#update` methods results in exception like one below:\r\n```\r\nNoMethodError: undefined method `value=' for nil:NilClass\r\nfrom /.../ffi-gphoto2-0.5.1/lib/gphoto2/camera/configuration.rb:73:in `[]='\r\n```","created_at":"2016-06-08T22:20:34Z","updated_at":"2016-06-08T22:20:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/pulls/9/commits","review_comments_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/pulls/9/comments","review_comment_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/issues/9/comments","statuses_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/statuses/d19d3019faee44a81f47d332ab0616b62ba234b1","head":{"label":"Sija:patch-1","ref":"patch-1","sha":"d19d3019faee44a81f47d332ab0616b62ba234b1","user":{"login":"Sija","id":988,"avatar_url":"https://avatars.githubusercontent.com/u/988?v=3","gravatar_id":"","url":"https://api.github.com/users/Sija","html_url":"https://github.com/Sija","followers_url":"https://api.github.com/users/Sija/followers","following_url":"https://api.github.com/users/Sija/following{/other_user}","gists_url":"https://api.github.com/users/Sija/gists{/gist_id}","starred_url":"https://api.github.com/users/Sija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sija/subscriptions","organizations_url":"https://api.github.com/users/Sija/orgs","repos_url":"https://api.github.com/users/Sija/repos","events_url":"https://api.github.com/users/Sija/events{/privacy}","received_events_url":"https://api.github.com/users/Sija/received_events","type":"User","site_admin":false},"repo":{"id":60734026,"name":"ffi-gphoto2","full_name":"Sija/ffi-gphoto2","owner":{"login":"Sija","id":988,"avatar_url":"https://avatars.githubusercontent.com/u/988?v=3","gravatar_id":"","url":"https://api.github.com/users/Sija","html_url":"https://github.com/Sija","followers_url":"https://api.github.com/users/Sija/followers","following_url":"https://api.github.com/users/Sija/following{/other_user}","gists_url":"https://api.github.com/users/Sija/gists{/gist_id}","starred_url":"https://api.github.com/users/Sija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sija/subscriptions","organizations_url":"https://api.github.com/users/Sija/orgs","repos_url":"https://api.github.com/users/Sija/repos","events_url":"https://api.github.com/users/Sija/events{/privacy}","received_events_url":"https://api.github.com/users/Sija/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sija/ffi-gphoto2","description":"A Ruby FFI for common functions in libgphoto2","fork":true,"url":"https://api.github.com/repos/Sija/ffi-gphoto2","forks_url":"https://api.github.com/repos/Sija/ffi-gphoto2/forks","keys_url":"https://api.github.com/repos/Sija/ffi-gphoto2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sija/ffi-gphoto2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sija/ffi-gphoto2/teams","hooks_url":"https://api.github.com/repos/Sija/ffi-gphoto2/hooks","issue_events_url":"https://api.github.com/repos/Sija/ffi-gphoto2/issues/events{/number}","events_url":"https://api.github.com/repos/Sija/ffi-gphoto2/events","assignees_url":"https://api.github.com/repos/Sija/ffi-gphoto2/assignees{/user}","branches_url":"https://api.github.com/repos/Sija/ffi-gphoto2/branches{/branch}","tags_url":"https://api.github.com/repos/Sija/ffi-gphoto2/tags","blobs_url":"https://api.github.com/repos/Sija/ffi-gphoto2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sija/ffi-gphoto2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sija/ffi-gphoto2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sija/ffi-gphoto2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sija/ffi-gphoto2/statuses/{sha}","languages_url":"https://api.github.com/repos/Sija/ffi-gphoto2/languages","stargazers_url":"https://api.github.com/repos/Sija/ffi-gphoto2/stargazers","contributors_url":"https://api.github.com/repos/Sija/ffi-gphoto2/contributors","subscribers_url":"https://api.github.com/repos/Sija/ffi-gphoto2/subscribers","subscription_url":"https://api.github.com/repos/Sija/ffi-gphoto2/subscription","commits_url":"https://api.github.com/repos/Sija/ffi-gphoto2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sija/ffi-gphoto2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sija/ffi-gphoto2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sija/ffi-gphoto2/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sija/ffi-gphoto2/contents/{+path}","compare_url":"https://api.github.com/repos/Sija/ffi-gphoto2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sija/ffi-gphoto2/merges","archive_url":"https://api.github.com/repos/Sija/ffi-gphoto2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sija/ffi-gphoto2/downloads","issues_url":"https://api.github.com/repos/Sija/ffi-gphoto2/issues{/number}","pulls_url":"https://api.github.com/repos/Sija/ffi-gphoto2/pulls{/number}","milestones_url":"https://api.github.com/repos/Sija/ffi-gphoto2/milestones{/number}","notifications_url":"https://api.github.com/repos/Sija/ffi-gphoto2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sija/ffi-gphoto2/labels{/name}","releases_url":"https://api.github.com/repos/Sija/ffi-gphoto2/releases{/id}","deployments_url":"https://api.github.com/repos/Sija/ffi-gphoto2/deployments","created_at":"2016-06-08T22:07:57Z","updated_at":"2016-06-08T22:07:58Z","pushed_at":"2016-06-08T22:17:35Z","git_url":"git://github.com/Sija/ffi-gphoto2.git","ssh_url":"git@github.com:Sija/ffi-gphoto2.git","clone_url":"https://github.com/Sija/ffi-gphoto2.git","svn_url":"https://github.com/Sija/ffi-gphoto2","homepage":null,"size":147,"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":"zaeleus:master","ref":"master","sha":"5d865e02dcebcd6baa7b56d992fe073e42037346","user":{"login":"zaeleus","id":191331,"avatar_url":"https://avatars.githubusercontent.com/u/191331?v=3","gravatar_id":"","url":"https://api.github.com/users/zaeleus","html_url":"https://github.com/zaeleus","followers_url":"https://api.github.com/users/zaeleus/followers","following_url":"https://api.github.com/users/zaeleus/following{/other_user}","gists_url":"https://api.github.com/users/zaeleus/gists{/gist_id}","starred_url":"https://api.github.com/users/zaeleus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaeleus/subscriptions","organizations_url":"https://api.github.com/users/zaeleus/orgs","repos_url":"https://api.github.com/users/zaeleus/repos","events_url":"https://api.github.com/users/zaeleus/events{/privacy}","received_events_url":"https://api.github.com/users/zaeleus/received_events","type":"User","site_admin":false},"repo":{"id":12067330,"name":"ffi-gphoto2","full_name":"zaeleus/ffi-gphoto2","owner":{"login":"zaeleus","id":191331,"avatar_url":"https://avatars.githubusercontent.com/u/191331?v=3","gravatar_id":"","url":"https://api.github.com/users/zaeleus","html_url":"https://github.com/zaeleus","followers_url":"https://api.github.com/users/zaeleus/followers","following_url":"https://api.github.com/users/zaeleus/following{/other_user}","gists_url":"https://api.github.com/users/zaeleus/gists{/gist_id}","starred_url":"https://api.github.com/users/zaeleus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaeleus/subscriptions","organizations_url":"https://api.github.com/users/zaeleus/orgs","repos_url":"https://api.github.com/users/zaeleus/repos","events_url":"https://api.github.com/users/zaeleus/events{/privacy}","received_events_url":"https://api.github.com/users/zaeleus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zaeleus/ffi-gphoto2","description":"A Ruby FFI for common functions in libgphoto2","fork":false,"url":"https://api.github.com/repos/zaeleus/ffi-gphoto2","forks_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/forks","keys_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/teams","hooks_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/hooks","issue_events_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/issues/events{/number}","events_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/events","assignees_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/assignees{/user}","branches_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/branches{/branch}","tags_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/tags","blobs_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/git/refs{/sha}","trees_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/statuses/{sha}","languages_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/languages","stargazers_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/stargazers","contributors_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/contributors","subscribers_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/subscribers","subscription_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/subscription","commits_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/commits{/sha}","git_commits_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/git/commits{/sha}","comments_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/comments{/number}","issue_comment_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/issues/comments{/number}","contents_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/contents/{+path}","compare_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/merges","archive_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/downloads","issues_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/issues{/number}","pulls_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/pulls{/number}","milestones_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/milestones{/number}","notifications_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/labels{/name}","releases_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/releases{/id}","deployments_url":"https://api.github.com/repos/zaeleus/ffi-gphoto2/deployments","created_at":"2013-08-12T22:02:38Z","updated_at":"2016-05-24T09:01:12Z","pushed_at":"2016-06-08T19:46:58Z","git_url":"git://github.com/zaeleus/ffi-gphoto2.git","ssh_url":"git@github.com:zaeleus/ffi-gphoto2.git","clone_url":"https://github.com/zaeleus/ffi-gphoto2.git","svn_url":"https://github.com/zaeleus/ffi-gphoto2","homepage":null,"size":146,"stargazers_count":13,"watchers_count":13,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zaeleus/ffi-gphoto2/pulls/9"},"html":{"href":"https://github.com/zaeleus/ffi-gphoto2/pull/9"},"issue":{"href":"https://api.github.com/repos/zaeleus/ffi-gphoto2/issues/9"},"comments":{"href":"https://api.github.com/repos/zaeleus/ffi-gphoto2/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/zaeleus/ffi-gphoto2/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/zaeleus/ffi-gphoto2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zaeleus/ffi-gphoto2/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/zaeleus/ffi-gphoto2/statuses/d19d3019faee44a81f47d332ab0616b62ba234b1"}},"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":"Sija"}}