ripple_keycloak 0.3.0 → 0.4.0

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
  SHA256:
3
- metadata.gz: 0465e924626cb7417019ac30ee91454ca1e47f9a24eebb058b911b16d8b83e8a
4
- data.tar.gz: d3f1e2d2de039024f846f1237653a557a6456d9b0c720b96fd9b8ac525e1a5d1
3
+ metadata.gz: 64e860ce988aa48ba826135a6a64201b222ac3c4e837d441e52e7dc3598a97cd
4
+ data.tar.gz: d6bf62c5eef815f0abeb1ccecef38772be4dbf97969b9bf480bfb811b5b812e7
5
5
  SHA512:
6
- metadata.gz: badf79173a112d8147a61b5fc36be666eb2b69bc4e8b9c1b9457b24a0ecaf5281d11a7cacb86f97b1e79833f354bad511363c599678fae36c02ff165ceb22a63
7
- data.tar.gz: 2da292ecdb66485761406b8e7151f008107720fcf6cebd86bccce8be5ee2f8b87b7dd9bb38f274371326d852d0a613404a2f11b45f83bfcd08d8e941fb7d9671
6
+ metadata.gz: 855513973954365758ce5a6fb22ead6d422a93a3dee4ee661d2741ca13c432155be0248c5c90ac1502e6dcd12505f404feaecc660c64bf85fda345128a24db3b
7
+ data.tar.gz: 3b57e8b24163d1bdbffc5c961d75e75f5175d51810012f61c648906d9d0ab66cef97320ad24d19164f04558e4000e72ea47e22abb44f095fad902cd11a68925b
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Ollie Nye
3
+ Copyright (c) 2020 Hex Event Solutions Limited
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Ripple Keycloak
2
2
 
3
3
  ![Lint and test](https://github.com/hex-event-solutions/ripple_keycloak/workflows/Lint%20and%20test/badge.svg)
4
+ [![Gem Version](https://badge.fury.io/rb/ripple_keycloak.svg)](https://badge.fury.io/rb/ripple_keycloak)
4
5
 
5
6
  Slim interface focused on groups, roles and users for Keycloak's Admin REST API
6
7
 
@@ -10,7 +10,7 @@ module RippleKeycloak
10
10
  end
11
11
 
12
12
  def search(value)
13
- client.get("#{@object_type}?search=#{value}")
13
+ client.get("#{@object_type}?search=#{value}").parsed_response
14
14
  end
15
15
 
16
16
  def all(first: nil, max: nil)
@@ -18,11 +18,11 @@ module RippleKeycloak
18
18
  url += "first=#{first}&" if first
19
19
  url += "max=#{max}" if max
20
20
 
21
- client.get(url)
21
+ client.get(url).parsed_response
22
22
  end
23
23
 
24
24
  def find(id)
25
- client.get("#{@object_type}/#{id}")
25
+ client.get("#{@object_type}/#{id}").parsed_response
26
26
  end
27
27
 
28
28
  def find_by(field:, value:)
@@ -36,7 +36,7 @@ module RippleKeycloak
36
36
  end
37
37
 
38
38
  def delete(id)
39
- client.delete("#{@object_type}/#{id}")
39
+ client.delete("#{@object_type}/#{id}").parsed_response
40
40
  end
41
41
 
42
42
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RippleKeycloak
4
- VERSION = '0.3.0'
4
+ VERSION = '0.4.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ripple_keycloak
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hex Event Solutions Limited
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-18 00:00:00.000000000 Z
11
+ date: 2020-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport