{"action":"created","comment":{"url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/comments/80260500","id":80260500,"diff_hunk":"@@ -16,6 +16,10 @@ def put(data)\n       client.put_data(id, payload_formatter.format(data))\n     end\n \n+    def post(data, options={})","path":"lib/geckoboard/dataset.rb","position":4,"original_position":4,"commit_id":"de089d2c92161b0ca62caf22cfec328be977a251","original_commit_id":"de089d2c92161b0ca62caf22cfec328be977a251","user":{"login":"boxofrad","id":580803,"avatar_url":"https://avatars.githubusercontent.com/u/580803?v=3","gravatar_id":"","url":"https://api.github.com/users/boxofrad","html_url":"https://github.com/boxofrad","followers_url":"https://api.github.com/users/boxofrad/followers","following_url":"https://api.github.com/users/boxofrad/following{/other_user}","gists_url":"https://api.github.com/users/boxofrad/gists{/gist_id}","starred_url":"https://api.github.com/users/boxofrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxofrad/subscriptions","organizations_url":"https://api.github.com/users/boxofrad/orgs","repos_url":"https://api.github.com/users/boxofrad/repos","events_url":"https://api.github.com/users/boxofrad/events{/privacy}","received_events_url":"https://api.github.com/users/boxofrad/received_events","type":"User","site_admin":false},"body":"🏄  I'm wondering if \"post\" is the right name for this concept? would \"append\" feel more natural?\r\nNo doubt there's already been some discussion around this 😄 ","created_at":"2016-09-23T14:52:19Z","updated_at":"2016-09-23T14:57:56Z","html_url":"https://github.com/geckoboard/geckoboard-ruby/pull/7#discussion_r80260500","pull_request_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/comments/80260500"},"html":{"href":"https://github.com/geckoboard/geckoboard-ruby/pull/7#discussion_r80260500"},"pull_request":{"href":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/7","id":86525240,"html_url":"https://github.com/geckoboard/geckoboard-ruby/pull/7","diff_url":"https://github.com/geckoboard/geckoboard-ruby/pull/7.diff","patch_url":"https://github.com/geckoboard/geckoboard-ruby/pull/7.patch","issue_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/issues/7","number":7,"state":"open","locked":false,"title":"Incremental updates","user":{"login":"carlmw","id":122096,"avatar_url":"https://avatars.githubusercontent.com/u/122096?v=3","gravatar_id":"","url":"https://api.github.com/users/carlmw","html_url":"https://github.com/carlmw","followers_url":"https://api.github.com/users/carlmw/followers","following_url":"https://api.github.com/users/carlmw/following{/other_user}","gists_url":"https://api.github.com/users/carlmw/gists{/gist_id}","starred_url":"https://api.github.com/users/carlmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlmw/subscriptions","organizations_url":"https://api.github.com/users/carlmw/orgs","repos_url":"https://api.github.com/users/carlmw/repos","events_url":"https://api.github.com/users/carlmw/events{/privacy}","received_events_url":"https://api.github.com/users/carlmw/received_events","type":"User","site_admin":false},"body":"* Adds support for the optional `unique_by` parameter when creating a dataset\r\n* Adds `Dataset#post` which appends records to the dataset\r\n  * `unique_by` is used to determine when an existing record should be replaced instead of appended.\r\n  * `delete_by` being a determines which \"old\" records should be truncated when the maximum record count has been reached.\r\n\r\nHow I rubby\r\n![chickenburger](https://cloud.githubusercontent.com/assets/122096/18789883/937f9cc4-81a4-11e6-84aa-15f8149be441.gif)\r\n\r\n","created_at":"2016-09-23T14:44:28Z","updated_at":"2016-09-23T14:57:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec6713e9ac3f583e6ab60be36172d0e0af876116","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/7/commits","review_comments_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/7/comments","review_comment_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/issues/7/comments","statuses_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/statuses/de089d2c92161b0ca62caf22cfec328be977a251","head":{"label":"geckoboard:feature-incremental-updates","ref":"feature-incremental-updates","sha":"de089d2c92161b0ca62caf22cfec328be977a251","user":{"login":"geckoboard","id":1148373,"avatar_url":"https://avatars.githubusercontent.com/u/1148373?v=3","gravatar_id":"","url":"https://api.github.com/users/geckoboard","html_url":"https://github.com/geckoboard","followers_url":"https://api.github.com/users/geckoboard/followers","following_url":"https://api.github.com/users/geckoboard/following{/other_user}","gists_url":"https://api.github.com/users/geckoboard/gists{/gist_id}","starred_url":"https://api.github.com/users/geckoboard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geckoboard/subscriptions","organizations_url":"https://api.github.com/users/geckoboard/orgs","repos_url":"https://api.github.com/users/geckoboard/repos","events_url":"https://api.github.com/users/geckoboard/events{/privacy}","received_events_url":"https://api.github.com/users/geckoboard/received_events","type":"Organization","site_admin":false},"repo":{"id":65028462,"name":"geckoboard-ruby","full_name":"geckoboard/geckoboard-ruby","owner":{"login":"geckoboard","id":1148373,"avatar_url":"https://avatars.githubusercontent.com/u/1148373?v=3","gravatar_id":"","url":"https://api.github.com/users/geckoboard","html_url":"https://github.com/geckoboard","followers_url":"https://api.github.com/users/geckoboard/followers","following_url":"https://api.github.com/users/geckoboard/following{/other_user}","gists_url":"https://api.github.com/users/geckoboard/gists{/gist_id}","starred_url":"https://api.github.com/users/geckoboard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geckoboard/subscriptions","organizations_url":"https://api.github.com/users/geckoboard/orgs","repos_url":"https://api.github.com/users/geckoboard/repos","events_url":"https://api.github.com/users/geckoboard/events{/privacy}","received_events_url":"https://api.github.com/users/geckoboard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geckoboard/geckoboard-ruby","description":"Ruby client library for Geckoboard","fork":false,"url":"https://api.github.com/repos/geckoboard/geckoboard-ruby","forks_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/forks","keys_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/teams","hooks_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/hooks","issue_events_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/events","assignees_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/tags","blobs_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/languages","stargazers_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/stargazers","contributors_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/contributors","subscribers_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/subscribers","subscription_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/subscription","commits_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/merges","archive_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/downloads","issues_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/labels{/name}","releases_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/deployments","created_at":"2016-08-05T15:18:05Z","updated_at":"2016-09-19T09:22:29Z","pushed_at":"2016-09-23T14:44:28Z","git_url":"git://github.com/geckoboard/geckoboard-ruby.git","ssh_url":"git@github.com:geckoboard/geckoboard-ruby.git","clone_url":"https://github.com/geckoboard/geckoboard-ruby.git","svn_url":"https://github.com/geckoboard/geckoboard-ruby","homepage":"https://developer.geckoboard.com/api-reference/ruby","size":26,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"geckoboard:master","ref":"master","sha":"3874d4657523ed4e9fddfed4d12ff27f2306eba4","user":{"login":"geckoboard","id":1148373,"avatar_url":"https://avatars.githubusercontent.com/u/1148373?v=3","gravatar_id":"","url":"https://api.github.com/users/geckoboard","html_url":"https://github.com/geckoboard","followers_url":"https://api.github.com/users/geckoboard/followers","following_url":"https://api.github.com/users/geckoboard/following{/other_user}","gists_url":"https://api.github.com/users/geckoboard/gists{/gist_id}","starred_url":"https://api.github.com/users/geckoboard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geckoboard/subscriptions","organizations_url":"https://api.github.com/users/geckoboard/orgs","repos_url":"https://api.github.com/users/geckoboard/repos","events_url":"https://api.github.com/users/geckoboard/events{/privacy}","received_events_url":"https://api.github.com/users/geckoboard/received_events","type":"Organization","site_admin":false},"repo":{"id":65028462,"name":"geckoboard-ruby","full_name":"geckoboard/geckoboard-ruby","owner":{"login":"geckoboard","id":1148373,"avatar_url":"https://avatars.githubusercontent.com/u/1148373?v=3","gravatar_id":"","url":"https://api.github.com/users/geckoboard","html_url":"https://github.com/geckoboard","followers_url":"https://api.github.com/users/geckoboard/followers","following_url":"https://api.github.com/users/geckoboard/following{/other_user}","gists_url":"https://api.github.com/users/geckoboard/gists{/gist_id}","starred_url":"https://api.github.com/users/geckoboard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geckoboard/subscriptions","organizations_url":"https://api.github.com/users/geckoboard/orgs","repos_url":"https://api.github.com/users/geckoboard/repos","events_url":"https://api.github.com/users/geckoboard/events{/privacy}","received_events_url":"https://api.github.com/users/geckoboard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geckoboard/geckoboard-ruby","description":"Ruby client library for Geckoboard","fork":false,"url":"https://api.github.com/repos/geckoboard/geckoboard-ruby","forks_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/forks","keys_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/teams","hooks_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/hooks","issue_events_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/events","assignees_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/tags","blobs_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/languages","stargazers_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/stargazers","contributors_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/contributors","subscribers_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/subscribers","subscription_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/subscription","commits_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/merges","archive_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/downloads","issues_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/labels{/name}","releases_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/geckoboard/geckoboard-ruby/deployments","created_at":"2016-08-05T15:18:05Z","updated_at":"2016-09-19T09:22:29Z","pushed_at":"2016-09-23T14:44:28Z","git_url":"git://github.com/geckoboard/geckoboard-ruby.git","ssh_url":"git@github.com:geckoboard/geckoboard-ruby.git","clone_url":"https://github.com/geckoboard/geckoboard-ruby.git","svn_url":"https://github.com/geckoboard/geckoboard-ruby","homepage":"https://developer.geckoboard.com/api-reference/ruby","size":26,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/7"},"html":{"href":"https://github.com/geckoboard/geckoboard-ruby/pull/7"},"issue":{"href":"https://api.github.com/repos/geckoboard/geckoboard-ruby/issues/7"},"comments":{"href":"https://api.github.com/repos/geckoboard/geckoboard-ruby/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geckoboard/geckoboard-ruby/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/geckoboard/geckoboard-ruby/statuses/de089d2c92161b0ca62caf22cfec328be977a251"}}}}
{"actor":{"display_login":"boxofrad"}}