From b3b7970670ef96b4414e35d7a832f558dde41892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20Rodr=C3=ADguez?= Date: Tue, 17 Feb 2026 14:31:41 +0100 Subject: [PATCH] Bump to 0.8.0 and switch to trusted publisher --- .github/workflows/publish.yml | 13 +++++++------ README.md | 4 +--- lib/hash_kit/version.rb | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1c88732..cb6e6d2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,16 +8,17 @@ jobs: publish: runs-on: ubuntu-latest + permissions: + contents: write + id-token: write + steps: - uses: actions/checkout@v6 + - name: Configure trusted publishing credentials + uses: rubygems/configure-rubygems-credentials@v1.0.0 + - name: Publish to RubyGems run: | - mkdir -p $HOME/.gem - touch $HOME/.gem/credentials - chmod 0600 $HOME/.gem/credentials - printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build hash_kit.gemspec gem push hash_kit-*.gem - env: - GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}" diff --git a/README.md b/README.md index 96a8e33..398783d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # HashKit -[![Build Status](https://travis-ci.org/Sage/hash_kit.svg?branch=master)](https://travis-ci.org/Sage/hash_kit) -[![Maintainability](https://api.codeclimate.com/v1/badges/3ffb56b92ca96c783093/maintainability)](https://codeclimate.com/github/Sage/hash_kit/maintainability) -[![Test Coverage](https://api.codeclimate.com/v1/badges/3ffb56b92ca96c783093/test_coverage)](https://codeclimate.com/github/Sage/hash_kit/test_coverage) +[![RSpec](https://github.com/Sage/hash_kit/actions/workflows/rspec.yml/badge.svg?branch=master)](https://github.com/Sage/hash_kit/actions/workflows/rspec.yml) [![Gem Version](https://badge.fury.io/rb/hash_kit.svg)](https://badge.fury.io/rb/hash_kit) Welcome to your HashKit! HashKit is a toolkit for working with Ruby Hashes. diff --git a/lib/hash_kit/version.rb b/lib/hash_kit/version.rb index e16a788..ccc4355 100644 --- a/lib/hash_kit/version.rb +++ b/lib/hash_kit/version.rb @@ -1,5 +1,5 @@ # Namespace module HashKit # :nodoc: - VERSION = '0.7.0' + VERSION = '0.8.0' end