gitter-client 0.2.2 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gitter/client/users.rb +1 -5
- data/lib/gitter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a7ad5a46f4de6ad911a44319703cc28f717a78d
|
4
|
+
data.tar.gz: ca7287c95d14eefca948a2382dcc9785a05358f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b00d16f0a7797adb08533ffb1a72f635423b8e45eda5f34c20be047eedd38541cc1bd22d9d8c85e9e06bf365cb51d4b3c58b1305fee7a87155fed92d335f4d64
|
7
|
+
data.tar.gz: 8aa95e254fdfd5a4bccb9b056dfd5edf638f63215f54df749c343b7f6803f6a3a33ad703b711a9eee42f43a8dcad08082da25dbf57500eca1b05700df5a66155
|
data/lib/gitter/client/users.rb
CHANGED
@@ -22,11 +22,7 @@ module Gitter
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def user_unread_messages(user_id, room_id)
|
25
|
-
|
26
|
-
self.class.get("/user/#{user_id}/rooms/#{room_id}/unreadItems", headers: @headers).each do |msg|
|
27
|
-
msg_list << Hashie::Mash.new(msg)
|
28
|
-
end
|
29
|
-
msg_list
|
25
|
+
Hashie::Mash.new(self.class.get("/user/#{user_id}/rooms/#{room_id}/unreadItems", headers: @headers))
|
30
26
|
end
|
31
27
|
|
32
28
|
def user_orgs(user_id)
|
data/lib/gitter/version.rb
CHANGED