keycloak-admin 1.0.2 → 1.0.3

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: 5651d2f6cb0f65225b0d58aa8a6087098c79b98e3d2d92fa293efc584b65248e
4
- data.tar.gz: d737f6b39c07ccfb357ab41475308a6f155c490abdcdef077ba51c7fc3307870
3
+ metadata.gz: a677bd275fc1500031ac0a13adcc312a6eff5da4fc662292d616c9a3bb4d753c
4
+ data.tar.gz: 8600a6ceb17f1d9635a331d442c4696e7cdd672aa411136f63f42c9387b34158
5
5
  SHA512:
6
- metadata.gz: ee0a70fc6b10d9b687f73f6a0742780adf9310d12bbfb2ade247dfb8cebaa29b389cb830dfb75115979f3533573d5a2657264a4e805c040f4a98dec35b0366f5
7
- data.tar.gz: 2451d6bb9f6b5de496096b02fd181c53bc40e1a5749dbf990bc3b312a0d951e247976bf1cb93fb54f264cb95088b5c8c2d4ea779bdc542890e43837d28970e93
6
+ metadata.gz: 3716f93590b60ce198c746b606b63b0e6fb010544005792ec4f3d6b5e3cbcec47bc63ea689d330f68ba3befed19387896f11e01667f501180d9ada4d147f9fcf
7
+ data.tar.gz: 89c40af6666c161b44801bba87cad4ceca1bf73bc3d211be8755a00e334a56748a4495cc436d726c8d84e4ce155458437600cd35ef24f9b280a550ae3cc137ec
data/CHANGELOG.md CHANGED
@@ -5,7 +5,7 @@ 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.2] - 2022-03-11
8
+ ## [1.0.3] - 2022-03-11
9
9
 
10
10
  * Create `Client`
11
11
  * Create `Identity Provider` (Breaking change: `IdentityProviderRepresentation.configuration` has been renamed to `IdentityProviderRepresentation.config`)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- keycloak-admin (1.0.2)
4
+ keycloak-admin (1.0.3)
5
5
  http-cookie (~> 1.0, >= 1.0.3)
6
6
  rest-client (~> 2.0)
7
7
 
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.0.2"
15
+ gem "keycloak-admin", "1.0.3"
16
16
  ```
17
17
 
18
18
  ## Login
@@ -31,7 +31,7 @@ module KeycloakAdmin
31
31
 
32
32
  def get(internal_id_or_alias=nil)
33
33
  response = execute_http do
34
- RestClient::Resource.new(identity_providers_url, @configuration.rest_client_options).get(headers)
34
+ RestClient::Resource.new(identity_providers_url(internal_id_or_alias), @configuration.rest_client_options).get(headers)
35
35
  end
36
36
  IdentityProviderRepresentation.from_hash(JSON.parse(response))
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module KeycloakAdmin
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keycloak-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lorent Lempereur