GitHub PullRequestEvent at 2014-01-27 22:35:45
Repository: ridley
Actor: KAllan357
Payload: {"action":"opened","number":244,"pull_request":{"url":"https://api.github.com/repos/RiotGames/ridley/pulls/244","id":11924160,"html_url":"https://github.com/RiotGames/ridley/pull/244","diff_url":"https://github.com/RiotGames/ridley/pull/244.diff","patch_url":"https://github.com/RiotGames/ridley/pull/244.patch","issue_url":"https://api.github.com/repos/RiotGames/ridley/issues/244","number":244,"state":"open","title":"Fix an error with deleting deeply nested attributes","user":{"login":"KAllan357","id":221009,"avatar_url":"https://gravatar.com/avatar/989acc29fb217c62d3bcb83bf889b60c?d=https%3A%2F%2Fidenticons.github.com%2F557e8a0e3cfd8b4c71d8557a63c7088f.png&r=x","gravatar_id":"989acc29fb217c62d3bcb83bf889b60c","url":"https://api.github.com/users/KAllan357","html_url":"https://github.com/KAllan357","followers_url":"https://api.github.com/users/KAllan357/followers","following_url":"https://api.github.com/users/KAllan357/following{/other_user}","gists_url":"https://api.github.com/users/KAllan357/gists{/gist_id}","starred_url":"https://api.github.com/users/KAllan357/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KAllan357/subscriptions","organizations_url":"https://api.github.com/users/KAllan357/orgs","repos_url":"https://api.github.com/users/KAllan357/repos","events_url":"https://api.github.com/users/KAllan357/events{/privacy}","received_events_url":"https://api.github.com/users/KAllan357/received_events","type":"User","site_admin":false},"body":"In certain cases the dotted-path hash traversal used for deleting nested attribute keys can turn up a nil Hash. This case was untested.\r\n\r\nThe error\r\n\r\n```\r\nNoMethodError:\r\n       undefined method `[]' for nil:NilClass\r\n```\r\n\r\nShould be fixed by not attempting to access a nil as if it were an object that responds well to `[]`","created_at":"2014-01-27T22:35:44Z","updated_at":"2014-01-27T22:35:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RiotGames/ridley/pulls/244/commits","review_comments_url":"https://api.github.com/repos/RiotGames/ridley/pulls/244/comments","review_comment_url":"/repos/RiotGames/ridley/pulls/comments/{number}","comments_url":"https://api.github.com/repos/RiotGames/ridley/issues/244/comments","statuses_url":"https://api.github.com/repos/RiotGames/ridley/statuses/a6a4fdcbdf062c7c524f586a5ff39f86993d0493","head":{"label":"RiotGames:nested_nil_hashes","ref":"nested_nil_hashes","sha":"a6a4fdcbdf062c7c524f586a5ff39f86993d0493","user":{"login":"RiotGames","id":910843,"avatar_url":"https://gravatar.com/avatar/b1774727effe5774e7b00a1b51db1f51?d=https%3A%2F%2Fidenticons.github.com%2Fb59d9b1129578012a2e2b6674d72daca.png&r=x","gravatar_id":"b1774727effe5774e7b00a1b51db1f51","url":"https://api.github.com/users/RiotGames","html_url":"https://github.com/RiotGames","followers_url":"https://api.github.com/users/RiotGames/followers","following_url":"https://api.github.com/users/RiotGames/following{/other_user}","gists_url":"https://api.github.com/users/RiotGames/gists{/gist_id}","starred_url":"https://api.github.com/users/RiotGames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RiotGames/subscriptions","organizations_url":"https://api.github.com/users/RiotGames/orgs","repos_url":"https://api.github.com/users/RiotGames/repos","events_url":"https://api.github.com/users/RiotGames/events{/privacy}","received_events_url":"https://api.github.com/users/RiotGames/received_events","type":"Organization","site_admin":false},"repo":{"id":5350599,"name":"ridley","full_name":"RiotGames/ridley","owner":{"login":"RiotGames","id":910843,"avatar_url":"https://gravatar.com/avatar/b1774727effe5774e7b00a1b51db1f51?d=https%3A%2F%2Fidenticons.github.com%2Fb59d9b1129578012a2e2b6674d72daca.png&r=x","gravatar_id":"b1774727effe5774e7b00a1b51db1f51","url":"https://api.github.com/users/RiotGames","html_url":"https://github.com/RiotGames","followers_url":"https://api.github.com/users/RiotGames/followers","following_url":"https://api.github.com/users/RiotGames/following{/other_user}","gists_url":"https://api.github.com/users/RiotGames/gists{/gist_id}","starred_url":"https://api.github.com/users/RiotGames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RiotGames/subscriptions","organizations_url":"https://api.github.com/users/RiotGames/orgs","repos_url":"https://api.github.com/users/RiotGames/repos","events_url":"https://api.github.com/users/RiotGames/events{/privacy}","received_events_url":"https://api.github.com/users/RiotGames/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RiotGames/ridley","description":"A reliable Chef API client with a clean syntax","fork":false,"url":"https://api.github.com/repos/RiotGames/ridley","forks_url":"https://api.github.com/repos/RiotGames/ridley/forks","keys_url":"https://api.github.com/repos/RiotGames/ridley/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RiotGames/ridley/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RiotGames/ridley/teams","hooks_url":"https://api.github.com/repos/RiotGames/ridley/hooks","issue_events_url":"https://api.github.com/repos/RiotGames/ridley/issues/events{/number}","events_url":"https://api.github.com/repos/RiotGames/ridley/events","assignees_url":"https://api.github.com/repos/RiotGames/ridley/assignees{/user}","branches_url":"https://api.github.com/repos/RiotGames/ridley/branches{/branch}","tags_url":"https://api.github.com/repos/RiotGames/ridley/tags","blobs_url":"https://api.github.com/repos/RiotGames/ridley/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RiotGames/ridley/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RiotGames/ridley/git/refs{/sha}","trees_url":"https://api.github.com/repos/RiotGames/ridley/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RiotGames/ridley/statuses/{sha}","languages_url":"https://api.github.com/repos/RiotGames/ridley/languages","stargazers_url":"https://api.github.com/repos/RiotGames/ridley/stargazers","contributors_url":"https://api.github.com/repos/RiotGames/ridley/contributors","subscribers_url":"https://api.github.com/repos/RiotGames/ridley/subscribers","subscription_url":"https://api.github.com/repos/RiotGames/ridley/subscription","commits_url":"https://api.github.com/repos/RiotGames/ridley/commits{/sha}","git_commits_url":"https://api.github.com/repos/RiotGames/ridley/git/commits{/sha}","comments_url":"https://api.github.com/repos/RiotGames/ridley/comments{/number}","issue_comment_url":"https://api.github.com/repos/RiotGames/ridley/issues/comments/{number}","contents_url":"https://api.github.com/repos/RiotGames/ridley/contents/{+path}","compare_url":"https://api.github.com/repos/RiotGames/ridley/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RiotGames/ridley/merges","archive_url":"https://api.github.com/repos/RiotGames/ridley/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RiotGames/ridley/downloads","issues_url":"https://api.github.com/repos/RiotGames/ridley/issues{/number}","pulls_url":"https://api.github.com/repos/RiotGames/ridley/pulls{/number}","milestones_url":"https://api.github.com/repos/RiotGames/ridley/milestones{/number}","notifications_url":"https://api.github.com/repos/RiotGames/ridley/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RiotGames/ridley/labels{/name}","releases_url":"https://api.github.com/repos/RiotGames/ridley/releases{/id}","created_at":"2012-08-09T03:14:23Z","updated_at":"2014-01-27T22:35:45Z","pushed_at":"2014-01-27T22:30:06Z","git_url":"git://github.com/RiotGames/ridley.git","ssh_url":"git@github.com:RiotGames/ridley.git","clone_url":"https://github.com/RiotGames/ridley.git","svn_url":"https://github.com/RiotGames/ridley","homepage":"","size":3495,"stargazers_count":134,"watchers_count":134,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":49,"mirror_url":null,"open_issues_count":19,"forks":49,"open_issues":19,"watchers":134,"default_branch":"master","master_branch":"master"}},"base":{"label":"RiotGames:master","ref":"master","sha":"4a3d999abd7e1582899a66facf463038db64c8e3","user":{"login":"RiotGames","id":910843,"avatar_url":"https://gravatar.com/avatar/b1774727effe5774e7b00a1b51db1f51?d=https%3A%2F%2Fidenticons.github.com%2Fb59d9b1129578012a2e2b6674d72daca.png&r=x","gravatar_id":"b1774727effe5774e7b00a1b51db1f51","url":"https://api.github.com/users/RiotGames","html_url":"https://github.com/RiotGames","followers_url":"https://api.github.com/users/RiotGames/followers","following_url":"https://api.github.com/users/RiotGames/following{/other_user}","gists_url":"https://api.github.com/users/RiotGames/gists{/gist_id}","starred_url":"https://api.github.com/users/RiotGames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RiotGames/subscriptions","organizations_url":"https://api.github.com/users/RiotGames/orgs","repos_url":"https://api.github.com/users/RiotGames/repos","events_url":"https://api.github.com/users/RiotGames/events{/privacy}","received_events_url":"https://api.github.com/users/RiotGames/received_events","type":"Organization","site_admin":false},"repo":{"id":5350599,"name":"ridley","full_name":"RiotGames/ridley","owner":{"login":"RiotGames","id":910843,"avatar_url":"https://gravatar.com/avatar/b1774727effe5774e7b00a1b51db1f51?d=https%3A%2F%2Fidenticons.github.com%2Fb59d9b1129578012a2e2b6674d72daca.png&r=x","gravatar_id":"b1774727effe5774e7b00a1b51db1f51","url":"https://api.github.com/users/RiotGames","html_url":"https://github.com/RiotGames","followers_url":"https://api.github.com/users/RiotGames/followers","following_url":"https://api.github.com/users/RiotGames/following{/other_user}","gists_url":"https://api.github.com/users/RiotGames/gists{/gist_id}","starred_url":"https://api.github.com/users/RiotGames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RiotGames/subscriptions","organizations_url":"https://api.github.com/users/RiotGames/orgs","repos_url":"https://api.github.com/users/RiotGames/repos","events_url":"https://api.github.com/users/RiotGames/events{/privacy}","received_events_url":"https://api.github.com/users/RiotGames/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RiotGames/ridley","description":"A reliable Chef API client with a clean syntax","fork":false,"url":"https://api.github.com/repos/RiotGames/ridley","forks_url":"https://api.github.com/repos/RiotGames/ridley/forks","keys_url":"https://api.github.com/repos/RiotGames/ridley/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RiotGames/ridley/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RiotGames/ridley/teams","hooks_url":"https://api.github.com/repos/RiotGames/ridley/hooks","issue_events_url":"https://api.github.com/repos/RiotGames/ridley/issues/events{/number}","events_url":"https://api.github.com/repos/RiotGames/ridley/events","assignees_url":"https://api.github.com/repos/RiotGames/ridley/assignees{/user}","branches_url":"https://api.github.com/repos/RiotGames/ridley/branches{/branch}","tags_url":"https://api.github.com/repos/RiotGames/ridley/tags","blobs_url":"https://api.github.com/repos/RiotGames/ridley/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RiotGames/ridley/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RiotGames/ridley/git/refs{/sha}","trees_url":"https://api.github.com/repos/RiotGames/ridley/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RiotGames/ridley/statuses/{sha}","languages_url":"https://api.github.com/repos/RiotGames/ridley/languages","stargazers_url":"https://api.github.com/repos/RiotGames/ridley/stargazers","contributors_url":"https://api.github.com/repos/RiotGames/ridley/contributors","subscribers_url":"https://api.github.com/repos/RiotGames/ridley/subscribers","subscription_url":"https://api.github.com/repos/RiotGames/ridley/subscription","commits_url":"https://api.github.com/repos/RiotGames/ridley/commits{/sha}","git_commits_url":"https://api.github.com/repos/RiotGames/ridley/git/commits{/sha}","comments_url":"https://api.github.com/repos/RiotGames/ridley/comments{/number}","issue_comment_url":"https://api.github.com/repos/RiotGames/ridley/issues/comments/{number}","contents_url":"https://api.github.com/repos/RiotGames/ridley/contents/{+path}","compare_url":"https://api.github.com/repos/RiotGames/ridley/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RiotGames/ridley/merges","archive_url":"https://api.github.com/repos/RiotGames/ridley/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RiotGames/ridley/downloads","issues_url":"https://api.github.com/repos/RiotGames/ridley/issues{/number}","pulls_url":"https://api.github.com/repos/RiotGames/ridley/pulls{/number}","milestones_url":"https://api.github.com/repos/RiotGames/ridley/milestones{/number}","notifications_url":"https://api.github.com/repos/RiotGames/ridley/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RiotGames/ridley/labels{/name}","releases_url":"https://api.github.com/repos/RiotGames/ridley/releases{/id}","created_at":"2012-08-09T03:14:23Z","updated_at":"2014-01-27T22:35:45Z","pushed_at":"2014-01-27T22:30:06Z","git_url":"git://github.com/RiotGames/ridley.git","ssh_url":"git@github.com:RiotGames/ridley.git","clone_url":"https://github.com/RiotGames/ridley.git","svn_url":"https://github.com/RiotGames/ridley","homepage":"","size":3495,"stargazers_count":134,"watchers_count":134,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":49,"mirror_url":null,"open_issues_count":19,"forks":49,"open_issues":19,"watchers":134,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RiotGames/ridley/pulls/244"},"html":{"href":"https://github.com/RiotGames/ridley/pull/244"},"issue":{"href":"https://api.github.com/repos/RiotGames/ridley/issues/244"},"comments":{"href":"https://api.github.com/repos/RiotGames/ridley/issues/244/comments"},"review_comments":{"href":"https://api.github.com/repos/RiotGames/ridley/pulls/244/comments"},"commits":{"href":"https://api.github.com/repos/RiotGames/ridley/pulls/244/commits"},"statuses":{"href":"https://api.github.com/repos/RiotGames/ridley/statuses/a6a4fdcbdf062c7c524f586a5ff39f86993d0493"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":14,"deletions":1,"changed_files":2}}