puffing-billy 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc029e59d0433abc3e3cafc5a7a8e473fc81d2ba
4
- data.tar.gz: 9c9098d75fd2b8a2657a58ebf7264d503391523c
3
+ metadata.gz: 49c2a689f350d56b8719c2d63a9ee65a8b9e08a6
4
+ data.tar.gz: c7f1d50a3a17009c4e394ed87a4c07cae64dc0de
5
5
  SHA512:
6
- metadata.gz: deecb813ec9e291ecf787fcf4c7fc01c514521908ccbae514fe25cc2eef01ce52fb8af233f41eb3d64d070bbade8ba610c437bcbcdfe3ed6d45a6af1c676b871
7
- data.tar.gz: c0916575398630111b70ae5f333986d25dcd7a52958fada47986e62347e9a9d44d0ce6e4dab72a5845cf0cbe9755b92269087b0848bc46e50057c940266ce3b5
6
+ metadata.gz: 85873ec39d4108e7914ed711f777b9ac96a50250ebff960840132410d9dc221837982d4c90c086b4257681a073850340c96ffb08f1ba3d52d007271ff8b50511
7
+ data.tar.gz: ba586d5487c7bef9c682fc834c06c91f2e93364cc450ed4c74ab868a2399ec61a907f5d44d8cf728e7fd66d83c0cf41920df0aae4ad05e9b973421632d25971e
@@ -1,10 +1,6 @@
1
1
  language: ruby
2
2
  before_install:
3
3
  - gem install bundler
4
- - mkdir travis-phantomjs
5
- - wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
6
- - tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
7
- - export PATH=$PWD/travis-phantomjs:$PATH
8
4
  - phantomjs --version
9
5
  rvm:
10
6
  - 1.9.3
@@ -1,3 +1,7 @@
1
+ v0.10.1, 2017-10-12
2
+ -------------------
3
+ * Fix selenium webdriver deprecation warning [#194](https://github.com/oesmith/puffing-billy/pull/194)
4
+
1
5
  v0.10.0, 2017-04-06
2
6
  -------------------
3
7
  * Allow to simulate network delays when responding from cache [#182](https://github.com/oesmith/puffing-billy/pull/182)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- puffing-billy (0.10.0)
4
+ puffing-billy (0.10.1)
5
5
  addressable (~> 2.4.0)
6
6
  em-http-request (~> 1.1.0)
7
7
  em-synchrony
@@ -155,4 +155,4 @@ DEPENDENCIES
155
155
  watir-webdriver
156
156
 
157
157
  BUNDLED WITH
158
- 1.14.6
158
+ 1.15.0
@@ -55,9 +55,12 @@ module Billy
55
55
  end
56
56
 
57
57
  ::Capybara.register_driver :selenium_chrome_billy do |app|
58
+ options = Selenium::WebDriver::Chrome::Options.new
59
+ options.add_argument("--proxy-server=#{Billy.proxy.host}:#{Billy.proxy.port}")
60
+
58
61
  ::Capybara::Selenium::Driver.new(
59
62
  app, browser: :chrome,
60
- switches: ["--proxy-server=#{Billy.proxy.host}:#{Billy.proxy.port}"]
63
+ options: options
61
64
  )
62
65
  end
63
66
  end
@@ -1,3 +1,3 @@
1
1
  module Billy
2
- VERSION = '0.10.0'
2
+ VERSION = '0.10.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puffing-billy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olly Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-06 00:00:00.000000000 Z
11
+ date: 2017-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec