{"action":"opened","number":851,"pull_request":{"url":"https://api.github.com/repos/collectiveidea/delayed_job/pulls/851","id":45912996,"html_url":"https://github.com/collectiveidea/delayed_job/pull/851","diff_url":"https://github.com/collectiveidea/delayed_job/pull/851.diff","patch_url":"https://github.com/collectiveidea/delayed_job/pull/851.patch","issue_url":"https://api.github.com/repos/collectiveidea/delayed_job/issues/851","number":851,"state":"open","locked":false,"title":"Fix shared specs for back-ends that reload objects.","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 is a fix related to https://github.com/collectiveidea/delayed_job_mongoid/issues/59. The problem is that the mongoid backend does a `find_and_modify` which returns a different object instance when the job is being processed, so you cannot expect the same instance to receive anything as the one you queued.","created_at":"2015-09-24T15:39:15Z","updated_at":"2015-09-24T15:39:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/collectiveidea/delayed_job/pulls/851/commits","review_comments_url":"https://api.github.com/repos/collectiveidea/delayed_job/pulls/851/comments","review_comment_url":"https://api.github.com/repos/collectiveidea/delayed_job/pulls/comments{/number}","comments_url":"https://api.github.com/repos/collectiveidea/delayed_job/issues/851/comments","statuses_url":"https://api.github.com/repos/collectiveidea/delayed_job/statuses/a9472c5b3083a8b731b851c400dc46d413273013","head":{"label":"dblock:not-manipulating-same-instance","ref":"not-manipulating-same-instance","sha":"a9472c5b3083a8b731b851c400dc46d413273013","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":33872997,"name":"delayed_job","full_name":"dblock/delayed_job","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/delayed_job","description":"Database based asynchronous priority queue system -- Extracted from Shopify ","fork":true,"url":"https://api.github.com/repos/dblock/delayed_job","forks_url":"https://api.github.com/repos/dblock/delayed_job/forks","keys_url":"https://api.github.com/repos/dblock/delayed_job/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dblock/delayed_job/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dblock/delayed_job/teams","hooks_url":"https://api.github.com/repos/dblock/delayed_job/hooks","issue_events_url":"https://api.github.com/repos/dblock/delayed_job/issues/events{/number}","events_url":"https://api.github.com/repos/dblock/delayed_job/events","assignees_url":"https://api.github.com/repos/dblock/delayed_job/assignees{/user}","branches_url":"https://api.github.com/repos/dblock/delayed_job/branches{/branch}","tags_url":"https://api.github.com/repos/dblock/delayed_job/tags","blobs_url":"https://api.github.com/repos/dblock/delayed_job/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dblock/delayed_job/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dblock/delayed_job/git/refs{/sha}","trees_url":"https://api.github.com/repos/dblock/delayed_job/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dblock/delayed_job/statuses/{sha}","languages_url":"https://api.github.com/repos/dblock/delayed_job/languages","stargazers_url":"https://api.github.com/repos/dblock/delayed_job/stargazers","contributors_url":"https://api.github.com/repos/dblock/delayed_job/contributors","subscribers_url":"https://api.github.com/repos/dblock/delayed_job/subscribers","subscription_url":"https://api.github.com/repos/dblock/delayed_job/subscription","commits_url":"https://api.github.com/repos/dblock/delayed_job/commits{/sha}","git_commits_url":"https://api.github.com/repos/dblock/delayed_job/git/commits{/sha}","comments_url":"https://api.github.com/repos/dblock/delayed_job/comments{/number}","issue_comment_url":"https://api.github.com/repos/dblock/delayed_job/issues/comments{/number}","contents_url":"https://api.github.com/repos/dblock/delayed_job/contents/{+path}","compare_url":"https://api.github.com/repos/dblock/delayed_job/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dblock/delayed_job/merges","archive_url":"https://api.github.com/repos/dblock/delayed_job/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dblock/delayed_job/downloads","issues_url":"https://api.github.com/repos/dblock/delayed_job/issues{/number}","pulls_url":"https://api.github.com/repos/dblock/delayed_job/pulls{/number}","milestones_url":"https://api.github.com/repos/dblock/delayed_job/milestones{/number}","notifications_url":"https://api.github.com/repos/dblock/delayed_job/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dblock/delayed_job/labels{/name}","releases_url":"https://api.github.com/repos/dblock/delayed_job/releases{/id}","created_at":"2015-04-13T14:22:47Z","updated_at":"2015-04-13T14:22:47Z","pushed_at":"2015-09-24T15:38:09Z","git_url":"git://github.com/dblock/delayed_job.git","ssh_url":"git@github.com:dblock/delayed_job.git","clone_url":"https://github.com/dblock/delayed_job.git","svn_url":"https://github.com/dblock/delayed_job","homepage":"http://groups.google.com/group/delayed_job","size":1585,"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":"collectiveidea:master","ref":"master","sha":"57540d792a3575c8e412c37caab28d44d1185d26","user":{"login":"collectiveidea","id":128,"avatar_url":"https://avatars.githubusercontent.com/u/128?v=3","gravatar_id":"","url":"https://api.github.com/users/collectiveidea","html_url":"https://github.com/collectiveidea","followers_url":"https://api.github.com/users/collectiveidea/followers","following_url":"https://api.github.com/users/collectiveidea/following{/other_user}","gists_url":"https://api.github.com/users/collectiveidea/gists{/gist_id}","starred_url":"https://api.github.com/users/collectiveidea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collectiveidea/subscriptions","organizations_url":"https://api.github.com/users/collectiveidea/orgs","repos_url":"https://api.github.com/users/collectiveidea/repos","events_url":"https://api.github.com/users/collectiveidea/events{/privacy}","received_events_url":"https://api.github.com/users/collectiveidea/received_events","type":"Organization","site_admin":false},"repo":{"id":52287,"name":"delayed_job","full_name":"collectiveidea/delayed_job","owner":{"login":"collectiveidea","id":128,"avatar_url":"https://avatars.githubusercontent.com/u/128?v=3","gravatar_id":"","url":"https://api.github.com/users/collectiveidea","html_url":"https://github.com/collectiveidea","followers_url":"https://api.github.com/users/collectiveidea/followers","following_url":"https://api.github.com/users/collectiveidea/following{/other_user}","gists_url":"https://api.github.com/users/collectiveidea/gists{/gist_id}","starred_url":"https://api.github.com/users/collectiveidea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collectiveidea/subscriptions","organizations_url":"https://api.github.com/users/collectiveidea/orgs","repos_url":"https://api.github.com/users/collectiveidea/repos","events_url":"https://api.github.com/users/collectiveidea/events{/privacy}","received_events_url":"https://api.github.com/users/collectiveidea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/collectiveidea/delayed_job","description":"Database based asynchronous priority queue system -- Extracted from Shopify ","fork":true,"url":"https://api.github.com/repos/collectiveidea/delayed_job","forks_url":"https://api.github.com/repos/collectiveidea/delayed_job/forks","keys_url":"https://api.github.com/repos/collectiveidea/delayed_job/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collectiveidea/delayed_job/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collectiveidea/delayed_job/teams","hooks_url":"https://api.github.com/repos/collectiveidea/delayed_job/hooks","issue_events_url":"https://api.github.com/repos/collectiveidea/delayed_job/issues/events{/number}","events_url":"https://api.github.com/repos/collectiveidea/delayed_job/events","assignees_url":"https://api.github.com/repos/collectiveidea/delayed_job/assignees{/user}","branches_url":"https://api.github.com/repos/collectiveidea/delayed_job/branches{/branch}","tags_url":"https://api.github.com/repos/collectiveidea/delayed_job/tags","blobs_url":"https://api.github.com/repos/collectiveidea/delayed_job/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collectiveidea/delayed_job/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collectiveidea/delayed_job/git/refs{/sha}","trees_url":"https://api.github.com/repos/collectiveidea/delayed_job/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collectiveidea/delayed_job/statuses/{sha}","languages_url":"https://api.github.com/repos/collectiveidea/delayed_job/languages","stargazers_url":"https://api.github.com/repos/collectiveidea/delayed_job/stargazers","contributors_url":"https://api.github.com/repos/collectiveidea/delayed_job/contributors","subscribers_url":"https://api.github.com/repos/collectiveidea/delayed_job/subscribers","subscription_url":"https://api.github.com/repos/collectiveidea/delayed_job/subscription","commits_url":"https://api.github.com/repos/collectiveidea/delayed_job/commits{/sha}","git_commits_url":"https://api.github.com/repos/collectiveidea/delayed_job/git/commits{/sha}","comments_url":"https://api.github.com/repos/collectiveidea/delayed_job/comments{/number}","issue_comment_url":"https://api.github.com/repos/collectiveidea/delayed_job/issues/comments{/number}","contents_url":"https://api.github.com/repos/collectiveidea/delayed_job/contents/{+path}","compare_url":"https://api.github.com/repos/collectiveidea/delayed_job/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collectiveidea/delayed_job/merges","archive_url":"https://api.github.com/repos/collectiveidea/delayed_job/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collectiveidea/delayed_job/downloads","issues_url":"https://api.github.com/repos/collectiveidea/delayed_job/issues{/number}","pulls_url":"https://api.github.com/repos/collectiveidea/delayed_job/pulls{/number}","milestones_url":"https://api.github.com/repos/collectiveidea/delayed_job/milestones{/number}","notifications_url":"https://api.github.com/repos/collectiveidea/delayed_job/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collectiveidea/delayed_job/labels{/name}","releases_url":"https://api.github.com/repos/collectiveidea/delayed_job/releases{/id}","created_at":"2008-09-13T14:27:37Z","updated_at":"2015-09-24T14:52:35Z","pushed_at":"2015-09-24T15:39:15Z","git_url":"git://github.com/collectiveidea/delayed_job.git","ssh_url":"git@github.com:collectiveidea/delayed_job.git","clone_url":"https://github.com/collectiveidea/delayed_job.git","svn_url":"https://github.com/collectiveidea/delayed_job","homepage":"http://groups.google.com/group/delayed_job","size":3690,"stargazers_count":3614,"watchers_count":3614,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":726,"mirror_url":null,"open_issues_count":87,"forks":726,"open_issues":87,"watchers":3614,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/collectiveidea/delayed_job/pulls/851"},"html":{"href":"https://github.com/collectiveidea/delayed_job/pull/851"},"issue":{"href":"https://api.github.com/repos/collectiveidea/delayed_job/issues/851"},"comments":{"href":"https://api.github.com/repos/collectiveidea/delayed_job/issues/851/comments"},"review_comments":{"href":"https://api.github.com/repos/collectiveidea/delayed_job/pulls/851/comments"},"review_comment":{"href":"https://api.github.com/repos/collectiveidea/delayed_job/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/collectiveidea/delayed_job/pulls/851/commits"},"statuses":{"href":"https://api.github.com/repos/collectiveidea/delayed_job/statuses/a9472c5b3083a8b731b851c400dc46d413273013"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":2,"changed_files":2}}