From c2d3ae33e7117f731a457612d61a1bf081ec0885 Mon Sep 17 00:00:00 2001 From: Adam McCrea Date: Wed, 9 Aug 2023 13:45:53 -0400 Subject: [PATCH] Require "set" for older Ruby versions --- .standard.yml | 2 ++ judoscale-ruby/lib/judoscale/job_metrics_collector.rb | 1 + 2 files changed, 3 insertions(+) diff --git a/.standard.yml b/.standard.yml index ec41ae04..1c280080 100644 --- a/.standard.yml +++ b/.standard.yml @@ -1,2 +1,4 @@ +ruby_version: 3.0 + ignore: - "sample-apps/**/*" diff --git a/judoscale-ruby/lib/judoscale/job_metrics_collector.rb b/judoscale-ruby/lib/judoscale/job_metrics_collector.rb index 87c614fb..82ffdcad 100644 --- a/judoscale-ruby/lib/judoscale/job_metrics_collector.rb +++ b/judoscale-ruby/lib/judoscale/job_metrics_collector.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +require "set" require "judoscale/metrics_collector" require "judoscale/logger"