fusionauth_client 1.56.0 → 1.57.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 +35 -24
- data/.github/workflows/test.yml +3 -0
- data/.ruby-version +1 -1
- data/Gemfile +3 -3
- data/Gemfile.lock +34 -17
- data/Rakefile +3 -3
- data/build.savant +1 -1
- data/doc/FusionAuth/FusionAuthClient.html +85 -205
- data/doc/created.rid +2 -2
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +0 -15
- data/fusionauth-ruby-client.iml +6 -6
- data/fusionauth_client.gemspec +1 -1
- data/lib/fusionauth/fusionauth_client.rb +101 -0
- data/run-act.sh +130 -0
- metadata +4 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1fcbe35eaa0eb551d930d3f89ed2dafd36e5566f152fcc04a4d33642e400816
|
4
|
+
data.tar.gz: ab420c4f0b66a3a2805998952c5f725e4ae32aadcf4490e2105b4ad4d28975d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0978f435eb9b13a1ac9e4cbfcff684b0d8d3eacab6f60131caa80060b3bcd5dcd66be9768fc0b3f714d30a8cfbc0c60b17ee9a63a2d258f427f0fa3cd5266082'
|
7
|
+
data.tar.gz: 0b8b35a0d0466374420128e5f4ffebcd1c4ed38930b7f62c048575174f749bb611ac5fef1ad4a912561740eae10f5a9ee9737f70840fa4109aee7bf68c6625f1
|
@@ -1,10 +1,4 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
# act pull_request [--input command=[command]] \
|
4
|
-
# --platform fusionauth-standard=[ecr-repo-name]/fusionauth-standard:latest] \
|
5
|
-
# --workflows ./.github/workflows/deploy.yaml \
|
6
|
-
# --env-file <(aws configure export-credentials --profile [aws-profile] --format env)
|
7
|
-
|
1
|
+
---
|
8
2
|
name: Deploy
|
9
3
|
|
10
4
|
on:
|
@@ -26,39 +20,57 @@ on:
|
|
26
20
|
|
27
21
|
permissions:
|
28
22
|
contents: read
|
23
|
+
id-token: write
|
29
24
|
|
30
25
|
jobs:
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
runs-on: fusionauth-standard
|
26
|
+
deploy:
|
27
|
+
runs-on: ubuntu-latest
|
28
|
+
defaults:
|
29
|
+
run:
|
30
|
+
shell: /usr/bin/bash -l -e -o pipefail {0}
|
37
31
|
steps:
|
38
32
|
- name: checkout
|
39
33
|
uses: actions/checkout@v4
|
40
34
|
|
35
|
+
- name: setup java
|
36
|
+
uses: actions/setup-java@v4
|
37
|
+
with:
|
38
|
+
distribution: temurin
|
39
|
+
java-version: 21
|
40
|
+
java-package: jre
|
41
|
+
|
42
|
+
- name: install savant
|
43
|
+
run: |
|
44
|
+
curl -O https://repository.savantbuild.org/org/savantbuild/savant-core/2.0.0/savant-2.0.0.tar.gz
|
45
|
+
tar xzvf savant-2.0.0.tar.gz
|
46
|
+
savant-2.0.0/bin/sb --version
|
47
|
+
SAVANT_PATH=$(realpath -s "./savant-2.0.0/bin")
|
48
|
+
echo "${SAVANT_PATH}" >> $GITHUB_PATH
|
49
|
+
mkdir -p ~/.savant/plugins
|
50
|
+
cat << EOF > ~/.savant/plugins/org.savantbuild.plugin.java.properties
|
51
|
+
21=${JAVA_HOME}
|
52
|
+
EOF
|
53
|
+
|
54
|
+
# Installs the version specified in the .ruby-version file in the repo root.
|
55
|
+
- name: install ruby
|
56
|
+
uses: ruby/setup-ruby@v1
|
57
|
+
|
41
58
|
- name: compile
|
42
59
|
shell: bash -l {0}
|
43
60
|
run: sb compile
|
44
61
|
|
45
|
-
|
46
|
-
if: |
|
47
|
-
github.event_name == 'workflow_dispatch' &&
|
48
|
-
(inputs.command == 'release' || inputs.command == 'publish')
|
49
|
-
runs-on: fusionauth-standard
|
50
|
-
steps:
|
51
|
-
- name: checkout
|
52
|
-
uses: actions/checkout@v4
|
62
|
+
### Everything below this line will only run on a workflow_dispatch
|
53
63
|
|
54
64
|
- name: set aws credentials
|
65
|
+
if: inputs.command == 'release' || inputs.command == 'publish'
|
55
66
|
uses: aws-actions/configure-aws-credentials@v4
|
56
67
|
with:
|
57
|
-
role-to-assume: arn:aws:iam::752443094709:role/
|
68
|
+
role-to-assume: arn:aws:iam::752443094709:role/gha-fusionauth-ruby-client
|
58
69
|
role-session-name: aws-auth-action
|
59
70
|
aws-region: us-west-2
|
60
71
|
|
61
72
|
- name: get secret
|
73
|
+
if: inputs.command == 'release' || inputs.command == 'publish'
|
62
74
|
run: |
|
63
75
|
while IFS=$'\t' read -r key value; do
|
64
76
|
echo "::add-mask::${value}"
|
@@ -71,6 +83,7 @@ jobs:
|
|
71
83
|
jq -r 'to_entries[] | [.key, .value] | @tsv')
|
72
84
|
|
73
85
|
- name: set gem credentials
|
86
|
+
if: inputs.command == 'release' || inputs.command == 'publish'
|
74
87
|
run: |
|
75
88
|
mkdir -p ~/.gem
|
76
89
|
echo ":rubygems_api_key: ${{ env.API_KEY }}" > ~/.gem/credentials
|
@@ -78,10 +91,8 @@ jobs:
|
|
78
91
|
|
79
92
|
- name: release to svn
|
80
93
|
if: inputs.command == 'release'
|
81
|
-
shell: bash -l {0}
|
82
94
|
run: sb release
|
83
95
|
|
84
96
|
- name: publish to rubygems
|
85
97
|
if: inputs.command == 'publish'
|
86
|
-
shell: bash -l {0}
|
87
98
|
run: sb publish
|
data/.github/workflows/test.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.4.2
|
data/Gemfile
CHANGED
@@ -13,10 +13,10 @@
|
|
13
13
|
# language governing permissions and limitations under the License.
|
14
14
|
|
15
15
|
source 'https://rubygems.org'
|
16
|
-
ruby '
|
16
|
+
ruby '3.4.2'
|
17
17
|
|
18
|
-
gem 'minitest', '~> 5.
|
19
|
-
gem 'rake', '~> 13.2'
|
18
|
+
gem 'minitest', '~> 5.25'
|
19
|
+
gem 'rake', '~> 13.2'
|
20
20
|
gem 'rdoc-markdown', '~> 0.4.2'
|
21
21
|
|
22
22
|
# Specify your gem's dependencies in fusionauth_client.gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,27 +1,39 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fusionauth_client (1.
|
4
|
+
fusionauth_client (1.57.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
cgi (0.4.
|
9
|
+
cgi (0.4.2)
|
10
|
+
date (3.4.1)
|
10
11
|
erb (2.2.3)
|
11
12
|
cgi
|
12
13
|
extralite-bundle (1.27)
|
13
|
-
minitest (5.
|
14
|
-
nokogiri (1.
|
14
|
+
minitest (5.25.5)
|
15
|
+
nokogiri (1.18.6-aarch64-linux-gnu)
|
15
16
|
racc (~> 1.4)
|
16
|
-
nokogiri (1.
|
17
|
+
nokogiri (1.18.6-aarch64-linux-musl)
|
17
18
|
racc (~> 1.4)
|
18
|
-
nokogiri (1.
|
19
|
+
nokogiri (1.18.6-arm-linux-gnu)
|
19
20
|
racc (~> 1.4)
|
20
|
-
|
21
|
+
nokogiri (1.18.6-arm-linux-musl)
|
22
|
+
racc (~> 1.4)
|
23
|
+
nokogiri (1.18.6-arm64-darwin)
|
24
|
+
racc (~> 1.4)
|
25
|
+
nokogiri (1.18.6-x86_64-darwin)
|
26
|
+
racc (~> 1.4)
|
27
|
+
nokogiri (1.18.6-x86_64-linux-gnu)
|
28
|
+
racc (~> 1.4)
|
29
|
+
nokogiri (1.18.6-x86_64-linux-musl)
|
30
|
+
racc (~> 1.4)
|
31
|
+
psych (5.2.3)
|
32
|
+
date
|
21
33
|
stringio
|
22
|
-
racc (1.
|
34
|
+
racc (1.8.1)
|
23
35
|
rake (13.2.1)
|
24
|
-
rdoc (6.
|
36
|
+
rdoc (6.13.0)
|
25
37
|
psych (>= 4.0.0)
|
26
38
|
rdoc-markdown (0.4.2)
|
27
39
|
erb (~> 2.0)
|
@@ -31,22 +43,27 @@ GEM
|
|
31
43
|
unindent (~> 1.0)
|
32
44
|
reverse_markdown (2.1.1)
|
33
45
|
nokogiri
|
34
|
-
stringio (3.1.
|
46
|
+
stringio (3.1.6)
|
35
47
|
unindent (1.0)
|
36
48
|
|
37
49
|
PLATFORMS
|
38
|
-
aarch64-linux
|
39
|
-
|
40
|
-
|
50
|
+
aarch64-linux-gnu
|
51
|
+
aarch64-linux-musl
|
52
|
+
arm-linux-gnu
|
53
|
+
arm-linux-musl
|
54
|
+
arm64-darwin
|
55
|
+
x86_64-darwin
|
56
|
+
x86_64-linux-gnu
|
57
|
+
x86_64-linux-musl
|
41
58
|
|
42
59
|
DEPENDENCIES
|
43
60
|
fusionauth_client!
|
44
|
-
minitest (~> 5.
|
45
|
-
rake (~> 13.2
|
61
|
+
minitest (~> 5.25)
|
62
|
+
rake (~> 13.2)
|
46
63
|
rdoc-markdown (~> 0.4.2)
|
47
64
|
|
48
65
|
RUBY VERSION
|
49
|
-
ruby
|
66
|
+
ruby 3.4.2p28
|
50
67
|
|
51
68
|
BUNDLED WITH
|
52
|
-
2.
|
69
|
+
2.6.2
|
data/Rakefile
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
|
-
require "
|
2
|
+
require "minitest/test_task"
|
3
3
|
|
4
|
-
|
4
|
+
Minitest::TestTask.create(:test) do |t|
|
5
5
|
t.libs << "test"
|
6
6
|
t.libs << "lib"
|
7
|
-
t.
|
7
|
+
t.test_globs = FileList['test/**/*test.rb']
|
8
8
|
end
|
9
9
|
|
10
10
|
task :default => :test
|
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.57.0", licenses: ["ApacheV2_0"]) {
|
19
19
|
workflow {
|
20
20
|
fetch {
|
21
21
|
cache()
|