fullcontacter 0.3.2

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.
Files changed (74) hide show
  1. data/.document +5 -0
  2. data/.gitignore +53 -0
  3. data/.rspec +3 -0
  4. data/Gemfile +3 -0
  5. data/LICENSE.md +20 -0
  6. data/README.md +36 -0
  7. data/Rakefile +25 -0
  8. data/VERSION +1 -0
  9. data/bugs.txt +2 -0
  10. data/fullcontact.gemspec +34 -0
  11. data/lib/faraday/request/gateway.rb +18 -0
  12. data/lib/faraday/response/fullcontact_errors.rb +33 -0
  13. data/lib/faraday/response/raise_http_4xx.rb +45 -0
  14. data/lib/faraday/response/raise_http_5xx.rb +24 -0
  15. data/lib/fullcontact.rb +27 -0
  16. data/lib/fullcontact/api.rb +21 -0
  17. data/lib/fullcontact/client.rb +32 -0
  18. data/lib/fullcontact/client/batch_process.rb +35 -0
  19. data/lib/fullcontact/client/contact.rb +119 -0
  20. data/lib/fullcontact/client/contact_list.rb +84 -0
  21. data/lib/fullcontact/client/icon.rb +35 -0
  22. data/lib/fullcontact/client/name.rb +167 -0
  23. data/lib/fullcontact/client/person.rb +94 -0
  24. data/lib/fullcontact/client/provisioning.rb +28 -0
  25. data/lib/fullcontact/client/snapshot.rb +31 -0
  26. data/lib/fullcontact/client/subscription.rb +45 -0
  27. data/lib/fullcontact/client/user.rb +28 -0
  28. data/lib/fullcontact/configuration.rb +95 -0
  29. data/lib/fullcontact/connection.rb +36 -0
  30. data/lib/fullcontact/error.rb +35 -0
  31. data/lib/fullcontact/request.rb +43 -0
  32. data/lib/fullcontact/version.rb +3 -0
  33. data/spec/faraday/response_spec.rb +56 -0
  34. data/spec/fixtures/clear_contact_list.json +3 -0
  35. data/spec/fixtures/contact_history.json +16 -0
  36. data/spec/fixtures/create_contact_list.json +4 -0
  37. data/spec/fixtures/create_snapshot.json +7 -0
  38. data/spec/fixtures/create_subscription.json +4 -0
  39. data/spec/fixtures/deduce_by_email.json +13 -0
  40. data/spec/fixtures/deduce_by_username.json +13 -0
  41. data/spec/fixtures/delete_contact.json +4 -0
  42. data/spec/fixtures/delete_contact_list.json +3 -0
  43. data/spec/fixtures/delete_subscription.json +3 -0
  44. data/spec/fixtures/get_contact.json +20 -0
  45. data/spec/fixtures/get_contact_lists.json +11 -0
  46. data/spec/fixtures/get_contacts_in_a_list.json +41 -0
  47. data/spec/fixtures/get_enriched_contact.json +261 -0
  48. data/spec/fixtures/get_updates.json +252 -0
  49. data/spec/fixtures/has_enriched_updates.json +4 -0
  50. data/spec/fixtures/list_snapshots.json +7 -0
  51. data/spec/fixtures/list_subscriptions.json +10 -0
  52. data/spec/fixtures/normalize.json +27 -0
  53. data/spec/fixtures/parse.json +10 -0
  54. data/spec/fixtures/person.json +47 -0
  55. data/spec/fixtures/queue_contact_list_for_enrichment.json +3 -0
  56. data/spec/fixtures/save_enriched_contact.json +261 -0
  57. data/spec/fixtures/similarity.json +45 -0
  58. data/spec/fixtures/stats_by_family_name.json +12 -0
  59. data/spec/fixtures/stats_by_given_and_family_name.json +62 -0
  60. data/spec/fixtures/stats_by_given_name.json +57 -0
  61. data/spec/fixtures/stats_by_name.json +64 -0
  62. data/spec/fixtures/update_contact.json +9 -0
  63. data/spec/fullcontact/api_spec.rb +68 -0
  64. data/spec/fullcontact/client/contact_list_spec.rb +89 -0
  65. data/spec/fullcontact/client/contact_spec.rb +108 -0
  66. data/spec/fullcontact/client/icon_spec.rb +24 -0
  67. data/spec/fullcontact/client/name_spec.rb +121 -0
  68. data/spec/fullcontact/client/person_spec.rb +77 -0
  69. data/spec/fullcontact/client/snapshot_spec.rb +35 -0
  70. data/spec/fullcontact/client/subscription_spec.rb +47 -0
  71. data/spec/fullcontact/client_spec.rb +10 -0
  72. data/spec/fullcontact_spec.rb +114 -0
  73. data/spec/helper.rb +39 -0
  74. metadata +384 -0
