{"action":"created","comment":{"url":"https://api.github.com/repos/oesmith/puffing-billy/pulls/comments/43278003","id":43278003,"diff_hunk":"@@ -42,11 +42,11 @@ def self.register_drivers\n \n     if defined?(Capybara::Webkit::Driver)\n       Capybara.register_driver :webkit_billy do |app|\n-        driver = Capybara::Webkit::Driver.new(app)\n-        driver.browser.ignore_ssl_errors\n-        driver.browser.set_proxy(host: Billy.proxy.host,\n-                                 port: Billy.proxy.port)\n-        driver\n+        options = {\n+          :ignore_ssl_errors => false,\n+          :proxy => {:host => Billy.proxy.host, :port => Billy.proxy.port}\n+        }\n+        Capybara::Webkit::Driver.new(app, Capybara::Webkit::Configuration.to_hash.merge(options))","path":"lib/billy.rb","position":13,"original_position":13,"commit_id":"afa522e26bc4ce021590581988accc84fdc8f1cc","original_commit_id":"afa522e26bc4ce021590581988accc84fdc8f1cc","user":{"login":"ronwsmith","id":4006875,"avatar_url":"https://avatars.githubusercontent.com/u/4006875?v=3","gravatar_id":"","url":"https://api.github.com/users/ronwsmith","html_url":"https://github.com/ronwsmith","followers_url":"https://api.github.com/users/ronwsmith/followers","following_url":"https://api.github.com/users/ronwsmith/following{/other_user}","gists_url":"https://api.github.com/users/ronwsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/ronwsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronwsmith/subscriptions","organizations_url":"https://api.github.com/users/ronwsmith/orgs","repos_url":"https://api.github.com/users/ronwsmith/repos","events_url":"https://api.github.com/users/ronwsmith/events{/privacy}","received_events_url":"https://api.github.com/users/ronwsmith/received_events","type":"User","site_admin":false},"body":"Does this allow you to specify webkit config in your rails helper?  If so, is there a race condition / order dependence of the config blocks we should note in the README?","created_at":"2015-10-28T16:12:55Z","updated_at":"2015-10-28T16:12:55Z","html_url":"https://github.com/oesmith/puffing-billy/pull/130#discussion_r43278003","pull_request_url":"https://api.github.com/repos/oesmith/puffing-billy/pulls/130","_links":{"self":{"href":"https://api.github.com/repos/oesmith/puffing-billy/pulls/comments/43278003"},"html":{"href":"https://github.com/oesmith/puffing-billy/pull/130#discussion_r43278003"},"pull_request":{"href":"https://api.github.com/repos/oesmith/puffing-billy/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/oesmith/puffing-billy/pulls/130","id":48859063,"html_url":"https://github.com/oesmith/puffing-billy/pull/130","diff_url":"https://github.com/oesmith/puffing-billy/pull/130.diff","patch_url":"https://github.com/oesmith/puffing-billy/pull/130.patch","issue_url":"https://api.github.com/repos/oesmith/puffing-billy/issues/130","number":130,"state":"open","locked":false,"title":"Billy config and Capybara::Webkit config compatibility","user":{"login":"rimian","id":64749,"avatar_url":"https://avatars.githubusercontent.com/u/64749?v=3","gravatar_id":"","url":"https://api.github.com/users/rimian","html_url":"https://github.com/rimian","followers_url":"https://api.github.com/users/rimian/followers","following_url":"https://api.github.com/users/rimian/following{/other_user}","gists_url":"https://api.github.com/users/rimian/gists{/gist_id}","starred_url":"https://api.github.com/users/rimian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimian/subscriptions","organizations_url":"https://api.github.com/users/rimian/orgs","repos_url":"https://api.github.com/users/rimian/repos","events_url":"https://api.github.com/users/rimian/events{/privacy}","received_events_url":"https://api.github.com/users/rimian/received_events","type":"User","site_admin":false},"body":"This preserves webkit config when creating the webkit_billy driver.","created_at":"2015-10-27T11:37:06Z","updated_at":"2015-10-28T16:12:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d0b1c6ef81f8aa7338fde27f38e6a4ca94ed72de","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/oesmith/puffing-billy/pulls/130/commits","review_comments_url":"https://api.github.com/repos/oesmith/puffing-billy/pulls/130/comments","review_comment_url":"https://api.github.com/repos/oesmith/puffing-billy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oesmith/puffing-billy/issues/130/comments","statuses_url":"https://api.github.com/repos/oesmith/puffing-billy/statuses/afa522e26bc4ce021590581988accc84fdc8f1cc","head":{"label":"rimian:config-webkit","ref":"config-webkit","sha":"afa522e26bc4ce021590581988accc84fdc8f1cc","user":{"login":"rimian","id":64749,"avatar_url":"https://avatars.githubusercontent.com/u/64749?v=3","gravatar_id":"","url":"https://api.github.com/users/rimian","html_url":"https://github.com/rimian","followers_url":"https://api.github.com/users/rimian/followers","following_url":"https://api.github.com/users/rimian/following{/other_user}","gists_url":"https://api.github.com/users/rimian/gists{/gist_id}","starred_url":"https://api.github.com/users/rimian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimian/subscriptions","organizations_url":"https://api.github.com/users/rimian/orgs","repos_url":"https://api.github.com/users/rimian/repos","events_url":"https://api.github.com/users/rimian/events{/privacy}","received_events_url":"https://api.github.com/users/rimian/received_events","type":"User","site_admin":false},"repo":{"id":45006373,"name":"puffing-billy","full_name":"rimian/puffing-billy","owner":{"login":"rimian","id":64749,"avatar_url":"https://avatars.githubusercontent.com/u/64749?v=3","gravatar_id":"","url":"https://api.github.com/users/rimian","html_url":"https://github.com/rimian","followers_url":"https://api.github.com/users/rimian/followers","following_url":"https://api.github.com/users/rimian/following{/other_user}","gists_url":"https://api.github.com/users/rimian/gists{/gist_id}","starred_url":"https://api.github.com/users/rimian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimian/subscriptions","organizations_url":"https://api.github.com/users/rimian/orgs","repos_url":"https://api.github.com/users/rimian/repos","events_url":"https://api.github.com/users/rimian/events{/privacy}","received_events_url":"https://api.github.com/users/rimian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rimian/puffing-billy","description":"A rewriting web proxy for testing interactions between your browser and external sites.  Works with ruby + rspec.","fork":true,"url":"https://api.github.com/repos/rimian/puffing-billy","forks_url":"https://api.github.com/repos/rimian/puffing-billy/forks","keys_url":"https://api.github.com/repos/rimian/puffing-billy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rimian/puffing-billy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rimian/puffing-billy/teams","hooks_url":"https://api.github.com/repos/rimian/puffing-billy/hooks","issue_events_url":"https://api.github.com/repos/rimian/puffing-billy/issues/events{/number}","events_url":"https://api.github.com/repos/rimian/puffing-billy/events","assignees_url":"https://api.github.com/repos/rimian/puffing-billy/assignees{/user}","branches_url":"https://api.github.com/repos/rimian/puffing-billy/branches{/branch}","tags_url":"https://api.github.com/repos/rimian/puffing-billy/tags","blobs_url":"https://api.github.com/repos/rimian/puffing-billy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rimian/puffing-billy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rimian/puffing-billy/git/refs{/sha}","trees_url":"https://api.github.com/repos/rimian/puffing-billy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rimian/puffing-billy/statuses/{sha}","languages_url":"https://api.github.com/repos/rimian/puffing-billy/languages","stargazers_url":"https://api.github.com/repos/rimian/puffing-billy/stargazers","contributors_url":"https://api.github.com/repos/rimian/puffing-billy/contributors","subscribers_url":"https://api.github.com/repos/rimian/puffing-billy/subscribers","subscription_url":"https://api.github.com/repos/rimian/puffing-billy/subscription","commits_url":"https://api.github.com/repos/rimian/puffing-billy/commits{/sha}","git_commits_url":"https://api.github.com/repos/rimian/puffing-billy/git/commits{/sha}","comments_url":"https://api.github.com/repos/rimian/puffing-billy/comments{/number}","issue_comment_url":"https://api.github.com/repos/rimian/puffing-billy/issues/comments{/number}","contents_url":"https://api.github.com/repos/rimian/puffing-billy/contents/{+path}","compare_url":"https://api.github.com/repos/rimian/puffing-billy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rimian/puffing-billy/merges","archive_url":"https://api.github.com/repos/rimian/puffing-billy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rimian/puffing-billy/downloads","issues_url":"https://api.github.com/repos/rimian/puffing-billy/issues{/number}","pulls_url":"https://api.github.com/repos/rimian/puffing-billy/pulls{/number}","milestones_url":"https://api.github.com/repos/rimian/puffing-billy/milestones{/number}","notifications_url":"https://api.github.com/repos/rimian/puffing-billy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rimian/puffing-billy/labels{/name}","releases_url":"https://api.github.com/repos/rimian/puffing-billy/releases{/id}","created_at":"2015-10-27T00:20:19Z","updated_at":"2015-10-27T00:20:20Z","pushed_at":"2015-10-27T11:34:54Z","git_url":"git://github.com/rimian/puffing-billy.git","ssh_url":"git@github.com:rimian/puffing-billy.git","clone_url":"https://github.com/rimian/puffing-billy.git","svn_url":"https://github.com/rimian/puffing-billy","homepage":"","size":456,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"oesmith:master","ref":"master","sha":"91bd28458dd3e8dab6530322349886820ad29790","user":{"login":"oesmith","id":116292,"avatar_url":"https://avatars.githubusercontent.com/u/116292?v=3","gravatar_id":"","url":"https://api.github.com/users/oesmith","html_url":"https://github.com/oesmith","followers_url":"https://api.github.com/users/oesmith/followers","following_url":"https://api.github.com/users/oesmith/following{/other_user}","gists_url":"https://api.github.com/users/oesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/oesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oesmith/subscriptions","organizations_url":"https://api.github.com/users/oesmith/orgs","repos_url":"https://api.github.com/users/oesmith/repos","events_url":"https://api.github.com/users/oesmith/events{/privacy}","received_events_url":"https://api.github.com/users/oesmith/received_events","type":"User","site_admin":false},"repo":{"id":6022475,"name":"puffing-billy","full_name":"oesmith/puffing-billy","owner":{"login":"oesmith","id":116292,"avatar_url":"https://avatars.githubusercontent.com/u/116292?v=3","gravatar_id":"","url":"https://api.github.com/users/oesmith","html_url":"https://github.com/oesmith","followers_url":"https://api.github.com/users/oesmith/followers","following_url":"https://api.github.com/users/oesmith/following{/other_user}","gists_url":"https://api.github.com/users/oesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/oesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oesmith/subscriptions","organizations_url":"https://api.github.com/users/oesmith/orgs","repos_url":"https://api.github.com/users/oesmith/repos","events_url":"https://api.github.com/users/oesmith/events{/privacy}","received_events_url":"https://api.github.com/users/oesmith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oesmith/puffing-billy","description":"A rewriting web proxy for testing interactions between your browser and external sites.  Works with ruby + rspec.","fork":false,"url":"https://api.github.com/repos/oesmith/puffing-billy","forks_url":"https://api.github.com/repos/oesmith/puffing-billy/forks","keys_url":"https://api.github.com/repos/oesmith/puffing-billy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oesmith/puffing-billy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oesmith/puffing-billy/teams","hooks_url":"https://api.github.com/repos/oesmith/puffing-billy/hooks","issue_events_url":"https://api.github.com/repos/oesmith/puffing-billy/issues/events{/number}","events_url":"https://api.github.com/repos/oesmith/puffing-billy/events","assignees_url":"https://api.github.com/repos/oesmith/puffing-billy/assignees{/user}","branches_url":"https://api.github.com/repos/oesmith/puffing-billy/branches{/branch}","tags_url":"https://api.github.com/repos/oesmith/puffing-billy/tags","blobs_url":"https://api.github.com/repos/oesmith/puffing-billy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oesmith/puffing-billy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oesmith/puffing-billy/git/refs{/sha}","trees_url":"https://api.github.com/repos/oesmith/puffing-billy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oesmith/puffing-billy/statuses/{sha}","languages_url":"https://api.github.com/repos/oesmith/puffing-billy/languages","stargazers_url":"https://api.github.com/repos/oesmith/puffing-billy/stargazers","contributors_url":"https://api.github.com/repos/oesmith/puffing-billy/contributors","subscribers_url":"https://api.github.com/repos/oesmith/puffing-billy/subscribers","subscription_url":"https://api.github.com/repos/oesmith/puffing-billy/subscription","commits_url":"https://api.github.com/repos/oesmith/puffing-billy/commits{/sha}","git_commits_url":"https://api.github.com/repos/oesmith/puffing-billy/git/commits{/sha}","comments_url":"https://api.github.com/repos/oesmith/puffing-billy/comments{/number}","issue_comment_url":"https://api.github.com/repos/oesmith/puffing-billy/issues/comments{/number}","contents_url":"https://api.github.com/repos/oesmith/puffing-billy/contents/{+path}","compare_url":"https://api.github.com/repos/oesmith/puffing-billy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oesmith/puffing-billy/merges","archive_url":"https://api.github.com/repos/oesmith/puffing-billy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oesmith/puffing-billy/downloads","issues_url":"https://api.github.com/repos/oesmith/puffing-billy/issues{/number}","pulls_url":"https://api.github.com/repos/oesmith/puffing-billy/pulls{/number}","milestones_url":"https://api.github.com/repos/oesmith/puffing-billy/milestones{/number}","notifications_url":"https://api.github.com/repos/oesmith/puffing-billy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oesmith/puffing-billy/labels{/name}","releases_url":"https://api.github.com/repos/oesmith/puffing-billy/releases{/id}","created_at":"2012-09-30T21:24:43Z","updated_at":"2015-10-23T06:59:06Z","pushed_at":"2015-10-27T11:37:07Z","git_url":"git://github.com/oesmith/puffing-billy.git","ssh_url":"git@github.com:oesmith/puffing-billy.git","clone_url":"https://github.com/oesmith/puffing-billy.git","svn_url":"https://github.com/oesmith/puffing-billy","homepage":"","size":998,"stargazers_count":283,"watchers_count":283,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":84,"mirror_url":null,"open_issues_count":16,"forks":84,"open_issues":16,"watchers":283,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oesmith/puffing-billy/pulls/130"},"html":{"href":"https://github.com/oesmith/puffing-billy/pull/130"},"issue":{"href":"https://api.github.com/repos/oesmith/puffing-billy/issues/130"},"comments":{"href":"https://api.github.com/repos/oesmith/puffing-billy/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/oesmith/puffing-billy/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/oesmith/puffing-billy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oesmith/puffing-billy/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/oesmith/puffing-billy/statuses/afa522e26bc4ce021590581988accc84fdc8f1cc"}}}}