From a56685d3ad649d69c6e69081f698eebd43d68d84 Mon Sep 17 00:00:00 2001 From: John Carlyle-Clarke Date: Fri, 11 Oct 2024 14:46:42 +0100 Subject: [PATCH] Update dependencies of the pubsub gem The upstream fork has had some updates but our fork has diverged quite a lot. Update the Google Client gem and Prometheus gem. We are seeing messages in the build of our FluentD setup like this: ``` Post-install message from google-gax: ******************************************************************************* The google-gax gem is officially end-of-life and will not be updated further. If your app uses the google-gax gem, it likely is using obsolete versions of some Google Cloud client library (google-cloud-*) gem that depends on it. We recommend updating any such libraries that depend on google-gax. Modern Google Cloud client libraries will depend on the gapic-common gem instead. ******************************************************************************* ``` --- .ruby-version | 2 +- fluent-plugin-gcloud-pubsub-custom.gemspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ruby-version b/.ruby-version index 57cf282..fa7adc7 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.6.5 +3.3.5 diff --git a/fluent-plugin-gcloud-pubsub-custom.gemspec b/fluent-plugin-gcloud-pubsub-custom.gemspec index 3ac516d..4c7072d 100644 --- a/fluent-plugin-gcloud-pubsub-custom.gemspec +++ b/fluent-plugin-gcloud-pubsub-custom.gemspec @@ -17,10 +17,10 @@ Gem::Specification.new do |gem| gem.require_paths = ["lib"] gem.add_runtime_dependency "fluentd", [">= 0.14.15", "< 2"] - gem.add_runtime_dependency "google-cloud-pubsub", "~> 0.30.0" + gem.add_runtime_dependency "google-cloud-pubsub", "~> 2.19.0" # Use the same version constraint as fluent-plugin-prometheus currently specifies - gem.add_runtime_dependency "prometheus-client", ">= 2.1.0" + gem.add_dependency "prometheus-client", ">= 2.1.0" gem.add_development_dependency "bundler" gem.add_development_dependency "pry"