keycloak 2.2.5 → 2.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d189f823216b37635131258bfa9b5cbcd6a82bad
4
- data.tar.gz: c5384a3e5c3c106389268ae8e6e3d86ed90482af
3
+ metadata.gz: c3cf0cef2dddfb71a5523771482070cbfdb0f1f2
4
+ data.tar.gz: 3c3df74b9abe3e1dfee0f3da3b517609896daa99
5
5
  SHA512:
6
- metadata.gz: 9b9c6ab1860f5d38ba8c250ed1dd4bb96546e2c5b6e6d9a8fe88f933bbe7ae2e7b92cd10985b5de1ff6b613671e7fbac2c7d43ba3702566b802d9d33b532a6d4
7
- data.tar.gz: 7023508ba14efe5f1f2d2925b4238826dedba881775d2aa8fd089f4af56b24b496e0461fdbc7d2446db65274dd72777072a562504ed6549db4d9909743499989
6
+ metadata.gz: d99a16df3397bd6f7c63094a479e46179b853a6f0d2e28234a5a563673b9901ab081af39ab4a5d2e607e99d7f1f918a662bf3c53b0e3d644ba2aace93238d8cb
7
+ data.tar.gz: b682f4f21d23eb5e9ac4f144581c5b0f3343595da7eb7b4c024f07ed7db00d513b818fa23e6c0678b5fb2102066ac3b11ea0eb2e57ae06582ededf513013ff4a
data/lib/keycloak.rb CHANGED
@@ -614,9 +614,9 @@ module Keycloak
614
614
  temporary: false,
615
615
  value: password }
616
616
 
617
- if Keycloak.generic_request(token["access_token"],
618
- Keycloak::Admin.full_url("users/#{user['id']}/reset-password"),
619
- nil, credential_representation, 'PUT')
617
+ if user['federationLink'] != nil || Keycloak.generic_request(token["access_token"],
618
+ Keycloak::Admin.full_url("users/#{user['id']}/reset-password"),
619
+ nil, credential_representation, 'PUT')
620
620
 
621
621
  client = JSON Keycloak.generic_request(token["access_token"],
622
622
  Keycloak::Admin.full_url("clients/"),
@@ -1,3 +1,3 @@
1
1
  module Keycloak
2
- VERSION = "2.2.5"
2
+ VERSION = "2.2.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keycloak
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.5
4
+ version: 2.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Portugues
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-21 00:00:00.000000000 Z
11
+ date: 2017-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler