fusionauth_client 1.50.0 → 1.51.0
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/deploy.yaml +87 -0
- data/.github/workflows/docs.yml +16 -16
- data/.github/workflows/test.yml +16 -14
- data/Gemfile.lock +1 -1
- data/build.savant +2 -2
- data/doc/created.rid +2 -2
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/fusionauth_client.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13fca66205c78f0e7713d67c9472b5b644b08666f2b0ff69b46997bb7d828511
|
4
|
+
data.tar.gz: b56c7c13048361ef7907e182710ca2c96182a28f446f5a7012ed9837c8c98e5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcf912401674250d3ce13a698b8579fa388b75b54823ecae30b9c073af9aaa15b93851a854578664b30a6eccd4d37cc109cf9a4dec11702776dbe9347403d0c6
|
7
|
+
data.tar.gz: 40c42731f45e9c80d8b0fa8cad3b757db9f01c7077e1f6911bb932274589d18184925ebc37fbd419b1d8035803dee7ebd1938773a8f5aa796f78aafb3a3959b5
|
@@ -0,0 +1,87 @@
|
|
1
|
+
# Run locally with act:
|
2
|
+
#
|
3
|
+
# act pull_request [--input command=[command]] \
|
4
|
+
# --platform fusionauth-builder=[ecr-repo-name]/fusionauth-builder:latest] \
|
5
|
+
# --workflows ./.github/workflows/release.yaml \
|
6
|
+
# --env-file <(aws configure export-credentials --profile [aws-profile] --format env)
|
7
|
+
|
8
|
+
name: Deploy
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches:
|
13
|
+
- main
|
14
|
+
pull_request:
|
15
|
+
branches:
|
16
|
+
- main
|
17
|
+
workflow_dispatch:
|
18
|
+
inputs:
|
19
|
+
command:
|
20
|
+
type: choice
|
21
|
+
options:
|
22
|
+
- build # build only
|
23
|
+
- publish # build & publish to rubygems
|
24
|
+
- release # build & release to svn
|
25
|
+
default: build
|
26
|
+
|
27
|
+
permissions:
|
28
|
+
contents: read
|
29
|
+
|
30
|
+
jobs:
|
31
|
+
build:
|
32
|
+
if: |
|
33
|
+
github.event_name == 'pull_request' ||
|
34
|
+
github.event_name == 'push' ||
|
35
|
+
github.event_name == 'workflow_dispatch' && inputs.command == 'build'
|
36
|
+
runs-on: fusionauth-builder
|
37
|
+
steps:
|
38
|
+
- name: checkout
|
39
|
+
uses: actions/checkout@v4
|
40
|
+
|
41
|
+
- name: compile
|
42
|
+
shell: bash -l {0}
|
43
|
+
run: sb compile
|
44
|
+
|
45
|
+
deploy:
|
46
|
+
if: |
|
47
|
+
github.event_name == 'workflow_dispatch' &&
|
48
|
+
(inputs.command == 'release' || inputs.command == 'publish')
|
49
|
+
runs-on: fusionauth-builder
|
50
|
+
steps:
|
51
|
+
- name: checkout
|
52
|
+
uses: actions/checkout@v4
|
53
|
+
|
54
|
+
- name: set aws credentials
|
55
|
+
uses: aws-actions/configure-aws-credentials@v4
|
56
|
+
with:
|
57
|
+
role-to-assume: arn:aws:iam::752443094709:role/github-actions
|
58
|
+
role-session-name: aws-auth-action
|
59
|
+
aws-region: us-west-2
|
60
|
+
|
61
|
+
- name: get secret
|
62
|
+
run: |
|
63
|
+
while IFS=$'\t' read -r key value; do
|
64
|
+
echo "::add-mask::${value}"
|
65
|
+
echo "${key}=${value}" >> $GITHUB_ENV
|
66
|
+
done < <(aws secretsmanager get-secret-value \
|
67
|
+
--region us-west-2 \
|
68
|
+
--secret-id platform/rubygems \
|
69
|
+
--query SecretString \
|
70
|
+
--output text | \
|
71
|
+
jq -r 'to_entries[] | [.key, .value] | @tsv')
|
72
|
+
|
73
|
+
- name: set gem credentials
|
74
|
+
run: |
|
75
|
+
mkdir -p ~/.gem
|
76
|
+
echo ":rubygems_api_key: ${{ env.API_KEY }}" > ~/.gem/credentials
|
77
|
+
chmod 600 ~/.gem/credentials
|
78
|
+
|
79
|
+
- name: release to svn
|
80
|
+
if: inputs.command == 'release'
|
81
|
+
shell: bash -l {0}
|
82
|
+
run: sb release
|
83
|
+
|
84
|
+
- name: publish to rubygems
|
85
|
+
if: inputs.command == 'publish'
|
86
|
+
shell: bash -l {0}
|
87
|
+
run: sb publish
|
data/.github/workflows/docs.yml
CHANGED
@@ -2,7 +2,8 @@ name: Generate Docs
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
5
|
-
branches:
|
5
|
+
branches:
|
6
|
+
- main
|
6
7
|
|
7
8
|
permissions:
|
8
9
|
contents: write
|
@@ -11,21 +12,20 @@ jobs:
|
|
11
12
|
build:
|
12
13
|
runs-on: ubuntu-latest
|
13
14
|
steps:
|
14
|
-
|
15
|
+
- uses: actions/checkout@v4
|
15
16
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
- name: Set up Ruby
|
18
|
+
uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
bundler-cache: true
|
20
21
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
- name: Commit
|
27
|
-
uses: EndBug/add-and-commit@v9
|
28
|
-
with:
|
29
|
-
add: 'doc/'
|
30
|
-
message: ':memo: Updating docs'
|
22
|
+
- name: Generate docs
|
23
|
+
run: |
|
24
|
+
rm -f doc/index.db
|
25
|
+
rdoc --format=markdown lib/fusionauth/fusionauth_client.rb
|
31
26
|
|
27
|
+
- name: Commit
|
28
|
+
uses: EndBug/add-and-commit@v9
|
29
|
+
with:
|
30
|
+
add: 'doc/'
|
31
|
+
message: ':memo: Updating docs'
|
data/.github/workflows/test.yml
CHANGED
@@ -2,9 +2,11 @@ name: Test Library
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
5
|
-
branches:
|
5
|
+
branches:
|
6
|
+
- main
|
6
7
|
pull_request:
|
7
|
-
branches:
|
8
|
+
branches:
|
9
|
+
- main
|
8
10
|
|
9
11
|
permissions:
|
10
12
|
contents: read
|
@@ -13,19 +15,19 @@ jobs:
|
|
13
15
|
build:
|
14
16
|
runs-on: ubuntu-latest
|
15
17
|
steps:
|
16
|
-
|
18
|
+
- uses: actions/checkout@v4
|
17
19
|
|
18
|
-
|
19
|
-
|
20
|
-
|
20
|
+
- name: Set up FusionAuth
|
21
|
+
working-directory: .github/fusionauth
|
22
|
+
run: docker compose up -d
|
21
23
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
24
|
+
- name: Set up Ruby
|
25
|
+
uses: ruby/setup-ruby@v1
|
26
|
+
with:
|
27
|
+
bundler-cache: true
|
26
28
|
|
27
|
-
|
28
|
-
|
29
|
+
- name: Waiting for FusionAuth App
|
30
|
+
run: timeout 30 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9011)" != "200" ]]; do sleep 5; done' || false
|
29
31
|
|
30
|
-
|
31
|
-
|
32
|
+
- name: Run test suite
|
33
|
+
run: rake test
|
data/Gemfile.lock
CHANGED
data/build.savant
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
pubVersion = ""
|
18
|
-
project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.
|
18
|
+
project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.51.0", licenses: ["ApacheV2_0"]) {
|
19
19
|
workflow {
|
20
20
|
fetch {
|
21
21
|
cache()
|
@@ -39,7 +39,7 @@ project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.50.0
|
|
39
39
|
}
|
40
40
|
|
41
41
|
// Plugins
|
42
|
-
file = loadPlugin(id: "org.savantbuild.plugin:file:2.0.0-RC.
|
42
|
+
file = loadPlugin(id: "org.savantbuild.plugin:file:2.0.0-RC.7")
|
43
43
|
release = loadPlugin(id: "org.savantbuild.plugin:release-git:2.0.0-RC.6")
|
44
44
|
|
45
45
|
target(name: "clean", description: "Cleans build directory") {
|
data/doc/created.rid
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
lib/fusionauth/fusionauth_client.rb
|
1
|
+
Thu, 06 Jun 2024 22:24:58 +0000
|
2
|
+
lib/fusionauth/fusionauth_client.rb Thu, 06 Jun 2024 22:24:43 +0000
|
data/doc/js/navigation.js.gz
CHANGED
Binary file
|
data/doc/js/search_index.js.gz
CHANGED
Binary file
|
data/doc/js/searcher.js.gz
CHANGED
Binary file
|
data/fusionauth_client.gemspec
CHANGED
@@ -19,7 +19,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
19
19
|
|
20
20
|
Gem::Specification.new do |spec|
|
21
21
|
spec.name = 'fusionauth_client'
|
22
|
-
spec.version = '1.
|
22
|
+
spec.version = '1.51.0'
|
23
23
|
spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
|
24
24
|
spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
|
25
25
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fusionauth_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.51.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Pontarelli
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-06-06 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: This library contains the Ruby client library that helps you connect
|
15
15
|
your application to FusionAuth.
|
@@ -24,6 +24,7 @@ files:
|
|
24
24
|
- ".github/fusionauth/.env"
|
25
25
|
- ".github/fusionauth/docker-compose.yml"
|
26
26
|
- ".github/fusionauth/kickstart.json"
|
27
|
+
- ".github/workflows/deploy.yaml"
|
27
28
|
- ".github/workflows/docs.yml"
|
28
29
|
- ".github/workflows/test.yml"
|
29
30
|
- ".gitignore"
|
@@ -108,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
109
|
- !ruby/object:Gem::Version
|
109
110
|
version: '0'
|
110
111
|
requirements: []
|
111
|
-
rubygems_version: 3.
|
112
|
+
rubygems_version: 3.4.22
|
112
113
|
signing_key:
|
113
114
|
specification_version: 4
|
114
115
|
summary: The Ruby client library for FusionAuth
|