{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/siuying/node-hearthstone/pulls/4","id":30310388,"html_url":"https://github.com/siuying/node-hearthstone/pull/4","diff_url":"https://github.com/siuying/node-hearthstone/pull/4.diff","patch_url":"https://github.com/siuying/node-hearthstone/pull/4.patch","issue_url":"https://api.github.com/repos/siuying/node-hearthstone/issues/4","number":4,"state":"open","locked":false,"title":"Slugify file name","user":{"login":"heavysixer","id":123,"avatar_url":"https://avatars.githubusercontent.com/u/123?v=3","gravatar_id":"","url":"https://api.github.com/users/heavysixer","html_url":"https://github.com/heavysixer","followers_url":"https://api.github.com/users/heavysixer/followers","following_url":"https://api.github.com/users/heavysixer/following{/other_user}","gists_url":"https://api.github.com/users/heavysixer/gists{/gist_id}","starred_url":"https://api.github.com/users/heavysixer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heavysixer/subscriptions","organizations_url":"https://api.github.com/users/heavysixer/orgs","repos_url":"https://api.github.com/users/heavysixer/repos","events_url":"https://api.github.com/users/heavysixer/events{/privacy}","received_events_url":"https://api.github.com/users/heavysixer/received_events","type":"User","site_admin":false},"body":"This commit ensures we get nicely formatted filenames by slugging the player name first. Also, sorry for the extra diff noise my editor is set to remove unused empty spaces at the end of the line.","created_at":"2015-03-02T19:04:19Z","updated_at":"2015-03-02T19:04:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/siuying/node-hearthstone/pulls/4/commits","review_comments_url":"https://api.github.com/repos/siuying/node-hearthstone/pulls/4/comments","review_comment_url":"https://api.github.com/repos/siuying/node-hearthstone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/siuying/node-hearthstone/issues/4/comments","statuses_url":"https://api.github.com/repos/siuying/node-hearthstone/statuses/404eff40d4790dcec6ad0070fd34707db944fd76","head":{"label":"heavysixer:slugify-file-name","ref":"slugify-file-name","sha":"404eff40d4790dcec6ad0070fd34707db944fd76","user":{"login":"heavysixer","id":123,"avatar_url":"https://avatars.githubusercontent.com/u/123?v=3","gravatar_id":"","url":"https://api.github.com/users/heavysixer","html_url":"https://github.com/heavysixer","followers_url":"https://api.github.com/users/heavysixer/followers","following_url":"https://api.github.com/users/heavysixer/following{/other_user}","gists_url":"https://api.github.com/users/heavysixer/gists{/gist_id}","starred_url":"https://api.github.com/users/heavysixer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heavysixer/subscriptions","organizations_url":"https://api.github.com/users/heavysixer/orgs","repos_url":"https://api.github.com/users/heavysixer/repos","events_url":"https://api.github.com/users/heavysixer/events{/privacy}","received_events_url":"https://api.github.com/users/heavysixer/received_events","type":"User","site_admin":false},"repo":{"id":31514499,"name":"node-hearthstone","full_name":"heavysixer/node-hearthstone","owner":{"login":"heavysixer","id":123,"avatar_url":"https://avatars.githubusercontent.com/u/123?v=3","gravatar_id":"","url":"https://api.github.com/users/heavysixer","html_url":"https://github.com/heavysixer","followers_url":"https://api.github.com/users/heavysixer/followers","following_url":"https://api.github.com/users/heavysixer/following{/other_user}","gists_url":"https://api.github.com/users/heavysixer/gists{/gist_id}","starred_url":"https://api.github.com/users/heavysixer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heavysixer/subscriptions","organizations_url":"https://api.github.com/users/heavysixer/orgs","repos_url":"https://api.github.com/users/heavysixer/repos","events_url":"https://api.github.com/users/heavysixer/events{/privacy}","received_events_url":"https://api.github.com/users/heavysixer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heavysixer/node-hearthstone","description":"Utilities for Hearthstone","fork":true,"url":"https://api.github.com/repos/heavysixer/node-hearthstone","forks_url":"https://api.github.com/repos/heavysixer/node-hearthstone/forks","keys_url":"https://api.github.com/repos/heavysixer/node-hearthstone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heavysixer/node-hearthstone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heavysixer/node-hearthstone/teams","hooks_url":"https://api.github.com/repos/heavysixer/node-hearthstone/hooks","issue_events_url":"https://api.github.com/repos/heavysixer/node-hearthstone/issues/events{/number}","events_url":"https://api.github.com/repos/heavysixer/node-hearthstone/events","assignees_url":"https://api.github.com/repos/heavysixer/node-hearthstone/assignees{/user}","branches_url":"https://api.github.com/repos/heavysixer/node-hearthstone/branches{/branch}","tags_url":"https://api.github.com/repos/heavysixer/node-hearthstone/tags","blobs_url":"https://api.github.com/repos/heavysixer/node-hearthstone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heavysixer/node-hearthstone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heavysixer/node-hearthstone/git/refs{/sha}","trees_url":"https://api.github.com/repos/heavysixer/node-hearthstone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heavysixer/node-hearthstone/statuses/{sha}","languages_url":"https://api.github.com/repos/heavysixer/node-hearthstone/languages","stargazers_url":"https://api.github.com/repos/heavysixer/node-hearthstone/stargazers","contributors_url":"https://api.github.com/repos/heavysixer/node-hearthstone/contributors","subscribers_url":"https://api.github.com/repos/heavysixer/node-hearthstone/subscribers","subscription_url":"https://api.github.com/repos/heavysixer/node-hearthstone/subscription","commits_url":"https://api.github.com/repos/heavysixer/node-hearthstone/commits{/sha}","git_commits_url":"https://api.github.com/repos/heavysixer/node-hearthstone/git/commits{/sha}","comments_url":"https://api.github.com/repos/heavysixer/node-hearthstone/comments{/number}","issue_comment_url":"https://api.github.com/repos/heavysixer/node-hearthstone/issues/comments{/number}","contents_url":"https://api.github.com/repos/heavysixer/node-hearthstone/contents/{+path}","compare_url":"https://api.github.com/repos/heavysixer/node-hearthstone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heavysixer/node-hearthstone/merges","archive_url":"https://api.github.com/repos/heavysixer/node-hearthstone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heavysixer/node-hearthstone/downloads","issues_url":"https://api.github.com/repos/heavysixer/node-hearthstone/issues{/number}","pulls_url":"https://api.github.com/repos/heavysixer/node-hearthstone/pulls{/number}","milestones_url":"https://api.github.com/repos/heavysixer/node-hearthstone/milestones{/number}","notifications_url":"https://api.github.com/repos/heavysixer/node-hearthstone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heavysixer/node-hearthstone/labels{/name}","releases_url":"https://api.github.com/repos/heavysixer/node-hearthstone/releases{/id}","created_at":"2015-03-01T23:06:46Z","updated_at":"2015-03-01T23:06:47Z","pushed_at":"2015-03-02T19:02:35Z","git_url":"git://github.com/heavysixer/node-hearthstone.git","ssh_url":"git@github.com:heavysixer/node-hearthstone.git","clone_url":"https://github.com/heavysixer/node-hearthstone.git","svn_url":"https://github.com/heavysixer/node-hearthstone","homepage":"","size":105,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"siuying:master","ref":"master","sha":"e13ca186e5ddd2889d7cb6afa7a30e017524541d","user":{"login":"siuying","id":8608,"avatar_url":"https://avatars.githubusercontent.com/u/8608?v=3","gravatar_id":"","url":"https://api.github.com/users/siuying","html_url":"https://github.com/siuying","followers_url":"https://api.github.com/users/siuying/followers","following_url":"https://api.github.com/users/siuying/following{/other_user}","gists_url":"https://api.github.com/users/siuying/gists{/gist_id}","starred_url":"https://api.github.com/users/siuying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siuying/subscriptions","organizations_url":"https://api.github.com/users/siuying/orgs","repos_url":"https://api.github.com/users/siuying/repos","events_url":"https://api.github.com/users/siuying/events{/privacy}","received_events_url":"https://api.github.com/users/siuying/received_events","type":"User","site_admin":false},"repo":{"id":28449837,"name":"node-hearthstone","full_name":"siuying/node-hearthstone","owner":{"login":"siuying","id":8608,"avatar_url":"https://avatars.githubusercontent.com/u/8608?v=3","gravatar_id":"","url":"https://api.github.com/users/siuying","html_url":"https://github.com/siuying","followers_url":"https://api.github.com/users/siuying/followers","following_url":"https://api.github.com/users/siuying/following{/other_user}","gists_url":"https://api.github.com/users/siuying/gists{/gist_id}","starred_url":"https://api.github.com/users/siuying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siuying/subscriptions","organizations_url":"https://api.github.com/users/siuying/orgs","repos_url":"https://api.github.com/users/siuying/repos","events_url":"https://api.github.com/users/siuying/events{/privacy}","received_events_url":"https://api.github.com/users/siuying/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/siuying/node-hearthstone","description":"Utilities for Hearthstone","fork":false,"url":"https://api.github.com/repos/siuying/node-hearthstone","forks_url":"https://api.github.com/repos/siuying/node-hearthstone/forks","keys_url":"https://api.github.com/repos/siuying/node-hearthstone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/siuying/node-hearthstone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/siuying/node-hearthstone/teams","hooks_url":"https://api.github.com/repos/siuying/node-hearthstone/hooks","issue_events_url":"https://api.github.com/repos/siuying/node-hearthstone/issues/events{/number}","events_url":"https://api.github.com/repos/siuying/node-hearthstone/events","assignees_url":"https://api.github.com/repos/siuying/node-hearthstone/assignees{/user}","branches_url":"https://api.github.com/repos/siuying/node-hearthstone/branches{/branch}","tags_url":"https://api.github.com/repos/siuying/node-hearthstone/tags","blobs_url":"https://api.github.com/repos/siuying/node-hearthstone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/siuying/node-hearthstone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/siuying/node-hearthstone/git/refs{/sha}","trees_url":"https://api.github.com/repos/siuying/node-hearthstone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/siuying/node-hearthstone/statuses/{sha}","languages_url":"https://api.github.com/repos/siuying/node-hearthstone/languages","stargazers_url":"https://api.github.com/repos/siuying/node-hearthstone/stargazers","contributors_url":"https://api.github.com/repos/siuying/node-hearthstone/contributors","subscribers_url":"https://api.github.com/repos/siuying/node-hearthstone/subscribers","subscription_url":"https://api.github.com/repos/siuying/node-hearthstone/subscription","commits_url":"https://api.github.com/repos/siuying/node-hearthstone/commits{/sha}","git_commits_url":"https://api.github.com/repos/siuying/node-hearthstone/git/commits{/sha}","comments_url":"https://api.github.com/repos/siuying/node-hearthstone/comments{/number}","issue_comment_url":"https://api.github.com/repos/siuying/node-hearthstone/issues/comments{/number}","contents_url":"https://api.github.com/repos/siuying/node-hearthstone/contents/{+path}","compare_url":"https://api.github.com/repos/siuying/node-hearthstone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/siuying/node-hearthstone/merges","archive_url":"https://api.github.com/repos/siuying/node-hearthstone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/siuying/node-hearthstone/downloads","issues_url":"https://api.github.com/repos/siuying/node-hearthstone/issues{/number}","pulls_url":"https://api.github.com/repos/siuying/node-hearthstone/pulls{/number}","milestones_url":"https://api.github.com/repos/siuying/node-hearthstone/milestones{/number}","notifications_url":"https://api.github.com/repos/siuying/node-hearthstone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/siuying/node-hearthstone/labels{/name}","releases_url":"https://api.github.com/repos/siuying/node-hearthstone/releases{/id}","created_at":"2014-12-24T13:32:11Z","updated_at":"2015-03-02T16:15:59Z","pushed_at":"2015-03-02T16:15:59Z","git_url":"git://github.com/siuying/node-hearthstone.git","ssh_url":"git@github.com:siuying/node-hearthstone.git","clone_url":"https://github.com/siuying/node-hearthstone.git","svn_url":"https://github.com/siuying/node-hearthstone","homepage":"","size":148,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/siuying/node-hearthstone/pulls/4"},"html":{"href":"https://github.com/siuying/node-hearthstone/pull/4"},"issue":{"href":"https://api.github.com/repos/siuying/node-hearthstone/issues/4"},"comments":{"href":"https://api.github.com/repos/siuying/node-hearthstone/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/siuying/node-hearthstone/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/siuying/node-hearthstone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/siuying/node-hearthstone/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/siuying/node-hearthstone/statuses/404eff40d4790dcec6ad0070fd34707db944fd76"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":12,"deletions":10,"changed_files":3}}