ahoy 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ahoy/broadcast.rb +1 -1
  2. metadata +4 -4
@@ -19,7 +19,7 @@ module Ahoy
19
19
  def initialize(user)
20
20
  user.sign_in
21
21
  sleep 1
22
- @chats = user.contacts.map {|contact| user.chat(contact)}
22
+ @chats = user.contacts.map {|cont| user.chat(cont) rescue nil}.compact!
23
23
  end
24
24
 
25
25
  # :call-seq: broadcast.send(string) -> array
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ahoy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mat Sadler
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-07 00:00:00 +01:00
18
+ date: 2011-05-09 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency