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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21d27e53558d8a6a22a18c494ed7e4cc09535d2f
4
- data.tar.gz: 32810be8542a3c6b8aa2e2428b2aae9e3c419562
3
+ metadata.gz: 6a7ad5a46f4de6ad911a44319703cc28f717a78d
4
+ data.tar.gz: ca7287c95d14eefca948a2382dcc9785a05358f1
5
5
  SHA512:
6
- metadata.gz: 25bfcb99df2d527f2723f0ea6193e8de9de80145236659fd7830be4d075d136bebb5cb6df76ba3e16902afeba9d75273e90729c3143cc2364e2df3d2b620abec
7
- data.tar.gz: 01ecc9763010c6d87f3cea95db832be34e27bdcc0b708e0781ae01e46bbba4cae93052e66eed2c1407d99ba3400eb8b97f4b8b1d02aa9b1573eb22b94337461e
6
+ metadata.gz: b00d16f0a7797adb08533ffb1a72f635423b8e45eda5f34c20be047eedd38541cc1bd22d9d8c85e9e06bf365cb51d4b3c58b1305fee7a87155fed92d335f4d64
7
+ data.tar.gz: 8aa95e254fdfd5a4bccb9b056dfd5edf638f63215f54df749c343b7f6803f6a3a33ad703b711a9eee42f43a8dcad08082da25dbf57500eca1b05700df5a66155
@@ -22,11 +22,7 @@ module Gitter
22
22
  end
23
23
 
24
24
  def user_unread_messages(user_id, room_id)
25
- msg_list = []
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)
@@ -1,3 +1,3 @@
1
1
  module Gitter
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitter-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - chriskacerguis