{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/comments/83760356","pull_request_review_id":4582368,"id":83760356,"diff_hunk":"@@ -23,9 +23,9 @@ def self.serialized_attributes_for(model)\n         if defined?(::ActiveRecord::Type::Serialized)\n           # Rails 5+\n           model.columns.select do |column|\n-            column.cast_type.is_a?(::ActiveRecord::Type::Serialized)\n+            model.type_for_attribute(column.name).is_a?(::ActiveRecord::Type::Serialized)","path":"lib/shoulda/matchers/rails_shim.rb","position":5,"original_position":5,"commit_id":"e2c4633651f091425e6ad87b189b2f8bbd8d15fa","original_commit_id":"e2c4633651f091425e6ad87b189b2f8bbd8d15fa","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. [89/80]","created_at":"2016-10-18T00:07:07Z","updated_at":"2016-10-18T00:07:07Z","html_url":"https://github.com/thoughtbot/shoulda-matchers/pull/965#discussion_r83760356","pull_request_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/965","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/comments/83760356"},"html":{"href":"https://github.com/thoughtbot/shoulda-matchers/pull/965#discussion_r83760356"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/965"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/965","id":89725623,"html_url":"https://github.com/thoughtbot/shoulda-matchers/pull/965","diff_url":"https://github.com/thoughtbot/shoulda-matchers/pull/965.diff","patch_url":"https://github.com/thoughtbot/shoulda-matchers/pull/965.patch","issue_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/965","number":965,"state":"open","locked":false,"title":"Fix #913 for Serialize Matcher error undefined method `cast_type' in Rails 5","user":{"login":"bsodmike","id":368260,"avatar_url":"https://avatars.githubusercontent.com/u/368260?v=3","gravatar_id":"","url":"https://api.github.com/users/bsodmike","html_url":"https://github.com/bsodmike","followers_url":"https://api.github.com/users/bsodmike/followers","following_url":"https://api.github.com/users/bsodmike/following{/other_user}","gists_url":"https://api.github.com/users/bsodmike/gists{/gist_id}","starred_url":"https://api.github.com/users/bsodmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsodmike/subscriptions","organizations_url":"https://api.github.com/users/bsodmike/orgs","repos_url":"https://api.github.com/users/bsodmike/repos","events_url":"https://api.github.com/users/bsodmike/events{/privacy}","received_events_url":"https://api.github.com/users/bsodmike/received_events","type":"User","site_admin":false},"body":"This patch is based on the discussed held in issue #913, and a solution\r\nthat I've proposed and others have confirmed as good to go :clap:.\r\n\r\nRef: https://github.com/thoughtbot/shoulda-matchers/issues/913#issuecomment-219187051","created_at":"2016-10-18T00:05:52Z","updated_at":"2016-10-18T00:07:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46a529a0fd522bd5674f50e9532bb45ff0591a3f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/965/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/965/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/965/comments","statuses_url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/statuses/e2c4633651f091425e6ad87b189b2f8bbd8d15fa","head":{"label":"bsodmike:fix/rails5_issue_913","ref":"fix/rails5_issue_913","sha":"e2c4633651f091425e6ad87b189b2f8bbd8d15fa","user":{"login":"bsodmike","id":368260,"avatar_url":"https://avatars.githubusercontent.com/u/368260?v=3","gravatar_id":"","url":"https://api.github.com/users/bsodmike","html_url":"https://github.com/bsodmike","followers_url":"https://api.github.com/users/bsodmike/followers","following_url":"https://api.github.com/users/bsodmike/following{/other_user}","gists_url":"https://api.github.com/users/bsodmike/gists{/gist_id}","starred_url":"https://api.github.com/users/bsodmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsodmike/subscriptions","organizations_url":"https://api.github.com/users/bsodmike/orgs","repos_url":"https://api.github.com/users/bsodmike/repos","events_url":"https://api.github.com/users/bsodmike/events{/privacy}","received_events_url":"https://api.github.com/users/bsodmike/received_events","type":"User","site_admin":false},"repo":{"id":71189908,"name":"shoulda-matchers","full_name":"bsodmike/shoulda-matchers","owner":{"login":"bsodmike","id":368260,"avatar_url":"https://avatars.githubusercontent.com/u/368260?v=3","gravatar_id":"","url":"https://api.github.com/users/bsodmike","html_url":"https://github.com/bsodmike","followers_url":"https://api.github.com/users/bsodmike/followers","following_url":"https://api.github.com/users/bsodmike/following{/other_user}","gists_url":"https://api.github.com/users/bsodmike/gists{/gist_id}","starred_url":"https://api.github.com/users/bsodmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsodmike/subscriptions","organizations_url":"https://api.github.com/users/bsodmike/orgs","repos_url":"https://api.github.com/users/bsodmike/repos","events_url":"https://api.github.com/users/bsodmike/events{/privacy}","received_events_url":"https://api.github.com/users/bsodmike/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bsodmike/shoulda-matchers","description":"Collection of testing matchers extracted from Shoulda","fork":true,"url":"https://api.github.com/repos/bsodmike/shoulda-matchers","forks_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/forks","keys_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/teams","hooks_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/hooks","issue_events_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/issues/events{/number}","events_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/events","assignees_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/assignees{/user}","branches_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/branches{/branch}","tags_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/tags","blobs_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/git/refs{/sha}","trees_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/statuses/{sha}","languages_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/languages","stargazers_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/stargazers","contributors_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/contributors","subscribers_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/subscribers","subscription_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/subscription","commits_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/commits{/sha}","git_commits_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/git/commits{/sha}","comments_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/comments{/number}","issue_comment_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/issues/comments{/number}","contents_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/contents/{+path}","compare_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/merges","archive_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/downloads","issues_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/issues{/number}","pulls_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/pulls{/number}","milestones_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/milestones{/number}","notifications_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/labels{/name}","releases_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/releases{/id}","deployments_url":"https://api.github.com/repos/bsodmike/shoulda-matchers/deployments","created_at":"2016-10-17T23:31:00Z","updated_at":"2016-10-17T23:31:02Z","pushed_at":"2016-10-18T00:04:47Z","git_url":"git://github.com/bsodmike/shoulda-matchers.git","ssh_url":"git@github.com:bsodmike/shoulda-matchers.git","clone_url":"https://github.com/bsodmike/shoulda-matchers.git","svn_url":"https://github.com/bsodmike/shoulda-matchers","homepage":"http://matchers.shoulda.io","size":14659,"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:rails5","ref":"rails5","sha":"6c2fb576900b9f433cdd905abdc824776618cf0a","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-10-15T06:40:42Z","pushed_at":"2016-10-18T00:05:52Z","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":14659,"stargazers_count":1812,"watchers_count":1812,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":520,"mirror_url":null,"open_issues_count":117,"forks":520,"open_issues":117,"watchers":1812,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/965"},"html":{"href":"https://github.com/thoughtbot/shoulda-matchers/pull/965"},"issue":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/965"},"comments":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/issues/965/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/pulls/965/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/965/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/shoulda-matchers/statuses/e2c4633651f091425e6ad87b189b2f8bbd8d15fa"}}}}
{"actor":{"display_login":"houndci-bot"}}