{"action":"closed","number":146,"pull_request":{"url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/pulls/146","id":28401515,"html_url":"https://github.com/attr-encrypted/attr_encrypted/pull/146","diff_url":"https://github.com/attr-encrypted/attr_encrypted/pull/146.diff","patch_url":"https://github.com/attr-encrypted/attr_encrypted/pull/146.patch","issue_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/issues/146","number":146,"state":"closed","locked":false,"title":"Replaced before_type_cast method aliasing with conditional definition.","user":{"login":"saghaulor","id":273862,"avatar_url":"https://avatars.githubusercontent.com/u/273862?v=3","gravatar_id":"","url":"https://api.github.com/users/saghaulor","html_url":"https://github.com/saghaulor","followers_url":"https://api.github.com/users/saghaulor/followers","following_url":"https://api.github.com/users/saghaulor/following{/other_user}","gists_url":"https://api.github.com/users/saghaulor/gists{/gist_id}","starred_url":"https://api.github.com/users/saghaulor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saghaulor/subscriptions","organizations_url":"https://api.github.com/users/saghaulor/orgs","repos_url":"https://api.github.com/users/saghaulor/repos","events_url":"https://api.github.com/users/saghaulor/events{/privacy}","received_events_url":"https://api.github.com/users/saghaulor/received_events","type":"User","site_admin":false},"body":"- Aliasing before_type_cast means that we can't alter the behavior in\r\n  any way.\r\n- Now we define the behavior to be backwards compatible, however, we can\r\n  override the behavior if necessary.","created_at":"2015-01-30T23:15:50Z","updated_at":"2015-01-31T00:16:05Z","closed_at":"2015-01-31T00:16:05Z","merged_at":null,"merge_commit_sha":"37e637f040c5b40fb31eb324eaff90a3fbfd4a76","assignee":{"login":"billymonk","id":191687,"avatar_url":"https://avatars.githubusercontent.com/u/191687?v=3","gravatar_id":"","url":"https://api.github.com/users/billymonk","html_url":"https://github.com/billymonk","followers_url":"https://api.github.com/users/billymonk/followers","following_url":"https://api.github.com/users/billymonk/following{/other_user}","gists_url":"https://api.github.com/users/billymonk/gists{/gist_id}","starred_url":"https://api.github.com/users/billymonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billymonk/subscriptions","organizations_url":"https://api.github.com/users/billymonk/orgs","repos_url":"https://api.github.com/users/billymonk/repos","events_url":"https://api.github.com/users/billymonk/events{/privacy}","received_events_url":"https://api.github.com/users/billymonk/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/pulls/146/commits","review_comments_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/pulls/146/comments","review_comment_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/pulls/comments/{number}","comments_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/issues/146/comments","statuses_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/statuses/4a10557669610b41e7dde1a275cfecf3c81e4009","head":{"label":"coupa:define_before_type_cast_to_allow_overriding_the_behavior","ref":"define_before_type_cast_to_allow_overriding_the_behavior","sha":"4a10557669610b41e7dde1a275cfecf3c81e4009","user":{"login":"coupa","id":58638,"avatar_url":"https://avatars.githubusercontent.com/u/58638?v=3","gravatar_id":"","url":"https://api.github.com/users/coupa","html_url":"https://github.com/coupa","followers_url":"https://api.github.com/users/coupa/followers","following_url":"https://api.github.com/users/coupa/following{/other_user}","gists_url":"https://api.github.com/users/coupa/gists{/gist_id}","starred_url":"https://api.github.com/users/coupa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coupa/subscriptions","organizations_url":"https://api.github.com/users/coupa/orgs","repos_url":"https://api.github.com/users/coupa/repos","events_url":"https://api.github.com/users/coupa/events{/privacy}","received_events_url":"https://api.github.com/users/coupa/received_events","type":"Organization","site_admin":false},"repo":{"id":26238184,"name":"attr_encrypted","full_name":"coupa/attr_encrypted","owner":{"login":"coupa","id":58638,"avatar_url":"https://avatars.githubusercontent.com/u/58638?v=3","gravatar_id":"","url":"https://api.github.com/users/coupa","html_url":"https://github.com/coupa","followers_url":"https://api.github.com/users/coupa/followers","following_url":"https://api.github.com/users/coupa/following{/other_user}","gists_url":"https://api.github.com/users/coupa/gists{/gist_id}","starred_url":"https://api.github.com/users/coupa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coupa/subscriptions","organizations_url":"https://api.github.com/users/coupa/orgs","repos_url":"https://api.github.com/users/coupa/repos","events_url":"https://api.github.com/users/coupa/events{/privacy}","received_events_url":"https://api.github.com/users/coupa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coupa/attr_encrypted","description":"Generates attr_accessors that encrypt and decrypt attributes","fork":true,"url":"https://api.github.com/repos/coupa/attr_encrypted","forks_url":"https://api.github.com/repos/coupa/attr_encrypted/forks","keys_url":"https://api.github.com/repos/coupa/attr_encrypted/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coupa/attr_encrypted/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coupa/attr_encrypted/teams","hooks_url":"https://api.github.com/repos/coupa/attr_encrypted/hooks","issue_events_url":"https://api.github.com/repos/coupa/attr_encrypted/issues/events{/number}","events_url":"https://api.github.com/repos/coupa/attr_encrypted/events","assignees_url":"https://api.github.com/repos/coupa/attr_encrypted/assignees{/user}","branches_url":"https://api.github.com/repos/coupa/attr_encrypted/branches{/branch}","tags_url":"https://api.github.com/repos/coupa/attr_encrypted/tags","blobs_url":"https://api.github.com/repos/coupa/attr_encrypted/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coupa/attr_encrypted/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coupa/attr_encrypted/git/refs{/sha}","trees_url":"https://api.github.com/repos/coupa/attr_encrypted/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coupa/attr_encrypted/statuses/{sha}","languages_url":"https://api.github.com/repos/coupa/attr_encrypted/languages","stargazers_url":"https://api.github.com/repos/coupa/attr_encrypted/stargazers","contributors_url":"https://api.github.com/repos/coupa/attr_encrypted/contributors","subscribers_url":"https://api.github.com/repos/coupa/attr_encrypted/subscribers","subscription_url":"https://api.github.com/repos/coupa/attr_encrypted/subscription","commits_url":"https://api.github.com/repos/coupa/attr_encrypted/commits{/sha}","git_commits_url":"https://api.github.com/repos/coupa/attr_encrypted/git/commits{/sha}","comments_url":"https://api.github.com/repos/coupa/attr_encrypted/comments{/number}","issue_comment_url":"https://api.github.com/repos/coupa/attr_encrypted/issues/comments/{number}","contents_url":"https://api.github.com/repos/coupa/attr_encrypted/contents/{+path}","compare_url":"https://api.github.com/repos/coupa/attr_encrypted/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coupa/attr_encrypted/merges","archive_url":"https://api.github.com/repos/coupa/attr_encrypted/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coupa/attr_encrypted/downloads","issues_url":"https://api.github.com/repos/coupa/attr_encrypted/issues{/number}","pulls_url":"https://api.github.com/repos/coupa/attr_encrypted/pulls{/number}","milestones_url":"https://api.github.com/repos/coupa/attr_encrypted/milestones{/number}","notifications_url":"https://api.github.com/repos/coupa/attr_encrypted/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coupa/attr_encrypted/labels{/name}","releases_url":"https://api.github.com/repos/coupa/attr_encrypted/releases{/id}","created_at":"2014-11-05T20:25:41Z","updated_at":"2015-01-30T23:21:57Z","pushed_at":"2015-01-30T23:21:57Z","git_url":"git://github.com/coupa/attr_encrypted.git","ssh_url":"git@github.com:coupa/attr_encrypted.git","clone_url":"https://github.com/coupa/attr_encrypted.git","svn_url":"https://github.com/coupa/attr_encrypted","homepage":"","size":342,"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":"attr-encrypted:master","ref":"master","sha":"65cb0a2243b35c6069c8dc2f5018774803ca1ce9","user":{"login":"attr-encrypted","id":5475200,"avatar_url":"https://avatars.githubusercontent.com/u/5475200?v=3","gravatar_id":"","url":"https://api.github.com/users/attr-encrypted","html_url":"https://github.com/attr-encrypted","followers_url":"https://api.github.com/users/attr-encrypted/followers","following_url":"https://api.github.com/users/attr-encrypted/following{/other_user}","gists_url":"https://api.github.com/users/attr-encrypted/gists{/gist_id}","starred_url":"https://api.github.com/users/attr-encrypted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/attr-encrypted/subscriptions","organizations_url":"https://api.github.com/users/attr-encrypted/orgs","repos_url":"https://api.github.com/users/attr-encrypted/repos","events_url":"https://api.github.com/users/attr-encrypted/events{/privacy}","received_events_url":"https://api.github.com/users/attr-encrypted/received_events","type":"Organization","site_admin":false},"repo":{"id":103175,"name":"attr_encrypted","full_name":"attr-encrypted/attr_encrypted","owner":{"login":"attr-encrypted","id":5475200,"avatar_url":"https://avatars.githubusercontent.com/u/5475200?v=3","gravatar_id":"","url":"https://api.github.com/users/attr-encrypted","html_url":"https://github.com/attr-encrypted","followers_url":"https://api.github.com/users/attr-encrypted/followers","following_url":"https://api.github.com/users/attr-encrypted/following{/other_user}","gists_url":"https://api.github.com/users/attr-encrypted/gists{/gist_id}","starred_url":"https://api.github.com/users/attr-encrypted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/attr-encrypted/subscriptions","organizations_url":"https://api.github.com/users/attr-encrypted/orgs","repos_url":"https://api.github.com/users/attr-encrypted/repos","events_url":"https://api.github.com/users/attr-encrypted/events{/privacy}","received_events_url":"https://api.github.com/users/attr-encrypted/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/attr-encrypted/attr_encrypted","description":"Generates attr_accessors that encrypt and decrypt attributes","fork":false,"url":"https://api.github.com/repos/attr-encrypted/attr_encrypted","forks_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/forks","keys_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/keys{/key_id}","collaborators_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/teams","hooks_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/hooks","issue_events_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/issues/events{/number}","events_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/events","assignees_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/assignees{/user}","branches_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/branches{/branch}","tags_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/tags","blobs_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/git/refs{/sha}","trees_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/git/trees{/sha}","statuses_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/statuses/{sha}","languages_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/languages","stargazers_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/stargazers","contributors_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/contributors","subscribers_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/subscribers","subscription_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/subscription","commits_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/commits{/sha}","git_commits_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/git/commits{/sha}","comments_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/comments{/number}","issue_comment_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/issues/comments/{number}","contents_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/contents/{+path}","compare_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/compare/{base}...{head}","merges_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/merges","archive_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/downloads","issues_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/issues{/number}","pulls_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/pulls{/number}","milestones_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/milestones{/number}","notifications_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/labels{/name}","releases_url":"https://api.github.com/repos/attr-encrypted/attr_encrypted/releases{/id}","created_at":"2009-01-08T08:08:20Z","updated_at":"2015-01-30T03:08:19Z","pushed_at":"2014-12-13T00:02:32Z","git_url":"git://github.com/attr-encrypted/attr_encrypted.git","ssh_url":"git@github.com:attr-encrypted/attr_encrypted.git","clone_url":"https://github.com/attr-encrypted/attr_encrypted.git","svn_url":"https://github.com/attr-encrypted/attr_encrypted","homepage":"","size":1087,"stargazers_count":753,"watchers_count":753,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":119,"mirror_url":null,"open_issues_count":35,"forks":119,"open_issues":35,"watchers":753,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/attr-encrypted/attr_encrypted/pulls/146"},"html":{"href":"https://github.com/attr-encrypted/attr_encrypted/pull/146"},"issue":{"href":"https://api.github.com/repos/attr-encrypted/attr_encrypted/issues/146"},"comments":{"href":"https://api.github.com/repos/attr-encrypted/attr_encrypted/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/attr-encrypted/attr_encrypted/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/attr-encrypted/attr_encrypted/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/attr-encrypted/attr_encrypted/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/attr-encrypted/attr_encrypted/statuses/4a10557669610b41e7dde1a275cfecf3c81e4009"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":6,"deletions":1,"changed_files":1}}