From a3aec9c13f695da5a0e6eec20687ae32fdefe4bf Mon Sep 17 00:00:00 2001 From: John Cline <2057878+clinejj@users.noreply.github.com> Date: Wed, 18 Aug 2021 18:10:26 -0400 Subject: [PATCH] Change blacklist->denylist in changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06526497..cc2d4b94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -607,9 +607,9 @@ * `WebMock.disable_net_connect` accepts `:allow` option with an object that responds to `#call`, receiving a `URI` object and returning a boolean: - blacklist = ['google.com', 'facebook.com', 'apple.com'] + denylist = ['google.com', 'facebook.com', 'apple.com'] allowed_sites = lambda{|uri| - blacklist.none?{|site| uri.host.include?(site) } + denylist.none?{|site| uri.host.include?(site) } } WebMock.disable_net_connect!(:allow => allowed_sites)