{"action":"closed","number":476,"pull_request":{"url":"https://api.github.com/repos/rails/spring/pulls/476","id":65081711,"html_url":"https://github.com/rails/spring/pull/476","diff_url":"https://github.com/rails/spring/pull/476.diff","patch_url":"https://github.com/rails/spring/pull/476.patch","issue_url":"https://api.github.com/repos/rails/spring/issues/476","number":476,"state":"closed","locked":false,"title":"Auto-restart server when version mismatch","user":{"login":"arktisklada","id":1591025,"avatar_url":"https://avatars.githubusercontent.com/u/1591025?v=3","gravatar_id":"","url":"https://api.github.com/users/arktisklada","html_url":"https://github.com/arktisklada","followers_url":"https://api.github.com/users/arktisklada/followers","following_url":"https://api.github.com/users/arktisklada/following{/other_user}","gists_url":"https://api.github.com/users/arktisklada/gists{/gist_id}","starred_url":"https://api.github.com/users/arktisklada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arktisklada/subscriptions","organizations_url":"https://api.github.com/users/arktisklada/orgs","repos_url":"https://api.github.com/users/arktisklada/repos","events_url":"https://api.github.com/users/arktisklada/events{/privacy}","received_events_url":"https://api.github.com/users/arktisklada/received_events","type":"User","site_admin":false},"body":"Resolves #475 \r\n\r\nI've been having a hard time recreating this locally, but I know this issue has come up a few times in discussion and on stack overflow.  This code change attempts to stop and restart the server, logically performing the recommended action.","created_at":"2016-04-03T21:48:07Z","updated_at":"2016-04-05T03:29:33Z","closed_at":"2016-04-05T03:29:33Z","merged_at":"2016-04-05T03:29:33Z","merge_commit_sha":"f6a5b083b4d22deecb57d1c138105dede2e4f574","assignee":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars.githubusercontent.com/u/47848?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rails/spring/pulls/476/commits","review_comments_url":"https://api.github.com/repos/rails/spring/pulls/476/comments","review_comment_url":"https://api.github.com/repos/rails/spring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/spring/issues/476/comments","statuses_url":"https://api.github.com/repos/rails/spring/statuses/e3cd7e4164e4f0c072c93fbca8fc84149ff51e29","head":{"label":"arktisklada:auto-restart-when-version-mismatch","ref":"auto-restart-when-version-mismatch","sha":"e3cd7e4164e4f0c072c93fbca8fc84149ff51e29","user":{"login":"arktisklada","id":1591025,"avatar_url":"https://avatars.githubusercontent.com/u/1591025?v=3","gravatar_id":"","url":"https://api.github.com/users/arktisklada","html_url":"https://github.com/arktisklada","followers_url":"https://api.github.com/users/arktisklada/followers","following_url":"https://api.github.com/users/arktisklada/following{/other_user}","gists_url":"https://api.github.com/users/arktisklada/gists{/gist_id}","starred_url":"https://api.github.com/users/arktisklada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arktisklada/subscriptions","organizations_url":"https://api.github.com/users/arktisklada/orgs","repos_url":"https://api.github.com/users/arktisklada/repos","events_url":"https://api.github.com/users/arktisklada/events{/privacy}","received_events_url":"https://api.github.com/users/arktisklada/received_events","type":"User","site_admin":false},"repo":{"id":55368505,"name":"spring","full_name":"arktisklada/spring","owner":{"login":"arktisklada","id":1591025,"avatar_url":"https://avatars.githubusercontent.com/u/1591025?v=3","gravatar_id":"","url":"https://api.github.com/users/arktisklada","html_url":"https://github.com/arktisklada","followers_url":"https://api.github.com/users/arktisklada/followers","following_url":"https://api.github.com/users/arktisklada/following{/other_user}","gists_url":"https://api.github.com/users/arktisklada/gists{/gist_id}","starred_url":"https://api.github.com/users/arktisklada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arktisklada/subscriptions","organizations_url":"https://api.github.com/users/arktisklada/orgs","repos_url":"https://api.github.com/users/arktisklada/repos","events_url":"https://api.github.com/users/arktisklada/events{/privacy}","received_events_url":"https://api.github.com/users/arktisklada/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arktisklada/spring","description":"Rails application preloader","fork":true,"url":"https://api.github.com/repos/arktisklada/spring","forks_url":"https://api.github.com/repos/arktisklada/spring/forks","keys_url":"https://api.github.com/repos/arktisklada/spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arktisklada/spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arktisklada/spring/teams","hooks_url":"https://api.github.com/repos/arktisklada/spring/hooks","issue_events_url":"https://api.github.com/repos/arktisklada/spring/issues/events{/number}","events_url":"https://api.github.com/repos/arktisklada/spring/events","assignees_url":"https://api.github.com/repos/arktisklada/spring/assignees{/user}","branches_url":"https://api.github.com/repos/arktisklada/spring/branches{/branch}","tags_url":"https://api.github.com/repos/arktisklada/spring/tags","blobs_url":"https://api.github.com/repos/arktisklada/spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arktisklada/spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arktisklada/spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/arktisklada/spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arktisklada/spring/statuses/{sha}","languages_url":"https://api.github.com/repos/arktisklada/spring/languages","stargazers_url":"https://api.github.com/repos/arktisklada/spring/stargazers","contributors_url":"https://api.github.com/repos/arktisklada/spring/contributors","subscribers_url":"https://api.github.com/repos/arktisklada/spring/subscribers","subscription_url":"https://api.github.com/repos/arktisklada/spring/subscription","commits_url":"https://api.github.com/repos/arktisklada/spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/arktisklada/spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/arktisklada/spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/arktisklada/spring/issues/comments{/number}","contents_url":"https://api.github.com/repos/arktisklada/spring/contents/{+path}","compare_url":"https://api.github.com/repos/arktisklada/spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arktisklada/spring/merges","archive_url":"https://api.github.com/repos/arktisklada/spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arktisklada/spring/downloads","issues_url":"https://api.github.com/repos/arktisklada/spring/issues{/number}","pulls_url":"https://api.github.com/repos/arktisklada/spring/pulls{/number}","milestones_url":"https://api.github.com/repos/arktisklada/spring/milestones{/number}","notifications_url":"https://api.github.com/repos/arktisklada/spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arktisklada/spring/labels{/name}","releases_url":"https://api.github.com/repos/arktisklada/spring/releases{/id}","deployments_url":"https://api.github.com/repos/arktisklada/spring/deployments","created_at":"2016-04-03T20:55:16Z","updated_at":"2016-04-03T20:55:17Z","pushed_at":"2016-04-03T21:47:59Z","git_url":"git://github.com/arktisklada/spring.git","ssh_url":"git@github.com:arktisklada/spring.git","clone_url":"https://github.com/arktisklada/spring.git","svn_url":"https://github.com/arktisklada/spring","homepage":"","size":802,"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":"rails:master","ref":"master","sha":"a98bb92c67e94e6c8ae9311ac55f7e6305b3bbe5","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":7362671,"name":"spring","full_name":"rails/spring","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/spring","description":"Rails application preloader","fork":false,"url":"https://api.github.com/repos/rails/spring","forks_url":"https://api.github.com/repos/rails/spring/forks","keys_url":"https://api.github.com/repos/rails/spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/spring/teams","hooks_url":"https://api.github.com/repos/rails/spring/hooks","issue_events_url":"https://api.github.com/repos/rails/spring/issues/events{/number}","events_url":"https://api.github.com/repos/rails/spring/events","assignees_url":"https://api.github.com/repos/rails/spring/assignees{/user}","branches_url":"https://api.github.com/repos/rails/spring/branches{/branch}","tags_url":"https://api.github.com/repos/rails/spring/tags","blobs_url":"https://api.github.com/repos/rails/spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/spring/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/spring/languages","stargazers_url":"https://api.github.com/repos/rails/spring/stargazers","contributors_url":"https://api.github.com/repos/rails/spring/contributors","subscribers_url":"https://api.github.com/repos/rails/spring/subscribers","subscription_url":"https://api.github.com/repos/rails/spring/subscription","commits_url":"https://api.github.com/repos/rails/spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/spring/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/spring/contents/{+path}","compare_url":"https://api.github.com/repos/rails/spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/spring/merges","archive_url":"https://api.github.com/repos/rails/spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/spring/downloads","issues_url":"https://api.github.com/repos/rails/spring/issues{/number}","pulls_url":"https://api.github.com/repos/rails/spring/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/spring/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/spring/labels{/name}","releases_url":"https://api.github.com/repos/rails/spring/releases{/id}","deployments_url":"https://api.github.com/repos/rails/spring/deployments","created_at":"2012-12-29T03:53:34Z","updated_at":"2016-04-01T22:55:50Z","pushed_at":"2016-04-05T03:29:33Z","git_url":"git://github.com/rails/spring.git","ssh_url":"git@github.com:rails/spring.git","clone_url":"https://github.com/rails/spring.git","svn_url":"https://github.com/rails/spring","homepage":"","size":1038,"stargazers_count":2089,"watchers_count":2089,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":207,"mirror_url":null,"open_issues_count":62,"forks":207,"open_issues":62,"watchers":2089,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/spring/pulls/476"},"html":{"href":"https://github.com/rails/spring/pull/476"},"issue":{"href":"https://api.github.com/repos/rails/spring/issues/476"},"comments":{"href":"https://api.github.com/repos/rails/spring/issues/476/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/spring/pulls/476/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/spring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/spring/pulls/476/commits"},"statuses":{"href":"https://api.github.com/repos/rails/spring/statuses/e3cd7e4164e4f0c072c93fbca8fc84149ff51e29"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars.githubusercontent.com/u/47848?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":9,"deletions":5,"changed_files":2}}