keycloak-admin 1.0.14 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Dockerfile +2 -2
- data/Gemfile.lock +3 -3
- data/README.md +1 -1
- data/lib/keycloak-admin/client/role_mapper_client.rb +7 -0
- data/lib/keycloak-admin/client/user_client.rb +1 -1
- data/lib/keycloak-admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f30a381496a82b5ca155376eadeaa9a2d100d7843b015adbb2a6eaa575547613
|
4
|
+
data.tar.gz: 28b7325e840da41621f9d3a40338db19aef80afd626b5048057f551b3ab7034d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74d5c91da160b07d00476f46fccd69e51a060bcf3d8a9b47bdb224dda3a6d2b5170684c426c8fecd0d3af7d7dc5fb12aeb4c9bd08632670b65d32d9be5bf5e12
|
7
|
+
data.tar.gz: 869e1a226ff33650e8fd5232fcd141b26e6478805df03dbf5fc11e43189be48d4aaafa88e2c5d29934b781365d5539947b734ddf301fa0c31fa5820732ef854a
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,14 @@ 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.0.16] - 2022-10-15
|
9
|
+
|
10
|
+
* Remove `rest-client` warning when adding a group (thanks to @tlloydthwaites)
|
11
|
+
|
12
|
+
## [1.0.15] - 2022-05-23
|
13
|
+
|
14
|
+
* Delete all "realm" roles mapped to a user
|
15
|
+
|
8
16
|
## [1.0.14] - 2022-03-30
|
9
17
|
|
10
18
|
* Update `Gemfile.lock` to avoid wrong CVE detections. The version of Rails should always be specified by the parent project. This change has no functional impact.
|
data/Dockerfile
CHANGED
@@ -8,6 +8,6 @@ COPY Gemfile /usr/src/app/
|
|
8
8
|
COPY Gemfile.lock /usr/src/app/
|
9
9
|
COPY keycloak-admin.gemspec /usr/src/app/
|
10
10
|
COPY lib/keycloak-admin/version.rb /usr/src/app/lib/keycloak-admin/
|
11
|
-
|
11
|
+
RUN bundle install
|
12
12
|
COPY . /usr/src/app
|
13
|
-
|
13
|
+
RUN bundle install
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
keycloak-admin (1.0.
|
4
|
+
keycloak-admin (1.0.16)
|
5
5
|
http-cookie (~> 1.0, >= 1.0.3)
|
6
6
|
rest-client (~> 2.1)
|
7
7
|
|
@@ -13,7 +13,7 @@ GEM
|
|
13
13
|
domain_name (0.5.20190701)
|
14
14
|
unf (>= 0.0.5, < 1.0.0)
|
15
15
|
http-accept (1.7.0)
|
16
|
-
http-cookie (1.0.
|
16
|
+
http-cookie (1.0.5)
|
17
17
|
domain_name (~> 0.5)
|
18
18
|
mime-types (3.4.1)
|
19
19
|
mime-types-data (~> 3.2015)
|
@@ -39,7 +39,7 @@ GEM
|
|
39
39
|
rspec-support (3.7.1)
|
40
40
|
unf (0.1.4)
|
41
41
|
unf_ext
|
42
|
-
unf_ext (0.0.8.
|
42
|
+
unf_ext (0.0.8.2)
|
43
43
|
|
44
44
|
PLATFORMS
|
45
45
|
ruby
|
data/README.md
CHANGED
@@ -13,6 +13,13 @@ module KeycloakAdmin
|
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
|
+
def remove_all_realm_roles
|
17
|
+
execute_http do
|
18
|
+
RestClient::Resource.new(realm_level_url, @configuration.rest_client_options).delete(headers)
|
19
|
+
end
|
20
|
+
true
|
21
|
+
end
|
22
|
+
|
16
23
|
def realm_level_url
|
17
24
|
"#{@user_resource.resource_url}/role-mappings/realm"
|
18
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: keycloak-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lorent Lempereur
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http-cookie
|