puffing-billy 3.2.0 → 4.0.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/billy/browsers/capybara.rb +7 -14
- data/lib/billy/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bcd3779aa24412f64cd8e79ce2841ca7f0a9d615d53fed9b4e248ed3e077cfc
|
4
|
+
data.tar.gz: bac08ababaa6fc353e8ec0676937baa1c130544b7335520bef4d0226eb8f19d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e801289c287741c89d9497cc1c2f8a09098122a89a5b7c316c638ecf1b4d410e9819487f2d3681e0d2ceae799e0e9223333d771b3c6c3727afa399e78d269cb3
|
7
|
+
data.tar.gz: d9926c8238931eb64d0b3d3a80f78b5dd01ce1505acf226751bd42a072a756a1ceb393410d70c05176a4d4f5fb6599be148d8294e85126cb6fbd700678a9f469
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
v4.0.1, 2025-04-08
|
2
|
+
------------------
|
3
|
+
* Update http-parser to 0.8.0 [#352](https://github.com/oesmith/puffing-billy/pull/352)
|
4
|
+
|
5
|
+
v4.0.0, 2023-08-30
|
6
|
+
------------------
|
7
|
+
* Drop Ruby 2.6 support [#337](https://github.com/oesmith/puffing-billy/pull/337)
|
8
|
+
* Fix removed Selenium::WebDriver::Remote::Capabilities.firefox method [#336](https://github.com/oesmith/puffing-billy/pull/336)
|
9
|
+
* Use :options argument instead of :capabilities [#338](https://github.com/oesmith/puffing-billy/pull/338)
|
10
|
+
|
1
11
|
v3.2.0, 2023-08-27
|
2
12
|
------------------
|
3
13
|
* Replace deprecated headless! Selenium::WebDriver::Chrome::Options [#333](https://github.com/oesmith/puffing-billy/pull/333)
|
@@ -48,24 +48,17 @@ module Billy
|
|
48
48
|
|
49
49
|
def self.register_selenium_driver
|
50
50
|
::Capybara.register_driver :selenium_billy do |app|
|
51
|
-
|
52
|
-
build_selenium_options_for_firefox,
|
53
|
-
Selenium::WebDriver::Remote::Capabilities.firefox(accept_insecure_certs: true)
|
54
|
-
]
|
51
|
+
options = build_selenium_options_for_firefox
|
55
52
|
|
56
|
-
::Capybara::Selenium::Driver.new(app,
|
53
|
+
::Capybara::Selenium::Driver.new(app, options: options)
|
57
54
|
end
|
58
55
|
|
59
56
|
::Capybara.register_driver :selenium_headless_billy do |app|
|
60
57
|
options = build_selenium_options_for_firefox.tap do |opts|
|
61
58
|
opts.add_argument '-headless'
|
62
59
|
end
|
63
|
-
capabilities = [
|
64
|
-
options,
|
65
|
-
Selenium::WebDriver::Remote::Capabilities.firefox(accept_insecure_certs: true)
|
66
|
-
]
|
67
60
|
|
68
|
-
::Capybara::Selenium::Driver.new(app,
|
61
|
+
::Capybara::Selenium::Driver.new(app, options: options)
|
69
62
|
end
|
70
63
|
|
71
64
|
::Capybara.register_driver :selenium_chrome_billy do |app|
|
@@ -76,7 +69,7 @@ module Billy
|
|
76
69
|
::Capybara::Selenium::Driver.new(
|
77
70
|
app,
|
78
71
|
browser: :chrome,
|
79
|
-
|
72
|
+
options: options,
|
80
73
|
clear_local_storage: true,
|
81
74
|
clear_session_storage: true
|
82
75
|
)
|
@@ -94,7 +87,7 @@ module Billy
|
|
94
87
|
::Capybara::Selenium::Driver.new(
|
95
88
|
app,
|
96
89
|
browser: :chrome,
|
97
|
-
|
90
|
+
options: options,
|
98
91
|
clear_local_storage: true,
|
99
92
|
clear_session_storage: true
|
100
93
|
)
|
@@ -110,14 +103,14 @@ module Billy
|
|
110
103
|
end
|
111
104
|
|
112
105
|
def self.register_cuprite_driver
|
113
|
-
|
106
|
+
driver_options = {
|
114
107
|
browser_options: {
|
115
108
|
'ignore-certificate-errors' => nil
|
116
109
|
}
|
117
110
|
}.deep_merge(Billy.config.cuprite_options)
|
118
111
|
|
119
112
|
::Capybara.register_driver :cuprite_billy do |app|
|
120
|
-
::Capybara::Cuprite::Driver.new(app, **
|
113
|
+
::Capybara::Cuprite::Driver.new(app, **driver_options).tap do |driver|
|
121
114
|
driver.set_proxy(Billy.proxy.host, Billy.proxy.port)
|
122
115
|
end
|
123
116
|
end
|
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:
|
4
|
+
version: 4.0.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:
|
11
|
+
date: 2025-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -302,14 +302,14 @@ dependencies:
|
|
302
302
|
requirements:
|
303
303
|
- - "~>"
|
304
304
|
- !ruby/object:Gem::Version
|
305
|
-
version: 0.
|
305
|
+
version: 0.8.0
|
306
306
|
type: :runtime
|
307
307
|
prerelease: false
|
308
308
|
version_requirements: !ruby/object:Gem::Requirement
|
309
309
|
requirements:
|
310
310
|
- - "~>"
|
311
311
|
- !ruby/object:Gem::Version
|
312
|
-
version: 0.
|
312
|
+
version: 0.8.0
|
313
313
|
- !ruby/object:Gem::Dependency
|
314
314
|
name: multi_json
|
315
315
|
requirement: !ruby/object:Gem::Requirement
|
@@ -379,7 +379,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
379
379
|
requirements:
|
380
380
|
- - ">="
|
381
381
|
- !ruby/object:Gem::Version
|
382
|
-
version: 2.
|
382
|
+
version: 2.7.0
|
383
383
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
384
384
|
requirements:
|
385
385
|
- - ">="
|