gmail_contacts 1.3 → 1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ === 1.4 / 2009-05-13
2
+
3
+ * 1 minor enhancement
4
+ * Pass the token to GData in initialize to allow for revocation w/o fetch
5
+
1
6
  === 1.3 / 2009-05-06
2
7
 
3
8
  * 1 minor enhancement
@@ -10,7 +10,7 @@ require 'nokogiri'
10
10
 
11
11
  class GmailContacts
12
12
 
13
- VERSION = '1.3'
13
+ VERSION = '1.4'
14
14
 
15
15
  Contact = Struct.new :title, :emails, :ims, :phone_numbers, :addresses,
16
16
  :photo_url
@@ -80,6 +80,7 @@ class GmailContacts
80
80
  @contacts ||= []
81
81
 
82
82
  @contact_api = GData::Client::Contacts.new
83
+ @contact_api.authsub_token = @authsub_token
83
84
  end
84
85
 
85
86
  ##
@@ -122,7 +123,6 @@ class GmailContacts
122
123
 
123
124
  def get_token
124
125
  return if @session_token
125
- @contact_api.authsub_token = @authsub_token
126
126
  @contact_api.auth_handler.upgrade
127
127
  @session_token = true
128
128
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmail_contacts
3
3
  version: !ruby/object:Gem::Version
4
- version: "1.3"
4
+ version: "1.4"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -30,7 +30,7 @@ cert_chain:
30
30
  x52qPcexcYZR7w==
31
31
  -----END CERTIFICATE-----
32
32
 
33
- date: 2009-05-06 00:00:00 -07:00
33
+ date: 2009-05-13 00:00:00 -07:00
34
34
  default_executable:
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
Binary file