{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/comments/66372376","id":66372376,"diff_hunk":"@@ -126,7 +126,7 @@ def self.statuses; end\n         end\n \n         it \"rejects a record where the attribute is not defined as an enum\" do\n-          message = %{Expected #{record_with_hash_values.class} to define :record_with_hash_values as an enum with {:active=>5, :archived=>10} and store the value in a column with an integer type}\n+          message = %{Expected #{record_with_hash_values.class} to define :record_with_hash_values as an enum with {:active=>5, :archived=>10}}","path":"spec/unit/shoulda/matchers/active_record/define_enum_for_matcher_spec.rb","position":77,"original_position":77,"commit_id":"09cbbede4898aef5f88390324e400f11cfee75be","original_commit_id":"09cbbede4898aef5f88390324e400f11cfee75be","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":"Line is too long. [143/80]","created_at":"2016-06-09T01:56:38Z","updated_at":"2016-06-09T01:56:38Z","html_url":"https://github.com/thoughtbot/shoulda-matchers/pull/932#discussion_r66372376","pull_request_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/932","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/comments/66372376"},"html":{"href":"https://github.com/thoughtbot/shoulda-matchers/pull/932#discussion_r66372376"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/932"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/932","id":73147799,"html_url":"https://github.com/thoughtbot/shoulda-matchers/pull/932","diff_url":"https://github.com/thoughtbot/shoulda-matchers/pull/932.diff","patch_url":"https://github.com/thoughtbot/shoulda-matchers/pull/932.patch","issue_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/932","number":932,"state":"open","locked":false,"title":"Fix enums with hashes from #912","user":{"login":"guilhermearaujo","id":1733143,"avatar_url":"https://avatars.githubusercontent.com/u/1733143?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhermearaujo","html_url":"https://github.com/guilhermearaujo","followers_url":"https://api.github.com/users/guilhermearaujo/followers","following_url":"https://api.github.com/users/guilhermearaujo/following{/other_user}","gists_url":"https://api.github.com/users/guilhermearaujo/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhermearaujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhermearaujo/subscriptions","organizations_url":"https://api.github.com/users/guilhermearaujo/orgs","repos_url":"https://api.github.com/users/guilhermearaujo/repos","events_url":"https://api.github.com/users/guilhermearaujo/events{/privacy}","received_events_url":"https://api.github.com/users/guilhermearaujo/received_events","type":"User","site_admin":false},"body":"Because if you are using a hash instead of a list, you probably should not be using integers as values.","created_at":"2016-06-09T01:56:35Z","updated_at":"2016-06-09T01:56:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e94686baf92fc3a0d68bff82dc5db19739d6a1e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/932/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/932/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/932/comments","statuses_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/statuses/09cbbede4898aef5f88390324e400f11cfee75be","head":{"label":"guilhermearaujo:fix-enum","ref":"fix-enum","sha":"09cbbede4898aef5f88390324e400f11cfee75be","user":{"login":"guilhermearaujo","id":1733143,"avatar_url":"https://avatars.githubusercontent.com/u/1733143?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhermearaujo","html_url":"https://github.com/guilhermearaujo","followers_url":"https://api.github.com/users/guilhermearaujo/followers","following_url":"https://api.github.com/users/guilhermearaujo/following{/other_user}","gists_url":"https://api.github.com/users/guilhermearaujo/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhermearaujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhermearaujo/subscriptions","organizations_url":"https://api.github.com/users/guilhermearaujo/orgs","repos_url":"https://api.github.com/users/guilhermearaujo/repos","events_url":"https://api.github.com/users/guilhermearaujo/events{/privacy}","received_events_url":"https://api.github.com/users/guilhermearaujo/received_events","type":"User","site_admin":false},"repo":{"id":60742551,"name":"shoulda-matchers","full_name":"guilhermearaujo/shoulda-matchers","owner":{"login":"guilhermearaujo","id":1733143,"avatar_url":"https://avatars.githubusercontent.com/u/1733143?v=3","gravatar_id":"","url":"https://api.github.com/users/guilhermearaujo","html_url":"https://github.com/guilhermearaujo","followers_url":"https://api.github.com/users/guilhermearaujo/followers","following_url":"https://api.github.com/users/guilhermearaujo/following{/other_user}","gists_url":"https://api.github.com/users/guilhermearaujo/gists{/gist_id}","starred_url":"https://api.github.com/users/guilhermearaujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guilhermearaujo/subscriptions","organizations_url":"https://api.github.com/users/guilhermearaujo/orgs","repos_url":"https://api.github.com/users/guilhermearaujo/repos","events_url":"https://api.github.com/users/guilhermearaujo/events{/privacy}","received_events_url":"https://api.github.com/users/guilhermearaujo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guilhermearaujo/shoulda-matchers","description":"Collection of testing matchers extracted from Shoulda","fork":true,"url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers","forks_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/forks","keys_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/teams","hooks_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/hooks","issue_events_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/issues/events{/number}","events_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/events","assignees_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/assignees{/user}","branches_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/branches{/branch}","tags_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/tags","blobs_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/git/refs{/sha}","trees_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/statuses/{sha}","languages_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/languages","stargazers_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/stargazers","contributors_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/contributors","subscribers_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/subscribers","subscription_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/subscription","commits_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/commits{/sha}","git_commits_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/git/commits{/sha}","comments_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/comments{/number}","issue_comment_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/issues/comments{/number}","contents_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/contents/{+path}","compare_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/merges","archive_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/downloads","issues_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/issues{/number}","pulls_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/pulls{/number}","milestones_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/milestones{/number}","notifications_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/labels{/name}","releases_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/releases{/id}","deployments_url":"https://api.github.com/repos/guilhermearaujo/shoulda-matchers/deployments","created_at":"2016-06-09T01:37:40Z","updated_at":"2016-06-09T01:37:42Z","pushed_at":"2016-06-09T01:55:09Z","git_url":"git://github.com/guilhermearaujo/shoulda-matchers.git","ssh_url":"git@github.com:guilhermearaujo/shoulda-matchers.git","clone_url":"https://github.com/guilhermearaujo/shoulda-matchers.git","svn_url":"https://github.com/guilhermearaujo/shoulda-matchers","homepage":"http://matchers.shoulda.io","size":13418,"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":"thoughtbot:master","ref":"master","sha":"b58f0a1807a4346399aa3b9bb5b88923ab9aa2e5","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":1172597,"name":"shoulda-matchers","full_name":"thoughtbot/shoulda-matchers","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/shoulda-matchers","description":"Collection of testing matchers extracted from Shoulda","fork":false,"url":"https://api.github.com/repos/thoughtbot/shoulda-matchers","forks_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/forks","keys_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/teams","hooks_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/events","assignees_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/tags","blobs_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/subscription","commits_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/merges","archive_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/downloads","issues_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/releases{/id}","deployments_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/deployments","created_at":"2010-12-15T22:41:52Z","updated_at":"2016-06-06T09:02:25Z","pushed_at":"2016-06-09T01:56:35Z","git_url":"git://github.com/thoughtbot/shoulda-matchers.git","ssh_url":"git@github.com:thoughtbot/shoulda-matchers.git","clone_url":"https://github.com/thoughtbot/shoulda-matchers.git","svn_url":"https://github.com/thoughtbot/shoulda-matchers","homepage":"http://matchers.shoulda.io","size":14610,"stargazers_count":1679,"watchers_count":1679,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":486,"mirror_url":null,"open_issues_count":103,"forks":486,"open_issues":103,"watchers":1679,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/932"},"html":{"href":"https://github.com/thoughtbot/shoulda-matchers/pull/932"},"issue":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/932"},"comments":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/932/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/932/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/932/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/statuses/09cbbede4898aef5f88390324e400f11cfee75be"}}}}
{"actor":{"display_login":"houndci-bot"}}