gmail_contacts 1.2 → 1.3
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 +5 -0
- data/lib/gmail_contacts/test_stub.rb +6 -0
- data/lib/gmail_contacts.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
data/History.txt
CHANGED
|
@@ -188,10 +188,16 @@ class GData::Client::Contacts
|
|
|
188
188
|
auth_handler = Object.new
|
|
189
189
|
auth_handler.instance_variable_set :@revoked, nil
|
|
190
190
|
auth_handler.instance_variable_set :@upgraded, nil
|
|
191
|
+
auth_handler.instance_variable_set :@token, token
|
|
191
192
|
def auth_handler.revoke() @revoked = true end
|
|
192
193
|
def auth_handler.revoked?() @revoked end
|
|
193
194
|
def auth_handler.upgrade() @upgraded = true end
|
|
194
195
|
def auth_handler.upgraded?() @upgraded end
|
|
196
|
+
def auth_handler.token()
|
|
197
|
+
[@token,
|
|
198
|
+
(@revoked ? 'revoked' : nil),
|
|
199
|
+
(@upgraded ? 'upgraded' : nil)].compact.join '-'
|
|
200
|
+
end
|
|
195
201
|
self.auth_handler = auth_handler
|
|
196
202
|
end
|
|
197
203
|
|
data/lib/gmail_contacts.rb
CHANGED
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.
|
|
4
|
+
version: "1.3"
|
|
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-
|
|
33
|
+
date: 2009-05-06 00:00:00 -07:00
|
|
34
34
|
default_executable:
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
metadata.gz.sig
CHANGED
|
Binary file
|