{"action":"created","comment":{"url":"https://api.github.com/repos/data-axle/elastic_record/pulls/comments/23114830","id":23114830,"diff_hunk":"@@ -81,8 +82,10 @@ def get(end_path, json = nil)\n     end\n \n     private\n+\n       def new_index_name\n         \"#{alias_name}_#{(Time.now.to_f * 100).to_i}\"","path":"lib/elastic_record/index.rb","position":14,"original_position":14,"commit_id":"9782d7313485c7794c531960734cddd63b95e372","original_commit_id":"16a865bd0d71f18c27c13a7f73fb48e6711423cd","user":{"login":"ebarendt","id":599180,"avatar_url":"https://avatars.githubusercontent.com/u/599180?v=3","gravatar_id":"","url":"https://api.github.com/users/ebarendt","html_url":"https://github.com/ebarendt","followers_url":"https://api.github.com/users/ebarendt/followers","following_url":"https://api.github.com/users/ebarendt/following{/other_user}","gists_url":"https://api.github.com/users/ebarendt/gists{/gist_id}","starred_url":"https://api.github.com/users/ebarendt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebarendt/subscriptions","organizations_url":"https://api.github.com/users/ebarendt/orgs","repos_url":"https://api.github.com/users/ebarendt/repos","events_url":"https://api.github.com/users/ebarendt/events{/privacy}","received_events_url":"https://api.github.com/users/ebarendt/received_events","type":"User","site_admin":false},"body":"Can we use `yyyymmdd` instead of `to_f`?","created_at":"2015-01-16T22:39:56Z","updated_at":"2015-01-16T22:39:56Z","html_url":"https://github.com/data-axle/elastic_record/pull/34#discussion_r23114830","pull_request_url":"https://api.github.com/repos/data-axle/elastic_record/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/data-axle/elastic_record/pulls/comments/23114830"},"html":{"href":"https://github.com/data-axle/elastic_record/pull/34#discussion_r23114830"},"pull_request":{"href":"https://api.github.com/repos/data-axle/elastic_record/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/data-axle/elastic_record/pulls/34","id":27542153,"html_url":"https://github.com/data-axle/elastic_record/pull/34","diff_url":"https://github.com/data-axle/elastic_record/pull/34.diff","patch_url":"https://github.com/data-axle/elastic_record/pull/34.patch","issue_url":"https://api.github.com/repos/data-axle/elastic_record/issues/34","number":34,"state":"open","locked":false,"title":"Standardized setup","user":{"login":"matthuhiggins","id":8185,"avatar_url":"https://avatars.githubusercontent.com/u/8185?v=3","gravatar_id":"","url":"https://api.github.com/users/matthuhiggins","html_url":"https://github.com/matthuhiggins","followers_url":"https://api.github.com/users/matthuhiggins/followers","following_url":"https://api.github.com/users/matthuhiggins/following{/other_user}","gists_url":"https://api.github.com/users/matthuhiggins/gists{/gist_id}","starred_url":"https://api.github.com/users/matthuhiggins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthuhiggins/subscriptions","organizations_url":"https://api.github.com/users/matthuhiggins/orgs","repos_url":"https://api.github.com/users/matthuhiggins/repos","events_url":"https://api.github.com/users/matthuhiggins/events{/privacy}","received_events_url":"https://api.github.com/users/matthuhiggins/received_events","type":"User","site_admin":false},"body":"* Add a dummy app!\r\n* Introduces logs, to see what the tests are doing!\r\n* Remove manual setup of models and db!\r\n* Allows running of index.rake tasks from the project root!\r\n* Introduces new way to define the percolator index up front, so that it's not created on demand!\r\n\r\n@ebarendt @alanpearson ","created_at":"2015-01-16T22:35:57Z","updated_at":"2015-01-16T22:39:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5cd71eefcba0abab979dee0af584e7b6b53009e4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/data-axle/elastic_record/pulls/34/commits","review_comments_url":"https://api.github.com/repos/data-axle/elastic_record/pulls/34/comments","review_comment_url":"https://api.github.com/repos/data-axle/elastic_record/pulls/comments/{number}","comments_url":"https://api.github.com/repos/data-axle/elastic_record/issues/34/comments","statuses_url":"https://api.github.com/repos/data-axle/elastic_record/statuses/9782d7313485c7794c531960734cddd63b95e372","head":{"label":"data-axle:standardized-setup","ref":"standardized-setup","sha":"9782d7313485c7794c531960734cddd63b95e372","user":{"login":"data-axle","id":1663168,"avatar_url":"https://avatars.githubusercontent.com/u/1663168?v=3","gravatar_id":"","url":"https://api.github.com/users/data-axle","html_url":"https://github.com/data-axle","followers_url":"https://api.github.com/users/data-axle/followers","following_url":"https://api.github.com/users/data-axle/following{/other_user}","gists_url":"https://api.github.com/users/data-axle/gists{/gist_id}","starred_url":"https://api.github.com/users/data-axle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/data-axle/subscriptions","organizations_url":"https://api.github.com/users/data-axle/orgs","repos_url":"https://api.github.com/users/data-axle/repos","events_url":"https://api.github.com/users/data-axle/events{/privacy}","received_events_url":"https://api.github.com/users/data-axle/received_events","type":"Organization","site_admin":false},"repo":{"id":5756888,"name":"elastic_record","full_name":"data-axle/elastic_record","owner":{"login":"data-axle","id":1663168,"avatar_url":"https://avatars.githubusercontent.com/u/1663168?v=3","gravatar_id":"","url":"https://api.github.com/users/data-axle","html_url":"https://github.com/data-axle","followers_url":"https://api.github.com/users/data-axle/followers","following_url":"https://api.github.com/users/data-axle/following{/other_user}","gists_url":"https://api.github.com/users/data-axle/gists{/gist_id}","starred_url":"https://api.github.com/users/data-axle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/data-axle/subscriptions","organizations_url":"https://api.github.com/users/data-axle/orgs","repos_url":"https://api.github.com/users/data-axle/repos","events_url":"https://api.github.com/users/data-axle/events{/privacy}","received_events_url":"https://api.github.com/users/data-axle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/data-axle/elastic_record","description":"find_in_batches","fork":false,"url":"https://api.github.com/repos/data-axle/elastic_record","forks_url":"https://api.github.com/repos/data-axle/elastic_record/forks","keys_url":"https://api.github.com/repos/data-axle/elastic_record/keys{/key_id}","collaborators_url":"https://api.github.com/repos/data-axle/elastic_record/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/data-axle/elastic_record/teams","hooks_url":"https://api.github.com/repos/data-axle/elastic_record/hooks","issue_events_url":"https://api.github.com/repos/data-axle/elastic_record/issues/events{/number}","events_url":"https://api.github.com/repos/data-axle/elastic_record/events","assignees_url":"https://api.github.com/repos/data-axle/elastic_record/assignees{/user}","branches_url":"https://api.github.com/repos/data-axle/elastic_record/branches{/branch}","tags_url":"https://api.github.com/repos/data-axle/elastic_record/tags","blobs_url":"https://api.github.com/repos/data-axle/elastic_record/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/data-axle/elastic_record/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/data-axle/elastic_record/git/refs{/sha}","trees_url":"https://api.github.com/repos/data-axle/elastic_record/git/trees{/sha}","statuses_url":"https://api.github.com/repos/data-axle/elastic_record/statuses/{sha}","languages_url":"https://api.github.com/repos/data-axle/elastic_record/languages","stargazers_url":"https://api.github.com/repos/data-axle/elastic_record/stargazers","contributors_url":"https://api.github.com/repos/data-axle/elastic_record/contributors","subscribers_url":"https://api.github.com/repos/data-axle/elastic_record/subscribers","subscription_url":"https://api.github.com/repos/data-axle/elastic_record/subscription","commits_url":"https://api.github.com/repos/data-axle/elastic_record/commits{/sha}","git_commits_url":"https://api.github.com/repos/data-axle/elastic_record/git/commits{/sha}","comments_url":"https://api.github.com/repos/data-axle/elastic_record/comments{/number}","issue_comment_url":"https://api.github.com/repos/data-axle/elastic_record/issues/comments/{number}","contents_url":"https://api.github.com/repos/data-axle/elastic_record/contents/{+path}","compare_url":"https://api.github.com/repos/data-axle/elastic_record/compare/{base}...{head}","merges_url":"https://api.github.com/repos/data-axle/elastic_record/merges","archive_url":"https://api.github.com/repos/data-axle/elastic_record/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/data-axle/elastic_record/downloads","issues_url":"https://api.github.com/repos/data-axle/elastic_record/issues{/number}","pulls_url":"https://api.github.com/repos/data-axle/elastic_record/pulls{/number}","milestones_url":"https://api.github.com/repos/data-axle/elastic_record/milestones{/number}","notifications_url":"https://api.github.com/repos/data-axle/elastic_record/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/data-axle/elastic_record/labels{/name}","releases_url":"https://api.github.com/repos/data-axle/elastic_record/releases{/id}","created_at":"2012-09-10T22:37:37Z","updated_at":"2014-12-11T21:38:32Z","pushed_at":"2015-01-16T22:38:44Z","git_url":"git://github.com/data-axle/elastic_record.git","ssh_url":"git@github.com:data-axle/elastic_record.git","clone_url":"https://github.com/data-axle/elastic_record.git","svn_url":"https://github.com/data-axle/elastic_record","homepage":"","size":1256,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":6,"default_branch":"master"}},"base":{"label":"data-axle:master","ref":"master","sha":"0ef5ccc5a44f54d1bd73741e8d740e4f644fc78c","user":{"login":"data-axle","id":1663168,"avatar_url":"https://avatars.githubusercontent.com/u/1663168?v=3","gravatar_id":"","url":"https://api.github.com/users/data-axle","html_url":"https://github.com/data-axle","followers_url":"https://api.github.com/users/data-axle/followers","following_url":"https://api.github.com/users/data-axle/following{/other_user}","gists_url":"https://api.github.com/users/data-axle/gists{/gist_id}","starred_url":"https://api.github.com/users/data-axle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/data-axle/subscriptions","organizations_url":"https://api.github.com/users/data-axle/orgs","repos_url":"https://api.github.com/users/data-axle/repos","events_url":"https://api.github.com/users/data-axle/events{/privacy}","received_events_url":"https://api.github.com/users/data-axle/received_events","type":"Organization","site_admin":false},"repo":{"id":5756888,"name":"elastic_record","full_name":"data-axle/elastic_record","owner":{"login":"data-axle","id":1663168,"avatar_url":"https://avatars.githubusercontent.com/u/1663168?v=3","gravatar_id":"","url":"https://api.github.com/users/data-axle","html_url":"https://github.com/data-axle","followers_url":"https://api.github.com/users/data-axle/followers","following_url":"https://api.github.com/users/data-axle/following{/other_user}","gists_url":"https://api.github.com/users/data-axle/gists{/gist_id}","starred_url":"https://api.github.com/users/data-axle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/data-axle/subscriptions","organizations_url":"https://api.github.com/users/data-axle/orgs","repos_url":"https://api.github.com/users/data-axle/repos","events_url":"https://api.github.com/users/data-axle/events{/privacy}","received_events_url":"https://api.github.com/users/data-axle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/data-axle/elastic_record","description":"find_in_batches","fork":false,"url":"https://api.github.com/repos/data-axle/elastic_record","forks_url":"https://api.github.com/repos/data-axle/elastic_record/forks","keys_url":"https://api.github.com/repos/data-axle/elastic_record/keys{/key_id}","collaborators_url":"https://api.github.com/repos/data-axle/elastic_record/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/data-axle/elastic_record/teams","hooks_url":"https://api.github.com/repos/data-axle/elastic_record/hooks","issue_events_url":"https://api.github.com/repos/data-axle/elastic_record/issues/events{/number}","events_url":"https://api.github.com/repos/data-axle/elastic_record/events","assignees_url":"https://api.github.com/repos/data-axle/elastic_record/assignees{/user}","branches_url":"https://api.github.com/repos/data-axle/elastic_record/branches{/branch}","tags_url":"https://api.github.com/repos/data-axle/elastic_record/tags","blobs_url":"https://api.github.com/repos/data-axle/elastic_record/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/data-axle/elastic_record/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/data-axle/elastic_record/git/refs{/sha}","trees_url":"https://api.github.com/repos/data-axle/elastic_record/git/trees{/sha}","statuses_url":"https://api.github.com/repos/data-axle/elastic_record/statuses/{sha}","languages_url":"https://api.github.com/repos/data-axle/elastic_record/languages","stargazers_url":"https://api.github.com/repos/data-axle/elastic_record/stargazers","contributors_url":"https://api.github.com/repos/data-axle/elastic_record/contributors","subscribers_url":"https://api.github.com/repos/data-axle/elastic_record/subscribers","subscription_url":"https://api.github.com/repos/data-axle/elastic_record/subscription","commits_url":"https://api.github.com/repos/data-axle/elastic_record/commits{/sha}","git_commits_url":"https://api.github.com/repos/data-axle/elastic_record/git/commits{/sha}","comments_url":"https://api.github.com/repos/data-axle/elastic_record/comments{/number}","issue_comment_url":"https://api.github.com/repos/data-axle/elastic_record/issues/comments/{number}","contents_url":"https://api.github.com/repos/data-axle/elastic_record/contents/{+path}","compare_url":"https://api.github.com/repos/data-axle/elastic_record/compare/{base}...{head}","merges_url":"https://api.github.com/repos/data-axle/elastic_record/merges","archive_url":"https://api.github.com/repos/data-axle/elastic_record/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/data-axle/elastic_record/downloads","issues_url":"https://api.github.com/repos/data-axle/elastic_record/issues{/number}","pulls_url":"https://api.github.com/repos/data-axle/elastic_record/pulls{/number}","milestones_url":"https://api.github.com/repos/data-axle/elastic_record/milestones{/number}","notifications_url":"https://api.github.com/repos/data-axle/elastic_record/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/data-axle/elastic_record/labels{/name}","releases_url":"https://api.github.com/repos/data-axle/elastic_record/releases{/id}","created_at":"2012-09-10T22:37:37Z","updated_at":"2014-12-11T21:38:32Z","pushed_at":"2015-01-16T22:38:44Z","git_url":"git://github.com/data-axle/elastic_record.git","ssh_url":"git@github.com:data-axle/elastic_record.git","clone_url":"https://github.com/data-axle/elastic_record.git","svn_url":"https://github.com/data-axle/elastic_record","homepage":"","size":1256,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/data-axle/elastic_record/pulls/34"},"html":{"href":"https://github.com/data-axle/elastic_record/pull/34"},"issue":{"href":"https://api.github.com/repos/data-axle/elastic_record/issues/34"},"comments":{"href":"https://api.github.com/repos/data-axle/elastic_record/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/data-axle/elastic_record/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/data-axle/elastic_record/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/data-axle/elastic_record/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/data-axle/elastic_record/statuses/9782d7313485c7794c531960734cddd63b95e372"}}}}