From 5530fd159d53594deaa868a7c6223be82829c961 Mon Sep 17 00:00:00 2001 From: Pat Allan Date: Fri, 9 Feb 2024 12:32:13 +1100 Subject: [PATCH] Shift ActiveSupport to a development dependency And explicitly require OpenSSL (presuming ActiveSupport was doing that for us otherwise). --- Gemfile.lock | 2 +- buildkite-test_collector.gemspec | 3 +-- lib/buildkite/test_collector.rb | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index a25b383..651b743 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,6 @@ PATH remote: . specs: buildkite-test_collector (2.4.0) - activesupport (>= 4.2) GEM remote: https://rubygems.org/ @@ -38,6 +37,7 @@ PLATFORMS ruby DEPENDENCIES + activesupport (>= 4.2) buildkite-test_collector! rake (~> 13.0) rspec (~> 3.0) diff --git a/buildkite-test_collector.gemspec b/buildkite-test_collector.gemspec index c4d98d2..2c27b19 100644 --- a/buildkite-test_collector.gemspec +++ b/buildkite-test_collector.gemspec @@ -24,8 +24,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") - spec.add_dependency "activesupport", ">= 4.2" - + spec.add_development_dependency "activesupport", ">= 4.2" spec.add_development_dependency "rspec-core", '~> 3.10' spec.add_development_dependency "rspec-expectations", '~> 3.10' end diff --git a/lib/buildkite/test_collector.rb b/lib/buildkite/test_collector.rb index 4f10b3a..751bc86 100644 --- a/lib/buildkite/test_collector.rb +++ b/lib/buildkite/test_collector.rb @@ -8,6 +8,7 @@ module TestCollector require "json" require "logger" require "net/http" +require "openssl" require "time" require "timeout" require "tmpdir"