GitHub PullRequestReviewCommentEvent at 2014-07-13 07:30:17
Repository: scubaclick-meta
Actor: shabushabu
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/comments/14857073","id":14857073,"diff_hunk":"@@ -0,0 +1,104 @@\n+<?php namespace ScubaClick\\Meta;\n+\n+use Illuminate\\Console\\Command;\n+use Symfony\\Component\\Console\\Input\\InputOption;\n+use Symfony\\Component\\Console\\Input\\InputArgument;\n+use Illuminate\\Filesystem\\Filesystem;\n+\n+class CreateMetaTableCommand extends Command {\n+\n+\t/**\n+\t * The console command name.\n+\t *\n+\t * @var string\n+\t */\n+\tprotected $name = 'generate:metatable';\n+\n+\t/**\n+\t * The console command description.\n+\t *\n+\t * @var string\n+\t */\n+\tprotected $description = 'Creates a migration for new metadata tables.';\n+\n+\t/**\n+\t * Create a new command instance.\n+\t *\n+\t * @return void\n+\t */\n+\tpublic function __construct(FileSystem $filesystem)\n+\t{\n+\t\t$this->fs = $filesystem;\n+\n+\t\tparent::__construct();\n+\t}\n+\n+\t/**\n+\t * Execute the console command.\n+\t *\n+\t * @return mixed\n+\t */\n+\tpublic function fire()\n+\t{\n+\t\t$table_name = strtolower($this->argument('name'));\n+\t\t$migration = \"create_{$table_name}_table\";\n+\n+\t\t// Where is the Template File?\n+\t\t$template_dir = __DIR__.'/../../migrations/';\n+\t\t$template_file = '2013_07_01_180252_create_meta_table.php';","path":"src/ScubaClick/Meta/CreateMetaTableCommand.php","position":48,"original_position":48,"commit_id":"96e8b763ea263f2680b7727240942f0de10917cc","original_commit_id":"96e8b763ea263f2680b7727240942f0de10917cc","user":{"login":"shabushabu","id":580004,"avatar_url":"https://avatars.githubusercontent.com/u/580004?","gravatar_id":"01490a90b51d6e45e35925315e607ca0","url":"https://api.github.com/users/shabushabu","html_url":"https://github.com/shabushabu","followers_url":"https://api.github.com/users/shabushabu/followers","following_url":"https://api.github.com/users/shabushabu/following{/other_user}","gists_url":"https://api.github.com/users/shabushabu/gists{/gist_id}","starred_url":"https://api.github.com/users/shabushabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shabushabu/subscriptions","organizations_url":"https://api.github.com/users/shabushabu/orgs","repos_url":"https://api.github.com/users/shabushabu/repos","events_url":"https://api.github.com/users/shabushabu/events{/privacy}","received_events_url":"https://api.github.com/users/shabushabu/received_events","type":"User","site_admin":false},"body":"Where does this file come from?","created_at":"2014-07-13T07:30:17Z","updated_at":"2014-07-13T07:30:17Z","html_url":"https://github.com/ScubaClick/scubaclick-meta/pull/5#discussion_r14857073","pull_request_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/comments/14857073"},"html":{"href":"https://github.com/ScubaClick/scubaclick-meta/pull/5#discussion_r14857073"},"pull_request":{"href":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/5","id":18320389,"html_url":"https://github.com/ScubaClick/scubaclick-meta/pull/5","diff_url":"https://github.com/ScubaClick/scubaclick-meta/pull/5.diff","patch_url":"https://github.com/ScubaClick/scubaclick-meta/pull/5.patch","issue_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/issues/5","number":5,"state":"open","title":"Define Models and Tables","user":{"login":"chrismichaels84","id":5412413,"avatar_url":"https://avatars.githubusercontent.com/u/5412413?","gravatar_id":"343d7b85f8dae33cc195b4e5ed5ec487","url":"https://api.github.com/users/chrismichaels84","html_url":"https://github.com/chrismichaels84","followers_url":"https://api.github.com/users/chrismichaels84/followers","following_url":"https://api.github.com/users/chrismichaels84/following{/other_user}","gists_url":"https://api.github.com/users/chrismichaels84/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismichaels84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismichaels84/subscriptions","organizations_url":"https://api.github.com/users/chrismichaels84/orgs","repos_url":"https://api.github.com/users/chrismichaels84/repos","events_url":"https://api.github.com/users/chrismichaels84/events{/privacy}","received_events_url":"https://api.github.com/users/chrismichaels84/received_events","type":"User","site_admin":false},"body":"This is the pull request for issue #4. Sorry, I don't know how to do the pull request under that issue. I'm still learning github.","created_at":"2014-07-13T04:29:26Z","updated_at":"2014-07-13T07:30:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"158c44b8ebad57958cac942febd000c2ee367a59","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/issues/5/comments","statuses_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/statuses/96e8b763ea263f2680b7727240942f0de10917cc","head":{"label":"chrismichaels84:define-table","ref":"define-table","sha":"96e8b763ea263f2680b7727240942f0de10917cc","user":{"login":"chrismichaels84","id":5412413,"avatar_url":"https://avatars.githubusercontent.com/u/5412413?","gravatar_id":"343d7b85f8dae33cc195b4e5ed5ec487","url":"https://api.github.com/users/chrismichaels84","html_url":"https://github.com/chrismichaels84","followers_url":"https://api.github.com/users/chrismichaels84/followers","following_url":"https://api.github.com/users/chrismichaels84/following{/other_user}","gists_url":"https://api.github.com/users/chrismichaels84/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismichaels84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismichaels84/subscriptions","organizations_url":"https://api.github.com/users/chrismichaels84/orgs","repos_url":"https://api.github.com/users/chrismichaels84/repos","events_url":"https://api.github.com/users/chrismichaels84/events{/privacy}","received_events_url":"https://api.github.com/users/chrismichaels84/received_events","type":"User","site_admin":false},"repo":{"id":21719181,"name":"scubaclick-meta","full_name":"chrismichaels84/scubaclick-meta","owner":{"login":"chrismichaels84","id":5412413,"avatar_url":"https://avatars.githubusercontent.com/u/5412413?","gravatar_id":"343d7b85f8dae33cc195b4e5ed5ec487","url":"https://api.github.com/users/chrismichaels84","html_url":"https://github.com/chrismichaels84","followers_url":"https://api.github.com/users/chrismichaels84/followers","following_url":"https://api.github.com/users/chrismichaels84/following{/other_user}","gists_url":"https://api.github.com/users/chrismichaels84/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismichaels84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismichaels84/subscriptions","organizations_url":"https://api.github.com/users/chrismichaels84/orgs","repos_url":"https://api.github.com/users/chrismichaels84/repos","events_url":"https://api.github.com/users/chrismichaels84/events{/privacy}","received_events_url":"https://api.github.com/users/chrismichaels84/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrismichaels84/scubaclick-meta","description":"Add meta data to Eloquent models","fork":true,"url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta","forks_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/forks","keys_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/teams","hooks_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/hooks","issue_events_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/issues/events{/number}","events_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/events","assignees_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/assignees{/user}","branches_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/branches{/branch}","tags_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/tags","blobs_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/statuses/{sha}","languages_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/languages","stargazers_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/stargazers","contributors_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/contributors","subscribers_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/subscribers","subscription_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/subscription","commits_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/issues/comments/{number}","contents_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/contents/{+path}","compare_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/merges","archive_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/downloads","issues_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/issues{/number}","pulls_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/pulls{/number}","milestones_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/milestones{/number}","notifications_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/labels{/name}","releases_url":"https://api.github.com/repos/chrismichaels84/scubaclick-meta/releases{/id}","created_at":"2014-07-11T02:50:42Z","updated_at":"2014-07-11T04:06:01Z","pushed_at":"2014-07-13T05:17:45Z","git_url":"git://github.com/chrismichaels84/scubaclick-meta.git","ssh_url":"git@github.com:chrismichaels84/scubaclick-meta.git","clone_url":"https://github.com/chrismichaels84/scubaclick-meta.git","svn_url":"https://github.com/chrismichaels84/scubaclick-meta","homepage":null,"size":91,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ScubaClick:master","ref":"master","sha":"5365a21d78141357f0aefe52c011920c2d37b1a1","user":{"login":"ScubaClick","id":3457298,"avatar_url":"https://avatars.githubusercontent.com/u/3457298?","gravatar_id":"b979cc7f5bf04e0d5805a17877c48c89","url":"https://api.github.com/users/ScubaClick","html_url":"https://github.com/ScubaClick","followers_url":"https://api.github.com/users/ScubaClick/followers","following_url":"https://api.github.com/users/ScubaClick/following{/other_user}","gists_url":"https://api.github.com/users/ScubaClick/gists{/gist_id}","starred_url":"https://api.github.com/users/ScubaClick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScubaClick/subscriptions","organizations_url":"https://api.github.com/users/ScubaClick/orgs","repos_url":"https://api.github.com/users/ScubaClick/repos","events_url":"https://api.github.com/users/ScubaClick/events{/privacy}","received_events_url":"https://api.github.com/users/ScubaClick/received_events","type":"Organization","site_admin":false},"repo":{"id":12887198,"name":"scubaclick-meta","full_name":"ScubaClick/scubaclick-meta","owner":{"login":"ScubaClick","id":3457298,"avatar_url":"https://avatars.githubusercontent.com/u/3457298?","gravatar_id":"b979cc7f5bf04e0d5805a17877c48c89","url":"https://api.github.com/users/ScubaClick","html_url":"https://github.com/ScubaClick","followers_url":"https://api.github.com/users/ScubaClick/followers","following_url":"https://api.github.com/users/ScubaClick/following{/other_user}","gists_url":"https://api.github.com/users/ScubaClick/gists{/gist_id}","starred_url":"https://api.github.com/users/ScubaClick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScubaClick/subscriptions","organizations_url":"https://api.github.com/users/ScubaClick/orgs","repos_url":"https://api.github.com/users/ScubaClick/repos","events_url":"https://api.github.com/users/ScubaClick/events{/privacy}","received_events_url":"https://api.github.com/users/ScubaClick/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ScubaClick/scubaclick-meta","description":"Add meta data to Eloquent models","fork":false,"url":"https://api.github.com/repos/ScubaClick/scubaclick-meta","forks_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/forks","keys_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/teams","hooks_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/hooks","issue_events_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/issues/events{/number}","events_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/events","assignees_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/assignees{/user}","branches_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/branches{/branch}","tags_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/tags","blobs_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/statuses/{sha}","languages_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/languages","stargazers_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/stargazers","contributors_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/contributors","subscribers_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/subscribers","subscription_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/subscription","commits_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/issues/comments/{number}","contents_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/contents/{+path}","compare_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/merges","archive_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/downloads","issues_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/issues{/number}","pulls_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls{/number}","milestones_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/milestones{/number}","notifications_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/labels{/name}","releases_url":"https://api.github.com/repos/ScubaClick/scubaclick-meta/releases{/id}","created_at":"2013-09-17T05:40:40Z","updated_at":"2014-05-28T08:18:36Z","pushed_at":"2014-05-14T21:31:51Z","git_url":"git://github.com/ScubaClick/scubaclick-meta.git","ssh_url":"git@github.com:ScubaClick/scubaclick-meta.git","clone_url":"https://github.com/ScubaClick/scubaclick-meta.git","svn_url":"https://github.com/ScubaClick/scubaclick-meta","homepage":null,"size":224,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/5"},"html":{"href":"https://github.com/ScubaClick/scubaclick-meta/pull/5"},"issue":{"href":"https://api.github.com/repos/ScubaClick/scubaclick-meta/issues/5"},"comments":{"href":"https://api.github.com/repos/ScubaClick/scubaclick-meta/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ScubaClick/scubaclick-meta/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ScubaClick/scubaclick-meta/statuses/96e8b763ea263f2680b7727240942f0de10917cc"}}}}