From e10ac6ec7f903a2721f26ce7491c365cb0b30104 Mon Sep 17 00:00:00 2001 From: Chenhui Wang Date: Wed, 4 Dec 2024 10:00:21 +0800 Subject: [PATCH 1/2] Upgrade fugit and mime-types --- Gemfile | 4 ++-- Gemfile.lock | 17 ++++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Gemfile b/Gemfile index 6cd95b87..c9feda47 100644 --- a/Gemfile +++ b/Gemfile @@ -10,10 +10,10 @@ gem 'bundler', File.read(File.join(__dir__, '.bundler-version')).strip # Dependencies for connectors gem 'activesupport', '~>6.1.7.3' -gem 'mime-types', '= 3.1' +gem 'mime-types', '~> 3.6' gem 'tzinfo-data' gem 'tzinfo', '~> 2.0' -gem 'fugit', '~> 1.5.3' +gem 'fugit', '~> 1.11', '>= 1.11.1' gem 'remedy', '~> 0.3.0' gem 'ecs-logging', '~> 1.0.0' diff --git a/Gemfile.lock b/Gemfile.lock index 7fbc9ba4..bcccc988 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -67,7 +67,7 @@ GEM elasticsearch-api (= 8.8.0) elasticsearch-api (8.8.0) multi_json - et-orbi (1.2.7) + et-orbi (1.2.11) tzinfo faraday (1.10.0) faraday-em_http (~> 1.0) @@ -96,8 +96,8 @@ GEM faraday (~> 1.0) ffi (1.15.5-java) forwardable (1.3.2) - fugit (1.5.3) - et-orbi (~> 1, >= 1.2.7) + fugit (1.11.1) + et-orbi (~> 1, >= 1.2.11) raabro (~> 1.4) hashdiff (1.0.1) hashie (5.0.0) @@ -105,10 +105,12 @@ GEM i18n (1.14.1) concurrent-ruby (~> 1.0) jwt (2.3.0) + logger (1.6.2) method_source (1.0.0) - mime-types (3.1) + mime-types (3.6.0) + logger mime-types-data (~> 3.2015) - mime-types-data (3.2022.0105) + mime-types-data (3.2024.1203) minitest (5.19.0) mongo (2.18.1) bson (>= 4.14.1, < 5.0.0) @@ -200,6 +202,7 @@ GEM PLATFORMS arm64-darwin-22 + arm64-darwin-24 universal-darwin-21 universal-java-11 x86-mingw32 @@ -225,10 +228,10 @@ DEPENDENCIES faraday (~> 1.10.0) faraday_middleware (= 1.0.0) forwardable (~> 1.3.2) - fugit (~> 1.5.3) + fugit (~> 1.11, >= 1.11.1) hashie (~> 5.0.0) httpclient (~> 2.8.3) - mime-types (= 3.1) + mime-types (~> 3.6) mongo (~> 2.18) pry-nav pry-remote From a3b7c3ae4255a878e18ee39f1d257eb8efed8baf Mon Sep 17 00:00:00 2001 From: Chenhui Wang Date: Wed, 4 Dec 2024 10:16:18 +0800 Subject: [PATCH 2/2] Update dependency versions in gemspec --- connectors_utility.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectors_utility.gemspec b/connectors_utility.gemspec index f6e7e550..874de8ab 100644 --- a/connectors_utility.gemspec +++ b/connectors_utility.gemspec @@ -46,8 +46,8 @@ Gem::Specification.new do |s| s.license = 'Elastic-2.0' s.add_dependency 'activesupport', '>= 5.2' s.add_dependency 'ecs-logging', '~> 1.0.0' - s.add_dependency 'fugit', '~> 1.5.3' - s.add_dependency 'mime-types', '= 3.1' + s.add_dependency 'fugit', '~> 1.11', '>= 1.11.1' + s.add_dependency 'mime-types', '~> 3.6' s.add_dependency 'tzinfo' s.add_dependency 'tzinfo-data' end