stytch 4.5.0 → 4.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/auto-publish.yml +57 -0
- data/lib/stytch/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9ca2dc75f2ca25b9f0609990b4c9df3599138f64eeefe06770fde654f70d55c
|
4
|
+
data.tar.gz: a139d8d8fb73144cbe19a71e54c8f9580e936b5ba2dbddfeeb68e3d86893ac59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b7b0d1c4cd0ffc3e78b9c683c8874c5752e6f0035c634304508b693512740b370ee0f3dcf4cb2c3d2d5492fbeb7c71f31c4bf9b6a019a8d448722df3ed76cc8
|
7
|
+
data.tar.gz: cf26ab05e75f8786d7323cdb66f4945a2d74f7ad2e2fb45df20ba42a03e0749f3dbb5328d19fdec13be8e5dfa145c4657828a25e31d1c64ef8e30771d03f6408
|
@@ -0,0 +1,57 @@
|
|
1
|
+
name: Publish RubyGem and GitHub release
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [main]
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
publish:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
name: Publish RubyGem and GitHub release
|
11
|
+
steps:
|
12
|
+
- uses: actions/checkout@v3
|
13
|
+
|
14
|
+
- uses: ruby/setup-ruby@v1
|
15
|
+
with:
|
16
|
+
ruby-version: 3.0.0
|
17
|
+
|
18
|
+
- name: Get version
|
19
|
+
id: version
|
20
|
+
run: |
|
21
|
+
VERSION=$(sed -n "s/.*VERSION = [\"']\(.*\)[\"'].*/\1/p" lib/stytch/version.rb)
|
22
|
+
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
23
|
+
echo "release_tag=v$VERSION" >> $GITHUB_OUTPUT
|
24
|
+
|
25
|
+
- name: Get changed files
|
26
|
+
id: files
|
27
|
+
uses: jitterbit/get-changed-files@v1
|
28
|
+
|
29
|
+
- name: Check for config.rb diff
|
30
|
+
id: diff
|
31
|
+
run: |
|
32
|
+
FOUND=0
|
33
|
+
for changed_file in ${{ steps.files.outputs.all }}; do
|
34
|
+
if [[ $changed_file == "lib/stytch/version.rb" ]]; then
|
35
|
+
FOUND=1
|
36
|
+
fi
|
37
|
+
done
|
38
|
+
echo "diff=$FOUND" >> $GITHUB_OUTPUT
|
39
|
+
|
40
|
+
- name: Publish RubyGem
|
41
|
+
if: steps.diff.outputs.diff != 0
|
42
|
+
env:
|
43
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
44
|
+
GEM_HOST_API_KEY: "${{ secrets.RUBYGEMS_AUTH_TOKEN }}"
|
45
|
+
run: |
|
46
|
+
mkdir -p $HOME/.gem
|
47
|
+
touch $HOME/.gem/credentials
|
48
|
+
chmod 0600 $HOME/.gem/credentials
|
49
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
50
|
+
gem build stytch.gemspec
|
51
|
+
gem push "stytch-${{ steps.version.outputs.version }}.gem"
|
52
|
+
|
53
|
+
- name: Create release
|
54
|
+
if: steps.diff.outputs.diff != 0
|
55
|
+
env:
|
56
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
57
|
+
run: gh release create "${{ steps.version.outputs.release_tag }}" --generate-notes
|
data/lib/stytch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stytch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.5.
|
4
|
+
version: 4.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stytch
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -92,13 +92,14 @@ dependencies:
|
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: 3.11.0
|
95
|
-
description:
|
95
|
+
description:
|
96
96
|
email:
|
97
97
|
- support@stytch.com
|
98
98
|
executables: []
|
99
99
|
extensions: []
|
100
100
|
extra_rdoc_files: []
|
101
101
|
files:
|
102
|
+
- ".github/workflows/auto-publish.yml"
|
102
103
|
- ".github/workflows/ruby.yml"
|
103
104
|
- ".gitignore"
|
104
105
|
- ".rspec"
|
@@ -141,7 +142,7 @@ licenses:
|
|
141
142
|
metadata:
|
142
143
|
homepage_uri: https://stytch.com
|
143
144
|
source_code_uri: https://github.com/stytchauth/stytch-ruby
|
144
|
-
post_install_message:
|
145
|
+
post_install_message:
|
145
146
|
rdoc_options: []
|
146
147
|
require_paths:
|
147
148
|
- lib
|
@@ -157,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
158
|
version: '0'
|
158
159
|
requirements: []
|
159
160
|
rubygems_version: 3.2.3
|
160
|
-
signing_key:
|
161
|
+
signing_key:
|
161
162
|
specification_version: 4
|
162
163
|
summary: Stytch Ruby Gem
|
163
164
|
test_files: []
|