Skip to content

Commit e9bb737

Browse files
authored
Merge pull request #19 from Sage/new-release
Bump to 0.8.0 and switch to trusted publisher
2 parents d5c0786 + b3b7970 commit e9bb737

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010

11+
permissions:
12+
contents: write
13+
id-token: write
14+
1115
steps:
1216
- uses: actions/checkout@v6
1317

18+
- name: Configure trusted publishing credentials
19+
uses: rubygems/configure-rubygems-credentials@v1.0.0
20+
1421
- name: Publish to RubyGems
1522
run: |
16-
mkdir -p $HOME/.gem
17-
touch $HOME/.gem/credentials
18-
chmod 0600 $HOME/.gem/credentials
19-
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
2023
gem build hash_kit.gemspec
2124
gem push hash_kit-*.gem
22-
env:
23-
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# HashKit
22

3-
[![Build Status](https://travis-ci.org/Sage/hash_kit.svg?branch=master)](https://travis-ci.org/Sage/hash_kit)
4-
[![Maintainability](https://api.codeclimate.com/v1/badges/3ffb56b92ca96c783093/maintainability)](https://codeclimate.com/github/Sage/hash_kit/maintainability)
5-
[![Test Coverage](https://api.codeclimate.com/v1/badges/3ffb56b92ca96c783093/test_coverage)](https://codeclimate.com/github/Sage/hash_kit/test_coverage)
3+
[![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)
64
[![Gem Version](https://badge.fury.io/rb/hash_kit.svg)](https://badge.fury.io/rb/hash_kit)
75

86
Welcome to your HashKit! HashKit is a toolkit for working with Ruby Hashes.

lib/hash_kit/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Namespace
22
module HashKit
33
# :nodoc:
4-
VERSION = '0.7.0'
4+
VERSION = '0.8.0'
55
end

0 commit comments

Comments
 (0)