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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 817271c704c56e0f62dfd5ee99c6dbdd79353377ff6ea836e5bad191e2c2c7fa
4
- data.tar.gz: 1f6aee97af885e67a85c3c01d304bd3db663cc178d9e652ded072026580344c4
3
+ metadata.gz: e1fcbe35eaa0eb551d930d3f89ed2dafd36e5566f152fcc04a4d33642e400816
4
+ data.tar.gz: ab420c4f0b66a3a2805998952c5f725e4ae32aadcf4490e2105b4ad4d28975d5
5
5
  SHA512:
6
- metadata.gz: 483eca10733228fb337c283c964c37676d7e770cf365cfeefa90140766a52baa67d3b80ac45251b496978a36d6464435a16a585c91322e8507c01395ff74bed7
7
- data.tar.gz: d5a450ee453cf7987dd143841eb907c39fab24016f424dc131d51dae43c51265bec2fbfc71d5ddd3f4f3e244b17e8eaf99e18169a0b1d66a4a3accdb27db7aa8
6
+ metadata.gz: '0978f435eb9b13a1ac9e4cbfcff684b0d8d3eacab6f60131caa80060b3bcd5dcd66be9768fc0b3f714d30a8cfbc0c60b17ee9a63a2d258f427f0fa3cd5266082'
7
+ data.tar.gz: 0b8b35a0d0466374420128e5f4ffebcd1c4ed38930b7f62c048575174f749bb611ac5fef1ad4a912561740eae10f5a9ee9737f70840fa4109aee7bf68c6625f1
@@ -1,10 +1,4 @@
1
- # Run locally with act:
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
- 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-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
- deploy:
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/github-actions
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
@@ -3,10 +3,13 @@ name: Test Library
3
3
  on:
4
4
  push:
5
5
  branches:
6
+ - develop
6
7
  - main
7
8
  pull_request:
8
9
  branches:
10
+ - develop
9
11
  - main
12
+ workflow_dispatch:
10
13
 
11
14
  permissions:
12
15
  contents: read
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.5
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 '2.7.5'
16
+ ruby '3.4.2'
17
17
 
18
- gem 'minitest', '~> 5.22', '>= 5.22.3'
19
- gem 'rake', '~> 13.2', '>= 13.2.1'
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.56.0)
4
+ fusionauth_client (1.57.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- cgi (0.4.1)
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.22.3)
14
- nokogiri (1.15.6-aarch64-linux)
14
+ minitest (5.25.5)
15
+ nokogiri (1.18.6-aarch64-linux-gnu)
15
16
  racc (~> 1.4)
16
- nokogiri (1.15.6-arm64-darwin)
17
+ nokogiri (1.18.6-aarch64-linux-musl)
17
18
  racc (~> 1.4)
18
- nokogiri (1.15.6-x86_64-linux)
19
+ nokogiri (1.18.6-arm-linux-gnu)
19
20
  racc (~> 1.4)
20
- psych (5.1.2)
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.7.3)
34
+ racc (1.8.1)
23
35
  rake (13.2.1)
24
- rdoc (6.6.3.1)
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.0)
46
+ stringio (3.1.6)
35
47
  unindent (1.0)
36
48
 
37
49
  PLATFORMS
38
- aarch64-linux
39
- arm64-darwin-23
40
- x86_64-linux
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.22, >= 5.22.3)
45
- rake (~> 13.2, >= 13.2.1)
61
+ minitest (~> 5.25)
62
+ rake (~> 13.2)
46
63
  rdoc-markdown (~> 0.4.2)
47
64
 
48
65
  RUBY VERSION
49
- ruby 2.7.5p203
66
+ ruby 3.4.2p28
50
67
 
51
68
  BUNDLED WITH
52
- 2.4.22
69
+ 2.6.2
data/Rakefile CHANGED
@@ -1,10 +1,10 @@
1
1
  require "bundler/gem_tasks"
2
- require "rake/testtask"
2
+ require "minitest/test_task"
3
3
 
4
- Rake::TestTask.new(:test) do |t|
4
+ Minitest::TestTask.create(:test) do |t|
5
5
  t.libs << "test"
6
6
  t.libs << "lib"
7
- t.test_files = FileList['test/**/*test.rb']
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.56.0", licenses: ["ApacheV2_0"]) {
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()