From ee52ac17878bee174aa1ea3c4b3422930e4cafe4 Mon Sep 17 00:00:00 2001 From: Tony Hsu Date: Tue, 17 Sep 2024 15:55:08 +0200 Subject: [PATCH] Rename variable --- tasks/edge.rake | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tasks/edge.rake b/tasks/edge.rake index b14ff5a96cf..aee5e675150 100644 --- a/tasks/edge.rake +++ b/tasks/edge.rake @@ -48,16 +48,16 @@ namespace :edge do desc 'Update all the groups from the matrix' task :update do |_t, args| ruby_version = RUBY_VERSION[0..2] - whitelist = { + allowlist = { 'stripe' => 'stripe', 'elasticsearch' => 'elasticsearch', 'opensearch' => 'opensearch-ruby', # Add more integrations here, when they are extracted to its own isolated group } - whitelist = whitelist.slice(*args.extras) if args.extras.any? + allowlist = allowlist.slice(*args.extras) if args.extras.any? - whitelist.each do |integration, gem| + allowlist.each do |integration, gem| candidates = TEST_METADATA.fetch(integration).select do |_, rubies| if RUBY_PLATFORM == 'java' rubies.include?("✅ #{ruby_version}") && rubies.include?('✅ jruby') @@ -82,16 +82,16 @@ namespace :edge do desc 'Update the `latest` group from the matrix' task :latest do |_t, args| ruby_version = RUBY_VERSION[0..2] - whitelist = { + allowlist = { 'stripe' => 'stripe', 'elasticsearch' => 'elasticsearch', 'opensearch' => 'opensearch-ruby', # Add more integrations here, when hey are extracted to its own isolated group } - whitelist = whitelist.slice(*args.extras) if args.extras.any? + allowlist = allowlist.slice(*args.extras) if args.extras.any? - whitelist.each do |integration, gem| + allowlist.each do |integration, gem| candidates = TEST_METADATA.fetch(integration).select do |_, rubies| if RUBY_PLATFORM == 'java' rubies.include?("✅ #{ruby_version}") && rubies.include?('✅ jruby')