contacts 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ require "thread"
8
8
 
9
9
  class Contacts
10
10
  TYPES = {}
11
- VERSION = "1.0.7"
11
+ VERSION = "1.0.8"
12
12
 
13
13
  class Base
14
14
  def initialize(login, password)
@@ -61,7 +61,7 @@ class Contacts
61
61
 
62
62
  # Default format.
63
63
  # ['Name', 'Email1', 'Email2', ...]
64
- @contacts = @contacts.map do |c|
64
+ @contacts = @contacts.delete_if {|c| c["Emails"].nil?}.map do |c|
65
65
  name, emails = c.values_at "Name", "Emails"
66
66
  emails = emails.first.values
67
67
  [name, emails].flatten
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: contacts
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.7
7
- date: 2007-11-20 00:00:00 -08:00
6
+ version: 1.0.8
7
+ date: 2007-11-26 00:00:00 -08:00
8
8
  summary: Ridiculously easy contact list information from various providers including Yahoo, Gmail, and Hotmail
9
9
  require_paths:
10
10
  - lib