{"action":"created","comment":{"url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/comments/42444486","id":42444486,"diff_hunk":"@@ -3,9 +3,11 @@ source \"http://rubygems.org\"\n # Specify your gem's dependencies in mongoid_orderable.gemspec\n gemspec\n \n-case version = ENV['MONGOID_VERSION'] || \"~> 3.1\"\n+case version = ENV['MONGOID_VERSION'] || \"~> 4.0\"\n+when /5/\n+  gem \"mongoid\", \"~> 5.0.0\"","path":"Gemfile","position":7,"original_position":7,"commit_id":"97d02e74916bb7bd046f04a629a2af37bb90b3b6","original_commit_id":"97d02e74916bb7bd046f04a629a2af37bb90b3b6","user":{"login":"nazgum","id":13953,"avatar_url":"https://avatars.githubusercontent.com/u/13953?v=3","gravatar_id":"","url":"https://api.github.com/users/nazgum","html_url":"https://github.com/nazgum","followers_url":"https://api.github.com/users/nazgum/followers","following_url":"https://api.github.com/users/nazgum/following{/other_user}","gists_url":"https://api.github.com/users/nazgum/gists{/gist_id}","starred_url":"https://api.github.com/users/nazgum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazgum/subscriptions","organizations_url":"https://api.github.com/users/nazgum/orgs","repos_url":"https://api.github.com/users/nazgum/repos","events_url":"https://api.github.com/users/nazgum/events{/privacy}","received_events_url":"https://api.github.com/users/nazgum/received_events","type":"User","site_admin":false},"body":"Just used the recommended value from the mongoid 5 docs - https://docs.mongodb.org/ecosystem/tutorial/ruby-mongoid-tutorial/ - but aye, to be consistent with your prior versions perhaps should have put ~> 5.0","created_at":"2015-10-20T00:45:36Z","updated_at":"2015-10-20T00:45:36Z","html_url":"https://github.com/pyromaniac/mongoid_orderable/pull/40#discussion_r42444486","pull_request_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/comments/42444486"},"html":{"href":"https://github.com/pyromaniac/mongoid_orderable/pull/40#discussion_r42444486"},"pull_request":{"href":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/40","id":48144301,"html_url":"https://github.com/pyromaniac/mongoid_orderable/pull/40","diff_url":"https://github.com/pyromaniac/mongoid_orderable/pull/40.diff","patch_url":"https://github.com/pyromaniac/mongoid_orderable/pull/40.patch","issue_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/issues/40","number":40,"state":"open","locked":false,"title":"Support for mongoid 5","user":{"login":"nazgum","id":13953,"avatar_url":"https://avatars.githubusercontent.com/u/13953?v=3","gravatar_id":"","url":"https://api.github.com/users/nazgum","html_url":"https://github.com/nazgum","followers_url":"https://api.github.com/users/nazgum/followers","following_url":"https://api.github.com/users/nazgum/following{/other_user}","gists_url":"https://api.github.com/users/nazgum/gists{/gist_id}","starred_url":"https://api.github.com/users/nazgum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazgum/subscriptions","organizations_url":"https://api.github.com/users/nazgum/orgs","repos_url":"https://api.github.com/users/nazgum/repos","events_url":"https://api.github.com/users/nazgum/events{/privacy}","received_events_url":"https://api.github.com/users/nazgum/received_events","type":"User","site_admin":false},"body":"Quick update for mongoid 5","created_at":"2015-10-20T00:34:07Z","updated_at":"2015-10-20T00:45:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec510b56e5ad6697b40ae3e4e61f42cf3aeb0ca8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/40/commits","review_comments_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/40/comments","review_comment_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/issues/40/comments","statuses_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/statuses/97d02e74916bb7bd046f04a629a2af37bb90b3b6","head":{"label":"nazgum:master","ref":"master","sha":"97d02e74916bb7bd046f04a629a2af37bb90b3b6","user":{"login":"nazgum","id":13953,"avatar_url":"https://avatars.githubusercontent.com/u/13953?v=3","gravatar_id":"","url":"https://api.github.com/users/nazgum","html_url":"https://github.com/nazgum","followers_url":"https://api.github.com/users/nazgum/followers","following_url":"https://api.github.com/users/nazgum/following{/other_user}","gists_url":"https://api.github.com/users/nazgum/gists{/gist_id}","starred_url":"https://api.github.com/users/nazgum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazgum/subscriptions","organizations_url":"https://api.github.com/users/nazgum/orgs","repos_url":"https://api.github.com/users/nazgum/repos","events_url":"https://api.github.com/users/nazgum/events{/privacy}","received_events_url":"https://api.github.com/users/nazgum/received_events","type":"User","site_admin":false},"repo":{"id":44563983,"name":"mongoid_orderable","full_name":"nazgum/mongoid_orderable","owner":{"login":"nazgum","id":13953,"avatar_url":"https://avatars.githubusercontent.com/u/13953?v=3","gravatar_id":"","url":"https://api.github.com/users/nazgum","html_url":"https://github.com/nazgum","followers_url":"https://api.github.com/users/nazgum/followers","following_url":"https://api.github.com/users/nazgum/following{/other_user}","gists_url":"https://api.github.com/users/nazgum/gists{/gist_id}","starred_url":"https://api.github.com/users/nazgum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazgum/subscriptions","organizations_url":"https://api.github.com/users/nazgum/orgs","repos_url":"https://api.github.com/users/nazgum/repos","events_url":"https://api.github.com/users/nazgum/events{/privacy}","received_events_url":"https://api.github.com/users/nazgum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nazgum/mongoid_orderable","description":"Acts as list mongoid implementation","fork":true,"url":"https://api.github.com/repos/nazgum/mongoid_orderable","forks_url":"https://api.github.com/repos/nazgum/mongoid_orderable/forks","keys_url":"https://api.github.com/repos/nazgum/mongoid_orderable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nazgum/mongoid_orderable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nazgum/mongoid_orderable/teams","hooks_url":"https://api.github.com/repos/nazgum/mongoid_orderable/hooks","issue_events_url":"https://api.github.com/repos/nazgum/mongoid_orderable/issues/events{/number}","events_url":"https://api.github.com/repos/nazgum/mongoid_orderable/events","assignees_url":"https://api.github.com/repos/nazgum/mongoid_orderable/assignees{/user}","branches_url":"https://api.github.com/repos/nazgum/mongoid_orderable/branches{/branch}","tags_url":"https://api.github.com/repos/nazgum/mongoid_orderable/tags","blobs_url":"https://api.github.com/repos/nazgum/mongoid_orderable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nazgum/mongoid_orderable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nazgum/mongoid_orderable/git/refs{/sha}","trees_url":"https://api.github.com/repos/nazgum/mongoid_orderable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nazgum/mongoid_orderable/statuses/{sha}","languages_url":"https://api.github.com/repos/nazgum/mongoid_orderable/languages","stargazers_url":"https://api.github.com/repos/nazgum/mongoid_orderable/stargazers","contributors_url":"https://api.github.com/repos/nazgum/mongoid_orderable/contributors","subscribers_url":"https://api.github.com/repos/nazgum/mongoid_orderable/subscribers","subscription_url":"https://api.github.com/repos/nazgum/mongoid_orderable/subscription","commits_url":"https://api.github.com/repos/nazgum/mongoid_orderable/commits{/sha}","git_commits_url":"https://api.github.com/repos/nazgum/mongoid_orderable/git/commits{/sha}","comments_url":"https://api.github.com/repos/nazgum/mongoid_orderable/comments{/number}","issue_comment_url":"https://api.github.com/repos/nazgum/mongoid_orderable/issues/comments{/number}","contents_url":"https://api.github.com/repos/nazgum/mongoid_orderable/contents/{+path}","compare_url":"https://api.github.com/repos/nazgum/mongoid_orderable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nazgum/mongoid_orderable/merges","archive_url":"https://api.github.com/repos/nazgum/mongoid_orderable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nazgum/mongoid_orderable/downloads","issues_url":"https://api.github.com/repos/nazgum/mongoid_orderable/issues{/number}","pulls_url":"https://api.github.com/repos/nazgum/mongoid_orderable/pulls{/number}","milestones_url":"https://api.github.com/repos/nazgum/mongoid_orderable/milestones{/number}","notifications_url":"https://api.github.com/repos/nazgum/mongoid_orderable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nazgum/mongoid_orderable/labels{/name}","releases_url":"https://api.github.com/repos/nazgum/mongoid_orderable/releases{/id}","created_at":"2015-10-19T21:04:10Z","updated_at":"2015-10-19T21:04:11Z","pushed_at":"2015-10-19T21:52:35Z","git_url":"git://github.com/nazgum/mongoid_orderable.git","ssh_url":"git@github.com:nazgum/mongoid_orderable.git","clone_url":"https://github.com/nazgum/mongoid_orderable.git","svn_url":"https://github.com/nazgum/mongoid_orderable","homepage":"","size":396,"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":"pyromaniac:master","ref":"master","sha":"0f3b539761e6aeaeda1a8c71b35dac48c42e30e3","user":{"login":"pyromaniac","id":88852,"avatar_url":"https://avatars.githubusercontent.com/u/88852?v=3","gravatar_id":"","url":"https://api.github.com/users/pyromaniac","html_url":"https://github.com/pyromaniac","followers_url":"https://api.github.com/users/pyromaniac/followers","following_url":"https://api.github.com/users/pyromaniac/following{/other_user}","gists_url":"https://api.github.com/users/pyromaniac/gists{/gist_id}","starred_url":"https://api.github.com/users/pyromaniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyromaniac/subscriptions","organizations_url":"https://api.github.com/users/pyromaniac/orgs","repos_url":"https://api.github.com/users/pyromaniac/repos","events_url":"https://api.github.com/users/pyromaniac/events{/privacy}","received_events_url":"https://api.github.com/users/pyromaniac/received_events","type":"User","site_admin":false},"repo":{"id":2758440,"name":"mongoid_orderable","full_name":"pyromaniac/mongoid_orderable","owner":{"login":"pyromaniac","id":88852,"avatar_url":"https://avatars.githubusercontent.com/u/88852?v=3","gravatar_id":"","url":"https://api.github.com/users/pyromaniac","html_url":"https://github.com/pyromaniac","followers_url":"https://api.github.com/users/pyromaniac/followers","following_url":"https://api.github.com/users/pyromaniac/following{/other_user}","gists_url":"https://api.github.com/users/pyromaniac/gists{/gist_id}","starred_url":"https://api.github.com/users/pyromaniac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyromaniac/subscriptions","organizations_url":"https://api.github.com/users/pyromaniac/orgs","repos_url":"https://api.github.com/users/pyromaniac/repos","events_url":"https://api.github.com/users/pyromaniac/events{/privacy}","received_events_url":"https://api.github.com/users/pyromaniac/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pyromaniac/mongoid_orderable","description":"Acts as list mongoid implementation","fork":false,"url":"https://api.github.com/repos/pyromaniac/mongoid_orderable","forks_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/forks","keys_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/teams","hooks_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/hooks","issue_events_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/issues/events{/number}","events_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/events","assignees_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/assignees{/user}","branches_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/branches{/branch}","tags_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/tags","blobs_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/git/refs{/sha}","trees_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/statuses/{sha}","languages_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/languages","stargazers_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/stargazers","contributors_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/contributors","subscribers_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/subscribers","subscription_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/subscription","commits_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/commits{/sha}","git_commits_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/git/commits{/sha}","comments_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/comments{/number}","issue_comment_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/issues/comments{/number}","contents_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/contents/{+path}","compare_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/merges","archive_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/downloads","issues_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/issues{/number}","pulls_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls{/number}","milestones_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/milestones{/number}","notifications_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/labels{/name}","releases_url":"https://api.github.com/repos/pyromaniac/mongoid_orderable/releases{/id}","created_at":"2011-11-11T20:45:35Z","updated_at":"2015-09-07T17:06:37Z","pushed_at":"2015-10-20T00:34:07Z","git_url":"git://github.com/pyromaniac/mongoid_orderable.git","ssh_url":"git@github.com:pyromaniac/mongoid_orderable.git","clone_url":"https://github.com/pyromaniac/mongoid_orderable.git","svn_url":"https://github.com/pyromaniac/mongoid_orderable","homepage":"","size":396,"stargazers_count":72,"watchers_count":72,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":2,"forks":35,"open_issues":2,"watchers":72,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/40"},"html":{"href":"https://github.com/pyromaniac/mongoid_orderable/pull/40"},"issue":{"href":"https://api.github.com/repos/pyromaniac/mongoid_orderable/issues/40"},"comments":{"href":"https://api.github.com/repos/pyromaniac/mongoid_orderable/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pyromaniac/mongoid_orderable/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/pyromaniac/mongoid_orderable/statuses/97d02e74916bb7bd046f04a629a2af37bb90b3b6"}}}}