{"action":"opened","number":194,"pull_request":{"url":"https://api.github.com/repos/defunkt/gist/pulls/194","id":27990010,"html_url":"https://github.com/defunkt/gist/pull/194","diff_url":"https://github.com/defunkt/gist/pull/194.diff","patch_url":"https://github.com/defunkt/gist/pull/194.patch","issue_url":"https://api.github.com/repos/defunkt/gist/issues/194","number":194,"state":"open","locked":false,"title":"add option r <URL | ID> to download the gist","user":{"login":"zakysiak","id":8853627,"avatar_url":"https://avatars.githubusercontent.com/u/8853627?v=3","gravatar_id":"","url":"https://api.github.com/users/zakysiak","html_url":"https://github.com/zakysiak","followers_url":"https://api.github.com/users/zakysiak/followers","following_url":"https://api.github.com/users/zakysiak/following{/other_user}","gists_url":"https://api.github.com/users/zakysiak/gists{/gist_id}","starred_url":"https://api.github.com/users/zakysiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakysiak/subscriptions","organizations_url":"https://api.github.com/users/zakysiak/orgs","repos_url":"https://api.github.com/users/zakysiak/repos","events_url":"https://api.github.com/users/zakysiak/events{/privacy}","received_events_url":"https://api.github.com/users/zakysiak/received_events","type":"User","site_admin":false},"body":"I add option r <URL | ID> to download the gist. It downloads the gist to local folder in format [gistID].txt. If multifiles gist are requested it downloads only the last file. \r\nI renamed method \"open\" in lib to \"open_in_browser\" because of name conflict with \"open\" method from 'open-uri'.\r\nI add description to readme.md\r\n\r\nPlease ask any questions if needed.\r\n\r\nOliver as Zakysiak","created_at":"2015-01-25T09:51:20Z","updated_at":"2015-01-25T09:51:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/defunkt/gist/pulls/194/commits","review_comments_url":"https://api.github.com/repos/defunkt/gist/pulls/194/comments","review_comment_url":"https://api.github.com/repos/defunkt/gist/pulls/comments/{number}","comments_url":"https://api.github.com/repos/defunkt/gist/issues/194/comments","statuses_url":"https://api.github.com/repos/defunkt/gist/statuses/5abfa997130accc969257d8bf6643b9cc0e17711","head":{"label":"zakysiak:master","ref":"master","sha":"5abfa997130accc969257d8bf6643b9cc0e17711","user":{"login":"zakysiak","id":8853627,"avatar_url":"https://avatars.githubusercontent.com/u/8853627?v=3","gravatar_id":"","url":"https://api.github.com/users/zakysiak","html_url":"https://github.com/zakysiak","followers_url":"https://api.github.com/users/zakysiak/followers","following_url":"https://api.github.com/users/zakysiak/following{/other_user}","gists_url":"https://api.github.com/users/zakysiak/gists{/gist_id}","starred_url":"https://api.github.com/users/zakysiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakysiak/subscriptions","organizations_url":"https://api.github.com/users/zakysiak/orgs","repos_url":"https://api.github.com/users/zakysiak/repos","events_url":"https://api.github.com/users/zakysiak/events{/privacy}","received_events_url":"https://api.github.com/users/zakysiak/received_events","type":"User","site_admin":false},"repo":{"id":29809358,"name":"gist","full_name":"zakysiak/gist","owner":{"login":"zakysiak","id":8853627,"avatar_url":"https://avatars.githubusercontent.com/u/8853627?v=3","gravatar_id":"","url":"https://api.github.com/users/zakysiak","html_url":"https://github.com/zakysiak","followers_url":"https://api.github.com/users/zakysiak/followers","following_url":"https://api.github.com/users/zakysiak/following{/other_user}","gists_url":"https://api.github.com/users/zakysiak/gists{/gist_id}","starred_url":"https://api.github.com/users/zakysiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakysiak/subscriptions","organizations_url":"https://api.github.com/users/zakysiak/orgs","repos_url":"https://api.github.com/users/zakysiak/repos","events_url":"https://api.github.com/users/zakysiak/events{/privacy}","received_events_url":"https://api.github.com/users/zakysiak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zakysiak/gist","description":"Potentially the best command line gister.","fork":true,"url":"https://api.github.com/repos/zakysiak/gist","forks_url":"https://api.github.com/repos/zakysiak/gist/forks","keys_url":"https://api.github.com/repos/zakysiak/gist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zakysiak/gist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zakysiak/gist/teams","hooks_url":"https://api.github.com/repos/zakysiak/gist/hooks","issue_events_url":"https://api.github.com/repos/zakysiak/gist/issues/events{/number}","events_url":"https://api.github.com/repos/zakysiak/gist/events","assignees_url":"https://api.github.com/repos/zakysiak/gist/assignees{/user}","branches_url":"https://api.github.com/repos/zakysiak/gist/branches{/branch}","tags_url":"https://api.github.com/repos/zakysiak/gist/tags","blobs_url":"https://api.github.com/repos/zakysiak/gist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zakysiak/gist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zakysiak/gist/git/refs{/sha}","trees_url":"https://api.github.com/repos/zakysiak/gist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zakysiak/gist/statuses/{sha}","languages_url":"https://api.github.com/repos/zakysiak/gist/languages","stargazers_url":"https://api.github.com/repos/zakysiak/gist/stargazers","contributors_url":"https://api.github.com/repos/zakysiak/gist/contributors","subscribers_url":"https://api.github.com/repos/zakysiak/gist/subscribers","subscription_url":"https://api.github.com/repos/zakysiak/gist/subscription","commits_url":"https://api.github.com/repos/zakysiak/gist/commits{/sha}","git_commits_url":"https://api.github.com/repos/zakysiak/gist/git/commits{/sha}","comments_url":"https://api.github.com/repos/zakysiak/gist/comments{/number}","issue_comment_url":"https://api.github.com/repos/zakysiak/gist/issues/comments/{number}","contents_url":"https://api.github.com/repos/zakysiak/gist/contents/{+path}","compare_url":"https://api.github.com/repos/zakysiak/gist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zakysiak/gist/merges","archive_url":"https://api.github.com/repos/zakysiak/gist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zakysiak/gist/downloads","issues_url":"https://api.github.com/repos/zakysiak/gist/issues{/number}","pulls_url":"https://api.github.com/repos/zakysiak/gist/pulls{/number}","milestones_url":"https://api.github.com/repos/zakysiak/gist/milestones{/number}","notifications_url":"https://api.github.com/repos/zakysiak/gist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zakysiak/gist/labels{/name}","releases_url":"https://api.github.com/repos/zakysiak/gist/releases{/id}","created_at":"2015-01-25T09:38:37Z","updated_at":"2015-01-25T09:42:30Z","pushed_at":"2015-01-25T09:42:29Z","git_url":"git://github.com/zakysiak/gist.git","ssh_url":"git@github.com:zakysiak/gist.git","clone_url":"https://github.com/zakysiak/gist.git","svn_url":"https://github.com/zakysiak/gist","homepage":"http://defunkt.io/gist/","size":2704,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"defunkt:master","ref":"master","sha":"8b0b40141a3cd2eaac455c8e77092147903fed34","user":{"login":"defunkt","id":2,"avatar_url":"https://avatars.githubusercontent.com/u/2?v=3","gravatar_id":"","url":"https://api.github.com/users/defunkt","html_url":"https://github.com/defunkt","followers_url":"https://api.github.com/users/defunkt/followers","following_url":"https://api.github.com/users/defunkt/following{/other_user}","gists_url":"https://api.github.com/users/defunkt/gists{/gist_id}","starred_url":"https://api.github.com/users/defunkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defunkt/subscriptions","organizations_url":"https://api.github.com/users/defunkt/orgs","repos_url":"https://api.github.com/users/defunkt/repos","events_url":"https://api.github.com/users/defunkt/events{/privacy}","received_events_url":"https://api.github.com/users/defunkt/received_events","type":"User","site_admin":true},"repo":{"id":61713,"name":"gist","full_name":"defunkt/gist","owner":{"login":"defunkt","id":2,"avatar_url":"https://avatars.githubusercontent.com/u/2?v=3","gravatar_id":"","url":"https://api.github.com/users/defunkt","html_url":"https://github.com/defunkt","followers_url":"https://api.github.com/users/defunkt/followers","following_url":"https://api.github.com/users/defunkt/following{/other_user}","gists_url":"https://api.github.com/users/defunkt/gists{/gist_id}","starred_url":"https://api.github.com/users/defunkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defunkt/subscriptions","organizations_url":"https://api.github.com/users/defunkt/orgs","repos_url":"https://api.github.com/users/defunkt/repos","events_url":"https://api.github.com/users/defunkt/events{/privacy}","received_events_url":"https://api.github.com/users/defunkt/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/defunkt/gist","description":"Potentially the best command line gister.","fork":false,"url":"https://api.github.com/repos/defunkt/gist","forks_url":"https://api.github.com/repos/defunkt/gist/forks","keys_url":"https://api.github.com/repos/defunkt/gist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/defunkt/gist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/defunkt/gist/teams","hooks_url":"https://api.github.com/repos/defunkt/gist/hooks","issue_events_url":"https://api.github.com/repos/defunkt/gist/issues/events{/number}","events_url":"https://api.github.com/repos/defunkt/gist/events","assignees_url":"https://api.github.com/repos/defunkt/gist/assignees{/user}","branches_url":"https://api.github.com/repos/defunkt/gist/branches{/branch}","tags_url":"https://api.github.com/repos/defunkt/gist/tags","blobs_url":"https://api.github.com/repos/defunkt/gist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/defunkt/gist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/defunkt/gist/git/refs{/sha}","trees_url":"https://api.github.com/repos/defunkt/gist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/defunkt/gist/statuses/{sha}","languages_url":"https://api.github.com/repos/defunkt/gist/languages","stargazers_url":"https://api.github.com/repos/defunkt/gist/stargazers","contributors_url":"https://api.github.com/repos/defunkt/gist/contributors","subscribers_url":"https://api.github.com/repos/defunkt/gist/subscribers","subscription_url":"https://api.github.com/repos/defunkt/gist/subscription","commits_url":"https://api.github.com/repos/defunkt/gist/commits{/sha}","git_commits_url":"https://api.github.com/repos/defunkt/gist/git/commits{/sha}","comments_url":"https://api.github.com/repos/defunkt/gist/comments{/number}","issue_comment_url":"https://api.github.com/repos/defunkt/gist/issues/comments/{number}","contents_url":"https://api.github.com/repos/defunkt/gist/contents/{+path}","compare_url":"https://api.github.com/repos/defunkt/gist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/defunkt/gist/merges","archive_url":"https://api.github.com/repos/defunkt/gist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/defunkt/gist/downloads","issues_url":"https://api.github.com/repos/defunkt/gist/issues{/number}","pulls_url":"https://api.github.com/repos/defunkt/gist/pulls{/number}","milestones_url":"https://api.github.com/repos/defunkt/gist/milestones{/number}","notifications_url":"https://api.github.com/repos/defunkt/gist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/defunkt/gist/labels{/name}","releases_url":"https://api.github.com/repos/defunkt/gist/releases{/id}","created_at":"2008-10-10T23:35:47Z","updated_at":"2015-01-25T03:39:40Z","pushed_at":"2014-12-11T01:59:17Z","git_url":"git://github.com/defunkt/gist.git","ssh_url":"git@github.com:defunkt/gist.git","clone_url":"https://github.com/defunkt/gist.git","svn_url":"https://github.com/defunkt/gist","homepage":"http://defunkt.io/gist/","size":2704,"stargazers_count":1583,"watchers_count":1583,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":180,"mirror_url":null,"open_issues_count":3,"forks":180,"open_issues":3,"watchers":1583,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/defunkt/gist/pulls/194"},"html":{"href":"https://github.com/defunkt/gist/pull/194"},"issue":{"href":"https://api.github.com/repos/defunkt/gist/issues/194"},"comments":{"href":"https://api.github.com/repos/defunkt/gist/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/defunkt/gist/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/defunkt/gist/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/defunkt/gist/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/defunkt/gist/statuses/5abfa997130accc969257d8bf6643b9cc0e17711"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":44,"deletions":2,"changed_files":3}}