Commit f69a017
committed
Fix a deprecated message about
Passing strings to blacklist/whitelist is deprecated. This PR fixes it
to remove deprecate messages.
https://github.com/ruby/TryRuby/actions/runs/14211217635/job/39818646230#step:4:47
https://github.com/rubycdp/cuprite/blob/4fa812640823e160cb359f40291fe8cf88e05cca/lib/capybara/cuprite/browser.rb#L251
Also, the config name is `url_blocklist` now.
https://github.com/rubycdp/cuprite?tab=readme-ov-file#url-blocklisting--allowlisting
The old name can be used for backward compatibility. But I think
there is no reason to use the old one. So this PR also changed the
name to the new one.url_blacklist
1 parent 4920a8b commit f69a017
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
0 commit comments