{"action":"created","comment":{"url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments/54102702","id":54102702,"diff_hunk":"@@ -1,6 +1,15 @@\n class Job < ActiveRecord::Base\n   extend Enumerize\n-  STATUSES = [:draft, :published, :archived]\n-  enumerize :state, in: STATUSES\n+  STATES = %w(draft published archived)","path":"app/models/job.rb","position":5,"original_position":5,"commit_id":"259de43c7249c8364b87eaa20c7778955c233431","original_commit_id":"259de43c7249c8364b87eaa20c7778955c233431","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Freeze mutable objects assigned to constants.","created_at":"2016-02-25T14:35:37Z","updated_at":"2016-02-25T14:35:37Z","html_url":"https://github.com/montrealrb/Montreal.rb/pull/177#discussion_r54102702","pull_request_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/177","_links":{"self":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments/54102702"},"html":{"href":"https://github.com/montrealrb/Montreal.rb/pull/177#discussion_r54102702"},"pull_request":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/177"}}},"pull_request":{"url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/177","id":60687514,"html_url":"https://github.com/montrealrb/Montreal.rb/pull/177","diff_url":"https://github.com/montrealrb/Montreal.rb/pull/177.diff","patch_url":"https://github.com/montrealrb/Montreal.rb/pull/177.patch","issue_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/177","number":177,"state":"open","locked":false,"title":"Fix issues/93 job validation","user":{"login":"steakunderscore","id":92489,"avatar_url":"https://avatars.githubusercontent.com/u/92489?v=3","gravatar_id":"","url":"https://api.github.com/users/steakunderscore","html_url":"https://github.com/steakunderscore","followers_url":"https://api.github.com/users/steakunderscore/followers","following_url":"https://api.github.com/users/steakunderscore/following{/other_user}","gists_url":"https://api.github.com/users/steakunderscore/gists{/gist_id}","starred_url":"https://api.github.com/users/steakunderscore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steakunderscore/subscriptions","organizations_url":"https://api.github.com/users/steakunderscore/orgs","repos_url":"https://api.github.com/users/steakunderscore/repos","events_url":"https://api.github.com/users/steakunderscore/events{/privacy}","received_events_url":"https://api.github.com/users/steakunderscore/received_events","type":"User","site_admin":false},"body":"This is the patch written by @AndyObtiva rebased.","created_at":"2016-02-25T14:35:31Z","updated_at":"2016-02-25T14:35:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e7c7fd6a696db88bb6df790ecadf065567c8514","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/177/commits","review_comments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/177/comments","review_comment_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/177/comments","statuses_url":"https://api.github.com/repos/montrealrb/Montreal.rb/statuses/259de43c7249c8364b87eaa20c7778955c233431","head":{"label":"steakunderscore:jobs-validation","ref":"jobs-validation","sha":"259de43c7249c8364b87eaa20c7778955c233431","user":{"login":"steakunderscore","id":92489,"avatar_url":"https://avatars.githubusercontent.com/u/92489?v=3","gravatar_id":"","url":"https://api.github.com/users/steakunderscore","html_url":"https://github.com/steakunderscore","followers_url":"https://api.github.com/users/steakunderscore/followers","following_url":"https://api.github.com/users/steakunderscore/following{/other_user}","gists_url":"https://api.github.com/users/steakunderscore/gists{/gist_id}","starred_url":"https://api.github.com/users/steakunderscore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steakunderscore/subscriptions","organizations_url":"https://api.github.com/users/steakunderscore/orgs","repos_url":"https://api.github.com/users/steakunderscore/repos","events_url":"https://api.github.com/users/steakunderscore/events{/privacy}","received_events_url":"https://api.github.com/users/steakunderscore/received_events","type":"User","site_admin":false},"repo":{"id":52181649,"name":"Montreal.rb","full_name":"steakunderscore/Montreal.rb","owner":{"login":"steakunderscore","id":92489,"avatar_url":"https://avatars.githubusercontent.com/u/92489?v=3","gravatar_id":"","url":"https://api.github.com/users/steakunderscore","html_url":"https://github.com/steakunderscore","followers_url":"https://api.github.com/users/steakunderscore/followers","following_url":"https://api.github.com/users/steakunderscore/following{/other_user}","gists_url":"https://api.github.com/users/steakunderscore/gists{/gist_id}","starred_url":"https://api.github.com/users/steakunderscore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steakunderscore/subscriptions","organizations_url":"https://api.github.com/users/steakunderscore/orgs","repos_url":"https://api.github.com/users/steakunderscore/repos","events_url":"https://api.github.com/users/steakunderscore/events{/privacy}","received_events_url":"https://api.github.com/users/steakunderscore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/steakunderscore/Montreal.rb","description":"The new Montreal.rb website","fork":true,"url":"https://api.github.com/repos/steakunderscore/Montreal.rb","forks_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/forks","keys_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/teams","hooks_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/hooks","issue_events_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/issues/events{/number}","events_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/events","assignees_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/assignees{/user}","branches_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/branches{/branch}","tags_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/tags","blobs_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/statuses/{sha}","languages_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/languages","stargazers_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/stargazers","contributors_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/contributors","subscribers_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/subscribers","subscription_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/subscription","commits_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/contents/{+path}","compare_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/merges","archive_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/downloads","issues_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/issues{/number}","pulls_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/pulls{/number}","milestones_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/milestones{/number}","notifications_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/labels{/name}","releases_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/releases{/id}","deployments_url":"https://api.github.com/repos/steakunderscore/Montreal.rb/deployments","created_at":"2016-02-20T23:48:39Z","updated_at":"2016-02-20T23:48:39Z","pushed_at":"2016-02-24T19:07:50Z","git_url":"git://github.com/steakunderscore/Montreal.rb.git","ssh_url":"git@github.com:steakunderscore/Montreal.rb.git","clone_url":"https://github.com/steakunderscore/Montreal.rb.git","svn_url":"https://github.com/steakunderscore/Montreal.rb","homepage":null,"size":403,"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":"montrealrb:master","ref":"master","sha":"88dcb10c01de9cc590a94c06f63f2c7db59db3e3","user":{"login":"montrealrb","id":216680,"avatar_url":"https://avatars.githubusercontent.com/u/216680?v=3","gravatar_id":"","url":"https://api.github.com/users/montrealrb","html_url":"https://github.com/montrealrb","followers_url":"https://api.github.com/users/montrealrb/followers","following_url":"https://api.github.com/users/montrealrb/following{/other_user}","gists_url":"https://api.github.com/users/montrealrb/gists{/gist_id}","starred_url":"https://api.github.com/users/montrealrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montrealrb/subscriptions","organizations_url":"https://api.github.com/users/montrealrb/orgs","repos_url":"https://api.github.com/users/montrealrb/repos","events_url":"https://api.github.com/users/montrealrb/events{/privacy}","received_events_url":"https://api.github.com/users/montrealrb/received_events","type":"Organization","site_admin":false},"repo":{"id":10808048,"name":"Montreal.rb","full_name":"montrealrb/Montreal.rb","owner":{"login":"montrealrb","id":216680,"avatar_url":"https://avatars.githubusercontent.com/u/216680?v=3","gravatar_id":"","url":"https://api.github.com/users/montrealrb","html_url":"https://github.com/montrealrb","followers_url":"https://api.github.com/users/montrealrb/followers","following_url":"https://api.github.com/users/montrealrb/following{/other_user}","gists_url":"https://api.github.com/users/montrealrb/gists{/gist_id}","starred_url":"https://api.github.com/users/montrealrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montrealrb/subscriptions","organizations_url":"https://api.github.com/users/montrealrb/orgs","repos_url":"https://api.github.com/users/montrealrb/repos","events_url":"https://api.github.com/users/montrealrb/events{/privacy}","received_events_url":"https://api.github.com/users/montrealrb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/montrealrb/Montreal.rb","description":"The new Montreal.rb website","fork":false,"url":"https://api.github.com/repos/montrealrb/Montreal.rb","forks_url":"https://api.github.com/repos/montrealrb/Montreal.rb/forks","keys_url":"https://api.github.com/repos/montrealrb/Montreal.rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/montrealrb/Montreal.rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/montrealrb/Montreal.rb/teams","hooks_url":"https://api.github.com/repos/montrealrb/Montreal.rb/hooks","issue_events_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/events{/number}","events_url":"https://api.github.com/repos/montrealrb/Montreal.rb/events","assignees_url":"https://api.github.com/repos/montrealrb/Montreal.rb/assignees{/user}","branches_url":"https://api.github.com/repos/montrealrb/Montreal.rb/branches{/branch}","tags_url":"https://api.github.com/repos/montrealrb/Montreal.rb/tags","blobs_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/montrealrb/Montreal.rb/statuses/{sha}","languages_url":"https://api.github.com/repos/montrealrb/Montreal.rb/languages","stargazers_url":"https://api.github.com/repos/montrealrb/Montreal.rb/stargazers","contributors_url":"https://api.github.com/repos/montrealrb/Montreal.rb/contributors","subscribers_url":"https://api.github.com/repos/montrealrb/Montreal.rb/subscribers","subscription_url":"https://api.github.com/repos/montrealrb/Montreal.rb/subscription","commits_url":"https://api.github.com/repos/montrealrb/Montreal.rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/montrealrb/Montreal.rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/montrealrb/Montreal.rb/contents/{+path}","compare_url":"https://api.github.com/repos/montrealrb/Montreal.rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/montrealrb/Montreal.rb/merges","archive_url":"https://api.github.com/repos/montrealrb/Montreal.rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/montrealrb/Montreal.rb/downloads","issues_url":"https://api.github.com/repos/montrealrb/Montreal.rb/issues{/number}","pulls_url":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls{/number}","milestones_url":"https://api.github.com/repos/montrealrb/Montreal.rb/milestones{/number}","notifications_url":"https://api.github.com/repos/montrealrb/Montreal.rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/montrealrb/Montreal.rb/labels{/name}","releases_url":"https://api.github.com/repos/montrealrb/Montreal.rb/releases{/id}","deployments_url":"https://api.github.com/repos/montrealrb/Montreal.rb/deployments","created_at":"2013-06-19T23:11:36Z","updated_at":"2016-02-04T19:41:03Z","pushed_at":"2016-02-25T14:35:31Z","git_url":"git://github.com/montrealrb/Montreal.rb.git","ssh_url":"git@github.com:montrealrb/Montreal.rb.git","clone_url":"https://github.com/montrealrb/Montreal.rb.git","svn_url":"https://github.com/montrealrb/Montreal.rb","homepage":null,"size":491,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":57,"forks":25,"open_issues":57,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/177"},"html":{"href":"https://github.com/montrealrb/Montreal.rb/pull/177"},"issue":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/177"},"comments":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/montrealrb/Montreal.rb/statuses/259de43c7249c8364b87eaa20c7778955c233431"}}}}