{"action":"created","comment":{"url":"https://api.github.com/repos/pmuir/blinkr/pulls/comments/32118138","id":32118138,"diff_hunk":"@@ -11,24 +8,29 @@ class TyphoeusWrapper\n \n     attr_reader :count, :hydra\n \n-    def initialize config, context\n+    def initialize(config, context)\n       @config = config.validate\n-      @hydra = Typhoeus::Hydra.new(max_concurrency: 200)      \n+      # Configure Typhoeus a bit\n+      Typhoeus::Config.verbose = true if config.vverbose\n+      Typhoeus::Config.cache = Blinkr::Cache.new","path":"lib/blinkr/typhoeus_wrapper.rb","position":17,"original_position":17,"commit_id":"e21da4a3915ba9a994a9910621c3ab4fb91c5678","original_commit_id":"49fcee7274f223cd9d9302d3cc3d32af2654e92f","user":{"login":"pmuir","id":157761,"avatar_url":"https://avatars.githubusercontent.com/u/157761?v=3","gravatar_id":"","url":"https://api.github.com/users/pmuir","html_url":"https://github.com/pmuir","followers_url":"https://api.github.com/users/pmuir/followers","following_url":"https://api.github.com/users/pmuir/following{/other_user}","gists_url":"https://api.github.com/users/pmuir/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuir/subscriptions","organizations_url":"https://api.github.com/users/pmuir/orgs","repos_url":"https://api.github.com/users/pmuir/repos","events_url":"https://api.github.com/users/pmuir/events{/privacy}","received_events_url":"https://api.github.com/users/pmuir/received_events","type":"User","site_admin":false},"body":"What other sort of caching would make sense for phantomjs? I'm not a fan of keeping stuff around for longer than the run - it seems unsafe to me.","created_at":"2015-06-10T13:45:40Z","updated_at":"2015-06-10T13:45:40Z","html_url":"https://github.com/pmuir/blinkr/pull/12#discussion_r32118138","pull_request_url":"https://api.github.com/repos/pmuir/blinkr/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/pmuir/blinkr/pulls/comments/32118138"},"html":{"href":"https://github.com/pmuir/blinkr/pull/12#discussion_r32118138"},"pull_request":{"href":"https://api.github.com/repos/pmuir/blinkr/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/pmuir/blinkr/pulls/12","id":37072034,"html_url":"https://github.com/pmuir/blinkr/pull/12","diff_url":"https://github.com/pmuir/blinkr/pull/12.diff","patch_url":"https://github.com/pmuir/blinkr/pull/12.patch","issue_url":"https://api.github.com/repos/pmuir/blinkr/issues/12","number":12,"state":"open","locked":false,"title":"Angular merge","user":{"login":"LightGuard","id":29971,"avatar_url":"https://avatars.githubusercontent.com/u/29971?v=3","gravatar_id":"","url":"https://api.github.com/users/LightGuard","html_url":"https://github.com/LightGuard","followers_url":"https://api.github.com/users/LightGuard/followers","following_url":"https://api.github.com/users/LightGuard/following{/other_user}","gists_url":"https://api.github.com/users/LightGuard/gists{/gist_id}","starred_url":"https://api.github.com/users/LightGuard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightGuard/subscriptions","organizations_url":"https://api.github.com/users/LightGuard/orgs","repos_url":"https://api.github.com/users/LightGuard/repos","events_url":"https://api.github.com/users/LightGuard/events{/privacy}","received_events_url":"https://api.github.com/users/LightGuard/received_events","type":"User","site_admin":false},"body":"This looks fairly large, but what we're doing here is adding in AngularJS to the report for templating and filtering.\r\n\r\nAlong the way I switched to an actual error class instead of the OpenStruct and also generating a JSON file to add to the report.","created_at":"2015-06-05T21:31:26Z","updated_at":"2015-06-10T13:45:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f75e2027a7b76bf216ef70465ce5bc30c01e1b80","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pmuir/blinkr/pulls/12/commits","review_comments_url":"https://api.github.com/repos/pmuir/blinkr/pulls/12/comments","review_comment_url":"https://api.github.com/repos/pmuir/blinkr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pmuir/blinkr/issues/12/comments","statuses_url":"https://api.github.com/repos/pmuir/blinkr/statuses/e21da4a3915ba9a994a9910621c3ab4fb91c5678","head":{"label":"LightGuard:angular-merge","ref":"angular-merge","sha":"e21da4a3915ba9a994a9910621c3ab4fb91c5678","user":{"login":"LightGuard","id":29971,"avatar_url":"https://avatars.githubusercontent.com/u/29971?v=3","gravatar_id":"","url":"https://api.github.com/users/LightGuard","html_url":"https://github.com/LightGuard","followers_url":"https://api.github.com/users/LightGuard/followers","following_url":"https://api.github.com/users/LightGuard/following{/other_user}","gists_url":"https://api.github.com/users/LightGuard/gists{/gist_id}","starred_url":"https://api.github.com/users/LightGuard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightGuard/subscriptions","organizations_url":"https://api.github.com/users/LightGuard/orgs","repos_url":"https://api.github.com/users/LightGuard/repos","events_url":"https://api.github.com/users/LightGuard/events{/privacy}","received_events_url":"https://api.github.com/users/LightGuard/received_events","type":"User","site_admin":false},"repo":{"id":22352092,"name":"blinkr","full_name":"LightGuard/blinkr","owner":{"login":"LightGuard","id":29971,"avatar_url":"https://avatars.githubusercontent.com/u/29971?v=3","gravatar_id":"","url":"https://api.github.com/users/LightGuard","html_url":"https://github.com/LightGuard","followers_url":"https://api.github.com/users/LightGuard/followers","following_url":"https://api.github.com/users/LightGuard/following{/other_user}","gists_url":"https://api.github.com/users/LightGuard/gists{/gist_id}","starred_url":"https://api.github.com/users/LightGuard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightGuard/subscriptions","organizations_url":"https://api.github.com/users/LightGuard/orgs","repos_url":"https://api.github.com/users/LightGuard/repos","events_url":"https://api.github.com/users/LightGuard/events{/privacy}","received_events_url":"https://api.github.com/users/LightGuard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LightGuard/blinkr","description":"Blackbox testing for websites","fork":true,"url":"https://api.github.com/repos/LightGuard/blinkr","forks_url":"https://api.github.com/repos/LightGuard/blinkr/forks","keys_url":"https://api.github.com/repos/LightGuard/blinkr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LightGuard/blinkr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LightGuard/blinkr/teams","hooks_url":"https://api.github.com/repos/LightGuard/blinkr/hooks","issue_events_url":"https://api.github.com/repos/LightGuard/blinkr/issues/events{/number}","events_url":"https://api.github.com/repos/LightGuard/blinkr/events","assignees_url":"https://api.github.com/repos/LightGuard/blinkr/assignees{/user}","branches_url":"https://api.github.com/repos/LightGuard/blinkr/branches{/branch}","tags_url":"https://api.github.com/repos/LightGuard/blinkr/tags","blobs_url":"https://api.github.com/repos/LightGuard/blinkr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LightGuard/blinkr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LightGuard/blinkr/git/refs{/sha}","trees_url":"https://api.github.com/repos/LightGuard/blinkr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LightGuard/blinkr/statuses/{sha}","languages_url":"https://api.github.com/repos/LightGuard/blinkr/languages","stargazers_url":"https://api.github.com/repos/LightGuard/blinkr/stargazers","contributors_url":"https://api.github.com/repos/LightGuard/blinkr/contributors","subscribers_url":"https://api.github.com/repos/LightGuard/blinkr/subscribers","subscription_url":"https://api.github.com/repos/LightGuard/blinkr/subscription","commits_url":"https://api.github.com/repos/LightGuard/blinkr/commits{/sha}","git_commits_url":"https://api.github.com/repos/LightGuard/blinkr/git/commits{/sha}","comments_url":"https://api.github.com/repos/LightGuard/blinkr/comments{/number}","issue_comment_url":"https://api.github.com/repos/LightGuard/blinkr/issues/comments{/number}","contents_url":"https://api.github.com/repos/LightGuard/blinkr/contents/{+path}","compare_url":"https://api.github.com/repos/LightGuard/blinkr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LightGuard/blinkr/merges","archive_url":"https://api.github.com/repos/LightGuard/blinkr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LightGuard/blinkr/downloads","issues_url":"https://api.github.com/repos/LightGuard/blinkr/issues{/number}","pulls_url":"https://api.github.com/repos/LightGuard/blinkr/pulls{/number}","milestones_url":"https://api.github.com/repos/LightGuard/blinkr/milestones{/number}","notifications_url":"https://api.github.com/repos/LightGuard/blinkr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LightGuard/blinkr/labels{/name}","releases_url":"https://api.github.com/repos/LightGuard/blinkr/releases{/id}","created_at":"2014-07-28T17:52:44Z","updated_at":"2015-05-14T17:35:46Z","pushed_at":"2015-06-09T21:16:28Z","git_url":"git://github.com/LightGuard/blinkr.git","ssh_url":"git@github.com:LightGuard/blinkr.git","clone_url":"https://github.com/LightGuard/blinkr.git","svn_url":"https://github.com/LightGuard/blinkr","homepage":"","size":227,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"pmuir:master","ref":"master","sha":"6c98a75888c804ad9ce4635ecb6072c57009144a","user":{"login":"pmuir","id":157761,"avatar_url":"https://avatars.githubusercontent.com/u/157761?v=3","gravatar_id":"","url":"https://api.github.com/users/pmuir","html_url":"https://github.com/pmuir","followers_url":"https://api.github.com/users/pmuir/followers","following_url":"https://api.github.com/users/pmuir/following{/other_user}","gists_url":"https://api.github.com/users/pmuir/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuir/subscriptions","organizations_url":"https://api.github.com/users/pmuir/orgs","repos_url":"https://api.github.com/users/pmuir/repos","events_url":"https://api.github.com/users/pmuir/events{/privacy}","received_events_url":"https://api.github.com/users/pmuir/received_events","type":"User","site_admin":false},"repo":{"id":21657240,"name":"blinkr","full_name":"pmuir/blinkr","owner":{"login":"pmuir","id":157761,"avatar_url":"https://avatars.githubusercontent.com/u/157761?v=3","gravatar_id":"","url":"https://api.github.com/users/pmuir","html_url":"https://github.com/pmuir","followers_url":"https://api.github.com/users/pmuir/followers","following_url":"https://api.github.com/users/pmuir/following{/other_user}","gists_url":"https://api.github.com/users/pmuir/gists{/gist_id}","starred_url":"https://api.github.com/users/pmuir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmuir/subscriptions","organizations_url":"https://api.github.com/users/pmuir/orgs","repos_url":"https://api.github.com/users/pmuir/repos","events_url":"https://api.github.com/users/pmuir/events{/privacy}","received_events_url":"https://api.github.com/users/pmuir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pmuir/blinkr","description":"Blackbox testing for websites","fork":false,"url":"https://api.github.com/repos/pmuir/blinkr","forks_url":"https://api.github.com/repos/pmuir/blinkr/forks","keys_url":"https://api.github.com/repos/pmuir/blinkr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pmuir/blinkr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pmuir/blinkr/teams","hooks_url":"https://api.github.com/repos/pmuir/blinkr/hooks","issue_events_url":"https://api.github.com/repos/pmuir/blinkr/issues/events{/number}","events_url":"https://api.github.com/repos/pmuir/blinkr/events","assignees_url":"https://api.github.com/repos/pmuir/blinkr/assignees{/user}","branches_url":"https://api.github.com/repos/pmuir/blinkr/branches{/branch}","tags_url":"https://api.github.com/repos/pmuir/blinkr/tags","blobs_url":"https://api.github.com/repos/pmuir/blinkr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pmuir/blinkr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pmuir/blinkr/git/refs{/sha}","trees_url":"https://api.github.com/repos/pmuir/blinkr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pmuir/blinkr/statuses/{sha}","languages_url":"https://api.github.com/repos/pmuir/blinkr/languages","stargazers_url":"https://api.github.com/repos/pmuir/blinkr/stargazers","contributors_url":"https://api.github.com/repos/pmuir/blinkr/contributors","subscribers_url":"https://api.github.com/repos/pmuir/blinkr/subscribers","subscription_url":"https://api.github.com/repos/pmuir/blinkr/subscription","commits_url":"https://api.github.com/repos/pmuir/blinkr/commits{/sha}","git_commits_url":"https://api.github.com/repos/pmuir/blinkr/git/commits{/sha}","comments_url":"https://api.github.com/repos/pmuir/blinkr/comments{/number}","issue_comment_url":"https://api.github.com/repos/pmuir/blinkr/issues/comments{/number}","contents_url":"https://api.github.com/repos/pmuir/blinkr/contents/{+path}","compare_url":"https://api.github.com/repos/pmuir/blinkr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pmuir/blinkr/merges","archive_url":"https://api.github.com/repos/pmuir/blinkr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pmuir/blinkr/downloads","issues_url":"https://api.github.com/repos/pmuir/blinkr/issues{/number}","pulls_url":"https://api.github.com/repos/pmuir/blinkr/pulls{/number}","milestones_url":"https://api.github.com/repos/pmuir/blinkr/milestones{/number}","notifications_url":"https://api.github.com/repos/pmuir/blinkr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pmuir/blinkr/labels{/name}","releases_url":"https://api.github.com/repos/pmuir/blinkr/releases{/id}","created_at":"2014-07-09T15:16:40Z","updated_at":"2015-02-24T00:00:03Z","pushed_at":"2015-06-09T21:16:28Z","git_url":"git://github.com/pmuir/blinkr.git","ssh_url":"git@github.com:pmuir/blinkr.git","clone_url":"https://github.com/pmuir/blinkr.git","svn_url":"https://github.com/pmuir/blinkr","homepage":"","size":498,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":8,"forks":3,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pmuir/blinkr/pulls/12"},"html":{"href":"https://github.com/pmuir/blinkr/pull/12"},"issue":{"href":"https://api.github.com/repos/pmuir/blinkr/issues/12"},"comments":{"href":"https://api.github.com/repos/pmuir/blinkr/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/pmuir/blinkr/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/pmuir/blinkr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pmuir/blinkr/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/pmuir/blinkr/statuses/e21da4a3915ba9a994a9910621c3ab4fb91c5678"}}}}