{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/pulls/21","id":36221264,"html_url":"https://github.com/KoanHealth/mongoid-encrypted-fields/pull/21","diff_url":"https://github.com/KoanHealth/mongoid-encrypted-fields/pull/21.diff","patch_url":"https://github.com/KoanHealth/mongoid-encrypted-fields/pull/21.patch","issue_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/issues/21","number":21,"state":"open","locked":false,"title":"Support mongoid 5. But other problems remain.","user":{"login":"lukaso","id":5034,"avatar_url":"https://avatars.githubusercontent.com/u/5034?v=3","gravatar_id":"","url":"https://api.github.com/users/lukaso","html_url":"https://github.com/lukaso","followers_url":"https://api.github.com/users/lukaso/followers","following_url":"https://api.github.com/users/lukaso/following{/other_user}","gists_url":"https://api.github.com/users/lukaso/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaso/subscriptions","organizations_url":"https://api.github.com/users/lukaso/orgs","repos_url":"https://api.github.com/users/lukaso/repos","events_url":"https://api.github.com/users/lukaso/events{/privacy}","received_events_url":"https://api.github.com/users/lukaso/received_events","type":"User","site_admin":false},"body":"Quick and dirty change to support Mongoid 5. Tests pass on ruby 2.0.0 but there are deprecation warnings for rspec.","created_at":"2015-05-26T16:36:15Z","updated_at":"2015-05-26T16:36:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/pulls/21/commits","review_comments_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/pulls/21/comments","review_comment_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/issues/21/comments","statuses_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/statuses/becf1954fb9dca486a85572f6f1358497be587f0","head":{"label":"simplybusiness:master","ref":"master","sha":"becf1954fb9dca486a85572f6f1358497be587f0","user":{"login":"simplybusiness","id":465825,"avatar_url":"https://avatars.githubusercontent.com/u/465825?v=3","gravatar_id":"","url":"https://api.github.com/users/simplybusiness","html_url":"https://github.com/simplybusiness","followers_url":"https://api.github.com/users/simplybusiness/followers","following_url":"https://api.github.com/users/simplybusiness/following{/other_user}","gists_url":"https://api.github.com/users/simplybusiness/gists{/gist_id}","starred_url":"https://api.github.com/users/simplybusiness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simplybusiness/subscriptions","organizations_url":"https://api.github.com/users/simplybusiness/orgs","repos_url":"https://api.github.com/users/simplybusiness/repos","events_url":"https://api.github.com/users/simplybusiness/events{/privacy}","received_events_url":"https://api.github.com/users/simplybusiness/received_events","type":"Organization","site_admin":false},"repo":{"id":36308587,"name":"mongoid-encrypted-fields","full_name":"simplybusiness/mongoid-encrypted-fields","owner":{"login":"simplybusiness","id":465825,"avatar_url":"https://avatars.githubusercontent.com/u/465825?v=3","gravatar_id":"","url":"https://api.github.com/users/simplybusiness","html_url":"https://github.com/simplybusiness","followers_url":"https://api.github.com/users/simplybusiness/followers","following_url":"https://api.github.com/users/simplybusiness/following{/other_user}","gists_url":"https://api.github.com/users/simplybusiness/gists{/gist_id}","starred_url":"https://api.github.com/users/simplybusiness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simplybusiness/subscriptions","organizations_url":"https://api.github.com/users/simplybusiness/orgs","repos_url":"https://api.github.com/users/simplybusiness/repos","events_url":"https://api.github.com/users/simplybusiness/events{/privacy}","received_events_url":"https://api.github.com/users/simplybusiness/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/simplybusiness/mongoid-encrypted-fields","description":"A library for storing encrypted data in Mongo","fork":true,"url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields","forks_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/forks","keys_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/teams","hooks_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/hooks","issue_events_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/issues/events{/number}","events_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/events","assignees_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/assignees{/user}","branches_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/branches{/branch}","tags_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/tags","blobs_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/git/refs{/sha}","trees_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/statuses/{sha}","languages_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/languages","stargazers_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/stargazers","contributors_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/contributors","subscribers_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/subscribers","subscription_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/subscription","commits_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/commits{/sha}","git_commits_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/git/commits{/sha}","comments_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/comments{/number}","issue_comment_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/issues/comments{/number}","contents_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/contents/{+path}","compare_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/merges","archive_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/downloads","issues_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/issues{/number}","pulls_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/pulls{/number}","milestones_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/milestones{/number}","notifications_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/labels{/name}","releases_url":"https://api.github.com/repos/simplybusiness/mongoid-encrypted-fields/releases{/id}","created_at":"2015-05-26T16:22:29Z","updated_at":"2015-05-26T16:22:29Z","pushed_at":"2015-05-26T16:27:43Z","git_url":"git://github.com/simplybusiness/mongoid-encrypted-fields.git","ssh_url":"git@github.com:simplybusiness/mongoid-encrypted-fields.git","clone_url":"https://github.com/simplybusiness/mongoid-encrypted-fields.git","svn_url":"https://github.com/simplybusiness/mongoid-encrypted-fields","homepage":null,"size":180,"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":"KoanHealth:master","ref":"master","sha":"7ab54e81606c0768a7fcf48a9cad071762627187","user":{"login":"KoanHealth","id":1319547,"avatar_url":"https://avatars.githubusercontent.com/u/1319547?v=3","gravatar_id":"","url":"https://api.github.com/users/KoanHealth","html_url":"https://github.com/KoanHealth","followers_url":"https://api.github.com/users/KoanHealth/followers","following_url":"https://api.github.com/users/KoanHealth/following{/other_user}","gists_url":"https://api.github.com/users/KoanHealth/gists{/gist_id}","starred_url":"https://api.github.com/users/KoanHealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KoanHealth/subscriptions","organizations_url":"https://api.github.com/users/KoanHealth/orgs","repos_url":"https://api.github.com/users/KoanHealth/repos","events_url":"https://api.github.com/users/KoanHealth/events{/privacy}","received_events_url":"https://api.github.com/users/KoanHealth/received_events","type":"Organization","site_admin":false},"repo":{"id":6534011,"name":"mongoid-encrypted-fields","full_name":"KoanHealth/mongoid-encrypted-fields","owner":{"login":"KoanHealth","id":1319547,"avatar_url":"https://avatars.githubusercontent.com/u/1319547?v=3","gravatar_id":"","url":"https://api.github.com/users/KoanHealth","html_url":"https://github.com/KoanHealth","followers_url":"https://api.github.com/users/KoanHealth/followers","following_url":"https://api.github.com/users/KoanHealth/following{/other_user}","gists_url":"https://api.github.com/users/KoanHealth/gists{/gist_id}","starred_url":"https://api.github.com/users/KoanHealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KoanHealth/subscriptions","organizations_url":"https://api.github.com/users/KoanHealth/orgs","repos_url":"https://api.github.com/users/KoanHealth/repos","events_url":"https://api.github.com/users/KoanHealth/events{/privacy}","received_events_url":"https://api.github.com/users/KoanHealth/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KoanHealth/mongoid-encrypted-fields","description":"A library for storing encrypted data in Mongo","fork":false,"url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields","forks_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/forks","keys_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/teams","hooks_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/hooks","issue_events_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/issues/events{/number}","events_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/events","assignees_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/assignees{/user}","branches_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/branches{/branch}","tags_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/tags","blobs_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/git/refs{/sha}","trees_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/statuses/{sha}","languages_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/languages","stargazers_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/stargazers","contributors_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/contributors","subscribers_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/subscribers","subscription_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/subscription","commits_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/commits{/sha}","git_commits_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/git/commits{/sha}","comments_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/comments{/number}","issue_comment_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/issues/comments{/number}","contents_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/contents/{+path}","compare_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/merges","archive_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/downloads","issues_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/issues{/number}","pulls_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/pulls{/number}","milestones_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/milestones{/number}","notifications_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/labels{/name}","releases_url":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/releases{/id}","created_at":"2012-11-04T18:46:19Z","updated_at":"2015-01-19T14:35:58Z","pushed_at":"2015-05-26T16:36:16Z","git_url":"git://github.com/KoanHealth/mongoid-encrypted-fields.git","ssh_url":"git@github.com:KoanHealth/mongoid-encrypted-fields.git","clone_url":"https://github.com/KoanHealth/mongoid-encrypted-fields.git","svn_url":"https://github.com/KoanHealth/mongoid-encrypted-fields","homepage":null,"size":495,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":2,"forks":19,"open_issues":2,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/pulls/21"},"html":{"href":"https://github.com/KoanHealth/mongoid-encrypted-fields/pull/21"},"issue":{"href":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/issues/21"},"comments":{"href":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/KoanHealth/mongoid-encrypted-fields/statuses/becf1954fb9dca486a85572f6f1358497be587f0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}