From d35c0b3cbb1a9e366cf1c1cb26aba47b09524ec7 Mon Sep 17 00:00:00 2001 From: Elijah Hamovitz Date: Fri, 14 Nov 2025 15:10:00 -0800 Subject: [PATCH 1/2] Update Ruby to 3.1.7 --- .github/workflows/pr-verify.yml | 4 ++-- .ruby-version | 2 +- .travis.yml | 4 ++-- Dockerfile | 2 +- README.md | 2 +- aws-google.gemspec | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr-verify.yml b/.github/workflows/pr-verify.yml index 059ef8a..5ab3638 100644 --- a/.github/workflows/pr-verify.yml +++ b/.github/workflows/pr-verify.yml @@ -7,7 +7,7 @@ on: jobs: # Test on code-dot-org Ruby version - test_3_0_5: + test_3_1_7: runs-on: ubuntu-latest steps: @@ -17,7 +17,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0.5 + ruby-version: 3.1.7 bundler-cache: true - name: Install gems diff --git a/.ruby-version b/.ruby-version index eca690e..23887f6 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.0.5 +3.1.7 diff --git a/.travis.yml b/.travis.yml index b64d770..91d32eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ sudo: false language: ruby rvm: - - 2.4.1 -before_install: gem install bundler -v 1.14.6 + - 3.1.7 +before_install: gem install bundler -v 2.5.17 diff --git a/Dockerfile b/Dockerfile index f038c68..bf1d5b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.0.5 +FROM ruby:3.1.7 WORKDIR /app diff --git a/README.md b/README.md index c096056..4668165 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ The extra `credential_process` config line tells AWS to [Source Credentials with Prerequisites: -* Ruby 3.0.5 +* Ruby 3.1.7 You can have Ruby installed locally, or use Docker and mount this repository into a Ruby container. By using Docker you can avoid conflicts with differing Ruby versions or other installed gems. To run and 'bash' into a Ruby container, install Docker and run the following. See [docker-compose.yml](docker-compose.yml) for details. diff --git a/aws-google.gemspec b/aws-google.gemspec index 5612141..c73eeb0 100644 --- a/aws-google.gemspec +++ b/aws-google.gemspec @@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'aws/google/version' Gem::Specification.new do |spec| - spec.required_ruby_version = '>= 3.0.5' + spec.required_ruby_version = '>= 3.1.7' spec.name = 'aws-google' spec.version = Aws::Google::VERSION spec.authors = ['Will Jordan'] From ab572bbd012f8ed6f64d84edeb9ce7a5be05261d Mon Sep 17 00:00:00 2001 From: Elijah Hamovitz Date: Fri, 14 Nov 2025 15:14:56 -0800 Subject: [PATCH 2/2] loosen ruby version requirement --- aws-google.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-google.gemspec b/aws-google.gemspec index c73eeb0..aba932c 100644 --- a/aws-google.gemspec +++ b/aws-google.gemspec @@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'aws/google/version' Gem::Specification.new do |spec| - spec.required_ruby_version = '>= 3.1.7' + spec.required_ruby_version = '~> 3.0' spec.name = 'aws-google' spec.version = Aws::Google::VERSION spec.authors = ['Will Jordan']