Skip to content

Commit

Permalink
Patch for the changed yahoo login data.
Browse files Browse the repository at this point in the history
Rebuilding gem.
  • Loading branch information
loe committed Jul 11, 2008
1 parent 18f233e commit 41e941c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions contacts.gemspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Gem::Specification.new do |s|
s.name = "contacts"
s.version = "1.0.13"
s.date = "2008-06-05"
s.version = "1.0.14"
s.date = "2008-07-11"
s.summary = "A universal interface to grab contact list information from various providers including Yahoo, Gmail, Hotmail, and Plaxo."
s.email = "loe@onehub.com"
s.homepage = "http://github.com/loe/contacts"
s.homepage = "http://github.com/onehub/contacts"
s.description = "A universal interface to grab contact list information from various providers including Yahoo, Gmail, Hotmail, and Plaxo."
s.has_rdoc = false
s.authors = ["W. Andrew Loe III"]
Expand Down
2 changes: 1 addition & 1 deletion lib/contacts/yahoo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def real_connect
raise AuthenticationError, "Username and password do not match"
elsif data.index("Sign in") && data.index("to Yahoo!")
raise AuthenticationError, "Required field must not be blank"
elsif data != ""
elsif !data.match(/uncompressed\/chunked/)
raise ConnectionError, PROTOCOL_ERROR
elsif cookies == ""
raise ConnectionError, PROTOCOL_ERROR
Expand Down

0 comments on commit 41e941c

Please sign in to comment.