rs.ge 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rs/requests/sys.rb +5 -2
- data/lib/rs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7546bf9f1d2d511ed338bc862dd77c8d10e99b04
|
4
|
+
data.tar.gz: 69662fd8244f94fdd104b983d7810f0aa486d064
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 447892ce8317a536843abf69cf2eb4aad5e9603dc21121c59e1596c79eb551a82e5d7ea1b1fdb8f15029b03257340b0e523b6c457cda78f16b070eebfed80301
|
7
|
+
data.tar.gz: d96847c6ff14c964d904210af20a1069eaae2d82b83ab1d837ddeb2e18781c43e8a01ad5bed168ef610634af5d0b12143af3f4e71b96f2cdfe42ed38c8b174c2
|
data/lib/rs/requests/sys.rb
CHANGED
@@ -43,8 +43,11 @@ module RS
|
|
43
43
|
raise 'illegal username/password'
|
44
44
|
else
|
45
45
|
users = []
|
46
|
-
response[:get_service_users_response][:get_service_users_result][:service_users][:service_user]
|
47
|
-
|
46
|
+
users_data = response[:get_service_users_response][:get_service_users_result][:service_users][:service_user]
|
47
|
+
if users_data.is_a?(Array)
|
48
|
+
users_data.each { |data| users << RS::User.extract(data) }
|
49
|
+
else
|
50
|
+
users << RS::User.extract(users_data)
|
48
51
|
end
|
49
52
|
users
|
50
53
|
end
|
data/lib/rs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rs.ge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitri Kurashvili
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|