{"action":"opened","number":4085,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/4085","id":96666299,"html_url":"https://github.com/theforeman/foreman/pull/4085","diff_url":"https://github.com/theforeman/foreman/pull/4085.diff","patch_url":"https://github.com/theforeman/foreman/pull/4085.patch","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/4085","number":4085,"state":"open","locked":false,"title":"fixes #3158 - Remove rescues from try calls in helper file","user":{"login":"kgaikwad","id":6470528,"avatar_url":"https://avatars.githubusercontent.com/u/6470528?v=3","gravatar_id":"","url":"https://api.github.com/users/kgaikwad","html_url":"https://github.com/kgaikwad","followers_url":"https://api.github.com/users/kgaikwad/followers","following_url":"https://api.github.com/users/kgaikwad/following{/other_user}","gists_url":"https://api.github.com/users/kgaikwad/gists{/gist_id}","starred_url":"https://api.github.com/users/kgaikwad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgaikwad/subscriptions","organizations_url":"https://api.github.com/users/kgaikwad/orgs","repos_url":"https://api.github.com/users/kgaikwad/repos","events_url":"https://api.github.com/users/kgaikwad/events{/privacy}","received_events_url":"https://api.github.com/users/kgaikwad/received_events","type":"User","site_admin":false},"body":"In app/helpers/compute_resources_vms_helper.rb, we added rescues to\r\ntry calls as the method may not exist with older version of rails.\r\nNow, we have updated rails to 4.x.\r\nIn this commit removed rescue block as Rails 4.0's try method\r\nwill return nil instead of throwing an error,","created_at":"2016-12-06T06:05:44Z","updated_at":"2016-12-06T06:05:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman/pulls/4085/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman/pulls/4085/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/4085/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/d7273b6fadece4c55f8ebb12fabc4b3f6d785162","head":{"label":"kgaikwad:3158-remove-rescue-from-try-call-in-helper-file","ref":"3158-remove-rescue-from-try-call-in-helper-file","sha":"d7273b6fadece4c55f8ebb12fabc4b3f6d785162","user":{"login":"kgaikwad","id":6470528,"avatar_url":"https://avatars.githubusercontent.com/u/6470528?v=3","gravatar_id":"","url":"https://api.github.com/users/kgaikwad","html_url":"https://github.com/kgaikwad","followers_url":"https://api.github.com/users/kgaikwad/followers","following_url":"https://api.github.com/users/kgaikwad/following{/other_user}","gists_url":"https://api.github.com/users/kgaikwad/gists{/gist_id}","starred_url":"https://api.github.com/users/kgaikwad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgaikwad/subscriptions","organizations_url":"https://api.github.com/users/kgaikwad/orgs","repos_url":"https://api.github.com/users/kgaikwad/repos","events_url":"https://api.github.com/users/kgaikwad/events{/privacy}","received_events_url":"https://api.github.com/users/kgaikwad/received_events","type":"User","site_admin":false},"repo":{"id":65294270,"name":"foreman","full_name":"kgaikwad/foreman","owner":{"login":"kgaikwad","id":6470528,"avatar_url":"https://avatars.githubusercontent.com/u/6470528?v=3","gravatar_id":"","url":"https://api.github.com/users/kgaikwad","html_url":"https://github.com/kgaikwad","followers_url":"https://api.github.com/users/kgaikwad/followers","following_url":"https://api.github.com/users/kgaikwad/following{/other_user}","gists_url":"https://api.github.com/users/kgaikwad/gists{/gist_id}","starred_url":"https://api.github.com/users/kgaikwad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgaikwad/subscriptions","organizations_url":"https://api.github.com/users/kgaikwad/orgs","repos_url":"https://api.github.com/users/kgaikwad/repos","events_url":"https://api.github.com/users/kgaikwad/events{/privacy}","received_events_url":"https://api.github.com/users/kgaikwad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kgaikwad/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/kgaikwad/foreman","forks_url":"https://api.github.com/repos/kgaikwad/foreman/forks","keys_url":"https://api.github.com/repos/kgaikwad/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kgaikwad/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kgaikwad/foreman/teams","hooks_url":"https://api.github.com/repos/kgaikwad/foreman/hooks","issue_events_url":"https://api.github.com/repos/kgaikwad/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/kgaikwad/foreman/events","assignees_url":"https://api.github.com/repos/kgaikwad/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/kgaikwad/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/kgaikwad/foreman/tags","blobs_url":"https://api.github.com/repos/kgaikwad/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kgaikwad/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kgaikwad/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/kgaikwad/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kgaikwad/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/kgaikwad/foreman/languages","stargazers_url":"https://api.github.com/repos/kgaikwad/foreman/stargazers","contributors_url":"https://api.github.com/repos/kgaikwad/foreman/contributors","subscribers_url":"https://api.github.com/repos/kgaikwad/foreman/subscribers","subscription_url":"https://api.github.com/repos/kgaikwad/foreman/subscription","commits_url":"https://api.github.com/repos/kgaikwad/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/kgaikwad/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/kgaikwad/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/kgaikwad/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/kgaikwad/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/kgaikwad/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kgaikwad/foreman/merges","archive_url":"https://api.github.com/repos/kgaikwad/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kgaikwad/foreman/downloads","issues_url":"https://api.github.com/repos/kgaikwad/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/kgaikwad/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/kgaikwad/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/kgaikwad/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kgaikwad/foreman/labels{/name}","releases_url":"https://api.github.com/repos/kgaikwad/foreman/releases{/id}","deployments_url":"https://api.github.com/repos/kgaikwad/foreman/deployments","created_at":"2016-08-09T12:47:01Z","updated_at":"2016-08-09T12:47:07Z","pushed_at":"2016-12-06T06:05:06Z","git_url":"git://github.com/kgaikwad/foreman.git","ssh_url":"git@github.com:kgaikwad/foreman.git","clone_url":"https://github.com/kgaikwad/foreman.git","svn_url":"https://github.com/kgaikwad/foreman","homepage":"http://theforeman.org","size":52302,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"theforeman:develop","ref":"develop","sha":"f8a2b33ed9f23694bbaa1a2a55f1e8979bc769df","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":258750,"name":"foreman","full_name":"theforeman/foreman","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/foreman","description":"an application that automates the lifecycle of servers ","fork":false,"url":"https://api.github.com/repos/theforeman/foreman","forks_url":"https://api.github.com/repos/theforeman/foreman/forks","keys_url":"https://api.github.com/repos/theforeman/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman/events","assignees_url":"https://api.github.com/repos/theforeman/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman/merges","archive_url":"https://api.github.com/repos/theforeman/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/foreman/deployments","created_at":"2009-07-23T15:07:00Z","updated_at":"2016-12-05T22:19:49Z","pushed_at":"2016-12-05T20:41:28Z","git_url":"git://github.com/theforeman/foreman.git","ssh_url":"git@github.com:theforeman/foreman.git","clone_url":"https://github.com/theforeman/foreman.git","svn_url":"https://github.com/theforeman/foreman","homepage":"http://theforeman.org","size":73439,"stargazers_count":1118,"watchers_count":1118,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":577,"mirror_url":null,"open_issues_count":84,"forks":577,"open_issues":84,"watchers":1118,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/4085"},"html":{"href":"https://github.com/theforeman/foreman/pull/4085"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman/issues/4085"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman/issues/4085/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/4085/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/4085/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman/statuses/d7273b6fadece4c55f8ebb12fabc4b3f6d785162"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"kgaikwad"}}