googlecontacts 0.1.8 → 0.2.0
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/.gitignore +4 -0
- data/Gemfile +9 -0
- data/LICENSE +1 -1
- data/Rakefile +4 -47
- data/googlecontacts.gemspec +23 -0
- data/lib/google_contacts.rb +13 -15
- data/lib/google_contacts/auth.rb +5 -5
- data/lib/google_contacts/base.rb +38 -30
- data/lib/google_contacts/contact.rb +16 -5
- data/lib/google_contacts/group.rb +4 -2
- data/lib/google_contacts/proxies/emails.rb +15 -8
- data/lib/google_contacts/proxies/hash.rb +2 -2
- data/lib/google_contacts/proxies/tag.rb +1 -1
- data/lib/google_contacts/version.rb +3 -0
- data/lib/google_contacts/wrapper.rb +16 -16
- data/lib/googlecontacts.rb +1 -1
- data/spec/base_spec.rb +35 -35
- data/spec/contact_spec.rb +30 -30
- data/spec/group_spec.rb +5 -5
- data/spec/proxies/array_spec.rb +19 -19
- data/spec/proxies/emails_spec.rb +54 -52
- data/spec/proxies/hash_spec.rb +14 -14
- data/spec/proxies/tag_spec.rb +9 -8
- data/spec/spec_helper.rb +8 -15
- data/spec/wrapper_spec.rb +25 -25
- metadata +43 -88
- data/VERSION +0 -1
- data/spec/spec.opts +0 -2
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: googlecontacts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Pieter Noordhuis
|
@@ -15,121 +15,73 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
18
|
+
date: 2011-12-21 00:00:00 Z
|
20
19
|
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
name: rspec
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 13
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 2
|
33
|
-
- 9
|
34
|
-
version: 1.2.9
|
35
|
-
type: :development
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: fakeweb
|
39
|
-
prerelease: false
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ">="
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 15
|
46
|
-
segments:
|
47
|
-
- 1
|
48
|
-
- 2
|
49
|
-
- 8
|
50
|
-
version: 1.2.8
|
51
|
-
type: :development
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: mocha
|
55
|
-
prerelease: false
|
56
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
hash: 43
|
62
|
-
segments:
|
63
|
-
- 0
|
64
|
-
- 9
|
65
|
-
- 8
|
66
|
-
version: 0.9.8
|
67
|
-
type: :development
|
68
|
-
version_requirements: *id003
|
69
20
|
- !ruby/object:Gem::Dependency
|
70
21
|
name: activesupport
|
71
22
|
prerelease: false
|
72
|
-
requirement: &
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
73
24
|
none: false
|
74
25
|
requirements:
|
75
|
-
- -
|
26
|
+
- - ~>
|
76
27
|
- !ruby/object:Gem::Version
|
77
|
-
hash:
|
28
|
+
hash: 7
|
78
29
|
segments:
|
79
|
-
- 2
|
80
30
|
- 3
|
81
|
-
-
|
82
|
-
version:
|
31
|
+
- 0
|
32
|
+
version: "3.0"
|
83
33
|
type: :runtime
|
84
|
-
version_requirements: *
|
34
|
+
version_requirements: *id001
|
85
35
|
- !ruby/object:Gem::Dependency
|
86
36
|
name: nokogiri
|
87
37
|
prerelease: false
|
88
|
-
requirement: &
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
89
39
|
none: false
|
90
40
|
requirements:
|
91
|
-
- -
|
41
|
+
- - ~>
|
92
42
|
- !ruby/object:Gem::Version
|
93
|
-
hash:
|
43
|
+
hash: 3
|
94
44
|
segments:
|
95
45
|
- 1
|
96
|
-
-
|
97
|
-
-
|
98
|
-
version: 1.
|
46
|
+
- 5
|
47
|
+
- 0
|
48
|
+
version: 1.5.0
|
99
49
|
type: :runtime
|
100
|
-
version_requirements: *
|
50
|
+
version_requirements: *id002
|
101
51
|
- !ruby/object:Gem::Dependency
|
102
52
|
name: oauth
|
103
53
|
prerelease: false
|
104
|
-
requirement: &
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
105
55
|
none: false
|
106
56
|
requirements:
|
107
|
-
- -
|
57
|
+
- - ~>
|
108
58
|
- !ruby/object:Gem::Version
|
109
|
-
hash:
|
59
|
+
hash: 5
|
110
60
|
segments:
|
111
61
|
- 0
|
112
|
-
-
|
113
|
-
-
|
114
|
-
version: 0.
|
62
|
+
- 4
|
63
|
+
- 5
|
64
|
+
version: 0.4.5
|
115
65
|
type: :runtime
|
116
|
-
version_requirements: *
|
117
|
-
description:
|
118
|
-
email:
|
66
|
+
version_requirements: *id003
|
67
|
+
description:
|
68
|
+
email:
|
69
|
+
- pcnoordhuis@gmail.com
|
119
70
|
executables: []
|
120
71
|
|
121
72
|
extensions: []
|
122
73
|
|
123
|
-
extra_rdoc_files:
|
124
|
-
|
125
|
-
- README.rdoc
|
74
|
+
extra_rdoc_files: []
|
75
|
+
|
126
76
|
files:
|
127
77
|
- .autotest
|
128
78
|
- .document
|
79
|
+
- .gitignore
|
80
|
+
- Gemfile
|
129
81
|
- LICENSE
|
130
82
|
- README.rdoc
|
131
83
|
- Rakefile
|
132
|
-
-
|
84
|
+
- googlecontacts.gemspec
|
133
85
|
- lib/google_contacts.rb
|
134
86
|
- lib/google_contacts/auth.rb
|
135
87
|
- lib/google_contacts/base.rb
|
@@ -139,6 +91,7 @@ files:
|
|
139
91
|
- lib/google_contacts/proxies/emails.rb
|
140
92
|
- lib/google_contacts/proxies/hash.rb
|
141
93
|
- lib/google_contacts/proxies/tag.rb
|
94
|
+
- lib/google_contacts/version.rb
|
142
95
|
- lib/google_contacts/wrapper.rb
|
143
96
|
- lib/googlecontacts.rb
|
144
97
|
- spec/assets/contacts_full.xml
|
@@ -152,11 +105,9 @@ files:
|
|
152
105
|
- spec/proxies/emails_spec.rb
|
153
106
|
- spec/proxies/hash_spec.rb
|
154
107
|
- spec/proxies/tag_spec.rb
|
155
|
-
- spec/spec.opts
|
156
108
|
- spec/spec_helper.rb
|
157
109
|
- spec/wrapper_spec.rb
|
158
|
-
|
159
|
-
homepage: http://github.com/pietern/googlecontacts
|
110
|
+
homepage: ""
|
160
111
|
licenses: []
|
161
112
|
|
162
113
|
post_install_message:
|
@@ -184,12 +135,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
135
|
version: "0"
|
185
136
|
requirements: []
|
186
137
|
|
187
|
-
rubyforge_project:
|
188
|
-
rubygems_version: 1.
|
138
|
+
rubyforge_project: googlecontacts
|
139
|
+
rubygems_version: 1.8.11
|
189
140
|
signing_key:
|
190
141
|
specification_version: 3
|
191
|
-
summary: Contacts API
|
142
|
+
summary: Google Contacts API implementation
|
192
143
|
test_files:
|
144
|
+
- spec/assets/contacts_full.xml
|
145
|
+
- spec/assets/contacts_full_page1.xml
|
146
|
+
- spec/assets/contacts_full_page2.xml
|
147
|
+
- spec/assets/groups_full.xml
|
193
148
|
- spec/base_spec.rb
|
194
149
|
- spec/contact_spec.rb
|
195
150
|
- spec/group_spec.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.1.8
|
data/spec/spec.opts
DELETED