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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a00878a336f2139033487d13fd9776ce0f2443cfc68e5e53fd11f603f1a87da
4
- data.tar.gz: 4c0243c10aa788883ea9c1b49389e561cda4d7cbf8fd330d65bf453f8a8773a7
3
+ metadata.gz: 5afa6693c3b93d59f924c6d2bc56e0577ce1a3316699e95746d8001613aba868
4
+ data.tar.gz: 4e059fd5647fa035e0c893df2dfc7e561d4fba412eb8a5a1c349ac9feb1549ca
5
5
  SHA512:
6
- metadata.gz: 4de2908304fe5e24b2d49e8c44ac18a612d1fe676f1a8a842508c8a3a3a88421d7b45a586152bd0be8b0c201e3856a6f0201acfdc0f4f63bb94b94c44a3bbd33
7
- data.tar.gz: d5fa86fbe900c68b06fdfb80a90e0d5cc202672819727976ecb5876e1d4052011f79d7dcc9a054d80329b1f8c10c32a0f16bcb6046c522dbbf256c70e93e21eb
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
 
@@ -1,3 +1,3 @@
1
1
  module DiscourseApi
2
- VERSION = "0.29.0"
2
+ VERSION = "0.30.0"
3
3
  end
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.29.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-07 00:00:00.000000000 Z
14
+ date: 2018-12-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: faraday