From 6ed7934d1ad777068762d0e74179bc8e36191604 Mon Sep 17 00:00:00 2001 From: jmeridth Date: Mon, 18 Sep 2023 10:53:24 -0500 Subject: [PATCH] fix: release fixes - [x] remove Adam Hess from authors list (he is in Emeritus.md) - [x] add allowed_push_host to gemspec (error in GitHub action [here](https://github.com/procore-oss/blueprinter/actions/runs/6224839827/job/16893930265#step:7:17) - [x] add key to release gem action to match the key we setup in previous step (rubygems) Signed-off-by: jmeridth --- .github/workflows/release.yaml | 2 ++ blueprinter.gemspec | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b7c11d5a..8aa3218d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -33,3 +33,5 @@ jobs: token: ${{secrets.RUBY_GEMS_API_KEY}} - uses: fac/ruby-gem-push-action@81d77bf568ff6659d7fae0f0c5a036bb0aeacb1a # (latest, untagged) if: ${{ github.event_name == 'workflow_dispatch' || steps.version-file-changed.outputs.any_changed == 'true' }} + with: + key: rubygems diff --git a/blueprinter.gemspec b/blueprinter.gemspec index 23a78636..b9bf86c3 100644 --- a/blueprinter.gemspec +++ b/blueprinter.gemspec @@ -7,12 +7,13 @@ require 'blueprinter/version' Gem::Specification.new do |s| s.name = 'blueprinter' s.version = Blueprinter::VERSION - s.authors = ['Adam Hess', 'Derek Carter'] + s.authors = ['Derek Carter'] s.email = ['blueprinter@googlegroups.com'] s.homepage = 'https://github.com/procore-oss/blueprinter' s.summary = 'Simple Fast Declarative Serialization Library' s.description = 'Blueprinter is a JSON Object Presenter for Ruby that takes business objects and breaks them down into simple hashes and serializes them to JSON. It can be used in Rails in place of other serializers (like JBuilder or ActiveModelSerializers). It is designed to be simple, direct, and performant.' s.license = 'MIT' + s.metadata['allowed_push_host'] = 'https://rubygems.org' s.files = Dir['{app,config,db,lib}/**/*', 'CHANGELOG.md', 'MIT-LICENSE', 'Rakefile', 'README.md']