openfire_rest_api 0.2.0 → 0.2.1
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/openfire/api.rb +2 -2
- data/lib/openfire_rest_api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ff493c42b1fa2f69c09d564ac703702fa22c86f
|
4
|
+
data.tar.gz: d945019c048d502b8bba6e40ceeb1db2c445855b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15b1abc9b605b932818d2d89ac6ce648a2ef1a0af184e506482f45d34157cba35e4d9d6bbc61068795f8b0b04111ddc17a9fc81c81ef57bc32094527ceb57fb2
|
7
|
+
data.tar.gz: eae63c86a6f3b5f0a3a60a28dba79df33541709c18493d054ac4e84eed00d069d451f735730cd820f6da1da5ef2b0c07322b021763256cbc2deff9042fe0d964
|
data/CHANGELOG.md
CHANGED
data/lib/openfire/api.rb
CHANGED
@@ -5,8 +5,8 @@ module Openfire
|
|
5
5
|
@access_token = access_token
|
6
6
|
end
|
7
7
|
|
8
|
-
def get_users
|
9
|
-
request = web_request('GET', '/users',
|
8
|
+
def get_users(filters={})
|
9
|
+
request = web_request('GET', '/users', filters, default_headers)
|
10
10
|
request[:body]['user'].map { |x| Openfire::User.new(x) }
|
11
11
|
end
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openfire_rest_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matias Hick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.4.5.2
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Connect with openfire through rest api plugin
|