{"action":"opened","number":46,"pull_request":{"url":"https://api.github.com/repos/auth0/rules/pulls/46","id":54210638,"html_url":"https://github.com/auth0/rules/pull/46","diff_url":"https://github.com/auth0/rules/pull/46.diff","patch_url":"https://github.com/auth0/rules/pull/46.patch","issue_url":"https://api.github.com/repos/auth0/rules/issues/46","number":46,"state":"open","locked":false,"title":"Use explicit here-document function","user":{"login":"twistedstream","id":3535918,"avatar_url":"https://avatars.githubusercontent.com/u/3535918?v=3","gravatar_id":"","url":"https://api.github.com/users/twistedstream","html_url":"https://github.com/twistedstream","followers_url":"https://api.github.com/users/twistedstream/followers","following_url":"https://api.github.com/users/twistedstream/following{/other_user}","gists_url":"https://api.github.com/users/twistedstream/gists{/gist_id}","starred_url":"https://api.github.com/users/twistedstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twistedstream/subscriptions","organizations_url":"https://api.github.com/users/twistedstream/orgs","repos_url":"https://api.github.com/users/twistedstream/repos","events_url":"https://api.github.com/users/twistedstream/events{/privacy}","received_events_url":"https://api.github.com/users/twistedstream/received_events","type":"User","site_admin":false},"body":"The expected Function.stringify function doesn't seem to be available in all webtask environments/configurations.","created_at":"2015-12-20T23:12:05Z","updated_at":"2015-12-20T23:12:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/auth0/rules/pulls/46/commits","review_comments_url":"https://api.github.com/repos/auth0/rules/pulls/46/comments","review_comment_url":"https://api.github.com/repos/auth0/rules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/auth0/rules/issues/46/comments","statuses_url":"https://api.github.com/repos/auth0/rules/statuses/cafc2d19d1e20322dbbcbe4dbd88a7f476cdfc9e","head":{"label":"auth0:explicit-here-doc-function-in-simple-redirect-rule-sample","ref":"explicit-here-doc-function-in-simple-redirect-rule-sample","sha":"cafc2d19d1e20322dbbcbe4dbd88a7f476cdfc9e","user":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"repo":{"id":15919644,"name":"rules","full_name":"auth0/rules","owner":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/auth0/rules","description":"Rules are code snippets written in JavaScript that are executed as part of the authentication pipeline in Auth0","fork":false,"url":"https://api.github.com/repos/auth0/rules","forks_url":"https://api.github.com/repos/auth0/rules/forks","keys_url":"https://api.github.com/repos/auth0/rules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/rules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/rules/teams","hooks_url":"https://api.github.com/repos/auth0/rules/hooks","issue_events_url":"https://api.github.com/repos/auth0/rules/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/rules/events","assignees_url":"https://api.github.com/repos/auth0/rules/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/rules/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/rules/tags","blobs_url":"https://api.github.com/repos/auth0/rules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/rules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/rules/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/rules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/rules/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/rules/languages","stargazers_url":"https://api.github.com/repos/auth0/rules/stargazers","contributors_url":"https://api.github.com/repos/auth0/rules/contributors","subscribers_url":"https://api.github.com/repos/auth0/rules/subscribers","subscription_url":"https://api.github.com/repos/auth0/rules/subscription","commits_url":"https://api.github.com/repos/auth0/rules/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/rules/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/rules/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/rules/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/rules/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/rules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/rules/merges","archive_url":"https://api.github.com/repos/auth0/rules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/rules/downloads","issues_url":"https://api.github.com/repos/auth0/rules/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/rules/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/rules/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/rules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/rules/labels{/name}","releases_url":"https://api.github.com/repos/auth0/rules/releases{/id}","created_at":"2014-01-14T23:55:21Z","updated_at":"2015-12-09T02:56:58Z","pushed_at":"2015-12-20T23:11:01Z","git_url":"git://github.com/auth0/rules.git","ssh_url":"git@github.com:auth0/rules.git","clone_url":"https://github.com/auth0/rules.git","svn_url":"https://github.com/auth0/rules","homepage":"https://auth0.com/docs/rules","size":749,"stargazers_count":41,"watchers_count":41,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":12,"forks":27,"open_issues":12,"watchers":41,"default_branch":"master"}},"base":{"label":"auth0:master","ref":"master","sha":"7740e44377da74c282466ad7f3bf24d041735835","user":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"repo":{"id":15919644,"name":"rules","full_name":"auth0/rules","owner":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/auth0/rules","description":"Rules are code snippets written in JavaScript that are executed as part of the authentication pipeline in Auth0","fork":false,"url":"https://api.github.com/repos/auth0/rules","forks_url":"https://api.github.com/repos/auth0/rules/forks","keys_url":"https://api.github.com/repos/auth0/rules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/rules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/rules/teams","hooks_url":"https://api.github.com/repos/auth0/rules/hooks","issue_events_url":"https://api.github.com/repos/auth0/rules/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/rules/events","assignees_url":"https://api.github.com/repos/auth0/rules/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/rules/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/rules/tags","blobs_url":"https://api.github.com/repos/auth0/rules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/rules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/rules/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/rules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/rules/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/rules/languages","stargazers_url":"https://api.github.com/repos/auth0/rules/stargazers","contributors_url":"https://api.github.com/repos/auth0/rules/contributors","subscribers_url":"https://api.github.com/repos/auth0/rules/subscribers","subscription_url":"https://api.github.com/repos/auth0/rules/subscription","commits_url":"https://api.github.com/repos/auth0/rules/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/rules/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/rules/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/rules/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/rules/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/rules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/rules/merges","archive_url":"https://api.github.com/repos/auth0/rules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/rules/downloads","issues_url":"https://api.github.com/repos/auth0/rules/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/rules/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/rules/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/rules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/rules/labels{/name}","releases_url":"https://api.github.com/repos/auth0/rules/releases{/id}","created_at":"2014-01-14T23:55:21Z","updated_at":"2015-12-09T02:56:58Z","pushed_at":"2015-12-20T23:11:01Z","git_url":"git://github.com/auth0/rules.git","ssh_url":"git@github.com:auth0/rules.git","clone_url":"https://github.com/auth0/rules.git","svn_url":"https://github.com/auth0/rules","homepage":"https://auth0.com/docs/rules","size":749,"stargazers_count":41,"watchers_count":41,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":12,"forks":27,"open_issues":12,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/auth0/rules/pulls/46"},"html":{"href":"https://github.com/auth0/rules/pull/46"},"issue":{"href":"https://api.github.com/repos/auth0/rules/issues/46"},"comments":{"href":"https://api.github.com/repos/auth0/rules/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/auth0/rules/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/auth0/rules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/auth0/rules/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/auth0/rules/statuses/cafc2d19d1e20322dbbcbe4dbd88a7f476cdfc9e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":1}}