diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5f2283e1..6b755f6da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,11 +16,16 @@ jobs: tests: if: ${{ github.repository == 'googleapis/gapic-generator-ruby' }} runs-on: ubuntu-latest + strategy: + matrix: + ruby: ["3.2", "4.0"] + # Allow failures on 4.0; generator primarily runs on 3.2. + continue-on-error: ${{ matrix.ruby == '4.0' }} steps: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: "3.2" + ruby-version: ${{ matrix.ruby }} - name: Checkout repo uses: actions/checkout@v4 - name: Checkout submodules diff --git a/gapic-generator-ads/README.md b/gapic-generator-ads/README.md index b81f14085..dc517860f 100644 --- a/gapic-generator-ads/README.md +++ b/gapic-generator-ads/README.md @@ -97,9 +97,9 @@ This is not an official Google project. While it is being used internally to generate official Google API client libraries, there is no guarantee of support or stability for any other use. -As of January 2024, this generator can be run on Ruby 3.0 or later. In general, +As of May 2026, this generator can be run on Ruby 3.2 or later. In general, we will make an effort to ensure it is supported on non-end-of-life versions of -Ruby. +Ruby. Currently, this includes support through Ruby 4.0. Issues can be filed on GitHub at https://github.com/googleapis/gapic-generator-ruby/issues. diff --git a/gapic-generator-cloud/README.md b/gapic-generator-cloud/README.md index f1d2ccd84..0c214b1f5 100644 --- a/gapic-generator-cloud/README.md +++ b/gapic-generator-cloud/README.md @@ -97,9 +97,9 @@ This is not an official Google project. While it is being used internally to generate official Google API client libraries, there is no guarantee of support or stability for any other use. -As of January 2024, this generator can be run on Ruby 3.0 or later. In general, +As of May 2026, this generator can be run on Ruby 3.2 or later. In general, we will make an effort to ensure it is supported on non-end-of-life versions of -Ruby. +Ruby. Currently, this includes support through Ruby 4.0. Issues can be filed on GitHub at https://github.com/googleapis/gapic-generator-ruby/issues. diff --git a/gapic-generator-cloud/templates/cloud/gem/readme.text.erb b/gapic-generator-cloud/templates/cloud/gem/readme.text.erb index 1f86cf87c..6418c9a4f 100644 --- a/gapic-generator-cloud/templates/cloud/gem/readme.text.erb +++ b/gapic-generator-cloud/templates/cloud/gem/readme.text.erb @@ -117,7 +117,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/gapic-generator-cloud/templates/cloud/wrapper_gem/readme.text.erb b/gapic-generator-cloud/templates/cloud/wrapper_gem/readme.text.erb index 82e8259f5..b13272f76 100644 --- a/gapic-generator-cloud/templates/cloud/wrapper_gem/readme.text.erb +++ b/gapic-generator-cloud/templates/cloud/wrapper_gem/readme.text.erb @@ -112,7 +112,7 @@ working, try updating the versioned clients in your bundle or installed gems: ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/gapic-generator/README.md b/gapic-generator/README.md index 6ac06e683..42e32f4ee 100644 --- a/gapic-generator/README.md +++ b/gapic-generator/README.md @@ -98,9 +98,9 @@ This is not an official Google project. While it is being used internally to generate official Google API client libraries, there is no guarantee of support or stability for any other use. -As of January 2024, this generator can be run on Ruby 3.0 or later. In general, +As of May 2026, this generator can be run on Ruby 3.2 or later. In general, we will make an effort to ensure it is supported on non-end-of-life versions of -Ruby. +Ruby. Currently, this includes support through Ruby 4.0. Issues can be filed on GitHub at https://github.com/googleapis/gapic-generator-ruby/issues. diff --git a/gapic-generator/templates/default/gem/readme.text.erb b/gapic-generator/templates/default/gem/readme.text.erb index 1cdffe222..9c7d50e66 100644 --- a/gapic-generator/templates/default/gem/readme.text.erb +++ b/gapic-generator/templates/default/gem/readme.text.erb @@ -32,7 +32,7 @@ response = client.<%= method.name %> request ## Supported Ruby Versions -This library is supported on Ruby 3.1+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/compute_small/README.md b/shared/output/cloud/compute_small/README.md index a9548c3a1..c3e7dde46 100644 --- a/shared/output/cloud/compute_small/README.md +++ b/shared/output/cloud/compute_small/README.md @@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/compute_small_wrapper/README.md b/shared/output/cloud/compute_small_wrapper/README.md index 1b24308df..9d70481a1 100644 --- a/shared/output/cloud/compute_small_wrapper/README.md +++ b/shared/output/cloud/compute_small_wrapper/README.md @@ -70,7 +70,7 @@ working, try updating the versioned clients in your bundle or installed gems: ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/grafeas_v1/README.md b/shared/output/cloud/grafeas_v1/README.md index 1a05a6f2e..b9cd1c879 100644 --- a/shared/output/cloud/grafeas_v1/README.md +++ b/shared/output/cloud/grafeas_v1/README.md @@ -74,7 +74,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/language_v1/README.md b/shared/output/cloud/language_v1/README.md index ab771d5ec..f5aa55086 100644 --- a/shared/output/cloud/language_v1/README.md +++ b/shared/output/cloud/language_v1/README.md @@ -82,7 +82,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/language_v1beta1/README.md b/shared/output/cloud/language_v1beta1/README.md index 9263d265d..3000e0c54 100644 --- a/shared/output/cloud/language_v1beta1/README.md +++ b/shared/output/cloud/language_v1beta1/README.md @@ -82,7 +82,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/language_v1beta2/README.md b/shared/output/cloud/language_v1beta2/README.md index 4255fc888..303457833 100644 --- a/shared/output/cloud/language_v1beta2/README.md +++ b/shared/output/cloud/language_v1beta2/README.md @@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/language_wrapper/README.md b/shared/output/cloud/language_wrapper/README.md index de75a532f..392f982b3 100644 --- a/shared/output/cloud/language_wrapper/README.md +++ b/shared/output/cloud/language_wrapper/README.md @@ -74,7 +74,7 @@ working, try updating the versioned clients in your bundle or installed gems: ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/location/README.md b/shared/output/cloud/location/README.md index a6cf3e4fe..c7d89e8ee 100644 --- a/shared/output/cloud/location/README.md +++ b/shared/output/cloud/location/README.md @@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/noservice_cloud/README.md b/shared/output/cloud/noservice_cloud/README.md index dafa52056..c91379698 100644 --- a/shared/output/cloud/noservice_cloud/README.md +++ b/shared/output/cloud/noservice_cloud/README.md @@ -38,7 +38,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/secretmanager_v1beta1/README.md b/shared/output/cloud/secretmanager_v1beta1/README.md index 5b467b9a3..67e1a97e4 100644 --- a/shared/output/cloud/secretmanager_v1beta1/README.md +++ b/shared/output/cloud/secretmanager_v1beta1/README.md @@ -83,7 +83,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/secretmanager_wrapper/README.md b/shared/output/cloud/secretmanager_wrapper/README.md index 30fa4c0fd..093918b1e 100644 --- a/shared/output/cloud/secretmanager_wrapper/README.md +++ b/shared/output/cloud/secretmanager_wrapper/README.md @@ -84,7 +84,7 @@ working, try updating the versioned clients in your bundle or installed gems: ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/speech_v1/README.md b/shared/output/cloud/speech_v1/README.md index d53e4fb4b..dbac1b386 100644 --- a/shared/output/cloud/speech_v1/README.md +++ b/shared/output/cloud/speech_v1/README.md @@ -82,7 +82,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/cloud/vision_v1/README.md b/shared/output/cloud/vision_v1/README.md index bf801942a..adaa1a278 100644 --- a/shared/output/cloud/vision_v1/README.md +++ b/shared/output/cloud/vision_v1/README.md @@ -83,7 +83,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g ## Supported Ruby Versions -This library is supported on Ruby 3.0+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/gapic/templates/garbage/README.md b/shared/output/gapic/templates/garbage/README.md index e1351f522..9d45d535f 100644 --- a/shared/output/gapic/templates/garbage/README.md +++ b/shared/output/gapic/templates/garbage/README.md @@ -30,7 +30,7 @@ response = client.get_empty_garbage request ## Supported Ruby Versions -This library is supported on Ruby 3.1+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/gapic/templates/noservice/README.md b/shared/output/gapic/templates/noservice/README.md index dd6d5fbf0..27a2a4150 100644 --- a/shared/output/gapic/templates/noservice/README.md +++ b/shared/output/gapic/templates/noservice/README.md @@ -20,7 +20,7 @@ require "" ## Supported Ruby Versions -This library is supported on Ruby 3.1+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/gapic/templates/showcase/README.md b/shared/output/gapic/templates/showcase/README.md index 9a53ea744..0bf5897f6 100644 --- a/shared/output/gapic/templates/showcase/README.md +++ b/shared/output/gapic/templates/showcase/README.md @@ -24,7 +24,7 @@ response = client.repeat_data_body request ## Supported Ruby Versions -This library is supported on Ruby 3.1+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or diff --git a/shared/output/gapic/templates/testing/README.md b/shared/output/gapic/templates/testing/README.md index 52449d5cc..823ed6e63 100644 --- a/shared/output/gapic/templates/testing/README.md +++ b/shared/output/gapic/templates/testing/README.md @@ -24,7 +24,7 @@ response = client.no_retry_method request ## Supported Ruby Versions -This library is supported on Ruby 3.1+. +This library is supported on Ruby 3.2+. Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or