@@ -0,0 +1,77 @@
1
+ require 'helper'
2
+ require 'fullcontact'
3
+
4
+ describe FullContact::Client::Person do
5
+
6
+ before do
7
+ FullContact.configure do |config|
8
+ config.api_key = "api_key"
9
+ end
10
+ @client = FullContact::Client.new
11
+ end
12
+
13
+ describe "#lookup_by_email" do
14
+ before do
15
+ stub_get("person.json").
16
+ with(:query => { :apiKey => "api_key", :email => 'email'}).
17
+ to_return(:body => fixture("person.json"), :headers => {:content_type => "application/json; charset=utf-8"})
18
+ end
19
+
20
+ it "should get the list of contact lists" do
21
+ @client.lookup_by_email('email')
22
+ a_get("person.json").with(:query => { :apiKey => "api_key", :email => 'email' }).should have_been_made
23
+ end
24
+ end
25
+
26
+ describe "#lookup_by_phone" do
27
+ before do
28
+ stub_get("person.json").
29
+ with(:query => { :apiKey => "api_key", :phone => 'phone'}).
30
+ to_return(:body => fixture("person.json"), :headers => {:content_type => "application/json; charset=utf-8"})
31
+ end
32
+
33
+ it "should get the list of contact lists" do
34
+ @client.lookup_by_phone('phone')
35
+ a_get("person.json").with(:query => { :apiKey => "api_key", :phone => 'phone' }).should have_been_made
36
+ end
37
+ end
38
+
39
+ describe "#lookup_by_twitter" do
40
+ before do
41
+ stub_get("person.json").
42
+ with(:query => { :apiKey => "api_key", :twitter => 'twitter'}).
43
+ to_return(:body => fixture("person.json"), :headers => {:content_type => "application/json; charset=utf-8"})
44
+ end
45
+
46
+ it "should get the list of contact lists" do
47
+ @client.lookup_by_twitter('twitter')
48
+ a_get("person.json").with(:query => { :apiKey => "api_key", :twitter => 'twitter' }).should have_been_made
49
+ end
50
+ end
51
+
52
+ describe "#lookup_by_facebook" do
53
+ before do
54
+ stub_get("person.json").
55
+ with(:query => { :apiKey => "api_key", :facebookUsername => 'facebookUsername'}).
56
+ to_return(:body => fixture("person.json"), :headers => {:content_type => "application/json; charset=utf-8"})
57
+ end
58
+
59
+ it "should get the list of contact lists" do
60
+ @client.lookup_by_facebook('facebookUsername')
61
+ a_get("person.json").with(:query => { :apiKey => "api_key", :facebookUsername => 'facebookUsername' }).should have_been_made
62
+ end
63
+ end
64
+
65
+ # describe "#lookup_by_vcard" do
66
+ # before do
67
+ # stub_post("person.vcf").
68
+ # with(:query => { :apiKey => "api_key", :request_body => {}, :content_type => 'text/x-vcard' }).
69
+ # to_return(:body => fixture("person.json"), :headers => {:content_type => "application/json; charset=utf-8"})
70
+ # end
71
+
72
+ # it "should get the list of contact lists" do
73
+ # @client.lookup_by_vcard({})
74
+ # a_post("person.vcf").with(:query => { :apiKey => "api_key" }).should have_been_made
75
+ # end
76
+ # end
77
+ end
@@ -0,0 +1,35 @@
1
+ require 'helper'
2
+ require 'fullcontact'
3
+
4
+ describe FullContact::Client::Snapshot do
5
+ before do
6
+ FullContact.configure do |config|
7
+ config.api_key = "api_key"
8
+ end
9
+ @client = FullContact::Client.new
10
+ end
11
+
12
+ describe "#create_snapshot" do
13
+ before do
14
+ stub_post("contactList/12345/snapshot.json").
15
+ with(:query => { :apiKey => "api_key", :name => 'foo' }).
16
+ to_return(:body => fixture("create_snapshot.json"), :headers => {:content_type => "application/json; charset=utf-8"})
17
+ end
18
+ it "should create a snapshot " do
19
+ @client.create_snapshot("12345", {:name => 'foo' })
20
+ a_post("contactList/12345/snapshot.json").with(:query => { :apiKey => "api_key", :name => 'foo' }).should have_been_made
21
+ end
22
+ end
23
+
24
+ describe "#list_snapshots" do
25
+ before do
26
+ stub_get("contactList/12345/snapshot.json").
27
+ with(:query => { :apiKey => "api_key" }).
28
+ to_return(:body => fixture("list_snapshots.json"), :headers => {:content_type => "application/json; charset=utf-8"})
29
+ end
30
+ it "should list all snapshots " do
31
+ @client.list_snapshots("12345")
32
+ a_get("contactList/12345/snapshot.json").with(:query => { :apiKey => "api_key" }).should have_been_made
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,47 @@
1
+ require 'helper'
2
+ require 'fullcontact'
3
+
4
+ describe FullContact::Client::Subscription do
5
+ before do
6
+ FullContact.configure do |config|
7
+ config.api_key = "api_key"
8
+ end
9
+ @client = FullContact::Client.new
10
+ end
11
+
12
+ describe "#create_subscription" do
13
+ before do
14
+ stub_post("contactList/12345/subscribe.json").
15
+ with(:query => { :apiKey => "api_key", :event => 'enriched', :callback => 'http://example.com' }).
16
+ to_return(:body => fixture("create_subscription.json"), :headers => {:content_type => "application/json; charset=utf-8"})
17
+ end
18
+ it "should create a subscription " do
19
+ @client.create_subscription("12345", { :event => 'enriched', :callback => 'http://example.com' })
20
+ a_post("contactList/12345/subscribe.json").with(:query => { :apiKey => "api_key", :event => 'enriched', :callback => 'http://example.com' }).should have_been_made
21
+ end
22
+ end
23
+
24
+ describe "#list_subscriptions" do
25
+ before do
26
+ stub_get("contactList/12345/subscribe.json").
27
+ with(:query => { :apiKey => "api_key" }).
28
+ to_return(:body => fixture("list_subscriptions.json"), :headers => {:content_type => "application/json; charset=utf-8"})
29
+ end
30
+ it "should list all subscriptions" do
31
+ @client.list_subscriptions("12345")
32
+ a_get("contactList/12345/subscribe.json").with(:query => { :apiKey => "api_key" }).should have_been_made
33
+ end
34
+ end
35
+
36
+ describe "#delete_subscription" do
37
+ before do
38
+ stub_delete("contactList/12345/subscribe.json").
39
+ with(:query => { :apiKey => "api_key", :subscription => "54321" }).
40
+ to_return(:body => fixture("delete_subscription.json"), :headers => {:content_type => "application/json; charset=utf-8"})
41
+ end
42
+ it "should delete the given subscription" do
43
+ @client.delete_subscription("12345", { :subscription => "54321" })
44
+ a_delete("contactList/12345/subscribe.json").with(:query => { :apiKey => "api_key" , :subscription => "54321" }).should have_been_made
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,10 @@
1
+ require 'helper'
2
+
3
+ describe FullContact::Client do
4
+ it "should connect using the endpoint configuration" do
5
+ client = FullContact::Client.new
6
+ endpoint = URI.parse(client.api_endpoint)
7
+ connection = "#{client.send(:connection).build_url(nil).to_s}/"
8
+ connection.should == endpoint.to_s
9
+ end
10
+ end
@@ -0,0 +1,114 @@
1
+ require 'fullcontact'
2
+ require 'helper'
3
+
4
+ describe FullContact do
5
+ after do
6
+ FullContact.reset
7
+ end
8
+
9
+ context "when delegating to a client" do
10
+
11
+ before do
12
+ FullContact.configure do |config|
13
+ config.api_key = "api_key"
14
+ end
15
+
16
+ stub_get("person.json").with(:query => {:apiKey => "api_key", :email => "brawest@gmail.com"}).
17
+ to_return(:body => fixture("person.json"), :headers => {:content_type => "application/json; charset=utf-8"})
18
+
19
+ stub_get("person.json").
20
+ with(:query => {:apiKey => "api_key", :twitter => "brawtest"}).
21
+ to_return(:body => fixture("person.json"), :headers => {:content_type => "application/json; charset=utf-8"})
22
+ end
23
+
24
+ it "should get the correct resource" do
25
+ FullContact.lookup_by_email("brawest@gmail.com")
26
+ a_get("person.json").with(:query => {:apiKey => "api_key", :email => "brawest@gmail.com"}).should have_been_made
27
+ end
28
+
29
+ it "should return the same results as a client by email" do
30
+ FullContact.lookup_by_email("brawest@gmail.com").should == FullContact::Client.new.lookup_by_email("brawest@gmail.com")
31
+ end
32
+
33
+ it "should return the same results as a client by twitter" do
34
+ FullContact.lookup_by_twitter("brawtest").should == FullContact::Client.new.lookup_by_twitter("brawtest")
35
+ end
36
+ end
37
+
38
+ describe '.respond_to?' do
39
+ it 'takes an optional include private argument' do
40
+ FullContact.respond_to?(:client, true).should be_true
41
+ end
42
+ end
43
+
44
+ describe ".client" do
45
+ it "should be a FullContact::Client" do
46
+ FullContact.client.should be_a FullContact::Client
47
+ end
48
+ end
49
+
50
+ describe ".adapter" do
51
+ it "should return the default adapter" do
52
+ FullContact.adapter.should == FullContact::Configuration::DEFAULT_ADAPTER
53
+ end
54
+ end
55
+
56
+ describe ".adapter=" do
57
+ it "should set the adapter" do
58
+ FullContact.adapter = :typhoeus
59
+ FullContact.adapter.should == :typhoeus
60
+ end
61
+ end
62
+
63
+ describe ".endpoint" do
64
+ it "should return the default endpoint" do
65
+ FullContact.endpoint.should == FullContact::Configuration::DEFAULT_ENDPOINT
66
+ end
67
+ end
68
+
69
+ describe ".endpoint=" do
70
+ it "should set the endpoint" do
71
+ FullContact.endpoint = 'http://tumblr.com/'
72
+ FullContact.endpoint.should == 'http://tumblr.com/'
73
+ end
74
+ end
75
+
76
+ describe ".format" do
77
+ it "should return the default format" do
78
+ FullContact.format.should == FullContact::Configuration::DEFAULT_FORMAT
79
+ end
80
+ end
81
+
82
+ describe ".format=" do
83
+ it "should set the format" do
84
+ FullContact.format = 'xml'
85
+ FullContact.format.should == 'xml'
86
+ end
87
+ end
88
+
89
+ describe ".user_agent" do
90
+ it "should return the default user agent" do
91
+ FullContact.user_agent.should == FullContact::Configuration::DEFAULT_USER_AGENT
92
+ end
93
+ end
94
+
95
+ describe ".user_agent=" do
96
+ it "should set the user_agent" do
97
+ FullContact.user_agent = 'Custom User Agent'
98
+ FullContact.user_agent.should == 'Custom User Agent'
99
+ end
100
+ end
101
+
102
+ describe ".configure" do
103
+
104
+ FullContact::Configuration::VALID_OPTIONS_KEYS.each do |key|
105
+
106
+ it "should set the #{key}" do
107
+ FullContact.configure do |config|
108
+ config.send("#{key}=", key)
109
+ FullContact.send(key).should == key
110
+ end
111
+ end
112
+ end
113
+ end
114
+ end
data/spec/helper.rb ADDED
@@ -0,0 +1,39 @@
1
+ require 'rspec'
2
+ require 'webmock/rspec'
3
+ require 'simplecov'
4
+ require 'lib/fullcontact'
5
+
6
+ SimpleCov.start
7
+
8
+
9
+ def a_get(path)
10
+ a_request(:get, FullContact.endpoint + path)
11
+ end
12
+
13
+ def a_post(path)
14
+ a_request(:post, FullContact.endpoint + path)
15
+ end
16
+
17
+ def a_delete(path)
18
+ a_request(:delete, FullContact.endpoint + path)
19
+ end
20
+
21
+ def stub_get(path)
22
+ stub_request(:get, FullContact.endpoint + path)
23
+ end
24
+
25
+ def stub_post(path)
26
+ stub_request(:post, FullContact.endpoint + path)
27
+ end
28
+
29
+ def stub_delete(path)
30
+ stub_request(:delete, FullContact.endpoint + path)
31
+ end
32
+
33
+ def fixture_path
34
+ File.expand_path("../fixtures", __FILE__)
35
+ end
36
+
37
+ def fixture(file)
38
+ File.new(fixture_path + '/' + file)
39
+ end
metadata ADDED
@@ -0,0 +1,384 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fullcontacter
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 3
9
+ - 2
10
+ version: 0.3.2
11
+ platform: ruby
12
+ authors:
13
+ - Brandon West, Jai Pandya, Prafulla Kiran
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-04-16 00:00:00 +05:30
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: maruku
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 7
30
+ segments:
31
+ - 0
32
+ - 6
33
+ version: "0.6"
34
+ type: :development
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: nokogiri
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ hash: 7
45
+ segments:
46
+ - 1
47
+ - 4
48
+ version: "1.4"
49
+ type: :development
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ name: rake
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ~>
58
+ - !ruby/object:Gem::Version
59
+ hash: 25
60
+ segments:
61
+ - 0
62
+ - 9
63
+ version: "0.9"
64
+ type: :development
65
+ version_requirements: *id003
66
+ - !ruby/object:Gem::Dependency
67
+ name: rspec
68
+ prerelease: false
69
+ requirement: &id004 !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ~>
73
+ - !ruby/object:Gem::Version
74
+ hash: 15
75
+ segments:
76
+ - 2
77
+ - 6
78
+ version: "2.6"
79
+ type: :development
80
+ version_requirements: *id004
81
+ - !ruby/object:Gem::Dependency
82
+ name: simplecov
83
+ prerelease: false
84
+ requirement: &id005 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ hash: 3
90
+ segments:
91
+ - 0
92
+ - 4
93
+ version: "0.4"
94
+ type: :development
95
+ version_requirements: *id005
96
+ - !ruby/object:Gem::Dependency
97
+ name: webmock
98
+ prerelease: false
99
+ requirement: &id006 !ruby/object:Gem::Requirement
100
+ none: false
101
+ requirements:
102
+ - - ~>
103
+ - !ruby/object:Gem::Version
104
+ hash: 3
105
+ segments:
106
+ - 1
107
+ - 6
108
+ version: "1.6"
109
+ type: :development
110
+ version_requirements: *id006
111
+ - !ruby/object:Gem::Dependency
112
+ name: yard
113
+ prerelease: false
114
+ requirement: &id007 !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ~>
118
+ - !ruby/object:Gem::Version
119
+ hash: 5
120
+ segments:
121
+ - 0
122
+ - 7
123
+ version: "0.7"
124
+ type: :development
125
+ version_requirements: *id007
126
+ - !ruby/object:Gem::Dependency
127
+ name: hashie
128
+ prerelease: false
129
+ requirement: &id008 !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ~>
133
+ - !ruby/object:Gem::Version
134
+ hash: 31
135
+ segments:
136
+ - 1
137
+ - 2
138
+ - 0
139
+ version: 1.2.0
140
+ type: :runtime
141
+ version_requirements: *id008
142
+ - !ruby/object:Gem::Dependency
143
+ name: faraday
144
+ prerelease: false
145
+ requirement: &id009 !ruby/object:Gem::Requirement
146
+ none: false
147
+ requirements:
148
+ - - ~>
149
+ - !ruby/object:Gem::Version
150
+ hash: 9
151
+ segments:
152
+ - 0
153
+ - 7
154
+ - 5
155
+ version: 0.7.5
156
+ type: :runtime
157
+ version_requirements: *id009
158
+ - !ruby/object:Gem::Dependency
159
+ name: faraday_middleware
160
+ prerelease: false
161
+ requirement: &id010 !ruby/object:Gem::Requirement
162
+ none: false
163
+ requirements:
164
+ - - ~>
165
+ - !ruby/object:Gem::Version
166
+ hash: 51
167
+ segments:
168
+ - 0
169
+ - 8
170
+ - 6
171
+ version: 0.8.6
172
+ type: :runtime
173
+ version_requirements: *id010
174
+ - !ruby/object:Gem::Dependency
175
+ name: multi_json
176
+ prerelease: false
177
+ requirement: &id011 !ruby/object:Gem::Requirement
178
+ none: false
179
+ requirements:
180
+ - - ~>
181
+ - !ruby/object:Gem::Version
182
+ hash: 31
183
+ segments:
184
+ - 1
185
+ - 2
186
+ - 0
187
+ version: 1.2.0
188
+ type: :runtime
189
+ version_requirements: *id011
190
+ - !ruby/object:Gem::Dependency
191
+ name: multi_xml
192
+ prerelease: false
193
+ requirement: &id012 !ruby/object:Gem::Requirement
194
+ none: false
195
+ requirements:
196
+ - - ~>
197
+ - !ruby/object:Gem::Version
198
+ hash: 11
199
+ segments:
200
+ - 0
201
+ - 4
202
+ - 2
203
+ version: 0.4.2
204
+ type: :runtime
205
+ version_requirements: *id012
206
+ - !ruby/object:Gem::Dependency
207
+ name: rash
208
+ prerelease: false
209
+ requirement: &id013 !ruby/object:Gem::Requirement
210
+ none: false
211
+ requirements:
212
+ - - ~>
213
+ - !ruby/object:Gem::Version
214
+ hash: 19
215
+ segments:
216
+ - 0
217
+ - 3
218
+ - 0
219
+ version: 0.3.0
220
+ type: :runtime
221
+ version_requirements: *id013
222
+ description: A Ruby wrapper for the FullContact API
223
+ email:
224
+ - brawest@gmail.com
225
+ - jaipandya@gmail.com
226
+ - prafulla.kiran@gmail.com
227
+ executables: []
228
+
229
+ extensions: []
230
+
231
+ extra_rdoc_files: []
232
+
233
+ files:
234
+ - .document
235
+ - .gitignore
236
+ - .rspec
237
+ - Gemfile
238
+ - LICENSE.md
239
+ - README.md
240
+ - Rakefile
241
+ - VERSION
242
+ - bugs.txt
243
+ - fullcontact.gemspec
244
+ - lib/faraday/request/gateway.rb
245
+ - lib/faraday/response/fullcontact_errors.rb
246
+ - lib/faraday/response/raise_http_4xx.rb
247
+ - lib/faraday/response/raise_http_5xx.rb
248
+ - lib/fullcontact.rb
249
+ - lib/fullcontact/api.rb
250
+ - lib/fullcontact/client.rb
251
+ - lib/fullcontact/client/batch_process.rb
252
+ - lib/fullcontact/client/contact.rb
253
+ - lib/fullcontact/client/contact_list.rb
254
+ - lib/fullcontact/client/icon.rb
255
+ - lib/fullcontact/client/name.rb
256
+ - lib/fullcontact/client/person.rb
257
+ - lib/fullcontact/client/provisioning.rb
258
+ - lib/fullcontact/client/snapshot.rb
259
+ - lib/fullcontact/client/subscription.rb
260
+ - lib/fullcontact/client/user.rb
261
+ - lib/fullcontact/configuration.rb
262
+ - lib/fullcontact/connection.rb
263
+ - lib/fullcontact/error.rb
264
+ - lib/fullcontact/request.rb
265
+ - lib/fullcontact/version.rb
266
+ - spec/faraday/response_spec.rb
267
+ - spec/fixtures/clear_contact_list.json
268
+ - spec/fixtures/contact_history.json
269
+ - spec/fixtures/create_contact_list.json
270
+ - spec/fixtures/create_snapshot.json
271
+ - spec/fixtures/create_subscription.json
272
+ - spec/fixtures/deduce_by_email.json
273
+ - spec/fixtures/deduce_by_username.json
274
+ - spec/fixtures/delete_contact.json
275
+ - spec/fixtures/delete_contact_list.json
276
+ - spec/fixtures/delete_subscription.json
277
+ - spec/fixtures/get_contact.json
278
+ - spec/fixtures/get_contact_lists.json
279
+ - spec/fixtures/get_contacts_in_a_list.json
280
+ - spec/fixtures/get_enriched_contact.json
281
+ - spec/fixtures/get_updates.json
282
+ - spec/fixtures/has_enriched_updates.json
283
+ - spec/fixtures/list_snapshots.json
284
+ - spec/fixtures/list_subscriptions.json
285
+ - spec/fixtures/normalize.json
286
+ - spec/fixtures/parse.json
287
+ - spec/fixtures/person.json
288
+ - spec/fixtures/queue_contact_list_for_enrichment.json
289
+ - spec/fixtures/save_enriched_contact.json
290
+ - spec/fixtures/similarity.json
291
+ - spec/fixtures/stats_by_family_name.json
292
+ - spec/fixtures/stats_by_given_and_family_name.json
293
+ - spec/fixtures/stats_by_given_name.json
294
+ - spec/fixtures/stats_by_name.json
295
+ - spec/fixtures/update_contact.json
296
+ - spec/fullcontact/api_spec.rb
297
+ - spec/fullcontact/client/contact_list_spec.rb
298
+ - spec/fullcontact/client/contact_spec.rb
299
+ - spec/fullcontact/client/icon_spec.rb
300
+ - spec/fullcontact/client/name_spec.rb
301
+ - spec/fullcontact/client/person_spec.rb
302
+ - spec/fullcontact/client/snapshot_spec.rb
303
+ - spec/fullcontact/client/subscription_spec.rb
304
+ - spec/fullcontact/client_spec.rb
305
+ - spec/fullcontact_spec.rb
306
+ - spec/helper.rb
307
+ has_rdoc: true
308
+ homepage: https://github.com/jaipandya/fullcontacter
309
+ licenses: []
310
+
311
+ post_install_message:
312
+ rdoc_options: []
313
+
314
+ require_paths:
315
+ - lib
316
+ required_ruby_version: !ruby/object:Gem::Requirement
317
+ none: false
318
+ requirements:
319
+ - - ">="
320
+ - !ruby/object:Gem::Version
321
+ hash: 3
322
+ segments:
323
+ - 0
324
+ version: "0"
325
+ required_rubygems_version: !ruby/object:Gem::Requirement
326
+ none: false
327
+ requirements:
328
+ - - ">="
329
+ - !ruby/object:Gem::Version
330
+ hash: 23
331
+ segments:
332
+ - 1
333
+ - 3
334
+ - 6
335
+ version: 1.3.6
336
+ requirements: []
337
+
338
+ rubyforge_project:
339
+ rubygems_version: 1.3.7
340
+ signing_key:
341
+ specification_version: 3
342
+ summary: Ruby wrapper for the FullContact API
343
+ test_files:
344
+ - spec/faraday/response_spec.rb
345
+ - spec/fixtures/clear_contact_list.json
346
+ - spec/fixtures/contact_history.json
347
+ - spec/fixtures/create_contact_list.json
348
+ - spec/fixtures/create_snapshot.json
349
+ - spec/fixtures/create_subscription.json
350
+ - spec/fixtures/deduce_by_email.json
351
+ - spec/fixtures/deduce_by_username.json
352
+ - spec/fixtures/delete_contact.json
353
+ - spec/fixtures/delete_contact_list.json
354
+ - spec/fixtures/delete_subscription.json
355
+ - spec/fixtures/get_contact.json
356
+ - spec/fixtures/get_contact_lists.json
357
+ - spec/fixtures/get_contacts_in_a_list.json
358
+ - spec/fixtures/get_enriched_contact.json
359
+ - spec/fixtures/get_updates.json
360
+ - spec/fixtures/has_enriched_updates.json
361
+ - spec/fixtures/list_snapshots.json
362
+ - spec/fixtures/list_subscriptions.json
363
+ - spec/fixtures/normalize.json
364
+ - spec/fixtures/parse.json
365
+ - spec/fixtures/person.json
366
+ - spec/fixtures/queue_contact_list_for_enrichment.json
367
+ - spec/fixtures/save_enriched_contact.json
368
+ - spec/fixtures/similarity.json
369
+ - spec/fixtures/stats_by_family_name.json
370
+ - spec/fixtures/stats_by_given_and_family_name.json
371
+ - spec/fixtures/stats_by_given_name.json
372
+ - spec/fixtures/stats_by_name.json
373
+ - spec/fixtures/update_contact.json
374
+ - spec/fullcontact/api_spec.rb
375
+ - spec/fullcontact/client/contact_list_spec.rb
376
+ - spec/fullcontact/client/contact_spec.rb
377
+ - spec/fullcontact/client/icon_spec.rb
378
+ - spec/fullcontact/client/name_spec.rb
379
+ - spec/fullcontact/client/person_spec.rb
380
+ - spec/fullcontact/client/snapshot_spec.rb
381
+ - spec/fullcontact/client/subscription_spec.rb
382
+ - spec/fullcontact/client_spec.rb
383
+ - spec/fullcontact_spec.rb
384
+ - spec/helper.rb