{"action":"created","comment":{"url":"https://api.github.com/repos/buschtoens/express-redirect/pulls/comments/52839401","id":52839401,"diff_hunk":"@@ -1,13 +1,18 @@\n {\n   \"name\": \"express-redirect\",\n   \"description\": \"Flexible redirection plugin\",\n-  \"version\": \"1.2.2\",\n+  \"version\": \"1.3.0\",","path":"package.json","position":5,"original_position":5,"commit_id":"bd726c381f06a52a106ce064a4afac7a1ea41e3b","original_commit_id":"bd726c381f06a52a106ce064a4afac7a1ea41e3b","user":{"login":"buschtoens","id":834636,"avatar_url":"https://avatars.githubusercontent.com/u/834636?v=3","gravatar_id":"","url":"https://api.github.com/users/buschtoens","html_url":"https://github.com/buschtoens","followers_url":"https://api.github.com/users/buschtoens/followers","following_url":"https://api.github.com/users/buschtoens/following{/other_user}","gists_url":"https://api.github.com/users/buschtoens/gists{/gist_id}","starred_url":"https://api.github.com/users/buschtoens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buschtoens/subscriptions","organizations_url":"https://api.github.com/users/buschtoens/orgs","repos_url":"https://api.github.com/users/buschtoens/repos","events_url":"https://api.github.com/users/buschtoens/events{/privacy}","received_events_url":"https://api.github.com/users/buschtoens/received_events","type":"User","site_admin":false},"body":"The version bump should not be part of the PR.","created_at":"2016-02-14T08:22:50Z","updated_at":"2016-02-14T08:22:50Z","html_url":"https://github.com/buschtoens/express-redirect/pull/7#discussion_r52839401","pull_request_url":"https://api.github.com/repos/buschtoens/express-redirect/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/buschtoens/express-redirect/pulls/comments/52839401"},"html":{"href":"https://github.com/buschtoens/express-redirect/pull/7#discussion_r52839401"},"pull_request":{"href":"https://api.github.com/repos/buschtoens/express-redirect/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/buschtoens/express-redirect/pulls/7","id":58831343,"html_url":"https://github.com/buschtoens/express-redirect/pull/7","diff_url":"https://github.com/buschtoens/express-redirect/pull/7.diff","patch_url":"https://github.com/buschtoens/express-redirect/pull/7.patch","issue_url":"https://api.github.com/repos/buschtoens/express-redirect/issues/7","number":7,"state":"open","locked":false,"title":"added new function multipleRedirect","user":{"login":"giowe","id":11004930,"avatar_url":"https://avatars.githubusercontent.com/u/11004930?v=3","gravatar_id":"","url":"https://api.github.com/users/giowe","html_url":"https://github.com/giowe","followers_url":"https://api.github.com/users/giowe/followers","following_url":"https://api.github.com/users/giowe/following{/other_user}","gists_url":"https://api.github.com/users/giowe/gists{/gist_id}","starred_url":"https://api.github.com/users/giowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giowe/subscriptions","organizations_url":"https://api.github.com/users/giowe/orgs","repos_url":"https://api.github.com/users/giowe/repos","events_url":"https://api.github.com/users/giowe/events{/privacy}","received_events_url":"https://api.github.com/users/giowe/received_events","type":"User","site_admin":false},"body":"```\r\n// array of redirect objects\r\napp.multipleRedirect([\r\n  {\r\n    route: \"/p/:id\",\r\n    target: \"/page/:id\"\r\n  },\r\n  {\r\n    route: \"/google/:query?\",\r\n    target: \"https://www.google.de/?q=:query(Nyan+Cat)\",\r\n  },\r\n  ...\r\n]);\r\n\r\n// external json array of redirect objects\r\nvar redirectList = require('./myRedirectList.json');\r\napp.multipleRedirect(redirectList);\r\n```\r\n\r\nSome minor fixes in main script and added this part to the documentation.","created_at":"2016-02-10T00:24:25Z","updated_at":"2016-02-14T08:22:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d710f0a0bee5261644072f0dc70beee39dc7b29a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/buschtoens/express-redirect/pulls/7/commits","review_comments_url":"https://api.github.com/repos/buschtoens/express-redirect/pulls/7/comments","review_comment_url":"https://api.github.com/repos/buschtoens/express-redirect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/buschtoens/express-redirect/issues/7/comments","statuses_url":"https://api.github.com/repos/buschtoens/express-redirect/statuses/bd726c381f06a52a106ce064a4afac7a1ea41e3b","head":{"label":"giowe:master","ref":"master","sha":"bd726c381f06a52a106ce064a4afac7a1ea41e3b","user":{"login":"giowe","id":11004930,"avatar_url":"https://avatars.githubusercontent.com/u/11004930?v=3","gravatar_id":"","url":"https://api.github.com/users/giowe","html_url":"https://github.com/giowe","followers_url":"https://api.github.com/users/giowe/followers","following_url":"https://api.github.com/users/giowe/following{/other_user}","gists_url":"https://api.github.com/users/giowe/gists{/gist_id}","starred_url":"https://api.github.com/users/giowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giowe/subscriptions","organizations_url":"https://api.github.com/users/giowe/orgs","repos_url":"https://api.github.com/users/giowe/repos","events_url":"https://api.github.com/users/giowe/events{/privacy}","received_events_url":"https://api.github.com/users/giowe/received_events","type":"User","site_admin":false},"repo":{"id":51406761,"name":"express-redirect","full_name":"giowe/express-redirect","owner":{"login":"giowe","id":11004930,"avatar_url":"https://avatars.githubusercontent.com/u/11004930?v=3","gravatar_id":"","url":"https://api.github.com/users/giowe","html_url":"https://github.com/giowe","followers_url":"https://api.github.com/users/giowe/followers","following_url":"https://api.github.com/users/giowe/following{/other_user}","gists_url":"https://api.github.com/users/giowe/gists{/gist_id}","starred_url":"https://api.github.com/users/giowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giowe/subscriptions","organizations_url":"https://api.github.com/users/giowe/orgs","repos_url":"https://api.github.com/users/giowe/repos","events_url":"https://api.github.com/users/giowe/events{/privacy}","received_events_url":"https://api.github.com/users/giowe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/giowe/express-redirect","description":"app.redirect(\"/p/:id\", \"/page/:id\")","fork":true,"url":"https://api.github.com/repos/giowe/express-redirect","forks_url":"https://api.github.com/repos/giowe/express-redirect/forks","keys_url":"https://api.github.com/repos/giowe/express-redirect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giowe/express-redirect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giowe/express-redirect/teams","hooks_url":"https://api.github.com/repos/giowe/express-redirect/hooks","issue_events_url":"https://api.github.com/repos/giowe/express-redirect/issues/events{/number}","events_url":"https://api.github.com/repos/giowe/express-redirect/events","assignees_url":"https://api.github.com/repos/giowe/express-redirect/assignees{/user}","branches_url":"https://api.github.com/repos/giowe/express-redirect/branches{/branch}","tags_url":"https://api.github.com/repos/giowe/express-redirect/tags","blobs_url":"https://api.github.com/repos/giowe/express-redirect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giowe/express-redirect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giowe/express-redirect/git/refs{/sha}","trees_url":"https://api.github.com/repos/giowe/express-redirect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giowe/express-redirect/statuses/{sha}","languages_url":"https://api.github.com/repos/giowe/express-redirect/languages","stargazers_url":"https://api.github.com/repos/giowe/express-redirect/stargazers","contributors_url":"https://api.github.com/repos/giowe/express-redirect/contributors","subscribers_url":"https://api.github.com/repos/giowe/express-redirect/subscribers","subscription_url":"https://api.github.com/repos/giowe/express-redirect/subscription","commits_url":"https://api.github.com/repos/giowe/express-redirect/commits{/sha}","git_commits_url":"https://api.github.com/repos/giowe/express-redirect/git/commits{/sha}","comments_url":"https://api.github.com/repos/giowe/express-redirect/comments{/number}","issue_comment_url":"https://api.github.com/repos/giowe/express-redirect/issues/comments{/number}","contents_url":"https://api.github.com/repos/giowe/express-redirect/contents/{+path}","compare_url":"https://api.github.com/repos/giowe/express-redirect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giowe/express-redirect/merges","archive_url":"https://api.github.com/repos/giowe/express-redirect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giowe/express-redirect/downloads","issues_url":"https://api.github.com/repos/giowe/express-redirect/issues{/number}","pulls_url":"https://api.github.com/repos/giowe/express-redirect/pulls{/number}","milestones_url":"https://api.github.com/repos/giowe/express-redirect/milestones{/number}","notifications_url":"https://api.github.com/repos/giowe/express-redirect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giowe/express-redirect/labels{/name}","releases_url":"https://api.github.com/repos/giowe/express-redirect/releases{/id}","deployments_url":"https://api.github.com/repos/giowe/express-redirect/deployments","created_at":"2016-02-09T22:54:51Z","updated_at":"2016-02-10T08:33:06Z","pushed_at":"2016-02-10T18:10:19Z","git_url":"git://github.com/giowe/express-redirect.git","ssh_url":"git@github.com:giowe/express-redirect.git","clone_url":"https://github.com/giowe/express-redirect.git","svn_url":"https://github.com/giowe/express-redirect","homepage":null,"size":35,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"buschtoens:master","ref":"master","sha":"2eaf9689e42fb46abff95e2eef66a9fb209d8058","user":{"login":"buschtoens","id":834636,"avatar_url":"https://avatars.githubusercontent.com/u/834636?v=3","gravatar_id":"","url":"https://api.github.com/users/buschtoens","html_url":"https://github.com/buschtoens","followers_url":"https://api.github.com/users/buschtoens/followers","following_url":"https://api.github.com/users/buschtoens/following{/other_user}","gists_url":"https://api.github.com/users/buschtoens/gists{/gist_id}","starred_url":"https://api.github.com/users/buschtoens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buschtoens/subscriptions","organizations_url":"https://api.github.com/users/buschtoens/orgs","repos_url":"https://api.github.com/users/buschtoens/repos","events_url":"https://api.github.com/users/buschtoens/events{/privacy}","received_events_url":"https://api.github.com/users/buschtoens/received_events","type":"User","site_admin":false},"repo":{"id":6975620,"name":"express-redirect","full_name":"buschtoens/express-redirect","owner":{"login":"buschtoens","id":834636,"avatar_url":"https://avatars.githubusercontent.com/u/834636?v=3","gravatar_id":"","url":"https://api.github.com/users/buschtoens","html_url":"https://github.com/buschtoens","followers_url":"https://api.github.com/users/buschtoens/followers","following_url":"https://api.github.com/users/buschtoens/following{/other_user}","gists_url":"https://api.github.com/users/buschtoens/gists{/gist_id}","starred_url":"https://api.github.com/users/buschtoens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buschtoens/subscriptions","organizations_url":"https://api.github.com/users/buschtoens/orgs","repos_url":"https://api.github.com/users/buschtoens/repos","events_url":"https://api.github.com/users/buschtoens/events{/privacy}","received_events_url":"https://api.github.com/users/buschtoens/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/buschtoens/express-redirect","description":"app.redirect(\"/p/:id\", \"/page/:id\")","fork":false,"url":"https://api.github.com/repos/buschtoens/express-redirect","forks_url":"https://api.github.com/repos/buschtoens/express-redirect/forks","keys_url":"https://api.github.com/repos/buschtoens/express-redirect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buschtoens/express-redirect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buschtoens/express-redirect/teams","hooks_url":"https://api.github.com/repos/buschtoens/express-redirect/hooks","issue_events_url":"https://api.github.com/repos/buschtoens/express-redirect/issues/events{/number}","events_url":"https://api.github.com/repos/buschtoens/express-redirect/events","assignees_url":"https://api.github.com/repos/buschtoens/express-redirect/assignees{/user}","branches_url":"https://api.github.com/repos/buschtoens/express-redirect/branches{/branch}","tags_url":"https://api.github.com/repos/buschtoens/express-redirect/tags","blobs_url":"https://api.github.com/repos/buschtoens/express-redirect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buschtoens/express-redirect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buschtoens/express-redirect/git/refs{/sha}","trees_url":"https://api.github.com/repos/buschtoens/express-redirect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buschtoens/express-redirect/statuses/{sha}","languages_url":"https://api.github.com/repos/buschtoens/express-redirect/languages","stargazers_url":"https://api.github.com/repos/buschtoens/express-redirect/stargazers","contributors_url":"https://api.github.com/repos/buschtoens/express-redirect/contributors","subscribers_url":"https://api.github.com/repos/buschtoens/express-redirect/subscribers","subscription_url":"https://api.github.com/repos/buschtoens/express-redirect/subscription","commits_url":"https://api.github.com/repos/buschtoens/express-redirect/commits{/sha}","git_commits_url":"https://api.github.com/repos/buschtoens/express-redirect/git/commits{/sha}","comments_url":"https://api.github.com/repos/buschtoens/express-redirect/comments{/number}","issue_comment_url":"https://api.github.com/repos/buschtoens/express-redirect/issues/comments{/number}","contents_url":"https://api.github.com/repos/buschtoens/express-redirect/contents/{+path}","compare_url":"https://api.github.com/repos/buschtoens/express-redirect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buschtoens/express-redirect/merges","archive_url":"https://api.github.com/repos/buschtoens/express-redirect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buschtoens/express-redirect/downloads","issues_url":"https://api.github.com/repos/buschtoens/express-redirect/issues{/number}","pulls_url":"https://api.github.com/repos/buschtoens/express-redirect/pulls{/number}","milestones_url":"https://api.github.com/repos/buschtoens/express-redirect/milestones{/number}","notifications_url":"https://api.github.com/repos/buschtoens/express-redirect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buschtoens/express-redirect/labels{/name}","releases_url":"https://api.github.com/repos/buschtoens/express-redirect/releases{/id}","deployments_url":"https://api.github.com/repos/buschtoens/express-redirect/deployments","created_at":"2012-12-03T02:41:18Z","updated_at":"2016-01-06T04:06:40Z","pushed_at":"2016-02-10T18:10:19Z","git_url":"git://github.com/buschtoens/express-redirect.git","ssh_url":"git@github.com:buschtoens/express-redirect.git","clone_url":"https://github.com/buschtoens/express-redirect.git","svn_url":"https://github.com/buschtoens/express-redirect","homepage":null,"size":29,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/buschtoens/express-redirect/pulls/7"},"html":{"href":"https://github.com/buschtoens/express-redirect/pull/7"},"issue":{"href":"https://api.github.com/repos/buschtoens/express-redirect/issues/7"},"comments":{"href":"https://api.github.com/repos/buschtoens/express-redirect/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/buschtoens/express-redirect/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/buschtoens/express-redirect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/buschtoens/express-redirect/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/buschtoens/express-redirect/statuses/bd726c381f06a52a106ce064a4afac7a1ea41e3b"}}}}