{"action":"created","comment":{"url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/comments/39760363","id":39760363,"diff_hunk":"@@ -1,6 +1,11 @@\n source 'http://rubygems.org'\n \n-case version = ENV['MONGOID_VERSION'] || '~> 4.0'\n+gemspec\n+\n+case version = ENV['MONGOID_VERSION'] || '~> 5.0'\n+when /5/\n+  gem 'mongoid', '~> 5.0'\n+  gem 'mongoid-slug', github: 'dblock/mongoid-slug', branch: 'mongoid-5'","path":"Gemfile","position":9,"original_position":9,"commit_id":"c0761f048fb4b67a93df832ac6023e2288b5fe3c","original_commit_id":"c0761f048fb4b67a93df832ac6023e2288b5fe3c","user":{"login":"dblock","id":542335,"avatar_url":"https://avatars.githubusercontent.com/u/542335?v=3","gravatar_id":"","url":"https://api.github.com/users/dblock","html_url":"https://github.com/dblock","followers_url":"https://api.github.com/users/dblock/followers","following_url":"https://api.github.com/users/dblock/following{/other_user}","gists_url":"https://api.github.com/users/dblock/gists{/gist_id}","starred_url":"https://api.github.com/users/dblock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblock/subscriptions","organizations_url":"https://api.github.com/users/dblock/orgs","repos_url":"https://api.github.com/users/dblock/repos","events_url":"https://api.github.com/users/dblock/events{/privacy}","received_events_url":"https://api.github.com/users/dblock/received_events","type":"User","site_admin":false},"body":"Until there's a mongoid 5 compatible version of mongoid-slug, see https://github.com/digitalplaywright/mongoid-slug/pull/187","created_at":"2015-09-17T15:34:19Z","updated_at":"2015-09-17T15:34:19Z","html_url":"https://github.com/aaw/mongoid_collection_snapshot/pull/14#discussion_r39760363","pull_request_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/comments/39760363"},"html":{"href":"https://github.com/aaw/mongoid_collection_snapshot/pull/14#discussion_r39760363"},"pull_request":{"href":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/14","id":45304575,"html_url":"https://github.com/aaw/mongoid_collection_snapshot/pull/14","diff_url":"https://github.com/aaw/mongoid_collection_snapshot/pull/14.diff","patch_url":"https://github.com/aaw/mongoid_collection_snapshot/pull/14.patch","issue_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/issues/14","number":14,"state":"open","locked":false,"title":"Compatibility with Mongoid 5.","user":{"login":"dblock","id":542335,"avatar_url":"https://avatars.githubusercontent.com/u/542335?v=3","gravatar_id":"","url":"https://api.github.com/users/dblock","html_url":"https://github.com/dblock","followers_url":"https://api.github.com/users/dblock/followers","following_url":"https://api.github.com/users/dblock/following{/other_user}","gists_url":"https://api.github.com/users/dblock/gists{/gist_id}","starred_url":"https://api.github.com/users/dblock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblock/subscriptions","organizations_url":"https://api.github.com/users/dblock/orgs","repos_url":"https://api.github.com/users/dblock/repos","events_url":"https://api.github.com/users/dblock/events{/privacy}","received_events_url":"https://api.github.com/users/dblock/received_events","type":"User","site_admin":false},"body":"This almost works, need to resolve a spec failure.\r\n\r\nCloses #13.\r\n","created_at":"2015-09-17T15:28:32Z","updated_at":"2015-09-17T15:34:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba864af77976777a11484ce4cae6c4cfa3acf88b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/14/commits","review_comments_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/14/comments","review_comment_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/issues/14/comments","statuses_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/statuses/c0761f048fb4b67a93df832ac6023e2288b5fe3c","head":{"label":"dblock:mongoid-5","ref":"mongoid-5","sha":"c0761f048fb4b67a93df832ac6023e2288b5fe3c","user":{"login":"dblock","id":542335,"avatar_url":"https://avatars.githubusercontent.com/u/542335?v=3","gravatar_id":"","url":"https://api.github.com/users/dblock","html_url":"https://github.com/dblock","followers_url":"https://api.github.com/users/dblock/followers","following_url":"https://api.github.com/users/dblock/following{/other_user}","gists_url":"https://api.github.com/users/dblock/gists{/gist_id}","starred_url":"https://api.github.com/users/dblock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblock/subscriptions","organizations_url":"https://api.github.com/users/dblock/orgs","repos_url":"https://api.github.com/users/dblock/repos","events_url":"https://api.github.com/users/dblock/events{/privacy}","received_events_url":"https://api.github.com/users/dblock/received_events","type":"User","site_admin":false},"repo":{"id":2411541,"name":"mongoid_collection_snapshot","full_name":"dblock/mongoid_collection_snapshot","owner":{"login":"dblock","id":542335,"avatar_url":"https://avatars.githubusercontent.com/u/542335?v=3","gravatar_id":"","url":"https://api.github.com/users/dblock","html_url":"https://github.com/dblock","followers_url":"https://api.github.com/users/dblock/followers","following_url":"https://api.github.com/users/dblock/following{/other_user}","gists_url":"https://api.github.com/users/dblock/gists{/gist_id}","starred_url":"https://api.github.com/users/dblock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblock/subscriptions","organizations_url":"https://api.github.com/users/dblock/orgs","repos_url":"https://api.github.com/users/dblock/repos","events_url":"https://api.github.com/users/dblock/events{/privacy}","received_events_url":"https://api.github.com/users/dblock/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dblock/mongoid_collection_snapshot","description":"Easy maintenence of collections of processed data in MongoDB with the Mongoid ODM","fork":true,"url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot","forks_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/forks","keys_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/teams","hooks_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/hooks","issue_events_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/issues/events{/number}","events_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/events","assignees_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/assignees{/user}","branches_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/branches{/branch}","tags_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/tags","blobs_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/git/refs{/sha}","trees_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/statuses/{sha}","languages_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/languages","stargazers_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/stargazers","contributors_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/contributors","subscribers_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/subscribers","subscription_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/subscription","commits_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/commits{/sha}","git_commits_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/git/commits{/sha}","comments_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/comments{/number}","issue_comment_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/issues/comments{/number}","contents_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/contents/{+path}","compare_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/merges","archive_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/downloads","issues_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/issues{/number}","pulls_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/pulls{/number}","milestones_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/milestones{/number}","notifications_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/labels{/name}","releases_url":"https://api.github.com/repos/dblock/mongoid_collection_snapshot/releases{/id}","created_at":"2011-09-18T21:38:17Z","updated_at":"2015-09-17T14:17:21Z","pushed_at":"2015-09-17T15:33:11Z","git_url":"git://github.com/dblock/mongoid_collection_snapshot.git","ssh_url":"git@github.com:dblock/mongoid_collection_snapshot.git","clone_url":"https://github.com/dblock/mongoid_collection_snapshot.git","svn_url":"https://github.com/dblock/mongoid_collection_snapshot","homepage":"","size":223,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"aaw:master","ref":"master","sha":"1c40458412ec6dcf587a7a3db141f19c3f1b0c94","user":{"login":"aaw","id":274931,"avatar_url":"https://avatars.githubusercontent.com/u/274931?v=3","gravatar_id":"","url":"https://api.github.com/users/aaw","html_url":"https://github.com/aaw","followers_url":"https://api.github.com/users/aaw/followers","following_url":"https://api.github.com/users/aaw/following{/other_user}","gists_url":"https://api.github.com/users/aaw/gists{/gist_id}","starred_url":"https://api.github.com/users/aaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaw/subscriptions","organizations_url":"https://api.github.com/users/aaw/orgs","repos_url":"https://api.github.com/users/aaw/repos","events_url":"https://api.github.com/users/aaw/events{/privacy}","received_events_url":"https://api.github.com/users/aaw/received_events","type":"User","site_admin":false},"repo":{"id":2315879,"name":"mongoid_collection_snapshot","full_name":"aaw/mongoid_collection_snapshot","owner":{"login":"aaw","id":274931,"avatar_url":"https://avatars.githubusercontent.com/u/274931?v=3","gravatar_id":"","url":"https://api.github.com/users/aaw","html_url":"https://github.com/aaw","followers_url":"https://api.github.com/users/aaw/followers","following_url":"https://api.github.com/users/aaw/following{/other_user}","gists_url":"https://api.github.com/users/aaw/gists{/gist_id}","starred_url":"https://api.github.com/users/aaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaw/subscriptions","organizations_url":"https://api.github.com/users/aaw/orgs","repos_url":"https://api.github.com/users/aaw/repos","events_url":"https://api.github.com/users/aaw/events{/privacy}","received_events_url":"https://api.github.com/users/aaw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aaw/mongoid_collection_snapshot","description":"Easy maintenence of collections of processed data in MongoDB with the Mongoid ODM","fork":false,"url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot","forks_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/forks","keys_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/teams","hooks_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/hooks","issue_events_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/issues/events{/number}","events_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/events","assignees_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/assignees{/user}","branches_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/branches{/branch}","tags_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/tags","blobs_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/git/refs{/sha}","trees_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/statuses/{sha}","languages_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/languages","stargazers_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/stargazers","contributors_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/contributors","subscribers_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/subscribers","subscription_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/subscription","commits_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/commits{/sha}","git_commits_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/git/commits{/sha}","comments_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/comments{/number}","issue_comment_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/issues/comments{/number}","contents_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/contents/{+path}","compare_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/merges","archive_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/downloads","issues_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/issues{/number}","pulls_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls{/number}","milestones_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/milestones{/number}","notifications_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/labels{/name}","releases_url":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/releases{/id}","created_at":"2011-09-02T19:10:13Z","updated_at":"2015-02-03T20:06:10Z","pushed_at":"2015-09-17T15:33:12Z","git_url":"git://github.com/aaw/mongoid_collection_snapshot.git","ssh_url":"git@github.com:aaw/mongoid_collection_snapshot.git","clone_url":"https://github.com/aaw/mongoid_collection_snapshot.git","svn_url":"https://github.com/aaw/mongoid_collection_snapshot","homepage":"","size":249,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/14"},"html":{"href":"https://github.com/aaw/mongoid_collection_snapshot/pull/14"},"issue":{"href":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/issues/14"},"comments":{"href":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/aaw/mongoid_collection_snapshot/statuses/c0761f048fb4b67a93df832ac6023e2288b5fe3c"}}}}