keycloak-admin 0.6.1 → 0.6.2

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
  SHA1:
3
- metadata.gz: fce57d72b76ad0af7fe823e6dfa4871c71837ff4
4
- data.tar.gz: 741c2f6c0fcf4a1e474a1790a06eb1ccdadcff01
3
+ metadata.gz: 286ca6b3592ab7df61ec1f615a0acfa56936764b
4
+ data.tar.gz: 19359845aa7f6605227a4af1a4455abf33490db1
5
5
  SHA512:
6
- metadata.gz: 84964e130793f44dc6822226faedb5d4ecff6357ac86835f3b64c8b77091c3c9a020aecea667069b3ddb4a46f7694c74dd87b2ddc4e6fb414b478de4aca507f0
7
- data.tar.gz: 5d168422e6cdb800352139abc24dbfc3852ff5a5e2972797d0d4058b66fa37eb54c7ae83b9a5df804063df385e51db10b4d50d90138be91fe0a20a78461da07d
6
+ metadata.gz: 14b9a9e76f3d562f5bd6932f4690def61ac0fc520cf7a5a67d96f38cb58f3c0c2a37c488168f8c25601a4c0821081a4aa383542f2d3ede88afffd194524a7f64
7
+ data.tar.gz: db0bb385796199b67460e3575b87f88d1d4a7d5818612c90ce673f593047cc34c18932d12785e533fa08dd438eb31f82dba52b3869b3c712a4d120968d412154
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- keycloak-admin (0.6.1)
4
+ keycloak-admin (0.6.2)
5
5
  http-cookie (~> 1.0, >= 1.0.3)
6
6
 
7
7
  GEM
@@ -28,7 +28,7 @@ GEM
28
28
  rspec-support (3.7.0)
29
29
  unf (0.1.4)
30
30
  unf_ext
31
- unf_ext (0.0.7.6)
31
+ unf_ext (0.0.7.5)
32
32
 
33
33
  PLATFORMS
34
34
  ruby
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", "0.6.1"
15
+ gem "keycloak-admin", "0.6.2"
16
16
  ```
17
17
 
18
18
  ## Login
@@ -123,6 +123,8 @@ KeycloakAdmin.realm("a_realm").users.update("05c135c6-5ad8-4e17-b1fa-635fc089fd7
123
123
  })
124
124
  ```
125
125
 
126
+ KeycloakAdmin.realm("commuty").users.update("05c135c6-5ad8-4e17-b1fa-635fc089fd71", { email: "hello@gmail.com" })
127
+
126
128
  ### Create and save a user with password and a locale
127
129
 
128
130
  Returns the created user of type `KeycloakAdmin::UserRepresentation`.
@@ -19,7 +19,7 @@ module KeycloakAdmin
19
19
  end
20
20
 
21
21
  def update(user_id, user_representation_body)
22
- RestClient.put(users_url(user_id), user_representation.to_json, headers)
22
+ RestClient.put(users_url(user_id), user_representation_body.to_json, headers)
23
23
  end
24
24
 
25
25
  def search(query)
@@ -1,3 +1,3 @@
1
1
  module KeycloakAdmin
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
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: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lorent Lempereur