{"action":"created","comment":{"url":"https://api.github.com/repos/18F/myusa/pulls/comments/35065693","id":35065693,"diff_hunk":"@@ -0,0 +1,10 @@\n+FactoryGirl.define do\n+  factory :sms_code do\n+  \tassociation :user\n+  \tmobile_number { Faker::PhoneNumber.cell_phone }\n+  \ttoken { Faker::Bitcoin.address }\n+  \tconfirmation_sent_at { 1.hour.ago }\n+  \tconfirmed_at { Time.now }","path":"spec/factories/sms_code.rb","position":7,"original_position":7,"commit_id":"0fe1478dc23f2bb9382fe50aed7c23192d196406","original_commit_id":"0fe1478dc23f2bb9382fe50aed7c23192d196406","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Tab detected.","created_at":"2015-07-21T02:53:08Z","updated_at":"2015-07-21T02:53:08Z","html_url":"https://github.com/18F/myusa/pull/719#discussion_r35065693","pull_request_url":"https://api.github.com/repos/18F/myusa/pulls/719","_links":{"self":{"href":"https://api.github.com/repos/18F/myusa/pulls/comments/35065693"},"html":{"href":"https://github.com/18F/myusa/pull/719#discussion_r35065693"},"pull_request":{"href":"https://api.github.com/repos/18F/myusa/pulls/719"}}},"pull_request":{"url":"https://api.github.com/repos/18F/myusa/pulls/719","id":40418051,"html_url":"https://github.com/18F/myusa/pull/719","diff_url":"https://github.com/18F/myusa/pull/719.diff","patch_url":"https://github.com/18F/myusa/pull/719.patch","issue_url":"https://api.github.com/repos/18F/myusa/issues/719","number":719,"state":"open","locked":false,"title":"Rake tasks for dumping/loading tables","user":{"login":"harrisj","id":2044,"avatar_url":"https://avatars.githubusercontent.com/u/2044?v=3","gravatar_id":"","url":"https://api.github.com/users/harrisj","html_url":"https://github.com/harrisj","followers_url":"https://api.github.com/users/harrisj/followers","following_url":"https://api.github.com/users/harrisj/following{/other_user}","gists_url":"https://api.github.com/users/harrisj/gists{/gist_id}","starred_url":"https://api.github.com/users/harrisj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrisj/subscriptions","organizations_url":"https://api.github.com/users/harrisj/orgs","repos_url":"https://api.github.com/users/harrisj/repos","events_url":"https://api.github.com/users/harrisj/events{/privacy}","received_events_url":"https://api.github.com/users/harrisj/received_events","type":"User","site_admin":false},"body":"These dump to CSV files so we can load into different databases, etc. Note that it dumps the profiles table UNENCRYPTED, so that we can rotate database keys.","created_at":"2015-07-21T02:52:58Z","updated_at":"2015-07-21T02:53:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6b1c297cbebfd24ae5bda27a2d973233b21c129","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/myusa/pulls/719/commits","review_comments_url":"https://api.github.com/repos/18F/myusa/pulls/719/comments","review_comment_url":"https://api.github.com/repos/18F/myusa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/myusa/issues/719/comments","statuses_url":"https://api.github.com/repos/18F/myusa/statuses/0fe1478dc23f2bb9382fe50aed7c23192d196406","head":{"label":"18F:feature/db-key-rotation","ref":"feature/db-key-rotation","sha":"0fe1478dc23f2bb9382fe50aed7c23192d196406","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":19154916,"name":"myusa","full_name":"18F/myusa","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/myusa","description":"MyUSA is your one account for government. (More info: https://18f.gsa.gov/2015/05/18/myusa/)","fork":false,"url":"https://api.github.com/repos/18F/myusa","forks_url":"https://api.github.com/repos/18F/myusa/forks","keys_url":"https://api.github.com/repos/18F/myusa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/myusa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/myusa/teams","hooks_url":"https://api.github.com/repos/18F/myusa/hooks","issue_events_url":"https://api.github.com/repos/18F/myusa/issues/events{/number}","events_url":"https://api.github.com/repos/18F/myusa/events","assignees_url":"https://api.github.com/repos/18F/myusa/assignees{/user}","branches_url":"https://api.github.com/repos/18F/myusa/branches{/branch}","tags_url":"https://api.github.com/repos/18F/myusa/tags","blobs_url":"https://api.github.com/repos/18F/myusa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/myusa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/myusa/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/myusa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/myusa/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/myusa/languages","stargazers_url":"https://api.github.com/repos/18F/myusa/stargazers","contributors_url":"https://api.github.com/repos/18F/myusa/contributors","subscribers_url":"https://api.github.com/repos/18F/myusa/subscribers","subscription_url":"https://api.github.com/repos/18F/myusa/subscription","commits_url":"https://api.github.com/repos/18F/myusa/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/myusa/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/myusa/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/myusa/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/myusa/contents/{+path}","compare_url":"https://api.github.com/repos/18F/myusa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/myusa/merges","archive_url":"https://api.github.com/repos/18F/myusa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/myusa/downloads","issues_url":"https://api.github.com/repos/18F/myusa/issues{/number}","pulls_url":"https://api.github.com/repos/18F/myusa/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/myusa/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/myusa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/myusa/labels{/name}","releases_url":"https://api.github.com/repos/18F/myusa/releases{/id}","created_at":"2014-04-25T17:44:32Z","updated_at":"2015-07-16T03:42:37Z","pushed_at":"2015-07-21T02:52:59Z","git_url":"git://github.com/18F/myusa.git","ssh_url":"git@github.com:18F/myusa.git","clone_url":"https://github.com/18F/myusa.git","svn_url":"https://github.com/18F/myusa","homepage":"https://my.usa.gov/","size":8411,"stargazers_count":30,"watchers_count":30,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":94,"forks":11,"open_issues":94,"watchers":30,"default_branch":"devel"}},"base":{"label":"18F:devel","ref":"devel","sha":"9b41e01f2860f7954e5694830868c97d944346fd","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":19154916,"name":"myusa","full_name":"18F/myusa","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/myusa","description":"MyUSA is your one account for government. (More info: https://18f.gsa.gov/2015/05/18/myusa/)","fork":false,"url":"https://api.github.com/repos/18F/myusa","forks_url":"https://api.github.com/repos/18F/myusa/forks","keys_url":"https://api.github.com/repos/18F/myusa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/myusa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/myusa/teams","hooks_url":"https://api.github.com/repos/18F/myusa/hooks","issue_events_url":"https://api.github.com/repos/18F/myusa/issues/events{/number}","events_url":"https://api.github.com/repos/18F/myusa/events","assignees_url":"https://api.github.com/repos/18F/myusa/assignees{/user}","branches_url":"https://api.github.com/repos/18F/myusa/branches{/branch}","tags_url":"https://api.github.com/repos/18F/myusa/tags","blobs_url":"https://api.github.com/repos/18F/myusa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/myusa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/myusa/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/myusa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/myusa/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/myusa/languages","stargazers_url":"https://api.github.com/repos/18F/myusa/stargazers","contributors_url":"https://api.github.com/repos/18F/myusa/contributors","subscribers_url":"https://api.github.com/repos/18F/myusa/subscribers","subscription_url":"https://api.github.com/repos/18F/myusa/subscription","commits_url":"https://api.github.com/repos/18F/myusa/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/myusa/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/myusa/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/myusa/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/myusa/contents/{+path}","compare_url":"https://api.github.com/repos/18F/myusa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/myusa/merges","archive_url":"https://api.github.com/repos/18F/myusa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/myusa/downloads","issues_url":"https://api.github.com/repos/18F/myusa/issues{/number}","pulls_url":"https://api.github.com/repos/18F/myusa/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/myusa/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/myusa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/myusa/labels{/name}","releases_url":"https://api.github.com/repos/18F/myusa/releases{/id}","created_at":"2014-04-25T17:44:32Z","updated_at":"2015-07-16T03:42:37Z","pushed_at":"2015-07-21T02:52:59Z","git_url":"git://github.com/18F/myusa.git","ssh_url":"git@github.com:18F/myusa.git","clone_url":"https://github.com/18F/myusa.git","svn_url":"https://github.com/18F/myusa","homepage":"https://my.usa.gov/","size":8411,"stargazers_count":30,"watchers_count":30,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":94,"forks":11,"open_issues":94,"watchers":30,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/myusa/pulls/719"},"html":{"href":"https://github.com/18F/myusa/pull/719"},"issue":{"href":"https://api.github.com/repos/18F/myusa/issues/719"},"comments":{"href":"https://api.github.com/repos/18F/myusa/issues/719/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/myusa/pulls/719/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/myusa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/myusa/pulls/719/commits"},"statuses":{"href":"https://api.github.com/repos/18F/myusa/statuses/0fe1478dc23f2bb9382fe50aed7c23192d196406"}}}}