{"action":"opened","number":58,"pull_request":{"url":"https://api.github.com/repos/mongoid/mongoid-locker/pulls/58","id":212036368,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMDM2MzY4","html_url":"https://github.com/mongoid/mongoid-locker/pull/58","diff_url":"https://github.com/mongoid/mongoid-locker/pull/58.diff","patch_url":"https://github.com/mongoid/mongoid-locker/pull/58.patch","issue_url":"https://api.github.com/repos/mongoid/mongoid-locker/issues/58","number":58,"state":"open","locked":false,"title":"Fix Travis Jruby job error","user":{"login":"dks17","id":18617428,"node_id":"MDQ6VXNlcjE4NjE3NDI4","avatar_url":"https://avatars2.githubusercontent.com/u/18617428?v=4","gravatar_id":"","url":"https://api.github.com/users/dks17","html_url":"https://github.com/dks17","followers_url":"https://api.github.com/users/dks17/followers","following_url":"https://api.github.com/users/dks17/following{/other_user}","gists_url":"https://api.github.com/users/dks17/gists{/gist_id}","starred_url":"https://api.github.com/users/dks17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dks17/subscriptions","organizations_url":"https://api.github.com/users/dks17/orgs","repos_url":"https://api.github.com/users/dks17/repos","events_url":"https://api.github.com/users/dks17/events{/privacy}","received_events_url":"https://api.github.com/users/dks17/received_events","type":"User","site_admin":false},"body":"I would like fix Travis Jruby job which was broken in #55\r\n```console\r\nGem::Ext::BuildError: ERROR: Failed to build gem native extension.\r\n```\r\nAlso I added two small changes:\r\n\r\nDoes actually `bundler` need in `Gemfile`?\r\n```ruby\r\ngem 'bundler', '~> 1.1'\r\n```\r\n\r\nI think it is actually does't matter.\r\nValue of what variable we should check `retry_sleep` or `opts[:retry_sleep]`?\r\n\r\n```ruby\r\nretry_sleep = opts[:retry_sleep]\r\n# code\r\nif attempts_left > 0\r\n  # if not passed a retry_sleep value, we sleep for the remaining life of the lock\r\n  unless opts[:retry_sleep] # <==\r\n    locked_until = Mongoid::Locker::Wrapper.locked_until(self)\r\n```\r\n\r\n\r\n","created_at":"2018-08-30T10:50:33Z","updated_at":"2018-08-30T10:50:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mongoid/mongoid-locker/pulls/58/commits","review_comments_url":"https://api.github.com/repos/mongoid/mongoid-locker/pulls/58/comments","review_comment_url":"https://api.github.com/repos/mongoid/mongoid-locker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mongoid/mongoid-locker/issues/58/comments","statuses_url":"https://api.github.com/repos/mongoid/mongoid-locker/statuses/bf45389d2db8e906c88d7d1eb562436447623799","head":{"label":"dks17:fix_jruby","ref":"fix_jruby","sha":"bf45389d2db8e906c88d7d1eb562436447623799","user":{"login":"dks17","id":18617428,"node_id":"MDQ6VXNlcjE4NjE3NDI4","avatar_url":"https://avatars2.githubusercontent.com/u/18617428?v=4","gravatar_id":"","url":"https://api.github.com/users/dks17","html_url":"https://github.com/dks17","followers_url":"https://api.github.com/users/dks17/followers","following_url":"https://api.github.com/users/dks17/following{/other_user}","gists_url":"https://api.github.com/users/dks17/gists{/gist_id}","starred_url":"https://api.github.com/users/dks17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dks17/subscriptions","organizations_url":"https://api.github.com/users/dks17/orgs","repos_url":"https://api.github.com/users/dks17/repos","events_url":"https://api.github.com/users/dks17/events{/privacy}","received_events_url":"https://api.github.com/users/dks17/received_events","type":"User","site_admin":false},"repo":{"id":144390611,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQzOTA2MTE=","name":"mongoid-locker","full_name":"dks17/mongoid-locker","owner":{"login":"dks17","id":18617428,"node_id":"MDQ6VXNlcjE4NjE3NDI4","avatar_url":"https://avatars2.githubusercontent.com/u/18617428?v=4","gravatar_id":"","url":"https://api.github.com/users/dks17","html_url":"https://github.com/dks17","followers_url":"https://api.github.com/users/dks17/followers","following_url":"https://api.github.com/users/dks17/following{/other_user}","gists_url":"https://api.github.com/users/dks17/gists{/gist_id}","starred_url":"https://api.github.com/users/dks17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dks17/subscriptions","organizations_url":"https://api.github.com/users/dks17/orgs","repos_url":"https://api.github.com/users/dks17/repos","events_url":"https://api.github.com/users/dks17/events{/privacy}","received_events_url":"https://api.github.com/users/dks17/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dks17/mongoid-locker","description":"Document-level locking for MongoDB via Mongoid","fork":true,"url":"https://api.github.com/repos/dks17/mongoid-locker","forks_url":"https://api.github.com/repos/dks17/mongoid-locker/forks","keys_url":"https://api.github.com/repos/dks17/mongoid-locker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dks17/mongoid-locker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dks17/mongoid-locker/teams","hooks_url":"https://api.github.com/repos/dks17/mongoid-locker/hooks","issue_events_url":"https://api.github.com/repos/dks17/mongoid-locker/issues/events{/number}","events_url":"https://api.github.com/repos/dks17/mongoid-locker/events","assignees_url":"https://api.github.com/repos/dks17/mongoid-locker/assignees{/user}","branches_url":"https://api.github.com/repos/dks17/mongoid-locker/branches{/branch}","tags_url":"https://api.github.com/repos/dks17/mongoid-locker/tags","blobs_url":"https://api.github.com/repos/dks17/mongoid-locker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dks17/mongoid-locker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dks17/mongoid-locker/git/refs{/sha}","trees_url":"https://api.github.com/repos/dks17/mongoid-locker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dks17/mongoid-locker/statuses/{sha}","languages_url":"https://api.github.com/repos/dks17/mongoid-locker/languages","stargazers_url":"https://api.github.com/repos/dks17/mongoid-locker/stargazers","contributors_url":"https://api.github.com/repos/dks17/mongoid-locker/contributors","subscribers_url":"https://api.github.com/repos/dks17/mongoid-locker/subscribers","subscription_url":"https://api.github.com/repos/dks17/mongoid-locker/subscription","commits_url":"https://api.github.com/repos/dks17/mongoid-locker/commits{/sha}","git_commits_url":"https://api.github.com/repos/dks17/mongoid-locker/git/commits{/sha}","comments_url":"https://api.github.com/repos/dks17/mongoid-locker/comments{/number}","issue_comment_url":"https://api.github.com/repos/dks17/mongoid-locker/issues/comments{/number}","contents_url":"https://api.github.com/repos/dks17/mongoid-locker/contents/{+path}","compare_url":"https://api.github.com/repos/dks17/mongoid-locker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dks17/mongoid-locker/merges","archive_url":"https://api.github.com/repos/dks17/mongoid-locker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dks17/mongoid-locker/downloads","issues_url":"https://api.github.com/repos/dks17/mongoid-locker/issues{/number}","pulls_url":"https://api.github.com/repos/dks17/mongoid-locker/pulls{/number}","milestones_url":"https://api.github.com/repos/dks17/mongoid-locker/milestones{/number}","notifications_url":"https://api.github.com/repos/dks17/mongoid-locker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dks17/mongoid-locker/labels{/name}","releases_url":"https://api.github.com/repos/dks17/mongoid-locker/releases{/id}","deployments_url":"https://api.github.com/repos/dks17/mongoid-locker/deployments","created_at":"2018-08-11T14:11:23Z","updated_at":"2018-08-11T14:11:25Z","pushed_at":"2018-08-30T10:17:18Z","git_url":"git://github.com/dks17/mongoid-locker.git","ssh_url":"git@github.com:dks17/mongoid-locker.git","clone_url":"https://github.com/dks17/mongoid-locker.git","svn_url":"https://github.com/dks17/mongoid-locker","homepage":null,"size":220,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mongoid:master","ref":"master","sha":"673a8710efec0c04acfb3d02e8b8304f57491034","user":{"login":"mongoid","id":262752,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2Mjc1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/262752?v=4","gravatar_id":"","url":"https://api.github.com/users/mongoid","html_url":"https://github.com/mongoid","followers_url":"https://api.github.com/users/mongoid/followers","following_url":"https://api.github.com/users/mongoid/following{/other_user}","gists_url":"https://api.github.com/users/mongoid/gists{/gist_id}","starred_url":"https://api.github.com/users/mongoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongoid/subscriptions","organizations_url":"https://api.github.com/users/mongoid/orgs","repos_url":"https://api.github.com/users/mongoid/repos","events_url":"https://api.github.com/users/mongoid/events{/privacy}","received_events_url":"https://api.github.com/users/mongoid/received_events","type":"Organization","site_admin":false},"repo":{"id":4829948,"node_id":"MDEwOlJlcG9zaXRvcnk0ODI5OTQ4","name":"mongoid-locker","full_name":"mongoid/mongoid-locker","owner":{"login":"mongoid","id":262752,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2Mjc1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/262752?v=4","gravatar_id":"","url":"https://api.github.com/users/mongoid","html_url":"https://github.com/mongoid","followers_url":"https://api.github.com/users/mongoid/followers","following_url":"https://api.github.com/users/mongoid/following{/other_user}","gists_url":"https://api.github.com/users/mongoid/gists{/gist_id}","starred_url":"https://api.github.com/users/mongoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongoid/subscriptions","organizations_url":"https://api.github.com/users/mongoid/orgs","repos_url":"https://api.github.com/users/mongoid/repos","events_url":"https://api.github.com/users/mongoid/events{/privacy}","received_events_url":"https://api.github.com/users/mongoid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongoid/mongoid-locker","description":"Document-level locking for MongoDB via Mongoid","fork":false,"url":"https://api.github.com/repos/mongoid/mongoid-locker","forks_url":"https://api.github.com/repos/mongoid/mongoid-locker/forks","keys_url":"https://api.github.com/repos/mongoid/mongoid-locker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongoid/mongoid-locker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongoid/mongoid-locker/teams","hooks_url":"https://api.github.com/repos/mongoid/mongoid-locker/hooks","issue_events_url":"https://api.github.com/repos/mongoid/mongoid-locker/issues/events{/number}","events_url":"https://api.github.com/repos/mongoid/mongoid-locker/events","assignees_url":"https://api.github.com/repos/mongoid/mongoid-locker/assignees{/user}","branches_url":"https://api.github.com/repos/mongoid/mongoid-locker/branches{/branch}","tags_url":"https://api.github.com/repos/mongoid/mongoid-locker/tags","blobs_url":"https://api.github.com/repos/mongoid/mongoid-locker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongoid/mongoid-locker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongoid/mongoid-locker/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongoid/mongoid-locker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongoid/mongoid-locker/statuses/{sha}","languages_url":"https://api.github.com/repos/mongoid/mongoid-locker/languages","stargazers_url":"https://api.github.com/repos/mongoid/mongoid-locker/stargazers","contributors_url":"https://api.github.com/repos/mongoid/mongoid-locker/contributors","subscribers_url":"https://api.github.com/repos/mongoid/mongoid-locker/subscribers","subscription_url":"https://api.github.com/repos/mongoid/mongoid-locker/subscription","commits_url":"https://api.github.com/repos/mongoid/mongoid-locker/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongoid/mongoid-locker/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongoid/mongoid-locker/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongoid/mongoid-locker/issues/comments{/number}","contents_url":"https://api.github.com/repos/mongoid/mongoid-locker/contents/{+path}","compare_url":"https://api.github.com/repos/mongoid/mongoid-locker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongoid/mongoid-locker/merges","archive_url":"https://api.github.com/repos/mongoid/mongoid-locker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongoid/mongoid-locker/downloads","issues_url":"https://api.github.com/repos/mongoid/mongoid-locker/issues{/number}","pulls_url":"https://api.github.com/repos/mongoid/mongoid-locker/pulls{/number}","milestones_url":"https://api.github.com/repos/mongoid/mongoid-locker/milestones{/number}","notifications_url":"https://api.github.com/repos/mongoid/mongoid-locker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongoid/mongoid-locker/labels{/name}","releases_url":"https://api.github.com/repos/mongoid/mongoid-locker/releases{/id}","deployments_url":"https://api.github.com/repos/mongoid/mongoid-locker/deployments","created_at":"2012-06-29T07:50:44Z","updated_at":"2018-08-25T19:56:48Z","pushed_at":"2018-08-25T19:56:46Z","git_url":"git://github.com/mongoid/mongoid-locker.git","ssh_url":"git@github.com:mongoid/mongoid-locker.git","clone_url":"https://github.com/mongoid/mongoid-locker.git","svn_url":"https://github.com/mongoid/mongoid-locker","homepage":null,"size":214,"stargazers_count":57,"watchers_count":57,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":27,"open_issues":9,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mongoid/mongoid-locker/pulls/58"},"html":{"href":"https://github.com/mongoid/mongoid-locker/pull/58"},"issue":{"href":"https://api.github.com/repos/mongoid/mongoid-locker/issues/58"},"comments":{"href":"https://api.github.com/repos/mongoid/mongoid-locker/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/mongoid/mongoid-locker/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/mongoid/mongoid-locker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mongoid/mongoid-locker/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/mongoid/mongoid-locker/statuses/bf45389d2db8e906c88d7d1eb562436447623799"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":6,"changed_files":3}}
{"actor":{"display_login":"dks17"}}