From 32f7ca2684956bd24c13bbf80756c971b3b8af5c Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Mon, 23 Oct 2023 18:40:35 +0100 Subject: [PATCH 1/2] Update buildpack metadata in buildpack.toml Adjusts the buildpack `name`, `description` and `keywords` in `buildpack.toml` to match the style discussed in: https://github.com/heroku/cnb-builder-images/issues/408 These fields are used by the CNB registry and can also be seen in the output of `pack builder inspect`. They are not used by `pack build` or Kodon. In addition, I've cleaned up the `[metadata]` table/subtables to match the more concise style used by the Procfile and Python CNBs. GUS-W-14121598. --- buildpacks/ruby/CHANGELOG.md | 4 ++++ buildpacks/ruby/buildpack.toml | 16 +++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/buildpacks/ruby/CHANGELOG.md b/buildpacks/ruby/CHANGELOG.md index 25592af5..064dbc4f 100644 --- a/buildpacks/ruby/CHANGELOG.md +++ b/buildpacks/ruby/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Updated buildpack display name, description and keywords. ([#223](https://github.com/heroku/buildpack-ruby/pull/223)) + ## [2.1.0] - 2023-09-26 ### Added diff --git a/buildpacks/ruby/buildpack.toml b/buildpacks/ruby/buildpack.toml index f725927e..c39b67ae 100644 --- a/buildpacks/ruby/buildpack.toml +++ b/buildpacks/ruby/buildpack.toml @@ -3,10 +3,13 @@ api = "0.9" [buildpack] id = "heroku/ruby" version = "2.1.0" -name = "Ruby" +name = "Heroku Ruby" homepage = "https://github.com/heroku/buildpacks-ruby" -description = "Official Heroku buildpack for using Ruby to target Cloud Native Buildpack (CNB) builds." -keywords = ["ruby", "rails"] +description = "Heroku's buildpack for Ruby applications." +keywords = ["ruby", "rails", "heroku"] + +[[buildpack.licenses]] +type = "BSD-3-Clause" [[stacks]] id = "heroku-20" @@ -14,10 +17,5 @@ id = "heroku-20" [[stacks]] id = "heroku-22" -[[buildpack.licenses]] -type = "BSD-3-Clause" - -[metadata] [metadata.release] -[metadata.release.image] -repository = "docker.io/heroku/buildpack-ruby" +image = { repository = "docker.io/heroku/buildpack-ruby" } From 27bf0f474cac4cf47886d348c29de2d44644dc1c Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Mon, 23 Oct 2023 21:48:51 +0100 Subject: [PATCH 2/2] Update buildpacks/ruby/CHANGELOG.md Co-authored-by: Richard Schneeman --- buildpacks/ruby/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildpacks/ruby/CHANGELOG.md b/buildpacks/ruby/CHANGELOG.md index 064dbc4f..29df492c 100644 --- a/buildpacks/ruby/CHANGELOG.md +++ b/buildpacks/ruby/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Changed +### Fixed - Updated buildpack display name, description and keywords. ([#223](https://github.com/heroku/buildpack-ruby/pull/223))