kinetic_sdk 5.0.17 → 5.0.18

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: 22cb95924787cf5b0110e15bafdb1a6b4ca85f0175773618646d1b32f4912b50
4
- data.tar.gz: ed52de6c6023256ad534e959d6e8282479cebc6282da90fef1c634387e962e4d
3
+ metadata.gz: dfcd66e7c8773a12f2b7ddf6cf6cab0dd122c1e435ed0022a8061dc53e9a5391
4
+ data.tar.gz: 5cc5b32609b8ebb40129bc66cd0a28a4168b63820a61e76541d9382c899b30f3
5
5
  SHA512:
6
- metadata.gz: a47c31339d5012c7f2c9f6416a32e461c52c2d8ec910bbde580b4c93b91e5a48463a507bfb769f87d27feccf47260b0c31bbb072b4f68748f0b0470e8eb6e4e2
7
- data.tar.gz: '09def9dcb3e52be8816ab584529e0e3c94ff1d900c34be6c19af450fb372de2d176409699f716bbef3cf30c2155bd9ae1f66d452b42086fba55dcc85040e89a1'
6
+ metadata.gz: 2a5dee48734bee20e4b7e28217d0e9ecb4ffb862e87cb5528957580845224326b4e3bef7d6479075c96c95a604acc325c0ef434ed1dfd11ed4d058a34a8e2885
7
+ data.tar.gz: bf57bcac5081d6dc31cf828564e58ec899d54fcbf3c8a118ab3a4064117440a5f0ac3b69d2cf9552624079e3bf732889fbe66dc00ea694e8dd2f5e2acc698e43
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## [5.0.18](https://github.com/kineticdata/kinetic-sdk-rb/tree/5.0.18) (2021-03-25)
4
+
5
+ **Implemented enhancements:**
6
+
7
+ - Implemented method to enable searching for users against the system api (find_users_in_system)
8
+
3
9
  ## [5.0.17](https://github.com/kineticdata/kinetic-sdk-rb/tree/5.0.17) (2021-02-25)
4
10
 
5
11
  **Implemented enhancements:**
@@ -166,10 +166,21 @@ module KineticSdk
166
166
  # @param headers [Hash] hash of headers to send, default is basic authentication and accept JSON content type
167
167
  # @return [KineticSdk::Utils::KineticHttpResponse] object, with +code+, +message+, +content_string+, and +content+ properties
168
168
  def find_users(params={}, headers=default_headers)
169
- @logger.info("Finding Users \"#{username}\"")
169
+ @logger.info("Finding Users")
170
170
  get("#{@api_url}/users", params, headers)
171
171
  end
172
172
 
173
+ # Find all users with the system api
174
+ #
175
+ # @param space_slug [String] slug of the space to find users in when using the system api
176
+ # @param params [Hash] Query parameters that are added to the URL, such as +include+
177
+ # @param headers [Hash] hash of headers to send, default is basic authentication and accept JSON content type
178
+ # @return [KineticSdk::Utils::KineticHttpResponse] object, with +code+, +message+, +content_string+, and +content+ properties
179
+ def find_users_in_system(space_slug, params={}, headers=default_headers)
180
+ @logger.info("Finding Users")
181
+ get("#{@api_url}/spaces/#{space_slug}/users", params, headers)
182
+ end
183
+
173
184
  # Find the user
174
185
  #
175
186
  # @param username [String] username of the user
@@ -3,5 +3,5 @@ module KineticSdk
3
3
  # Version of Kinetic SDK
4
4
  #
5
5
  # @return [String] Version of the SDK
6
- VERSION = "5.0.17"
6
+ VERSION = "5.0.18"
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kinetic_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.17
4
+ version: 5.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kinetic Data
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-25 00:00:00.000000000 Z
11
+ date: 2021-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slugify