{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/ericqweinstein/ruumba/pulls/20","id":210618328,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNjE4MzI4","html_url":"https://github.com/ericqweinstein/ruumba/pull/20","diff_url":"https://github.com/ericqweinstein/ruumba/pull/20.diff","patch_url":"https://github.com/ericqweinstein/ruumba/pull/20.patch","issue_url":"https://api.github.com/repos/ericqweinstein/ruumba/issues/20","number":20,"state":"open","locked":false,"title":"Use pwd after switching to temporary directory to replace paths in ou…","user":{"login":"aclemons","id":346774,"node_id":"MDQ6VXNlcjM0Njc3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/346774?v=4","gravatar_id":"","url":"https://api.github.com/users/aclemons","html_url":"https://github.com/aclemons","followers_url":"https://api.github.com/users/aclemons/followers","following_url":"https://api.github.com/users/aclemons/following{/other_user}","gists_url":"https://api.github.com/users/aclemons/gists{/gist_id}","starred_url":"https://api.github.com/users/aclemons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aclemons/subscriptions","organizations_url":"https://api.github.com/users/aclemons/orgs","repos_url":"https://api.github.com/users/aclemons/repos","events_url":"https://api.github.com/users/aclemons/events{/privacy}","received_events_url":"https://api.github.com/users/aclemons/received_events","type":"User","site_admin":false},"body":"…tput\r\n\r\nIf the tmp dir is a symlink to another directory, after the code in\r\nruumba which does Dir.chdir(tmp) runs, we are not actually in the folder\r\nreturned from `FileUtils.mkdir_p(File.dirname(n))`. Delay creating the\r\nregex replacements until we switch directories, so we can be sure we\r\nhave the correct directory name to replace in the output.\r\n\r\nCloses #19.","created_at":"2018-08-24T01:42:34Z","updated_at":"2018-08-24T01:42:34Z","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/ericqweinstein/ruumba/pulls/20/commits","review_comments_url":"https://api.github.com/repos/ericqweinstein/ruumba/pulls/20/comments","review_comment_url":"https://api.github.com/repos/ericqweinstein/ruumba/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ericqweinstein/ruumba/issues/20/comments","statuses_url":"https://api.github.com/repos/ericqweinstein/ruumba/statuses/9fe6755061d6d40fee3b3b1eba7919426349353e","head":{"label":"aclemons:tmp_dir_replacement","ref":"tmp_dir_replacement","sha":"9fe6755061d6d40fee3b3b1eba7919426349353e","user":{"login":"aclemons","id":346774,"node_id":"MDQ6VXNlcjM0Njc3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/346774?v=4","gravatar_id":"","url":"https://api.github.com/users/aclemons","html_url":"https://github.com/aclemons","followers_url":"https://api.github.com/users/aclemons/followers","following_url":"https://api.github.com/users/aclemons/following{/other_user}","gists_url":"https://api.github.com/users/aclemons/gists{/gist_id}","starred_url":"https://api.github.com/users/aclemons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aclemons/subscriptions","organizations_url":"https://api.github.com/users/aclemons/orgs","repos_url":"https://api.github.com/users/aclemons/repos","events_url":"https://api.github.com/users/aclemons/events{/privacy}","received_events_url":"https://api.github.com/users/aclemons/received_events","type":"User","site_admin":false},"repo":{"id":106061592,"node_id":"MDEwOlJlcG9zaXRvcnkxMDYwNjE1OTI=","name":"ruumba","full_name":"aclemons/ruumba","owner":{"login":"aclemons","id":346774,"node_id":"MDQ6VXNlcjM0Njc3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/346774?v=4","gravatar_id":"","url":"https://api.github.com/users/aclemons","html_url":"https://github.com/aclemons","followers_url":"https://api.github.com/users/aclemons/followers","following_url":"https://api.github.com/users/aclemons/following{/other_user}","gists_url":"https://api.github.com/users/aclemons/gists{/gist_id}","starred_url":"https://api.github.com/users/aclemons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aclemons/subscriptions","organizations_url":"https://api.github.com/users/aclemons/orgs","repos_url":"https://api.github.com/users/aclemons/repos","events_url":"https://api.github.com/users/aclemons/events{/privacy}","received_events_url":"https://api.github.com/users/aclemons/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aclemons/ruumba","description":"RuboCop linting for ERB templates.","fork":true,"url":"https://api.github.com/repos/aclemons/ruumba","forks_url":"https://api.github.com/repos/aclemons/ruumba/forks","keys_url":"https://api.github.com/repos/aclemons/ruumba/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aclemons/ruumba/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aclemons/ruumba/teams","hooks_url":"https://api.github.com/repos/aclemons/ruumba/hooks","issue_events_url":"https://api.github.com/repos/aclemons/ruumba/issues/events{/number}","events_url":"https://api.github.com/repos/aclemons/ruumba/events","assignees_url":"https://api.github.com/repos/aclemons/ruumba/assignees{/user}","branches_url":"https://api.github.com/repos/aclemons/ruumba/branches{/branch}","tags_url":"https://api.github.com/repos/aclemons/ruumba/tags","blobs_url":"https://api.github.com/repos/aclemons/ruumba/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aclemons/ruumba/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aclemons/ruumba/git/refs{/sha}","trees_url":"https://api.github.com/repos/aclemons/ruumba/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aclemons/ruumba/statuses/{sha}","languages_url":"https://api.github.com/repos/aclemons/ruumba/languages","stargazers_url":"https://api.github.com/repos/aclemons/ruumba/stargazers","contributors_url":"https://api.github.com/repos/aclemons/ruumba/contributors","subscribers_url":"https://api.github.com/repos/aclemons/ruumba/subscribers","subscription_url":"https://api.github.com/repos/aclemons/ruumba/subscription","commits_url":"https://api.github.com/repos/aclemons/ruumba/commits{/sha}","git_commits_url":"https://api.github.com/repos/aclemons/ruumba/git/commits{/sha}","comments_url":"https://api.github.com/repos/aclemons/ruumba/comments{/number}","issue_comment_url":"https://api.github.com/repos/aclemons/ruumba/issues/comments{/number}","contents_url":"https://api.github.com/repos/aclemons/ruumba/contents/{+path}","compare_url":"https://api.github.com/repos/aclemons/ruumba/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aclemons/ruumba/merges","archive_url":"https://api.github.com/repos/aclemons/ruumba/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aclemons/ruumba/downloads","issues_url":"https://api.github.com/repos/aclemons/ruumba/issues{/number}","pulls_url":"https://api.github.com/repos/aclemons/ruumba/pulls{/number}","milestones_url":"https://api.github.com/repos/aclemons/ruumba/milestones{/number}","notifications_url":"https://api.github.com/repos/aclemons/ruumba/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aclemons/ruumba/labels{/name}","releases_url":"https://api.github.com/repos/aclemons/ruumba/releases{/id}","deployments_url":"https://api.github.com/repos/aclemons/ruumba/deployments","created_at":"2017-10-07T00:44:00Z","updated_at":"2018-05-20T23:27:11Z","pushed_at":"2018-08-24T01:42:16Z","git_url":"git://github.com/aclemons/ruumba.git","ssh_url":"git@github.com:aclemons/ruumba.git","clone_url":"https://github.com/aclemons/ruumba.git","svn_url":"https://github.com/aclemons/ruumba","homepage":null,"size":59,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"ericqweinstein:master","ref":"master","sha":"e87f7cc0542e48caff7cdf9fbdf52a15376500bb","user":{"login":"ericqweinstein","id":2340111,"node_id":"MDQ6VXNlcjIzNDAxMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/2340111?v=4","gravatar_id":"","url":"https://api.github.com/users/ericqweinstein","html_url":"https://github.com/ericqweinstein","followers_url":"https://api.github.com/users/ericqweinstein/followers","following_url":"https://api.github.com/users/ericqweinstein/following{/other_user}","gists_url":"https://api.github.com/users/ericqweinstein/gists{/gist_id}","starred_url":"https://api.github.com/users/ericqweinstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericqweinstein/subscriptions","organizations_url":"https://api.github.com/users/ericqweinstein/orgs","repos_url":"https://api.github.com/users/ericqweinstein/repos","events_url":"https://api.github.com/users/ericqweinstein/events{/privacy}","received_events_url":"https://api.github.com/users/ericqweinstein/received_events","type":"User","site_admin":false},"repo":{"id":34622513,"node_id":"MDEwOlJlcG9zaXRvcnkzNDYyMjUxMw==","name":"ruumba","full_name":"ericqweinstein/ruumba","owner":{"login":"ericqweinstein","id":2340111,"node_id":"MDQ6VXNlcjIzNDAxMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/2340111?v=4","gravatar_id":"","url":"https://api.github.com/users/ericqweinstein","html_url":"https://github.com/ericqweinstein","followers_url":"https://api.github.com/users/ericqweinstein/followers","following_url":"https://api.github.com/users/ericqweinstein/following{/other_user}","gists_url":"https://api.github.com/users/ericqweinstein/gists{/gist_id}","starred_url":"https://api.github.com/users/ericqweinstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericqweinstein/subscriptions","organizations_url":"https://api.github.com/users/ericqweinstein/orgs","repos_url":"https://api.github.com/users/ericqweinstein/repos","events_url":"https://api.github.com/users/ericqweinstein/events{/privacy}","received_events_url":"https://api.github.com/users/ericqweinstein/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericqweinstein/ruumba","description":"RuboCop linting for ERB templates.","fork":false,"url":"https://api.github.com/repos/ericqweinstein/ruumba","forks_url":"https://api.github.com/repos/ericqweinstein/ruumba/forks","keys_url":"https://api.github.com/repos/ericqweinstein/ruumba/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericqweinstein/ruumba/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericqweinstein/ruumba/teams","hooks_url":"https://api.github.com/repos/ericqweinstein/ruumba/hooks","issue_events_url":"https://api.github.com/repos/ericqweinstein/ruumba/issues/events{/number}","events_url":"https://api.github.com/repos/ericqweinstein/ruumba/events","assignees_url":"https://api.github.com/repos/ericqweinstein/ruumba/assignees{/user}","branches_url":"https://api.github.com/repos/ericqweinstein/ruumba/branches{/branch}","tags_url":"https://api.github.com/repos/ericqweinstein/ruumba/tags","blobs_url":"https://api.github.com/repos/ericqweinstein/ruumba/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericqweinstein/ruumba/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericqweinstein/ruumba/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericqweinstein/ruumba/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericqweinstein/ruumba/statuses/{sha}","languages_url":"https://api.github.com/repos/ericqweinstein/ruumba/languages","stargazers_url":"https://api.github.com/repos/ericqweinstein/ruumba/stargazers","contributors_url":"https://api.github.com/repos/ericqweinstein/ruumba/contributors","subscribers_url":"https://api.github.com/repos/ericqweinstein/ruumba/subscribers","subscription_url":"https://api.github.com/repos/ericqweinstein/ruumba/subscription","commits_url":"https://api.github.com/repos/ericqweinstein/ruumba/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericqweinstein/ruumba/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericqweinstein/ruumba/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericqweinstein/ruumba/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericqweinstein/ruumba/contents/{+path}","compare_url":"https://api.github.com/repos/ericqweinstein/ruumba/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericqweinstein/ruumba/merges","archive_url":"https://api.github.com/repos/ericqweinstein/ruumba/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericqweinstein/ruumba/downloads","issues_url":"https://api.github.com/repos/ericqweinstein/ruumba/issues{/number}","pulls_url":"https://api.github.com/repos/ericqweinstein/ruumba/pulls{/number}","milestones_url":"https://api.github.com/repos/ericqweinstein/ruumba/milestones{/number}","notifications_url":"https://api.github.com/repos/ericqweinstein/ruumba/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericqweinstein/ruumba/labels{/name}","releases_url":"https://api.github.com/repos/ericqweinstein/ruumba/releases{/id}","deployments_url":"https://api.github.com/repos/ericqweinstein/ruumba/deployments","created_at":"2015-04-26T17:25:28Z","updated_at":"2018-08-14T15:01:25Z","pushed_at":"2018-08-09T19:34:29Z","git_url":"git://github.com/ericqweinstein/ruumba.git","ssh_url":"git@github.com:ericqweinstein/ruumba.git","clone_url":"https://github.com/ericqweinstein/ruumba.git","svn_url":"https://github.com/ericqweinstein/ruumba","homepage":null,"size":43,"stargazers_count":22,"watchers_count":22,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"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":6,"open_issues":9,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ericqweinstein/ruumba/pulls/20"},"html":{"href":"https://github.com/ericqweinstein/ruumba/pull/20"},"issue":{"href":"https://api.github.com/repos/ericqweinstein/ruumba/issues/20"},"comments":{"href":"https://api.github.com/repos/ericqweinstein/ruumba/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/ericqweinstein/ruumba/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/ericqweinstein/ruumba/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ericqweinstein/ruumba/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/ericqweinstein/ruumba/statuses/9fe6755061d6d40fee3b3b1eba7919426349353e"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"aclemons"}}