From bea7b2c99cb22f3eb79b644634526835093bc8af Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Fri, 23 Oct 2026 19:58:47 +0000 Subject: [PATCH] docs: link to the published Ruby version support policy in generated READMEs Generated READMEs paraphrased the Ruby support policy incorrectly, describing supported versions as those "not end of life". They now link to the published Supported Ruby versions policy instead. --- .../templates/cloud/gem/readme.text.erb | 10 ++++------ .../templates/cloud/wrapper_gem/readme.text.erb | 10 ++++------ gapic-generator/templates/default/gem/readme.text.erb | 10 ++++------ shared/output/cloud/compute_small/README.md | 10 ++++------ shared/output/cloud/compute_small_wrapper/README.md | 10 ++++------ shared/output/cloud/grafeas_v1/README.md | 10 ++++------ shared/output/cloud/language_v1/README.md | 10 ++++------ shared/output/cloud/language_v1beta1/README.md | 10 ++++------ shared/output/cloud/language_v1beta2/README.md | 10 ++++------ shared/output/cloud/language_wrapper/README.md | 10 ++++------ shared/output/cloud/location/README.md | 10 ++++------ shared/output/cloud/noservice_cloud/README.md | 10 ++++------ shared/output/cloud/secretmanager_v1beta1/README.md | 10 ++++------ shared/output/cloud/secretmanager_wrapper/README.md | 10 ++++------ shared/output/cloud/speech_v1/README.md | 10 ++++------ shared/output/cloud/vision_v1/README.md | 10 ++++------ shared/output/gapic/templates/garbage/README.md | 10 ++++------ shared/output/gapic/templates/noservice/README.md | 10 ++++------ shared/output/gapic/templates/showcase/README.md | 10 ++++------ shared/output/gapic/templates/testing/README.md | 10 ++++------ 20 files changed, 80 insertions(+), 120 deletions(-) diff --git a/gapic-generator-cloud/templates/cloud/gem/readme.text.erb b/gapic-generator-cloud/templates/cloud/gem/readme.text.erb index 6418c9a4f..02d2ca56a 100644 --- a/gapic-generator-cloud/templates/cloud/gem/readme.text.erb +++ b/gapic-generator-cloud/templates/cloud/gem/readme.text.erb @@ -119,12 +119,10 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. <%- if gem.wrapper_name -%> ## Which client should I use? 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 707374b65..d9c876db7 100644 --- a/gapic-generator-cloud/templates/cloud/wrapper_gem/readme.text.erb +++ b/gapic-generator-cloud/templates/cloud/wrapper_gem/readme.text.erb @@ -114,12 +114,10 @@ working, try updating the versioned clients in your bundle or installed gems: 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. ## Which client should I use? diff --git a/gapic-generator/templates/default/gem/readme.text.erb b/gapic-generator/templates/default/gem/readme.text.erb index 9c7d50e66..fdd415a4b 100644 --- a/gapic-generator/templates/default/gem/readme.text.erb +++ b/gapic-generator/templates/default/gem/readme.text.erb @@ -34,9 +34,7 @@ response = client.<%= method.name %> request 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. diff --git a/shared/output/cloud/compute_small/README.md b/shared/output/cloud/compute_small/README.md index c3e7dde46..c15872e4c 100644 --- a/shared/output/cloud/compute_small/README.md +++ b/shared/output/cloud/compute_small/README.md @@ -78,9 +78,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. diff --git a/shared/output/cloud/compute_small_wrapper/README.md b/shared/output/cloud/compute_small_wrapper/README.md index 9d70481a1..632c91d95 100644 --- a/shared/output/cloud/compute_small_wrapper/README.md +++ b/shared/output/cloud/compute_small_wrapper/README.md @@ -72,12 +72,10 @@ working, try updating the versioned clients in your bundle or installed gems: 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. ## Which client should I use? diff --git a/shared/output/cloud/grafeas_v1/README.md b/shared/output/cloud/grafeas_v1/README.md index b9cd1c879..1144ad923 100644 --- a/shared/output/cloud/grafeas_v1/README.md +++ b/shared/output/cloud/grafeas_v1/README.md @@ -76,12 +76,10 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. ## Which client should I use? diff --git a/shared/output/cloud/language_v1/README.md b/shared/output/cloud/language_v1/README.md index f5aa55086..2b9b14bb1 100644 --- a/shared/output/cloud/language_v1/README.md +++ b/shared/output/cloud/language_v1/README.md @@ -84,12 +84,10 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. ## Which client should I use? diff --git a/shared/output/cloud/language_v1beta1/README.md b/shared/output/cloud/language_v1beta1/README.md index 3000e0c54..dfcd465ce 100644 --- a/shared/output/cloud/language_v1beta1/README.md +++ b/shared/output/cloud/language_v1beta1/README.md @@ -84,12 +84,10 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. ## Which client should I use? diff --git a/shared/output/cloud/language_v1beta2/README.md b/shared/output/cloud/language_v1beta2/README.md index 303457833..fe8b56f89 100644 --- a/shared/output/cloud/language_v1beta2/README.md +++ b/shared/output/cloud/language_v1beta2/README.md @@ -78,9 +78,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. diff --git a/shared/output/cloud/language_wrapper/README.md b/shared/output/cloud/language_wrapper/README.md index 392f982b3..6dd5329fc 100644 --- a/shared/output/cloud/language_wrapper/README.md +++ b/shared/output/cloud/language_wrapper/README.md @@ -76,12 +76,10 @@ working, try updating the versioned clients in your bundle or installed gems: 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. ## Which client should I use? diff --git a/shared/output/cloud/location/README.md b/shared/output/cloud/location/README.md index c7d89e8ee..25eb889fd 100644 --- a/shared/output/cloud/location/README.md +++ b/shared/output/cloud/location/README.md @@ -78,9 +78,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. diff --git a/shared/output/cloud/noservice_cloud/README.md b/shared/output/cloud/noservice_cloud/README.md index c91379698..fb984e6c7 100644 --- a/shared/output/cloud/noservice_cloud/README.md +++ b/shared/output/cloud/noservice_cloud/README.md @@ -40,12 +40,10 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. ## Which client should I use? diff --git a/shared/output/cloud/secretmanager_v1beta1/README.md b/shared/output/cloud/secretmanager_v1beta1/README.md index 67e1a97e4..49f81584d 100644 --- a/shared/output/cloud/secretmanager_v1beta1/README.md +++ b/shared/output/cloud/secretmanager_v1beta1/README.md @@ -85,12 +85,10 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. ## Which client should I use? diff --git a/shared/output/cloud/secretmanager_wrapper/README.md b/shared/output/cloud/secretmanager_wrapper/README.md index 093918b1e..d263e97b6 100644 --- a/shared/output/cloud/secretmanager_wrapper/README.md +++ b/shared/output/cloud/secretmanager_wrapper/README.md @@ -86,12 +86,10 @@ working, try updating the versioned clients in your bundle or installed gems: 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. ## Which client should I use? diff --git a/shared/output/cloud/speech_v1/README.md b/shared/output/cloud/speech_v1/README.md index dbac1b386..6d5a5cfa1 100644 --- a/shared/output/cloud/speech_v1/README.md +++ b/shared/output/cloud/speech_v1/README.md @@ -84,12 +84,10 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. ## Which client should I use? diff --git a/shared/output/cloud/vision_v1/README.md b/shared/output/cloud/vision_v1/README.md index adaa1a278..1f86f7b3d 100644 --- a/shared/output/cloud/vision_v1/README.md +++ b/shared/output/cloud/vision_v1/README.md @@ -85,12 +85,10 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. ## Which client should I use? diff --git a/shared/output/gapic/templates/garbage/README.md b/shared/output/gapic/templates/garbage/README.md index 9d45d535f..6d18aaf3f 100644 --- a/shared/output/gapic/templates/garbage/README.md +++ b/shared/output/gapic/templates/garbage/README.md @@ -32,9 +32,7 @@ response = client.get_empty_garbage request 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. diff --git a/shared/output/gapic/templates/noservice/README.md b/shared/output/gapic/templates/noservice/README.md index 27a2a4150..f41851f45 100644 --- a/shared/output/gapic/templates/noservice/README.md +++ b/shared/output/gapic/templates/noservice/README.md @@ -22,9 +22,7 @@ require "" 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. diff --git a/shared/output/gapic/templates/showcase/README.md b/shared/output/gapic/templates/showcase/README.md index 0bf5897f6..29057a889 100644 --- a/shared/output/gapic/templates/showcase/README.md +++ b/shared/output/gapic/templates/showcase/README.md @@ -26,9 +26,7 @@ response = client.repeat_data_body request 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended. diff --git a/shared/output/gapic/templates/testing/README.md b/shared/output/gapic/templates/testing/README.md index 823ed6e63..eaa62939b 100644 --- a/shared/output/gapic/templates/testing/README.md +++ b/shared/output/gapic/templates/testing/README.md @@ -26,9 +26,7 @@ response = client.no_retry_method request 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 -in security maintenance, and not end of life. Older versions of Ruby _may_ -still work, but are unsupported and not recommended. See -https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby -support schedule. +Google provides official support for Ruby versions as described in the +[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) +policy. Older versions of Ruby _may_ still work, but are unsupported and not +recommended.