{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/jberger/Mojo-Phantom/pulls/2","id":66995101,"html_url":"https://github.com/jberger/Mojo-Phantom/pull/2","diff_url":"https://github.com/jberger/Mojo-Phantom/pull/2.diff","patch_url":"https://github.com/jberger/Mojo-Phantom/pull/2.patch","issue_url":"https://api.github.com/repos/jberger/Mojo-Phantom/issues/2","number":2,"state":"open","locked":false,"title":"Allow user to specify command-line arguments for PhantomJS","user":{"login":"Eckankar","id":21243,"avatar_url":"https://avatars.githubusercontent.com/u/21243?v=3","gravatar_id":"","url":"https://api.github.com/users/Eckankar","html_url":"https://github.com/Eckankar","followers_url":"https://api.github.com/users/Eckankar/followers","following_url":"https://api.github.com/users/Eckankar/following{/other_user}","gists_url":"https://api.github.com/users/Eckankar/gists{/gist_id}","starred_url":"https://api.github.com/users/Eckankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eckankar/subscriptions","organizations_url":"https://api.github.com/users/Eckankar/orgs","repos_url":"https://api.github.com/users/Eckankar/repos","events_url":"https://api.github.com/users/Eckankar/events{/privacy}","received_events_url":"https://api.github.com/users/Eckankar/received_events","type":"User","site_admin":false},"body":"This pull-request introduces the argument `arguments` for `Mojo::Phantom::Process` and\r\n`Mojo::Phantom`, and `phantom_args` for `Test::Mojo::Role::Phantom`.\r\n\r\nTheir role is to pass command-line arguments directly to the PhantomJS process.\r\n\r\nThe motivation behind the pull-request is as follows: \r\n\r\nWe've found our PhantomJS tests to sometimes start failing an awful lot. After much debugging, we found out that deleting the contents of the PhantomJS local storage directory solves these problems, so we reckon it sometimes manages to get corrupted, messing up any future tests until it has been reset.\r\n\r\nBy calling PhantomJS with `--local-storage-path`, we can specify a clean directory to be used for each test, and avoid this problem cleanly.","created_at":"2016-04-19T10:31:55Z","updated_at":"2016-04-19T10:31:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jberger/Mojo-Phantom/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jberger/Mojo-Phantom/pulls/2/comments","review_comment_url":"https://api.github.com/repos/jberger/Mojo-Phantom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jberger/Mojo-Phantom/issues/2/comments","statuses_url":"https://api.github.com/repos/jberger/Mojo-Phantom/statuses/855ba3c53110f90289ad215e48943e826ee22ad6","head":{"label":"Eckankar:command-line-arguments","ref":"command-line-arguments","sha":"855ba3c53110f90289ad215e48943e826ee22ad6","user":{"login":"Eckankar","id":21243,"avatar_url":"https://avatars.githubusercontent.com/u/21243?v=3","gravatar_id":"","url":"https://api.github.com/users/Eckankar","html_url":"https://github.com/Eckankar","followers_url":"https://api.github.com/users/Eckankar/followers","following_url":"https://api.github.com/users/Eckankar/following{/other_user}","gists_url":"https://api.github.com/users/Eckankar/gists{/gist_id}","starred_url":"https://api.github.com/users/Eckankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eckankar/subscriptions","organizations_url":"https://api.github.com/users/Eckankar/orgs","repos_url":"https://api.github.com/users/Eckankar/repos","events_url":"https://api.github.com/users/Eckankar/events{/privacy}","received_events_url":"https://api.github.com/users/Eckankar/received_events","type":"User","site_admin":false},"repo":{"id":56586882,"name":"Mojo-Phantom","full_name":"Eckankar/Mojo-Phantom","owner":{"login":"Eckankar","id":21243,"avatar_url":"https://avatars.githubusercontent.com/u/21243?v=3","gravatar_id":"","url":"https://api.github.com/users/Eckankar","html_url":"https://github.com/Eckankar","followers_url":"https://api.github.com/users/Eckankar/followers","following_url":"https://api.github.com/users/Eckankar/following{/other_user}","gists_url":"https://api.github.com/users/Eckankar/gists{/gist_id}","starred_url":"https://api.github.com/users/Eckankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eckankar/subscriptions","organizations_url":"https://api.github.com/users/Eckankar/orgs","repos_url":"https://api.github.com/users/Eckankar/repos","events_url":"https://api.github.com/users/Eckankar/events{/privacy}","received_events_url":"https://api.github.com/users/Eckankar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Eckankar/Mojo-Phantom","description":"PhantomJS client-side testing for Mojolicious apps","fork":true,"url":"https://api.github.com/repos/Eckankar/Mojo-Phantom","forks_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/forks","keys_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/teams","hooks_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/hooks","issue_events_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/issues/events{/number}","events_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/events","assignees_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/assignees{/user}","branches_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/branches{/branch}","tags_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/tags","blobs_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/statuses/{sha}","languages_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/languages","stargazers_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/stargazers","contributors_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/contributors","subscribers_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/subscribers","subscription_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/subscription","commits_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/contents/{+path}","compare_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/merges","archive_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/downloads","issues_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/issues{/number}","pulls_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/pulls{/number}","milestones_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/milestones{/number}","notifications_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/labels{/name}","releases_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/releases{/id}","deployments_url":"https://api.github.com/repos/Eckankar/Mojo-Phantom/deployments","created_at":"2016-04-19T10:16:59Z","updated_at":"2016-04-19T10:17:00Z","pushed_at":"2016-04-19T10:20:50Z","git_url":"git://github.com/Eckankar/Mojo-Phantom.git","ssh_url":"git@github.com:Eckankar/Mojo-Phantom.git","clone_url":"https://github.com/Eckankar/Mojo-Phantom.git","svn_url":"https://github.com/Eckankar/Mojo-Phantom","homepage":null,"size":66,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":0,"default_branch":"master"}},"base":{"label":"jberger:master","ref":"master","sha":"66a0e12ac0eaa210903d089ac8ea2cbb4228e068","user":{"login":"jberger","id":735765,"avatar_url":"https://avatars.githubusercontent.com/u/735765?v=3","gravatar_id":"","url":"https://api.github.com/users/jberger","html_url":"https://github.com/jberger","followers_url":"https://api.github.com/users/jberger/followers","following_url":"https://api.github.com/users/jberger/following{/other_user}","gists_url":"https://api.github.com/users/jberger/gists{/gist_id}","starred_url":"https://api.github.com/users/jberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jberger/subscriptions","organizations_url":"https://api.github.com/users/jberger/orgs","repos_url":"https://api.github.com/users/jberger/repos","events_url":"https://api.github.com/users/jberger/events{/privacy}","received_events_url":"https://api.github.com/users/jberger/received_events","type":"User","site_admin":false},"repo":{"id":29487509,"name":"Mojo-Phantom","full_name":"jberger/Mojo-Phantom","owner":{"login":"jberger","id":735765,"avatar_url":"https://avatars.githubusercontent.com/u/735765?v=3","gravatar_id":"","url":"https://api.github.com/users/jberger","html_url":"https://github.com/jberger","followers_url":"https://api.github.com/users/jberger/followers","following_url":"https://api.github.com/users/jberger/following{/other_user}","gists_url":"https://api.github.com/users/jberger/gists{/gist_id}","starred_url":"https://api.github.com/users/jberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jberger/subscriptions","organizations_url":"https://api.github.com/users/jberger/orgs","repos_url":"https://api.github.com/users/jberger/repos","events_url":"https://api.github.com/users/jberger/events{/privacy}","received_events_url":"https://api.github.com/users/jberger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jberger/Mojo-Phantom","description":"PhantomJS client-side testing for Mojolicious apps","fork":false,"url":"https://api.github.com/repos/jberger/Mojo-Phantom","forks_url":"https://api.github.com/repos/jberger/Mojo-Phantom/forks","keys_url":"https://api.github.com/repos/jberger/Mojo-Phantom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jberger/Mojo-Phantom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jberger/Mojo-Phantom/teams","hooks_url":"https://api.github.com/repos/jberger/Mojo-Phantom/hooks","issue_events_url":"https://api.github.com/repos/jberger/Mojo-Phantom/issues/events{/number}","events_url":"https://api.github.com/repos/jberger/Mojo-Phantom/events","assignees_url":"https://api.github.com/repos/jberger/Mojo-Phantom/assignees{/user}","branches_url":"https://api.github.com/repos/jberger/Mojo-Phantom/branches{/branch}","tags_url":"https://api.github.com/repos/jberger/Mojo-Phantom/tags","blobs_url":"https://api.github.com/repos/jberger/Mojo-Phantom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jberger/Mojo-Phantom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jberger/Mojo-Phantom/git/refs{/sha}","trees_url":"https://api.github.com/repos/jberger/Mojo-Phantom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jberger/Mojo-Phantom/statuses/{sha}","languages_url":"https://api.github.com/repos/jberger/Mojo-Phantom/languages","stargazers_url":"https://api.github.com/repos/jberger/Mojo-Phantom/stargazers","contributors_url":"https://api.github.com/repos/jberger/Mojo-Phantom/contributors","subscribers_url":"https://api.github.com/repos/jberger/Mojo-Phantom/subscribers","subscription_url":"https://api.github.com/repos/jberger/Mojo-Phantom/subscription","commits_url":"https://api.github.com/repos/jberger/Mojo-Phantom/commits{/sha}","git_commits_url":"https://api.github.com/repos/jberger/Mojo-Phantom/git/commits{/sha}","comments_url":"https://api.github.com/repos/jberger/Mojo-Phantom/comments{/number}","issue_comment_url":"https://api.github.com/repos/jberger/Mojo-Phantom/issues/comments{/number}","contents_url":"https://api.github.com/repos/jberger/Mojo-Phantom/contents/{+path}","compare_url":"https://api.github.com/repos/jberger/Mojo-Phantom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jberger/Mojo-Phantom/merges","archive_url":"https://api.github.com/repos/jberger/Mojo-Phantom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jberger/Mojo-Phantom/downloads","issues_url":"https://api.github.com/repos/jberger/Mojo-Phantom/issues{/number}","pulls_url":"https://api.github.com/repos/jberger/Mojo-Phantom/pulls{/number}","milestones_url":"https://api.github.com/repos/jberger/Mojo-Phantom/milestones{/number}","notifications_url":"https://api.github.com/repos/jberger/Mojo-Phantom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jberger/Mojo-Phantom/labels{/name}","releases_url":"https://api.github.com/repos/jberger/Mojo-Phantom/releases{/id}","deployments_url":"https://api.github.com/repos/jberger/Mojo-Phantom/deployments","created_at":"2015-01-19T19:22:46Z","updated_at":"2015-11-09T03:13:53Z","pushed_at":"2016-03-08T12:22:24Z","git_url":"git://github.com/jberger/Mojo-Phantom.git","ssh_url":"git@github.com:jberger/Mojo-Phantom.git","clone_url":"https://github.com/jberger/Mojo-Phantom.git","svn_url":"https://github.com/jberger/Mojo-Phantom","homepage":null,"size":454,"stargazers_count":8,"watchers_count":8,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jberger/Mojo-Phantom/pulls/2"},"html":{"href":"https://github.com/jberger/Mojo-Phantom/pull/2"},"issue":{"href":"https://api.github.com/repos/jberger/Mojo-Phantom/issues/2"},"comments":{"href":"https://api.github.com/repos/jberger/Mojo-Phantom/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jberger/Mojo-Phantom/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/jberger/Mojo-Phantom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jberger/Mojo-Phantom/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/jberger/Mojo-Phantom/statuses/855ba3c53110f90289ad215e48943e826ee22ad6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":31,"deletions":7,"changed_files":4}}