puffing-billy 3.2.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/billy/browsers/capybara.rb +5 -12
- data/lib/billy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f585918e52d40164c2b82384f2a10b9a88739bd0eaa35585a45c568749e2717
|
4
|
+
data.tar.gz: 217c17068c87dcbd0df9f135b4e87d0ccb3f311cd9019a9ef57ac4f181b365ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c252400a3d72b72680ee861c30322d96b62baa3bcf5f961a832671979acd066cb48a8ba3f108aee07b93167e602b28042ddac9bc2183f870b5c75f910650abf8
|
7
|
+
data.tar.gz: fe72b4f1c43d9ffba16fcf84cd0998954d60531f5c4a7528818a69c42a7ab6a8cab9e9430807ddb07811937479ab45bf436d83c5028a1c19dba5734d7fcf4de6
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
v4.0.0, 2023-08-30
|
2
|
+
------------------
|
3
|
+
* Drop Ruby 2.6 support [#337](https://github.com/oesmith/puffing-billy/pull/337)
|
4
|
+
* Fix removed Selenium::WebDriver::Remote::Capabilities.firefox method [#336](https://github.com/oesmith/puffing-billy/pull/336)
|
5
|
+
* Use :options argument instead of :capabilities [#338](https://github.com/oesmith/puffing-billy/pull/338)
|
6
|
+
|
1
7
|
v3.2.0, 2023-08-27
|
2
8
|
------------------
|
3
9
|
* 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
|
)
|
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.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Olly Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -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
|
- - ">="
|