puffing-billy 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/billy/browsers/capybara.rb +11 -0
- data/lib/billy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfd7317180cc078b689374dabb6dc2e0321a075fca60751bb20aa5ea0b8e6198
|
4
|
+
data.tar.gz: c4452386eb8e867598930b0734b4fbcad4f3d092fe6f6b5ac844dc2349cab27d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3d719b6b412b4c9e2d63fcf82055a6d0ca3bbe5b6150f24bbe24fff16f660882a0d00f882be18595756b046c2f327fc1ecb5655bcbaf67bc9750e642ec052c5
|
7
|
+
data.tar.gz: 52817fd2b4d8ef53078841f7a65945e1ca5f36414a4fd066820c005dfca4d2e1c13801731033d5ff3a26bfbd9066eebcc5ab0f7df6ba394c1e7cbcdab25c75fc
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
v2.1.1, 2019-06-15
|
2
|
+
-------------------
|
3
|
+
* Add driver registration for chrome headless [#267](https://github.com/oesmith/puffing-billy/pull/267)
|
4
|
+
|
1
5
|
v2.1.0, 2019-03-17
|
2
6
|
-------------------
|
3
7
|
* Allow stubbing all request methods [#263](https://github.com/oesmith/puffing-billy/pull/263)
|
@@ -64,6 +64,17 @@ module Billy
|
|
64
64
|
options: options
|
65
65
|
)
|
66
66
|
end
|
67
|
+
|
68
|
+
::Capybara.register_driver :selenium_chrome_headless_billy do |app|
|
69
|
+
options = Selenium::WebDriver::Chrome::Options.new(args: %w[headless disable-gpu no-sandbox
|
70
|
+
enable-features=NetworkService,NetworkServiceInProcess])
|
71
|
+
options.add_argument("--proxy-server=#{Billy.proxy.host}:#{Billy.proxy.port}")
|
72
|
+
|
73
|
+
::Capybara::Selenium::Driver.new(
|
74
|
+
app, browser: :chrome,
|
75
|
+
options: options
|
76
|
+
)
|
77
|
+
end
|
67
78
|
end
|
68
79
|
|
69
80
|
def self.register_apparition_driver
|
data/lib/billy/version.rb
CHANGED
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: 2.1.
|
4
|
+
version: 2.1.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: 2019-
|
11
|
+
date: 2019-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|