GitHub PullRequestReviewCommentEvent at 2014-12-19 14:05:59
Repository: travel-advice-publisher
Actor: alext
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls/comments/22105700","id":22105700,"diff_hunk":"@@ -0,0 +1,60 @@\n+class RemoveLinkTitleAttributes < Mongoid::Migration\n+  LINK_REGEX = %r{\n+                (\\[.*?\\])           # link text in literal square brackets\n+                \\(                # literal opening parenthesis\n+                  (\\S*?)           # containing URL\n+                  (\\s+\"[^\"]+\")?    # and optional space followed by title text in quotes\n+                \\)                # literal close paren\n+                (\\{:rel=[\"']external[\"']\\})?  # optional :rel=external in literal curly brackets.\n+              }x\n+\n+  def self.up\n+    TravelAdviceEdition.published.order([:country_slug, :asc]).each do |edition|","path":"db/migrate/20141217122045_remove_link_title_attributes.rb","position":12,"original_position":12,"commit_id":"34f15fcba2910a96f223e5af4a10cf87c8fbe03b","original_commit_id":"34f15fcba2910a96f223e5af4a10cf87c8fbe03b","user":{"login":"alext","id":5560,"avatar_url":"https://avatars.githubusercontent.com/u/5560?v=3","gravatar_id":"","url":"https://api.github.com/users/alext","html_url":"https://github.com/alext","followers_url":"https://api.github.com/users/alext/followers","following_url":"https://api.github.com/users/alext/following{/other_user}","gists_url":"https://api.github.com/users/alext/gists{/gist_id}","starred_url":"https://api.github.com/users/alext/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alext/subscriptions","organizations_url":"https://api.github.com/users/alext/orgs","repos_url":"https://api.github.com/users/alext/repos","events_url":"https://api.github.com/users/alext/events{/privacy}","received_events_url":"https://api.github.com/users/alext/received_events","type":"User","site_admin":false},"body":"We should include drafts in this as well.","created_at":"2014-12-19T14:05:59Z","updated_at":"2014-12-19T14:05:59Z","html_url":"https://github.com/alphagov/travel-advice-publisher/pull/77#discussion_r22105700","pull_request_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls/comments/22105700"},"html":{"href":"https://github.com/alphagov/travel-advice-publisher/pull/77#discussion_r22105700"},"pull_request":{"href":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls/77","id":26366527,"html_url":"https://github.com/alphagov/travel-advice-publisher/pull/77","diff_url":"https://github.com/alphagov/travel-advice-publisher/pull/77.diff","patch_url":"https://github.com/alphagov/travel-advice-publisher/pull/77.patch","issue_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/issues/77","number":77,"state":"open","locked":false,"title":"Fix title and rel attributes in markdown links","user":{"login":"steventux","id":93511,"avatar_url":"https://avatars.githubusercontent.com/u/93511?v=3","gravatar_id":"","url":"https://api.github.com/users/steventux","html_url":"https://github.com/steventux","followers_url":"https://api.github.com/users/steventux/followers","following_url":"https://api.github.com/users/steventux/following{/other_user}","gists_url":"https://api.github.com/users/steventux/gists{/gist_id}","starred_url":"https://api.github.com/users/steventux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steventux/subscriptions","organizations_url":"https://api.github.com/users/steventux/orgs","repos_url":"https://api.github.com/users/steventux/repos","events_url":"https://api.github.com/users/steventux/events{/privacy}","received_events_url":"https://api.github.com/users/steventux/received_events","type":"User","site_admin":false},"body":"Removes markdown for `title` and `rel` link attributes from all published `TravelAdviceEdition`s.\r\nhttps://www.agileplannerapp.com/boards/173808/cards/9021","created_at":"2014-12-19T11:46:49Z","updated_at":"2014-12-19T14:05:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6042867782eee5ed1ed8713209d019ddd836ee25","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls/77/commits","review_comments_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls/77/comments","review_comment_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls/comments/{number}","comments_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/issues/77/comments","statuses_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/statuses/34f15fcba2910a96f223e5af4a10cf87c8fbe03b","head":{"label":"alphagov:remove_title_attributes","ref":"remove_title_attributes","sha":"34f15fcba2910a96f223e5af4a10cf87c8fbe03b","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":7039443,"name":"travel-advice-publisher","full_name":"alphagov/travel-advice-publisher","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/travel-advice-publisher","description":"","fork":false,"url":"https://api.github.com/repos/alphagov/travel-advice-publisher","forks_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/forks","keys_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/events","assignees_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/issues/comments/{number}","contents_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/merges","archive_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/releases{/id}","created_at":"2012-12-06T17:03:39Z","updated_at":"2014-12-12T10:10:28Z","pushed_at":"2014-12-19T11:47:56Z","git_url":"git://github.com/alphagov/travel-advice-publisher.git","ssh_url":"git@github.com:alphagov/travel-advice-publisher.git","clone_url":"https://github.com/alphagov/travel-advice-publisher.git","svn_url":"https://github.com/alphagov/travel-advice-publisher","homepage":null,"size":1961,"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":"alphagov:master","ref":"master","sha":"d9460b5267c68f70f9650383561d652bf37ae9d8","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":7039443,"name":"travel-advice-publisher","full_name":"alphagov/travel-advice-publisher","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/travel-advice-publisher","description":"","fork":false,"url":"https://api.github.com/repos/alphagov/travel-advice-publisher","forks_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/forks","keys_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/events","assignees_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/issues/comments/{number}","contents_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/merges","archive_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/travel-advice-publisher/releases{/id}","created_at":"2012-12-06T17:03:39Z","updated_at":"2014-12-12T10:10:28Z","pushed_at":"2014-12-19T11:47:56Z","git_url":"git://github.com/alphagov/travel-advice-publisher.git","ssh_url":"git@github.com:alphagov/travel-advice-publisher.git","clone_url":"https://github.com/alphagov/travel-advice-publisher.git","svn_url":"https://github.com/alphagov/travel-advice-publisher","homepage":null,"size":1961,"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/alphagov/travel-advice-publisher/pulls/77"},"html":{"href":"https://github.com/alphagov/travel-advice-publisher/pull/77"},"issue":{"href":"https://api.github.com/repos/alphagov/travel-advice-publisher/issues/77"},"comments":{"href":"https://api.github.com/repos/alphagov/travel-advice-publisher/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/alphagov/travel-advice-publisher/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/travel-advice-publisher/statuses/34f15fcba2910a96f223e5af4a10cf87c8fbe03b"}}}}