{"action":"created","comment":{"url":"https://api.github.com/repos/Originate/git-town/pulls/comments/27784855","id":27784855,"diff_hunk":"@@ -23,6 +23,32 @@ def files_in_branches\n end\n \n \n+def create_uncommitted_file options = {}\n+  options.reverse_merge! default_uncommitted_file_attributes\n+  IO.write options[:file_name], options[:file_content]\n+  options[:file_name]\n+end\n+\n+\n+def default_uncommitted_file_attributes","path":"features/support/files_helpers.rb","position":11,"original_position":11,"commit_id":"1adc1d854ee65f3ce590b80f0d5e781f3b3bcc02","original_commit_id":"1adc1d854ee65f3ce590b80f0d5e781f3b3bcc02","user":{"login":"ricmatsui","id":5288285,"avatar_url":"https://avatars.githubusercontent.com/u/5288285?v=3","gravatar_id":"","url":"https://api.github.com/users/ricmatsui","html_url":"https://github.com/ricmatsui","followers_url":"https://api.github.com/users/ricmatsui/followers","following_url":"https://api.github.com/users/ricmatsui/following{/other_user}","gists_url":"https://api.github.com/users/ricmatsui/gists{/gist_id}","starred_url":"https://api.github.com/users/ricmatsui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricmatsui/subscriptions","organizations_url":"https://api.github.com/users/ricmatsui/orgs","repos_url":"https://api.github.com/users/ricmatsui/repos","events_url":"https://api.github.com/users/ricmatsui/events{/privacy}","received_events_url":"https://api.github.com/users/ricmatsui/received_events","type":"User","site_admin":false},"body":"Cool.","created_at":"2015-04-06T04:36:35Z","updated_at":"2015-04-06T04:36:35Z","html_url":"https://github.com/Originate/git-town/pull/482#discussion_r27784855","pull_request_url":"https://api.github.com/repos/Originate/git-town/pulls/482","_links":{"self":{"href":"https://api.github.com/repos/Originate/git-town/pulls/comments/27784855"},"html":{"href":"https://github.com/Originate/git-town/pull/482#discussion_r27784855"},"pull_request":{"href":"https://api.github.com/repos/Originate/git-town/pulls/482"}}},"pull_request":{"url":"https://api.github.com/repos/Originate/git-town/pulls/482","id":32657108,"html_url":"https://github.com/Originate/git-town/pull/482","diff_url":"https://github.com/Originate/git-town/pull/482.diff","patch_url":"https://github.com/Originate/git-town/pull/482.patch","issue_url":"https://api.github.com/repos/Originate/git-town/issues/482","number":482,"state":"open","locked":false,"title":" DRY up uncommitted file steps","user":{"login":"ricmatsui","id":5288285,"avatar_url":"https://avatars.githubusercontent.com/u/5288285?v=3","gravatar_id":"","url":"https://api.github.com/users/ricmatsui","html_url":"https://github.com/ricmatsui","followers_url":"https://api.github.com/users/ricmatsui/followers","following_url":"https://api.github.com/users/ricmatsui/following{/other_user}","gists_url":"https://api.github.com/users/ricmatsui/gists{/gist_id}","starred_url":"https://api.github.com/users/ricmatsui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricmatsui/subscriptions","organizations_url":"https://api.github.com/users/ricmatsui/orgs","repos_url":"https://api.github.com/users/ricmatsui/repos","events_url":"https://api.github.com/users/ricmatsui/events{/privacy}","received_events_url":"https://api.github.com/users/ricmatsui/received_events","type":"User","site_admin":false},"body":"Closes #455 #463 ","created_at":"2015-04-06T00:36:53Z","updated_at":"2015-04-06T04:36:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea31ef910a17eaea98382254bc5f111ab2f00b4d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Originate/git-town/pulls/482/commits","review_comments_url":"https://api.github.com/repos/Originate/git-town/pulls/482/comments","review_comment_url":"https://api.github.com/repos/Originate/git-town/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Originate/git-town/issues/482/comments","statuses_url":"https://api.github.com/repos/Originate/git-town/statuses/1adc1d854ee65f3ce590b80f0d5e781f3b3bcc02","head":{"label":"Originate:rm-dry-uncommitted-file","ref":"rm-dry-uncommitted-file","sha":"1adc1d854ee65f3ce590b80f0d5e781f3b3bcc02","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":19825320,"name":"git-town","full_name":"Originate/git-town","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/git-town","description":"Git extensions for robust, high-level development workflows","fork":false,"url":"https://api.github.com/repos/Originate/git-town","forks_url":"https://api.github.com/repos/Originate/git-town/forks","keys_url":"https://api.github.com/repos/Originate/git-town/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/git-town/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/git-town/teams","hooks_url":"https://api.github.com/repos/Originate/git-town/hooks","issue_events_url":"https://api.github.com/repos/Originate/git-town/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/git-town/events","assignees_url":"https://api.github.com/repos/Originate/git-town/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/git-town/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/git-town/tags","blobs_url":"https://api.github.com/repos/Originate/git-town/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/git-town/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/git-town/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/git-town/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/git-town/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/git-town/languages","stargazers_url":"https://api.github.com/repos/Originate/git-town/stargazers","contributors_url":"https://api.github.com/repos/Originate/git-town/contributors","subscribers_url":"https://api.github.com/repos/Originate/git-town/subscribers","subscription_url":"https://api.github.com/repos/Originate/git-town/subscription","commits_url":"https://api.github.com/repos/Originate/git-town/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/git-town/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/git-town/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/git-town/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/git-town/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/git-town/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/git-town/merges","archive_url":"https://api.github.com/repos/Originate/git-town/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/git-town/downloads","issues_url":"https://api.github.com/repos/Originate/git-town/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/git-town/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/git-town/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/git-town/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/git-town/labels{/name}","releases_url":"https://api.github.com/repos/Originate/git-town/releases{/id}","created_at":"2014-05-15T15:44:29Z","updated_at":"2015-04-06T01:38:15Z","pushed_at":"2015-04-06T02:04:53Z","git_url":"git://github.com/Originate/git-town.git","ssh_url":"git@github.com:Originate/git-town.git","clone_url":"https://github.com/Originate/git-town.git","svn_url":"https://github.com/Originate/git-town","homepage":"","size":15558,"stargazers_count":46,"watchers_count":46,"language":"Cucumber","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":54,"forks":2,"open_issues":54,"watchers":46,"default_branch":"master"}},"base":{"label":"Originate:master","ref":"master","sha":"82d27170da1c629c2eeede373bd46036ccf2e6ad","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":19825320,"name":"git-town","full_name":"Originate/git-town","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/git-town","description":"Git extensions for robust, high-level development workflows","fork":false,"url":"https://api.github.com/repos/Originate/git-town","forks_url":"https://api.github.com/repos/Originate/git-town/forks","keys_url":"https://api.github.com/repos/Originate/git-town/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/git-town/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/git-town/teams","hooks_url":"https://api.github.com/repos/Originate/git-town/hooks","issue_events_url":"https://api.github.com/repos/Originate/git-town/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/git-town/events","assignees_url":"https://api.github.com/repos/Originate/git-town/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/git-town/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/git-town/tags","blobs_url":"https://api.github.com/repos/Originate/git-town/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/git-town/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/git-town/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/git-town/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/git-town/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/git-town/languages","stargazers_url":"https://api.github.com/repos/Originate/git-town/stargazers","contributors_url":"https://api.github.com/repos/Originate/git-town/contributors","subscribers_url":"https://api.github.com/repos/Originate/git-town/subscribers","subscription_url":"https://api.github.com/repos/Originate/git-town/subscription","commits_url":"https://api.github.com/repos/Originate/git-town/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/git-town/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/git-town/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/git-town/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/git-town/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/git-town/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/git-town/merges","archive_url":"https://api.github.com/repos/Originate/git-town/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/git-town/downloads","issues_url":"https://api.github.com/repos/Originate/git-town/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/git-town/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/git-town/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/git-town/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/git-town/labels{/name}","releases_url":"https://api.github.com/repos/Originate/git-town/releases{/id}","created_at":"2014-05-15T15:44:29Z","updated_at":"2015-04-06T01:38:15Z","pushed_at":"2015-04-06T02:04:53Z","git_url":"git://github.com/Originate/git-town.git","ssh_url":"git@github.com:Originate/git-town.git","clone_url":"https://github.com/Originate/git-town.git","svn_url":"https://github.com/Originate/git-town","homepage":"","size":15558,"stargazers_count":46,"watchers_count":46,"language":"Cucumber","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":54,"forks":2,"open_issues":54,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Originate/git-town/pulls/482"},"html":{"href":"https://github.com/Originate/git-town/pull/482"},"issue":{"href":"https://api.github.com/repos/Originate/git-town/issues/482"},"comments":{"href":"https://api.github.com/repos/Originate/git-town/issues/482/comments"},"review_comments":{"href":"https://api.github.com/repos/Originate/git-town/pulls/482/comments"},"review_comment":{"href":"https://api.github.com/repos/Originate/git-town/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Originate/git-town/pulls/482/commits"},"statuses":{"href":"https://api.github.com/repos/Originate/git-town/statuses/1adc1d854ee65f3ce590b80f0d5e781f3b3bcc02"}}}}