{"action":"created","comment":{"url":"https://api.github.com/repos/renuo/renuo-cli/pulls/comments/45169678","id":45169678,"diff_hunk":"@@ -1,5 +1,17 @@\n class NameDisplay\n+  def run(args, options)\n+    return display_name('') if options.delete\n+\n+    return say('invalid customer name') if args.empty?\n+\n+    display_name(args.join(' '))\n+  end\n+\n   def display_name(name)\n     puts \"TODO: display #{name}\"\n   end\n+\n+  def delete_current\n+    display_name('')\n+  end\n end","path":"lib/renuo/cli/app/name_display.rb","position":17,"original_position":17,"commit_id":"bcd77db466ea847a46873bbcc212d3ba3a949e07","original_commit_id":"bcd77db466ea847a46873bbcc212d3ba3a949e07","user":{"login":"schmijos","id":245443,"avatar_url":"https://avatars.githubusercontent.com/u/245443?v=3","gravatar_id":"","url":"https://api.github.com/users/schmijos","html_url":"https://github.com/schmijos","followers_url":"https://api.github.com/users/schmijos/followers","following_url":"https://api.github.com/users/schmijos/following{/other_user}","gists_url":"https://api.github.com/users/schmijos/gists{/gist_id}","starred_url":"https://api.github.com/users/schmijos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmijos/subscriptions","organizations_url":"https://api.github.com/users/schmijos/orgs","repos_url":"https://api.github.com/users/schmijos/repos","events_url":"https://api.github.com/users/schmijos/events{/privacy}","received_events_url":"https://api.github.com/users/schmijos/received_events","type":"User","site_admin":false},"body":"Did this app accidentally sneak into this PR?","created_at":"2015-11-18T07:58:11Z","updated_at":"2015-11-18T07:58:11Z","html_url":"https://github.com/renuo/renuo-cli/pull/3#discussion_r45169678","pull_request_url":"https://api.github.com/repos/renuo/renuo-cli/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/renuo/renuo-cli/pulls/comments/45169678"},"html":{"href":"https://github.com/renuo/renuo-cli/pull/3#discussion_r45169678"},"pull_request":{"href":"https://api.github.com/repos/renuo/renuo-cli/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/renuo/renuo-cli/pulls/3","id":51034321,"html_url":"https://github.com/renuo/renuo-cli/pull/3","diff_url":"https://github.com/renuo/renuo-cli/pull/3.diff","patch_url":"https://github.com/renuo/renuo-cli/pull/3.patch","issue_url":"https://api.github.com/repos/renuo/renuo-cli/issues/3","number":3,"state":"open","locked":false,"title":"migrate to github script","user":{"login":"lukaselmer","id":326935,"avatar_url":"https://avatars.githubusercontent.com/u/326935?v=3","gravatar_id":"","url":"https://api.github.com/users/lukaselmer","html_url":"https://github.com/lukaselmer","followers_url":"https://api.github.com/users/lukaselmer/followers","following_url":"https://api.github.com/users/lukaselmer/following{/other_user}","gists_url":"https://api.github.com/users/lukaselmer/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaselmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaselmer/subscriptions","organizations_url":"https://api.github.com/users/lukaselmer/orgs","repos_url":"https://api.github.com/users/lukaselmer/repos","events_url":"https://api.github.com/users/lukaselmer/events{/privacy}","received_events_url":"https://api.github.com/users/lukaselmer/received_events","type":"User","site_admin":false},"body":"@sihu @schmijos please review migrate_to_github.rb","created_at":"2015-11-18T02:19:29Z","updated_at":"2015-11-18T07:58:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59a4c129758ff6278cac4265691df64e927ceacf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/renuo/renuo-cli/pulls/3/commits","review_comments_url":"https://api.github.com/repos/renuo/renuo-cli/pulls/3/comments","review_comment_url":"https://api.github.com/repos/renuo/renuo-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/renuo/renuo-cli/issues/3/comments","statuses_url":"https://api.github.com/repos/renuo/renuo-cli/statuses/bcd77db466ea847a46873bbcc212d3ba3a949e07","head":{"label":"renuo:feature/migration-guide","ref":"feature/migration-guide","sha":"bcd77db466ea847a46873bbcc212d3ba3a949e07","user":{"login":"renuo","id":1863488,"avatar_url":"https://avatars.githubusercontent.com/u/1863488?v=3","gravatar_id":"","url":"https://api.github.com/users/renuo","html_url":"https://github.com/renuo","followers_url":"https://api.github.com/users/renuo/followers","following_url":"https://api.github.com/users/renuo/following{/other_user}","gists_url":"https://api.github.com/users/renuo/gists{/gist_id}","starred_url":"https://api.github.com/users/renuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renuo/subscriptions","organizations_url":"https://api.github.com/users/renuo/orgs","repos_url":"https://api.github.com/users/renuo/repos","events_url":"https://api.github.com/users/renuo/events{/privacy}","received_events_url":"https://api.github.com/users/renuo/received_events","type":"Organization","site_admin":false},"repo":{"id":45732632,"name":"renuo-cli","full_name":"renuo/renuo-cli","owner":{"login":"renuo","id":1863488,"avatar_url":"https://avatars.githubusercontent.com/u/1863488?v=3","gravatar_id":"","url":"https://api.github.com/users/renuo","html_url":"https://github.com/renuo","followers_url":"https://api.github.com/users/renuo/followers","following_url":"https://api.github.com/users/renuo/following{/other_user}","gists_url":"https://api.github.com/users/renuo/gists{/gist_id}","starred_url":"https://api.github.com/users/renuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renuo/subscriptions","organizations_url":"https://api.github.com/users/renuo/orgs","repos_url":"https://api.github.com/users/renuo/repos","events_url":"https://api.github.com/users/renuo/events{/privacy}","received_events_url":"https://api.github.com/users/renuo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/renuo/renuo-cli","description":"Renuo CLI","fork":false,"url":"https://api.github.com/repos/renuo/renuo-cli","forks_url":"https://api.github.com/repos/renuo/renuo-cli/forks","keys_url":"https://api.github.com/repos/renuo/renuo-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/renuo/renuo-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/renuo/renuo-cli/teams","hooks_url":"https://api.github.com/repos/renuo/renuo-cli/hooks","issue_events_url":"https://api.github.com/repos/renuo/renuo-cli/issues/events{/number}","events_url":"https://api.github.com/repos/renuo/renuo-cli/events","assignees_url":"https://api.github.com/repos/renuo/renuo-cli/assignees{/user}","branches_url":"https://api.github.com/repos/renuo/renuo-cli/branches{/branch}","tags_url":"https://api.github.com/repos/renuo/renuo-cli/tags","blobs_url":"https://api.github.com/repos/renuo/renuo-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/renuo/renuo-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/renuo/renuo-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/renuo/renuo-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/renuo/renuo-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/renuo/renuo-cli/languages","stargazers_url":"https://api.github.com/repos/renuo/renuo-cli/stargazers","contributors_url":"https://api.github.com/repos/renuo/renuo-cli/contributors","subscribers_url":"https://api.github.com/repos/renuo/renuo-cli/subscribers","subscription_url":"https://api.github.com/repos/renuo/renuo-cli/subscription","commits_url":"https://api.github.com/repos/renuo/renuo-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/renuo/renuo-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/renuo/renuo-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/renuo/renuo-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/renuo/renuo-cli/contents/{+path}","compare_url":"https://api.github.com/repos/renuo/renuo-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/renuo/renuo-cli/merges","archive_url":"https://api.github.com/repos/renuo/renuo-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/renuo/renuo-cli/downloads","issues_url":"https://api.github.com/repos/renuo/renuo-cli/issues{/number}","pulls_url":"https://api.github.com/repos/renuo/renuo-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/renuo/renuo-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/renuo/renuo-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/renuo/renuo-cli/labels{/name}","releases_url":"https://api.github.com/repos/renuo/renuo-cli/releases{/id}","created_at":"2015-11-07T10:50:56Z","updated_at":"2015-11-11T13:51:15Z","pushed_at":"2015-11-18T02:19:29Z","git_url":"git://github.com/renuo/renuo-cli.git","ssh_url":"git@github.com:renuo/renuo-cli.git","clone_url":"https://github.com/renuo/renuo-cli.git","svn_url":"https://github.com/renuo/renuo-cli","homepage":"https://github.com/renuo/renuo-cli","size":23,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"renuo:master","ref":"master","sha":"42e25e03b5e1a2604d3d40849c5355ef266beb36","user":{"login":"renuo","id":1863488,"avatar_url":"https://avatars.githubusercontent.com/u/1863488?v=3","gravatar_id":"","url":"https://api.github.com/users/renuo","html_url":"https://github.com/renuo","followers_url":"https://api.github.com/users/renuo/followers","following_url":"https://api.github.com/users/renuo/following{/other_user}","gists_url":"https://api.github.com/users/renuo/gists{/gist_id}","starred_url":"https://api.github.com/users/renuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renuo/subscriptions","organizations_url":"https://api.github.com/users/renuo/orgs","repos_url":"https://api.github.com/users/renuo/repos","events_url":"https://api.github.com/users/renuo/events{/privacy}","received_events_url":"https://api.github.com/users/renuo/received_events","type":"Organization","site_admin":false},"repo":{"id":45732632,"name":"renuo-cli","full_name":"renuo/renuo-cli","owner":{"login":"renuo","id":1863488,"avatar_url":"https://avatars.githubusercontent.com/u/1863488?v=3","gravatar_id":"","url":"https://api.github.com/users/renuo","html_url":"https://github.com/renuo","followers_url":"https://api.github.com/users/renuo/followers","following_url":"https://api.github.com/users/renuo/following{/other_user}","gists_url":"https://api.github.com/users/renuo/gists{/gist_id}","starred_url":"https://api.github.com/users/renuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renuo/subscriptions","organizations_url":"https://api.github.com/users/renuo/orgs","repos_url":"https://api.github.com/users/renuo/repos","events_url":"https://api.github.com/users/renuo/events{/privacy}","received_events_url":"https://api.github.com/users/renuo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/renuo/renuo-cli","description":"Renuo CLI","fork":false,"url":"https://api.github.com/repos/renuo/renuo-cli","forks_url":"https://api.github.com/repos/renuo/renuo-cli/forks","keys_url":"https://api.github.com/repos/renuo/renuo-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/renuo/renuo-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/renuo/renuo-cli/teams","hooks_url":"https://api.github.com/repos/renuo/renuo-cli/hooks","issue_events_url":"https://api.github.com/repos/renuo/renuo-cli/issues/events{/number}","events_url":"https://api.github.com/repos/renuo/renuo-cli/events","assignees_url":"https://api.github.com/repos/renuo/renuo-cli/assignees{/user}","branches_url":"https://api.github.com/repos/renuo/renuo-cli/branches{/branch}","tags_url":"https://api.github.com/repos/renuo/renuo-cli/tags","blobs_url":"https://api.github.com/repos/renuo/renuo-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/renuo/renuo-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/renuo/renuo-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/renuo/renuo-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/renuo/renuo-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/renuo/renuo-cli/languages","stargazers_url":"https://api.github.com/repos/renuo/renuo-cli/stargazers","contributors_url":"https://api.github.com/repos/renuo/renuo-cli/contributors","subscribers_url":"https://api.github.com/repos/renuo/renuo-cli/subscribers","subscription_url":"https://api.github.com/repos/renuo/renuo-cli/subscription","commits_url":"https://api.github.com/repos/renuo/renuo-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/renuo/renuo-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/renuo/renuo-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/renuo/renuo-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/renuo/renuo-cli/contents/{+path}","compare_url":"https://api.github.com/repos/renuo/renuo-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/renuo/renuo-cli/merges","archive_url":"https://api.github.com/repos/renuo/renuo-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/renuo/renuo-cli/downloads","issues_url":"https://api.github.com/repos/renuo/renuo-cli/issues{/number}","pulls_url":"https://api.github.com/repos/renuo/renuo-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/renuo/renuo-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/renuo/renuo-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/renuo/renuo-cli/labels{/name}","releases_url":"https://api.github.com/repos/renuo/renuo-cli/releases{/id}","created_at":"2015-11-07T10:50:56Z","updated_at":"2015-11-11T13:51:15Z","pushed_at":"2015-11-18T02:19:29Z","git_url":"git://github.com/renuo/renuo-cli.git","ssh_url":"git@github.com:renuo/renuo-cli.git","clone_url":"https://github.com/renuo/renuo-cli.git","svn_url":"https://github.com/renuo/renuo-cli","homepage":"https://github.com/renuo/renuo-cli","size":23,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/renuo/renuo-cli/pulls/3"},"html":{"href":"https://github.com/renuo/renuo-cli/pull/3"},"issue":{"href":"https://api.github.com/repos/renuo/renuo-cli/issues/3"},"comments":{"href":"https://api.github.com/repos/renuo/renuo-cli/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/renuo/renuo-cli/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/renuo/renuo-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/renuo/renuo-cli/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/renuo/renuo-cli/statuses/bcd77db466ea847a46873bbcc212d3ba3a949e07"}}}}