Skip to content

Commit

Permalink
fix: release fixes
Browse files Browse the repository at this point in the history
- [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 <[email protected]>
  • Loading branch information
jmeridth committed Sep 18, 2023
1 parent 5f60652 commit 6ed7934
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion blueprinter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ['[email protected]']
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']

Expand Down

0 comments on commit 6ed7934

Please sign in to comment.