keycloak-admin 1.1.7 → 1.2.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: 0e12885f5810b15fdc63cc227cb48c1e5a730b6328d3021e4de319d1859fb996
4
- data.tar.gz: 5b691cf6498c9754c8778ed043501c94620ef0ca3a7649ae1e2d8ebf310047c8
3
+ metadata.gz: cdb86e769e4a945994d979061cd6b44cb49fd40dd72c2c2b4ff40470e4386dc7
4
+ data.tar.gz: caaf2546d1802ec1b837d4f7bc43878c32a107978e61ea6e51e33e99a3fc0a3f
5
5
  SHA512:
6
- metadata.gz: 552d1b3896305cbe8799ca2627631f049fe8a526b3450fec6c4a360dd9ac2139185b91e642973acf2ee9c1af2bdf49073e5cf66c2eafbc3d5a72c8749331cb53
7
- data.tar.gz: 2fbd6f1e6034c0654ac56b856d67fc975fab74a6642071e0bb6f5e8fcdd0b2989042ee2a6aef735e767ca6a9ba53d471870e58b97d1cd71df68b62036677eea4
6
+ metadata.gz: 96e7940acc1d832bf9ff990642cec3a470450ea6bf19259cc301d080b48b8cea95cd668c2ca9b63e818769e1b67904d3d1b6e0c1ef2fe932ecd0919a0e10ec47
7
+ data.tar.gz: 01eecef72d13cb4f47d7387f21ee4dd70d7eb54275ae4738828bd57b2d21d193a1ef1ca03b330d06840a5d6192771b7204ed1131ba5e26b5087d8dc01f988a1f
@@ -19,25 +19,37 @@ permissions:
19
19
  jobs:
20
20
  test:
21
21
  runs-on: ubuntu-latest
22
- services:
23
- keycloak:
24
- image: tillawy/keycloak-github-actions:25.0.1
25
- ports:
26
- - 8080:8080
27
- options: '--health-cmd "exec 3<>/dev/tcp/localhost/8080" --health-interval 5s --health-timeout 5s --health-retries 10 --health-start-period 100s'
28
- env:
29
- KEYCLOAK_ADMIN: "admin"
30
- KEYCLOAK_ADMIN_PASSWORD: "admin"
31
- KC_HOSTNAME: "http://localhost:8080"
32
- KC_HOSTNAME_ADMIN: "http://localhost:8080"
33
- KC_HTTP_ENABLED: "true"
34
- KC_DB: "dev-file"
35
22
 
36
23
  strategy:
37
24
  matrix:
38
25
  ruby-version: ['3.2']
39
26
 
40
27
  steps:
28
+ - name: Start Keycloak
29
+ run: |
30
+ docker run -d --name keycloak -p 8080:8080 \
31
+ -e KC_BOOTSTRAP_ADMIN_USERNAME=admin \
32
+ -e KC_BOOTSTRAP_ADMIN_PASSWORD=admin \
33
+ -e KC_HOSTNAME=http://localhost:8080 \
34
+ -e KC_HOSTNAME_ADMIN=http://localhost:8080 \
35
+ -e KC_HTTP_ENABLED=true \
36
+ -e KC_DB=dev-file \
37
+ quay.io/keycloak/keycloak:26.7.0 \
38
+ start-dev
39
+
40
+ - name: Wait for Keycloak to be ready
41
+ run: |
42
+ for i in $(seq 1 30); do
43
+ if curl --silent --fail http://localhost:8080/realms/master > /dev/null; then
44
+ echo "Keycloak is ready"
45
+ exit 0
46
+ fi
47
+ sleep 5
48
+ done
49
+ echo "Keycloak did not become ready in time"
50
+ docker logs keycloak
51
+ exit 1
52
+
41
53
  - name: create realm
42
54
  run: |
43
55
  TOKEN=$(curl --silent --location --request POST "http://localhost:8080/realms/master/protocol/openid-connect/token" \
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.2.0] - 2026-07-30
9
+
10
+ * [Chore] Bump `http-cookie` dependency from 1.1.0 to 1.1.6.
11
+ * [Chore] Upgrade Docker base image from `ruby:3.2.2-slim-bullseye` to `ruby:3.3.12-slim-trixie`.
12
+ * [Chore] CI now boots Keycloak 26.7.0 (`quay.io/keycloak/keycloak`) instead of the abandoned `tillawy/keycloak-github-actions:25.0.1`
13
+
8
14
  ## [1.1.7] - 2026-03-27
9
15
 
10
16
  * [Feature] Client scopes - supported operations: `create!`, `get`, `delete`, `list`, and `search`.
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ruby:3.2.2-slim-bullseye
1
+ FROM ruby:3.3.12-slim-trixie
2
2
 
3
3
  RUN apt-get update -qq && apt-get install -y build-essential git ruby-dev && apt-get clean && \
4
4
  mkdir -p /usr/src/app/lib/keycloak-admin
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- keycloak-admin (1.1.7)
4
+ keycloak-admin (1.2.0)
5
5
  http-cookie (~> 1.0, >= 1.0.3)
6
6
  rest-client (~> 2.0)
7
7
 
@@ -13,14 +13,14 @@ GEM
13
13
  diff-lcs (1.6.2)
14
14
  domain_name (0.6.20240107)
15
15
  http-accept (1.7.0)
16
- http-cookie (1.1.0)
16
+ http-cookie (1.1.6)
17
17
  domain_name (~> 0.5)
18
18
  io-console (0.8.2)
19
19
  logger (1.7.0)
20
20
  mime-types (3.7.0)
21
21
  logger
22
22
  mime-types-data (~> 3.2025, >= 3.2025.0507)
23
- mime-types-data (3.2026.0317)
23
+ mime-types-data (3.2026.0701)
24
24
  netrc (0.11.0)
25
25
  reline (0.6.3)
26
26
  io-console (~> 0.5)
@@ -52,4 +52,4 @@ DEPENDENCIES
52
52
  rspec (= 3.13.2)
53
53
 
54
54
  BUNDLED WITH
55
- 2.1.4
55
+ 2.7.2
data/README.md CHANGED
@@ -12,7 +12,7 @@ This gem *does not* require Rails.
12
12
  For example, using `bundle`, add this line to your Gemfile.
13
13
 
14
14
  ```ruby
15
- gem "keycloak-admin", "1.1.6"
15
+ gem "keycloak-admin", "1.2.0"
16
16
  ```
17
17
 
18
18
  ## Login
@@ -1,3 +1,3 @@
1
1
  module KeycloakAdmin
2
- VERSION = "1.1.7"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keycloak-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lorent Lempereur
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-03-27 00:00:00.000000000 Z
10
+ date: 2026-07-30 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: http-cookie
@@ -188,7 +187,6 @@ homepage: https://github.com/looorent/keycloak-admin-ruby
188
187
  licenses:
189
188
  - MIT
190
189
  metadata: {}
191
- post_install_message:
192
190
  rdoc_options: []
193
191
  require_paths:
194
192
  - lib
@@ -203,8 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
201
  - !ruby/object:Gem::Version
204
202
  version: '0'
205
203
  requirements: []
206
- rubygems_version: 3.0.3.1
207
- signing_key:
204
+ rubygems_version: 3.6.2
208
205
  specification_version: 4
209
206
  summary: Keycloak Admin REST API client written in Ruby
210
207
  test_files: []