{"action":"opened","number":106,"pull_request":{"url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/106","id":43491370,"html_url":"https://github.com/alphagov/hmrc-manuals-api/pull/106","diff_url":"https://github.com/alphagov/hmrc-manuals-api/pull/106.diff","patch_url":"https://github.com/alphagov/hmrc-manuals-api/pull/106.patch","issue_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/106","number":106,"state":"open","locked":false,"title":"Send `public_timestamp` to rummager","user":{"login":"tijmenb","id":233676,"avatar_url":"https://avatars.githubusercontent.com/u/233676?v=3","gravatar_id":"","url":"https://api.github.com/users/tijmenb","html_url":"https://github.com/tijmenb","followers_url":"https://api.github.com/users/tijmenb/followers","following_url":"https://api.github.com/users/tijmenb/following{/other_user}","gists_url":"https://api.github.com/users/tijmenb/gists{/gist_id}","starred_url":"https://api.github.com/users/tijmenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijmenb/subscriptions","organizations_url":"https://api.github.com/users/tijmenb/orgs","repos_url":"https://api.github.com/users/tijmenb/repos","events_url":"https://api.github.com/users/tijmenb/events{/privacy}","received_events_url":"https://api.github.com/users/tijmenb/received_events","type":"User","site_admin":false},"body":"`last_update`  and `public_timestamp` mean the same thing in rummager.\r\n\r\nCurrent behaviour of rummager is that if `public_timestamp` is empty, `last_update` [gets copied into `public_timestamp`](https://github.com/alphagov/rummager/blob/d3637f348612b76ee4de8d2c01048af39ea2a568/lib/indexer/document_preparer.rb#L46).\r\n\r\nThis commit changes what is sent to rummager so that we populate `public_timestamp` directly and can remove the special field and special code from rummager.\r\n","created_at":"2015-08-27T08:32:09Z","updated_at":"2015-08-27T08:32:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/106/commits","review_comments_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/106/comments","review_comment_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/106/comments","statuses_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/statuses/c608e2d869b87ba8e229bd775f28f20759fb5e50","head":{"label":"alphagov:use-public-timestamp","ref":"use-public-timestamp","sha":"c608e2d869b87ba8e229bd775f28f20759fb5e50","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":21388859,"name":"hmrc-manuals-api","full_name":"alphagov/hmrc-manuals-api","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/hmrc-manuals-api","description":"Provides an API for HMRC to publish manuals to GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/hmrc-manuals-api","forks_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/forks","keys_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/teams","hooks_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/hooks","issue_events_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/events","assignees_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/tags","blobs_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/languages","stargazers_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/stargazers","contributors_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/contributors","subscribers_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/subscribers","subscription_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/subscription","commits_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/merges","archive_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/downloads","issues_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/releases{/id}","created_at":"2014-07-01T13:35:00Z","updated_at":"2015-04-10T13:24:20Z","pushed_at":"2015-08-27T08:30:28Z","git_url":"git://github.com/alphagov/hmrc-manuals-api.git","ssh_url":"git@github.com:alphagov/hmrc-manuals-api.git","clone_url":"https://github.com/alphagov/hmrc-manuals-api.git","svn_url":"https://github.com/alphagov/hmrc-manuals-api","homepage":"https://www.gov.uk/hmrc-internal-manuals/vat-government-and-public-bodies","size":2447,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"52f704a397e8342b0671aaf2627cf76beacf09cc","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":21388859,"name":"hmrc-manuals-api","full_name":"alphagov/hmrc-manuals-api","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/hmrc-manuals-api","description":"Provides an API for HMRC to publish manuals to GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/hmrc-manuals-api","forks_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/forks","keys_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/teams","hooks_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/hooks","issue_events_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/events","assignees_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/tags","blobs_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/languages","stargazers_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/stargazers","contributors_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/contributors","subscribers_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/subscribers","subscription_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/subscription","commits_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/merges","archive_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/downloads","issues_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/hmrc-manuals-api/releases{/id}","created_at":"2014-07-01T13:35:00Z","updated_at":"2015-04-10T13:24:20Z","pushed_at":"2015-08-27T08:30:28Z","git_url":"git://github.com/alphagov/hmrc-manuals-api.git","ssh_url":"git@github.com:alphagov/hmrc-manuals-api.git","clone_url":"https://github.com/alphagov/hmrc-manuals-api.git","svn_url":"https://github.com/alphagov/hmrc-manuals-api","homepage":"https://www.gov.uk/hmrc-internal-manuals/vat-government-and-public-bodies","size":2447,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/106"},"html":{"href":"https://github.com/alphagov/hmrc-manuals-api/pull/106"},"issue":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/106"},"comments":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/hmrc-manuals-api/statuses/c608e2d869b87ba8e229bd775f28f20759fb5e50"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":4,"deletions":98,"changed_files":4}}