From b73a31b5fdf499f27451d9c217a5752f48df04ba Mon Sep 17 00:00:00 2001 From: Miles Georgi Date: Thu, 18 Apr 2024 17:59:18 -0700 Subject: [PATCH] Make sure Net::HTTP is loaded --- Gemfile.lock | 10 +++++----- src/foobara/remote_command.rb | 2 ++ src/foobara/remote_imports/import_base.rb | 1 + 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index b9b6c02..b78b425 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: foobara - revision: 2960747a01d820ccf3eedb61fd086e283197ee76 + revision: 41979b6f9a3d66d0b5ba0f3e9ac940bbda68180a branch: main specs: foobara (0.0.1) @@ -38,7 +38,7 @@ GIT GIT remote: https://github.com/foobara/foob.git - revision: 1da7299ac3bbd0a4834cd7e5f62c4f908819d393 + revision: cca0fc24ffb5066c7e4bf056ce455d1ae305ad16 specs: foobara-foob (0.0.1) @@ -58,7 +58,7 @@ GIT GIT remote: https://github.com/foobara/sh-cli-connector.git - revision: 36e164ac2c9c8874c033c355ec43168fd48f9b7a + revision: 4d7b47b9fe038983b1a999fb415509eb4e3511c2 specs: foobara-sh-cli-connector (0.1.0) @@ -70,7 +70,7 @@ GIT GIT remote: https://github.com/foobara/util.git - revision: 659d4e4fd5dd74ca005650fc4bcc2ac1ee7809ec + revision: 805cb5f345872db5cc5d855fa68011f98d00ad50 specs: foobara-util (0.1.0) @@ -157,7 +157,7 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.63.1) + rubocop (1.63.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) diff --git a/src/foobara/remote_command.rb b/src/foobara/remote_command.rb index 01b807f..32df53a 100644 --- a/src/foobara/remote_command.rb +++ b/src/foobara/remote_command.rb @@ -1,3 +1,5 @@ +require "net/http" + module Foobara class RemoteCommand < Command # TODO: fill this out diff --git a/src/foobara/remote_imports/import_base.rb b/src/foobara/remote_imports/import_base.rb index b459c8d..92945c5 100644 --- a/src/foobara/remote_imports/import_base.rb +++ b/src/foobara/remote_imports/import_base.rb @@ -1,4 +1,5 @@ require "digest/md5" +require "net/http" module Foobara module RemoteImports