Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
java-version: 21
java-package: jre

- name: setup mise
uses: jdx/mise-action@6be3c7ed4c21d4f76b208d351d95aac273ebb76d # v5.2.4
with:
version: 2026.10.21

- name: install savant
run: |
curl -O https://repository.savantbuild.org/org/savantbuild/savant-core/2.0.0/savant-2.0.0.tar.gz
Expand All @@ -51,10 +56,6 @@ jobs:
21=${JAVA_HOME}
EOF

# Installs the version specified in the .ruby-version file in the repo root.
- name: install ruby
uses: ruby/setup-ruby@v1

- name: compile
shell: bash -l {0}
run: sb compile
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ jobs:
steps:
- uses: actions/checkout@v6

- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: setup mise
uses: jdx/mise-action@6be3c7ed4c21d4f76b208d351d95aac273ebb76d # v5.2.4
with:
bundler-cache: true
version: 2026.10.21

- name: bundle install
run: |
bundle install

- name: Generate docs
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
working-directory: .github/fusionauth
run: docker compose up -d

- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: setup mise
uses: jdx/mise-action@6be3c7ed4c21d4f76b208d351d95aac273ebb76d # v5.2.4
with:
bundler-cache: true
version: 2026.10.21
Comment thread
wied03 marked this conversation as resolved.
Resolved

- name: Waiting for FusionAuth App
run: timeout 30 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9011)" != "200" ]]; do sleep 5; done' || false
Expand Down
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
fusionauth_client (1.70.0)
fusionauth_client (1.71.0)

GEM
remote: https://rubygems.org/
Expand Down
30 changes: 2 additions & 28 deletions build.savant
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
/*
* Copyright (c) 2018-2024, FusionAuth, All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific
* language governing permissions and limitations under the License.
* Copyright (c) 2018-2026, FusionAuth, All Rights Reserved
*/

pubVersion = ""
project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.70.0", licenses: ["ApacheV2_0"]) {
project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.71.0", licenses: ["ApacheV2_0"]) {
workflow {
fetch {
cache()
Expand Down Expand Up @@ -48,15 +36,13 @@ target(name: "clean", description: "Cleans build directory") {

target(name: "compile", description: "Compiles the source code") {
ProcessBuilder pb = new ProcessBuilder('rake', 'build').inheritIO()
clearEnvironment(pb)
if (pb.start().waitFor() != 0) {
fail("Build failed")
}
}

target(name: "test", description: "Runs the project's unit tests", dependsOn: ["compile"]) {
ProcessBuilder pb = new ProcessBuilder('rake', 'test').inheritIO()
clearEnvironment(pb)
if (pb.start().waitFor() != 0) {
fail("Tests failed")
}
Expand All @@ -75,7 +61,6 @@ target(name: "bundle", description: "Builds the project release bundle", depends

target(name: "publish", description: "Publish the GEM file", dependsOn: ["clean", "compile"]) {
ProcessBuilder pb = new ProcessBuilder('gem', 'push', "pkg/fusionauth_client-${pubVersion}.gem").inheritIO()
clearEnvironment(pb)
if (pb.start().waitFor() != 0) {
fail("Gem push failed")
}
Expand All @@ -84,14 +69,3 @@ target(name: "publish", description: "Publish the GEM file", dependsOn: ["clean"
target(name: "release", description: "Releases a full version of the project", dependsOn: ["clean", "int"]) {
release.release()
}

/**
* Clears out the RBENV variables in the environment.
*
* @param pb THe ProcessBuilder to clear out.
*/
private static void clearEnvironment(ProcessBuilder pb) {
pb.environment().remove("RBENV_VERSION")
pb.environment().remove("RBENV_DIR")
pb.environment().remove("RBENV_ROOT")
}
2 changes: 1 addition & 1 deletion fusionauth_client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |spec|
spec.name = 'fusionauth_client'
spec.version = '1.70.0'
spec.version = '1.71.0'
spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)

Expand Down
50 changes: 50 additions & 0 deletions mise.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[tools]
ruby = "3.4"

[tasks.install]
description="Installs dependencies"
run = "bundle install"
Loading