GitHub PullRequestEvent at 2014-07-31 22:18:35
Repository: keen-gem
Actor: EdgarOrtegaRamirez
Payload: {"action":"reopened","number":47,"pull_request":{"url":"https://api.github.com/repos/keenlabs/keen-gem/pulls/47","id":19119097,"html_url":"https://github.com/keenlabs/keen-gem/pull/47","diff_url":"https://github.com/keenlabs/keen-gem/pull/47.diff","patch_url":"https://github.com/keenlabs/keen-gem/pull/47.patch","issue_url":"https://api.github.com/repos/keenlabs/keen-gem/issues/47","number":47,"state":"open","title":"Add the query_url method","user":{"login":"EdgarOrtegaRamirez","id":2790520,"avatar_url":"https://avatars.githubusercontent.com/u/2790520?v=1","gravatar_id":"09170ad180eac32a21b18a536b4a1ae7","url":"https://api.github.com/users/EdgarOrtegaRamirez","html_url":"https://github.com/EdgarOrtegaRamirez","followers_url":"https://api.github.com/users/EdgarOrtegaRamirez/followers","following_url":"https://api.github.com/users/EdgarOrtegaRamirez/following{/other_user}","gists_url":"https://api.github.com/users/EdgarOrtegaRamirez/gists{/gist_id}","starred_url":"https://api.github.com/users/EdgarOrtegaRamirez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdgarOrtegaRamirez/subscriptions","organizations_url":"https://api.github.com/users/EdgarOrtegaRamirez/orgs","repos_url":"https://api.github.com/users/EdgarOrtegaRamirez/repos","events_url":"https://api.github.com/users/EdgarOrtegaRamirez/events{/privacy}","received_events_url":"https://api.github.com/users/EdgarOrtegaRamirez/received_events","type":"User","site_admin":false},"body":"Closes #38 (Expose a method that turns parameters into a query URL)\r\n\r\nOverview\r\n-\r\nExpose a method that turns parameters into a query URL, so the URL could be used to query asynchronously or from another HTTP library or system.\r\n\r\n\r\nSolution\r\n-\r\nAdd a `query_url` method that generates a URL for a query without running it, and allow the `query` method to be a consumer of this one.\r\n```ruby\r\nKeen.query_url('users', {analysis_type: 'count'})\r\n# https://api.keen.io/3.0/projects/12345/queries/count?event_collection=users\r\n```","created_at":"2014-07-30T21:32:58Z","updated_at":"2014-07-31T22:18:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89c93fe64be672d40959f479abe0173dcfb46917","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/keenlabs/keen-gem/pulls/47/commits","review_comments_url":"https://api.github.com/repos/keenlabs/keen-gem/pulls/47/comments","review_comment_url":"https://api.github.com/repos/keenlabs/keen-gem/pulls/comments/{number}","comments_url":"https://api.github.com/repos/keenlabs/keen-gem/issues/47/comments","statuses_url":"https://api.github.com/repos/keenlabs/keen-gem/statuses/08fe310b61139edd4648c23960a10d473c2be02f","head":{"label":"EdgarOrtegaRamirez:patch1","ref":"patch1","sha":"08fe310b61139edd4648c23960a10d473c2be02f","user":{"login":"EdgarOrtegaRamirez","id":2790520,"avatar_url":"https://avatars.githubusercontent.com/u/2790520?v=1","gravatar_id":"09170ad180eac32a21b18a536b4a1ae7","url":"https://api.github.com/users/EdgarOrtegaRamirez","html_url":"https://github.com/EdgarOrtegaRamirez","followers_url":"https://api.github.com/users/EdgarOrtegaRamirez/followers","following_url":"https://api.github.com/users/EdgarOrtegaRamirez/following{/other_user}","gists_url":"https://api.github.com/users/EdgarOrtegaRamirez/gists{/gist_id}","starred_url":"https://api.github.com/users/EdgarOrtegaRamirez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdgarOrtegaRamirez/subscriptions","organizations_url":"https://api.github.com/users/EdgarOrtegaRamirez/orgs","repos_url":"https://api.github.com/users/EdgarOrtegaRamirez/repos","events_url":"https://api.github.com/users/EdgarOrtegaRamirez/events{/privacy}","received_events_url":"https://api.github.com/users/EdgarOrtegaRamirez/received_events","type":"User","site_admin":false},"repo":{"id":14234877,"name":"keen-gem","full_name":"EdgarOrtegaRamirez/keen-gem","owner":{"login":"EdgarOrtegaRamirez","id":2790520,"avatar_url":"https://avatars.githubusercontent.com/u/2790520?v=1","gravatar_id":"09170ad180eac32a21b18a536b4a1ae7","url":"https://api.github.com/users/EdgarOrtegaRamirez","html_url":"https://github.com/EdgarOrtegaRamirez","followers_url":"https://api.github.com/users/EdgarOrtegaRamirez/followers","following_url":"https://api.github.com/users/EdgarOrtegaRamirez/following{/other_user}","gists_url":"https://api.github.com/users/EdgarOrtegaRamirez/gists{/gist_id}","starred_url":"https://api.github.com/users/EdgarOrtegaRamirez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdgarOrtegaRamirez/subscriptions","organizations_url":"https://api.github.com/users/EdgarOrtegaRamirez/orgs","repos_url":"https://api.github.com/users/EdgarOrtegaRamirez/repos","events_url":"https://api.github.com/users/EdgarOrtegaRamirez/events{/privacy}","received_events_url":"https://api.github.com/users/EdgarOrtegaRamirez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EdgarOrtegaRamirez/keen-gem","description":"Official Ruby client for the Keen IO API. Build analytics features directly into your Ruby apps.","fork":true,"url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem","forks_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/forks","keys_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/teams","hooks_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/hooks","issue_events_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/issues/events{/number}","events_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/events","assignees_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/assignees{/user}","branches_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/branches{/branch}","tags_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/tags","blobs_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/git/refs{/sha}","trees_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/statuses/{sha}","languages_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/languages","stargazers_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/stargazers","contributors_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/contributors","subscribers_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/subscribers","subscription_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/subscription","commits_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/commits{/sha}","git_commits_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/git/commits{/sha}","comments_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/comments{/number}","issue_comment_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/issues/comments/{number}","contents_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/contents/{+path}","compare_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/merges","archive_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/downloads","issues_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/issues{/number}","pulls_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/pulls{/number}","milestones_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/milestones{/number}","notifications_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/labels{/name}","releases_url":"https://api.github.com/repos/EdgarOrtegaRamirez/keen-gem/releases{/id}","created_at":"2013-11-08T14:25:52Z","updated_at":"2014-07-31T21:55:03Z","pushed_at":"2014-07-31T22:06:06Z","git_url":"git://github.com/EdgarOrtegaRamirez/keen-gem.git","ssh_url":"git@github.com:EdgarOrtegaRamirez/keen-gem.git","clone_url":"https://github.com/EdgarOrtegaRamirez/keen-gem.git","svn_url":"https://github.com/EdgarOrtegaRamirez/keen-gem","homepage":"https://keen.io/docs","size":732,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"keenlabs:master","ref":"master","sha":"4851c66beb440ea439afead173d7011c3b62b067","user":{"login":"keenlabs","id":1315418,"avatar_url":"https://avatars.githubusercontent.com/u/1315418?v=1","gravatar_id":"b948c4bc2de9618c488431612d2ff99d","url":"https://api.github.com/users/keenlabs","html_url":"https://github.com/keenlabs","followers_url":"https://api.github.com/users/keenlabs/followers","following_url":"https://api.github.com/users/keenlabs/following{/other_user}","gists_url":"https://api.github.com/users/keenlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/keenlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keenlabs/subscriptions","organizations_url":"https://api.github.com/users/keenlabs/orgs","repos_url":"https://api.github.com/users/keenlabs/repos","events_url":"https://api.github.com/users/keenlabs/events{/privacy}","received_events_url":"https://api.github.com/users/keenlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":7429511,"name":"keen-gem","full_name":"keenlabs/keen-gem","owner":{"login":"keenlabs","id":1315418,"avatar_url":"https://avatars.githubusercontent.com/u/1315418?v=1","gravatar_id":"b948c4bc2de9618c488431612d2ff99d","url":"https://api.github.com/users/keenlabs","html_url":"https://github.com/keenlabs","followers_url":"https://api.github.com/users/keenlabs/followers","following_url":"https://api.github.com/users/keenlabs/following{/other_user}","gists_url":"https://api.github.com/users/keenlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/keenlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keenlabs/subscriptions","organizations_url":"https://api.github.com/users/keenlabs/orgs","repos_url":"https://api.github.com/users/keenlabs/repos","events_url":"https://api.github.com/users/keenlabs/events{/privacy}","received_events_url":"https://api.github.com/users/keenlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keenlabs/keen-gem","description":"Official Ruby client for the Keen IO API. Build analytics features directly into your Ruby apps.","fork":false,"url":"https://api.github.com/repos/keenlabs/keen-gem","forks_url":"https://api.github.com/repos/keenlabs/keen-gem/forks","keys_url":"https://api.github.com/repos/keenlabs/keen-gem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keenlabs/keen-gem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keenlabs/keen-gem/teams","hooks_url":"https://api.github.com/repos/keenlabs/keen-gem/hooks","issue_events_url":"https://api.github.com/repos/keenlabs/keen-gem/issues/events{/number}","events_url":"https://api.github.com/repos/keenlabs/keen-gem/events","assignees_url":"https://api.github.com/repos/keenlabs/keen-gem/assignees{/user}","branches_url":"https://api.github.com/repos/keenlabs/keen-gem/branches{/branch}","tags_url":"https://api.github.com/repos/keenlabs/keen-gem/tags","blobs_url":"https://api.github.com/repos/keenlabs/keen-gem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keenlabs/keen-gem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keenlabs/keen-gem/git/refs{/sha}","trees_url":"https://api.github.com/repos/keenlabs/keen-gem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keenlabs/keen-gem/statuses/{sha}","languages_url":"https://api.github.com/repos/keenlabs/keen-gem/languages","stargazers_url":"https://api.github.com/repos/keenlabs/keen-gem/stargazers","contributors_url":"https://api.github.com/repos/keenlabs/keen-gem/contributors","subscribers_url":"https://api.github.com/repos/keenlabs/keen-gem/subscribers","subscription_url":"https://api.github.com/repos/keenlabs/keen-gem/subscription","commits_url":"https://api.github.com/repos/keenlabs/keen-gem/commits{/sha}","git_commits_url":"https://api.github.com/repos/keenlabs/keen-gem/git/commits{/sha}","comments_url":"https://api.github.com/repos/keenlabs/keen-gem/comments{/number}","issue_comment_url":"https://api.github.com/repos/keenlabs/keen-gem/issues/comments/{number}","contents_url":"https://api.github.com/repos/keenlabs/keen-gem/contents/{+path}","compare_url":"https://api.github.com/repos/keenlabs/keen-gem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keenlabs/keen-gem/merges","archive_url":"https://api.github.com/repos/keenlabs/keen-gem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keenlabs/keen-gem/downloads","issues_url":"https://api.github.com/repos/keenlabs/keen-gem/issues{/number}","pulls_url":"https://api.github.com/repos/keenlabs/keen-gem/pulls{/number}","milestones_url":"https://api.github.com/repos/keenlabs/keen-gem/milestones{/number}","notifications_url":"https://api.github.com/repos/keenlabs/keen-gem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keenlabs/keen-gem/labels{/name}","releases_url":"https://api.github.com/repos/keenlabs/keen-gem/releases{/id}","created_at":"2013-01-03T20:11:24Z","updated_at":"2014-07-30T21:44:47Z","pushed_at":"2014-07-21T01:05:52Z","git_url":"git://github.com/keenlabs/keen-gem.git","ssh_url":"git@github.com:keenlabs/keen-gem.git","clone_url":"https://github.com/keenlabs/keen-gem.git","svn_url":"https://github.com/keenlabs/keen-gem","homepage":"https://keen.io/docs","size":1250,"stargazers_count":110,"watchers_count":110,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":53,"mirror_url":null,"open_issues_count":9,"forks":53,"open_issues":9,"watchers":110,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keenlabs/keen-gem/pulls/47"},"html":{"href":"https://github.com/keenlabs/keen-gem/pull/47"},"issue":{"href":"https://api.github.com/repos/keenlabs/keen-gem/issues/47"},"comments":{"href":"https://api.github.com/repos/keenlabs/keen-gem/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/keenlabs/keen-gem/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/keenlabs/keen-gem/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/keenlabs/keen-gem/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/keenlabs/keen-gem/statuses/08fe310b61139edd4648c23960a10d473c2be02f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":60,"deletions":20,"changed_files":3}}