discourse_api 0.29.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/discourse_api/api/users.rb +2 -2
- data/lib/discourse_api/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: 5afa6693c3b93d59f924c6d2bc56e0577ce1a3316699e95746d8001613aba868
|
4
|
+
data.tar.gz: 4e059fd5647fa035e0c893df2dfc7e561d4fba412eb8a5a1c349ac9feb1549ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40f8264e3b6d5ba9ec4165f2b4bb6143acce3621135b5dde2fb376bf06f544d158f6596cb9d6b69df6e653ad239ca988fe5a14b0c2a80d274e9fdeadd4849c6b
|
7
|
+
data.tar.gz: 18222305403f41ab22dfb35aa076b5eaeb60a0839c490de093dfddc99c1419ea2101a1f51209ae52300330ca62b12a733e04fafde42d201bfbb041a59aece7dc
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
|
+
## [0.30.0] - 2018-12-19
|
6
|
+
### Added
|
7
|
+
- Add params hash to `list_users`
|
8
|
+
|
5
9
|
## [0.29.0] - 2018-12-07
|
6
10
|
### Added
|
7
11
|
- Add `add_groups` and `remove_groups` to `sync_sso`
|
@@ -61,8 +61,8 @@ module DiscourseApi
|
|
61
61
|
post("/admin/users/invite_admin", args)
|
62
62
|
end
|
63
63
|
|
64
|
-
def list_users(type)
|
65
|
-
response = get("admin/users/list/#{type}.json")
|
64
|
+
def list_users(type, params = {})
|
65
|
+
response = get("admin/users/list/#{type}.json", params)
|
66
66
|
response[:body]
|
67
67
|
end
|
68
68
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discourse_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-12-
|
14
|
+
date: 2018-12-19 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: faraday
|