ehsso 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/02_release.yml +11 -12
- data/CHANGELOG.md +4 -0
- data/README.md +6 -0
- data/lib/ehsso/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78474617434e6d24addeef20df5cea2f193f858c233d80c06c9a5dcf43891536
|
|
4
|
+
data.tar.gz: 5b5a20eb87f5059234028faed9508f86fbadf4fb061e1ddf048b110041959b5e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 648fb5f32db29fe8f7694adc49b1ddc01307956eeabed1b7a86396b49828b5a82c4f161df027aea0265e2cf88199c8645e1d9f6cba6b2549e011ff1fa67944a3
|
|
7
|
+
data.tar.gz: df834d5550a94636da051dfce6ef88f89bf1abf4800c6803238358f7ff53fa33353f71a3acf59af8852c7a3ac4733a4556887d4ab8b1f312c8942aa292f8bd39
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
name: 02 - Release
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
5
7
|
|
|
6
8
|
jobs:
|
|
7
9
|
release:
|
|
8
10
|
runs-on: ubuntu-latest
|
|
11
|
+
permissions:
|
|
12
|
+
id-token: write
|
|
13
|
+
contents: write
|
|
9
14
|
|
|
10
15
|
steps:
|
|
11
16
|
- name: Checkout current code
|
|
@@ -19,14 +24,8 @@ jobs:
|
|
|
19
24
|
bundler-cache: true
|
|
20
25
|
cache-version: 1
|
|
21
26
|
|
|
22
|
-
- name:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
git config --global user.name "thomis"
|
|
28
|
-
mkdir ~/.gem
|
|
29
|
-
echo -e "---\n:rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}" > ~/.gem/credentials
|
|
30
|
-
chmod 600 ~/.gem/credentials
|
|
31
|
-
bundle exec rake release
|
|
32
|
-
rm ~/.gem/credentials
|
|
27
|
+
- name: Build gem
|
|
28
|
+
run: gem build *.gemspec
|
|
29
|
+
|
|
30
|
+
- name: Push to Rubygems
|
|
31
|
+
uses: rubygems/release-gem@v1
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -172,6 +172,12 @@ class ApplicationController < ActionController::Base
|
|
|
172
172
|
end
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
+
## Publishing
|
|
176
|
+
|
|
177
|
+
This project uses [Trusted Publishing](https://guides.rubygems.org/trusted-publishing/) to securely publish gems to RubyGems.org. Trusted Publishing eliminates the need for long-lived API tokens by using OpenID Connect (OIDC) to establish a trusted relationship between GitHub Actions and RubyGems.org.
|
|
178
|
+
|
|
179
|
+
With Trusted Publishing configured, gem releases are automatically published to RubyGems when the release workflow runs, providing a more secure and streamlined publishing process.
|
|
180
|
+
|
|
175
181
|
## Contributing
|
|
176
182
|
|
|
177
183
|
Bug reports and pull requests are welcome on GitHub at https://github.com/thomis/ehsso.
|
data/lib/ehsso/version.rb
CHANGED