From a4deb599499909fabbea990fa032e0dd14b587d3 Mon Sep 17 00:00:00 2001 From: Geoff Harcourt Date: Tue, 30 Apr 2024 08:53:39 -0400 Subject: [PATCH] Docs: Update url allow/block instructions Currently, if you use a string to mark an allowed or blocked domain/url you get a noisy deprecation warning about the use of strings for these parameters. This change updates the instructions to specify the use of regexes instead which conforms to what Ferrum's code seems to expect (`pattern`) and silences the warning. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b719466..779a0f4 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,8 @@ end `Cuprite`-specific options are: * options `Hash` - * `:url_blacklist` (Array) - array of strings to match against requested URLs - * `:url_whitelist` (Array) - array of strings to match against requested URLs + * `:url_blacklist` (Array) - array of regexes to match against requested URLs + * `:url_whitelist` (Array) - array of regexes to match against requested URLs ## Debugging