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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/kinetic_sdk/core/lib/users.rb +12 -1
- data/lib/kinetic_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dfcd66e7c8773a12f2b7ddf6cf6cab0dd122c1e435ed0022a8061dc53e9a5391
|
|
4
|
+
data.tar.gz: 5cc5b32609b8ebb40129bc66cd0a28a4168b63820a61e76541d9382c899b30f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
data/lib/kinetic_sdk/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2021-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: slugify
|