fb_graph 1.8.6 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/fb_graph/album.rb +5 -4
- data/lib/fb_graph/application.rb +2 -0
- data/lib/fb_graph/auth/cookie.rb +4 -3
- data/lib/fb_graph/connections/accounts.rb +6 -1
- data/lib/fb_graph/connections/docs.rb +14 -0
- data/lib/fb_graph/connections/inbox.rb +5 -2
- data/lib/fb_graph/connections/outbox.rb +17 -0
- data/lib/fb_graph/connections/reviews.rb +14 -0
- data/lib/fb_graph/connections/threads.rb +14 -0
- data/lib/fb_graph/doc.rb +18 -0
- data/lib/fb_graph/domain.rb +32 -0
- data/lib/fb_graph/group.rb +3 -4
- data/lib/fb_graph/insight.rb +0 -2
- data/lib/fb_graph/link.rb +1 -2
- data/lib/fb_graph/message.rb +1 -8
- data/lib/fb_graph/node.rb +3 -3
- data/lib/fb_graph/post.rb +14 -5
- data/lib/fb_graph/property.rb +13 -0
- data/lib/fb_graph/review.rb +20 -0
- data/lib/fb_graph/thread.rb +1 -2
- data/lib/fb_graph/user.rb +53 -44
- data/lib/fb_graph/video.rb +12 -3
- data/lib/fb_graph.rb +4 -0
- data/spec/fb_graph/album_spec.rb +2 -0
- data/spec/fb_graph/auth/cookie_spec.rb +18 -7
- data/spec/fb_graph/connections/accounts_spec.rb +13 -0
- data/spec/fb_graph/connections/docs_spec.rb +14 -0
- data/spec/fb_graph/connections/home_spec.rb +0 -1
- data/spec/fb_graph/connections/inbox_spec.rb +6 -3
- data/spec/fb_graph/connections/insights_spec.rb +2 -2
- data/spec/fb_graph/connections/likes_spec.rb +2 -2
- data/spec/fb_graph/connections/outbox_spec.rb +15 -0
- data/spec/fb_graph/connections/reviews_spec.rb +14 -0
- data/spec/fb_graph/connections/threads_spec.rb +12 -0
- data/spec/fb_graph/doc_spec.rb +27 -0
- data/spec/fb_graph/domain_spec.rb +23 -0
- data/spec/fb_graph/group_spec.rb +0 -18
- data/spec/fb_graph/link_spec.rb +0 -2
- data/spec/fb_graph/message_spec.rb +0 -2
- data/spec/fb_graph/node_spec.rb +2 -2
- data/spec/fb_graph/post_spec.rb +24 -2
- data/spec/fb_graph/user_spec.rb +0 -3
- data/spec/fb_graph/video_spec.rb +14 -20
- data/spec/helpers/webmock_helper.rb +1 -1
- data/spec/mock_json/applications/accounts/private.json +9 -0
- data/spec/mock_json/applications/reviews/public.json +354 -0
- data/spec/mock_json/domains/search_public.json +10 -0
- data/spec/mock_json/groups/docs/private.json +31 -0
- data/spec/mock_json/posts/no_comments.json +1 -2
- data/spec/mock_json/users/feed/arjun_private.json +0 -3
- data/spec/mock_json/users/feed/arjun_public.json +0 -3
- data/spec/mock_json/users/home/me_private.json +0 -22
- data/spec/mock_json/users/home/me_private_next.json +0 -24
- data/spec/mock_json/users/home/me_private_previous.json +0 -1
- data/spec/mock_json/users/inbox/me_private.json +43 -78
- data/spec/mock_json/users/outbox/me_private.json +51 -0
- data/spec/mock_json/users/posts/arjun_private.json +0 -4
- data/spec/mock_json/users/posts/arjun_public.json +0 -4
- data/spec/mock_json/users/tagged/arjun_private.json +0 -1
- data/spec/mock_json/users/tagged/arjun_public.json +0 -1
- data/spec/mock_json/users/threads/me_private.json +91 -0
- data/spec/mock_json/videos/private.json +78 -0
- metadata +74 -2
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fb_graph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 51
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 9
|
9
|
+
- 0
|
10
|
+
version: 1.9.0
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- nov matake
|
@@ -10,7 +15,7 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-22 00:00:00 Z
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: httpclient
|
@@ -20,6 +25,12 @@ dependencies:
|
|
20
25
|
requirements:
|
21
26
|
- - ">="
|
22
27
|
- !ruby/object:Gem::Version
|
28
|
+
hash: 123
|
29
|
+
segments:
|
30
|
+
- 2
|
31
|
+
- 2
|
32
|
+
- 0
|
33
|
+
- 2
|
23
34
|
version: 2.2.0.2
|
24
35
|
type: :runtime
|
25
36
|
version_requirements: *id001
|
@@ -31,6 +42,11 @@ dependencies:
|
|
31
42
|
requirements:
|
32
43
|
- - ">="
|
33
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 63
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
- 8
|
49
|
+
- 0
|
34
50
|
version: 0.8.0
|
35
51
|
type: :runtime
|
36
52
|
version_requirements: *id002
|
@@ -42,6 +58,10 @@ dependencies:
|
|
42
58
|
requirements:
|
43
59
|
- - ">="
|
44
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 27
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
- 8
|
45
65
|
version: "0.8"
|
46
66
|
type: :development
|
47
67
|
version_requirements: *id003
|
@@ -53,6 +73,10 @@ dependencies:
|
|
53
73
|
requirements:
|
54
74
|
- - ">="
|
55
75
|
- !ruby/object:Gem::Version
|
76
|
+
hash: 25
|
77
|
+
segments:
|
78
|
+
- 0
|
79
|
+
- 9
|
56
80
|
version: "0.9"
|
57
81
|
type: :development
|
58
82
|
version_requirements: *id004
|
@@ -64,6 +88,9 @@ dependencies:
|
|
64
88
|
requirements:
|
65
89
|
- - ">="
|
66
90
|
- !ruby/object:Gem::Version
|
91
|
+
hash: 7
|
92
|
+
segments:
|
93
|
+
- 2
|
67
94
|
version: "2"
|
68
95
|
type: :development
|
69
96
|
version_requirements: *id005
|
@@ -75,6 +102,11 @@ dependencies:
|
|
75
102
|
requirements:
|
76
103
|
- - ">="
|
77
104
|
- !ruby/object:Gem::Version
|
105
|
+
hash: 11
|
106
|
+
segments:
|
107
|
+
- 1
|
108
|
+
- 6
|
109
|
+
- 2
|
78
110
|
version: 1.6.2
|
79
111
|
type: :development
|
80
112
|
version_requirements: *id006
|
@@ -123,6 +155,7 @@ files:
|
|
123
155
|
- lib/fb_graph/connections/checkins.rb
|
124
156
|
- lib/fb_graph/connections/comments.rb
|
125
157
|
- lib/fb_graph/connections/declined.rb
|
158
|
+
- lib/fb_graph/connections/docs.rb
|
126
159
|
- lib/fb_graph/connections/events.rb
|
127
160
|
- lib/fb_graph/connections/family.rb
|
128
161
|
- lib/fb_graph/connections/feed.rb
|
@@ -145,12 +178,14 @@ files:
|
|
145
178
|
- lib/fb_graph/connections/music.rb
|
146
179
|
- lib/fb_graph/connections/noreply.rb
|
147
180
|
- lib/fb_graph/connections/notes.rb
|
181
|
+
- lib/fb_graph/connections/outbox.rb
|
148
182
|
- lib/fb_graph/connections/participants.rb
|
149
183
|
- lib/fb_graph/connections/payments.rb
|
150
184
|
- lib/fb_graph/connections/permissions.rb
|
151
185
|
- lib/fb_graph/connections/photos.rb
|
152
186
|
- lib/fb_graph/connections/picture.rb
|
153
187
|
- lib/fb_graph/connections/posts.rb
|
188
|
+
- lib/fb_graph/connections/reviews.rb
|
154
189
|
- lib/fb_graph/connections/senders.rb
|
155
190
|
- lib/fb_graph/connections/statuses.rb
|
156
191
|
- lib/fb_graph/connections/subscriptions.rb
|
@@ -158,7 +193,10 @@ files:
|
|
158
193
|
- lib/fb_graph/connections/tags.rb
|
159
194
|
- lib/fb_graph/connections/television.rb
|
160
195
|
- lib/fb_graph/connections/test_users.rb
|
196
|
+
- lib/fb_graph/connections/threads.rb
|
161
197
|
- lib/fb_graph/connections/videos.rb
|
198
|
+
- lib/fb_graph/doc.rb
|
199
|
+
- lib/fb_graph/domain.rb
|
162
200
|
- lib/fb_graph/education.rb
|
163
201
|
- lib/fb_graph/event.rb
|
164
202
|
- lib/fb_graph/friend_list.rb
|
@@ -179,7 +217,9 @@ files:
|
|
179
217
|
- lib/fb_graph/post.rb
|
180
218
|
- lib/fb_graph/privacy.rb
|
181
219
|
- lib/fb_graph/project.rb
|
220
|
+
- lib/fb_graph/property.rb
|
182
221
|
- lib/fb_graph/query.rb
|
222
|
+
- lib/fb_graph/review.rb
|
183
223
|
- lib/fb_graph/searchable.rb
|
184
224
|
- lib/fb_graph/searchable/result.rb
|
185
225
|
- lib/fb_graph/serialization.rb
|
@@ -212,6 +252,7 @@ files:
|
|
212
252
|
- spec/fb_graph/connections/checkins_spec.rb
|
213
253
|
- spec/fb_graph/connections/comments_spec.rb
|
214
254
|
- spec/fb_graph/connections/declined_spec.rb
|
255
|
+
- spec/fb_graph/connections/docs_spec.rb
|
215
256
|
- spec/fb_graph/connections/events_spec.rb
|
216
257
|
- spec/fb_graph/connections/family_spec.rb
|
217
258
|
- spec/fb_graph/connections/feed_spec.rb
|
@@ -234,11 +275,13 @@ files:
|
|
234
275
|
- spec/fb_graph/connections/music_spec.rb
|
235
276
|
- spec/fb_graph/connections/noreply_spec.rb
|
236
277
|
- spec/fb_graph/connections/notes_spec.rb
|
278
|
+
- spec/fb_graph/connections/outbox_spec.rb
|
237
279
|
- spec/fb_graph/connections/participants_spec.rb
|
238
280
|
- spec/fb_graph/connections/permissions_spec.rb
|
239
281
|
- spec/fb_graph/connections/photos_spec.rb
|
240
282
|
- spec/fb_graph/connections/picture_spec.rb
|
241
283
|
- spec/fb_graph/connections/posts_spec.rb
|
284
|
+
- spec/fb_graph/connections/reviews_spec.rb
|
242
285
|
- spec/fb_graph/connections/senders_spec.rb
|
243
286
|
- spec/fb_graph/connections/statuses_spec.rb
|
244
287
|
- spec/fb_graph/connections/subscriptions_spec.rb
|
@@ -246,7 +289,10 @@ files:
|
|
246
289
|
- spec/fb_graph/connections/tags_spec.rb
|
247
290
|
- spec/fb_graph/connections/television_spec.rb
|
248
291
|
- spec/fb_graph/connections/test_users_spec.rb
|
292
|
+
- spec/fb_graph/connections/threads_spec.rb
|
249
293
|
- spec/fb_graph/connections/videos_spec.rb
|
294
|
+
- spec/fb_graph/doc_spec.rb
|
295
|
+
- spec/fb_graph/domain_spec.rb
|
250
296
|
- spec/fb_graph/education_spec.rb
|
251
297
|
- spec/fb_graph/event_spec.rb
|
252
298
|
- spec/fb_graph/exception_spec.rb
|
@@ -286,12 +332,15 @@ files:
|
|
286
332
|
- spec/helpers/webmock_helper.rb
|
287
333
|
- spec/mock_json/albums/photos/matake_private.json
|
288
334
|
- spec/mock_json/albums/photos/post_with_valid_access_token.json
|
335
|
+
- spec/mock_json/applications/accounts/private.json
|
289
336
|
- spec/mock_json/applications/feed/public.json
|
337
|
+
- spec/mock_json/applications/reviews/public.json
|
290
338
|
- spec/mock_json/applications/subscriptions/fb_graph_private.json
|
291
339
|
- spec/mock_json/applications/test_users/created.json
|
292
340
|
- spec/mock_json/applications/test_users/private.json
|
293
341
|
- spec/mock_json/checkins/search_private.json
|
294
342
|
- spec/mock_json/checkins/search_public.json
|
343
|
+
- spec/mock_json/domains/search_public.json
|
295
344
|
- spec/mock_json/events/attending/post_with_valid_access_token.json
|
296
345
|
- spec/mock_json/events/attending/smartday_private.json
|
297
346
|
- spec/mock_json/events/declined/post_with_valid_access_token.json
|
@@ -300,6 +349,7 @@ files:
|
|
300
349
|
- spec/mock_json/events/maybe/post_with_valid_access_token.json
|
301
350
|
- spec/mock_json/events/maybe/smartday_private.json
|
302
351
|
- spec/mock_json/events/noreply/smartday_private.json
|
352
|
+
- spec/mock_json/groups/docs/private.json
|
303
353
|
- spec/mock_json/groups/members/emacs_private.json
|
304
354
|
- spec/mock_json/pages/categories/local_business.json
|
305
355
|
- spec/mock_json/pages/categories/movie.json
|
@@ -394,6 +444,7 @@ files:
|
|
394
444
|
- spec/mock_json/users/movies/matake_private.json
|
395
445
|
- spec/mock_json/users/music/matake_private.json
|
396
446
|
- spec/mock_json/users/notes/matake_private.json
|
447
|
+
- spec/mock_json/users/outbox/me_private.json
|
397
448
|
- spec/mock_json/users/permissions/me_private.json
|
398
449
|
- spec/mock_json/users/posts/arjun_private.json
|
399
450
|
- spec/mock_json/users/posts/arjun_public.json
|
@@ -402,8 +453,10 @@ files:
|
|
402
453
|
- spec/mock_json/users/tagged/arjun_private.json
|
403
454
|
- spec/mock_json/users/tagged/arjun_public.json
|
404
455
|
- spec/mock_json/users/television/matake_private.json
|
456
|
+
- spec/mock_json/users/threads/me_private.json
|
405
457
|
- spec/mock_json/users/videos/kirk_private.json
|
406
458
|
- spec/mock_json/users/videos/posted.json
|
459
|
+
- spec/mock_json/videos/private.json
|
407
460
|
- spec/spec_helper.rb
|
408
461
|
homepage: http://github.com/nov/fb_graph
|
409
462
|
licenses: []
|
@@ -418,12 +471,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
418
471
|
requirements:
|
419
472
|
- - ">="
|
420
473
|
- !ruby/object:Gem::Version
|
474
|
+
hash: 3
|
475
|
+
segments:
|
476
|
+
- 0
|
421
477
|
version: "0"
|
422
478
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
423
479
|
none: false
|
424
480
|
requirements:
|
425
481
|
- - ">="
|
426
482
|
- !ruby/object:Gem::Version
|
483
|
+
hash: 3
|
484
|
+
segments:
|
485
|
+
- 0
|
427
486
|
version: "0"
|
428
487
|
requirements: []
|
429
488
|
|
@@ -452,6 +511,7 @@ test_files:
|
|
452
511
|
- spec/fb_graph/connections/checkins_spec.rb
|
453
512
|
- spec/fb_graph/connections/comments_spec.rb
|
454
513
|
- spec/fb_graph/connections/declined_spec.rb
|
514
|
+
- spec/fb_graph/connections/docs_spec.rb
|
455
515
|
- spec/fb_graph/connections/events_spec.rb
|
456
516
|
- spec/fb_graph/connections/family_spec.rb
|
457
517
|
- spec/fb_graph/connections/feed_spec.rb
|
@@ -474,11 +534,13 @@ test_files:
|
|
474
534
|
- spec/fb_graph/connections/music_spec.rb
|
475
535
|
- spec/fb_graph/connections/noreply_spec.rb
|
476
536
|
- spec/fb_graph/connections/notes_spec.rb
|
537
|
+
- spec/fb_graph/connections/outbox_spec.rb
|
477
538
|
- spec/fb_graph/connections/participants_spec.rb
|
478
539
|
- spec/fb_graph/connections/permissions_spec.rb
|
479
540
|
- spec/fb_graph/connections/photos_spec.rb
|
480
541
|
- spec/fb_graph/connections/picture_spec.rb
|
481
542
|
- spec/fb_graph/connections/posts_spec.rb
|
543
|
+
- spec/fb_graph/connections/reviews_spec.rb
|
482
544
|
- spec/fb_graph/connections/senders_spec.rb
|
483
545
|
- spec/fb_graph/connections/statuses_spec.rb
|
484
546
|
- spec/fb_graph/connections/subscriptions_spec.rb
|
@@ -486,7 +548,10 @@ test_files:
|
|
486
548
|
- spec/fb_graph/connections/tags_spec.rb
|
487
549
|
- spec/fb_graph/connections/television_spec.rb
|
488
550
|
- spec/fb_graph/connections/test_users_spec.rb
|
551
|
+
- spec/fb_graph/connections/threads_spec.rb
|
489
552
|
- spec/fb_graph/connections/videos_spec.rb
|
553
|
+
- spec/fb_graph/doc_spec.rb
|
554
|
+
- spec/fb_graph/domain_spec.rb
|
490
555
|
- spec/fb_graph/education_spec.rb
|
491
556
|
- spec/fb_graph/event_spec.rb
|
492
557
|
- spec/fb_graph/exception_spec.rb
|
@@ -526,12 +591,15 @@ test_files:
|
|
526
591
|
- spec/helpers/webmock_helper.rb
|
527
592
|
- spec/mock_json/albums/photos/matake_private.json
|
528
593
|
- spec/mock_json/albums/photos/post_with_valid_access_token.json
|
594
|
+
- spec/mock_json/applications/accounts/private.json
|
529
595
|
- spec/mock_json/applications/feed/public.json
|
596
|
+
- spec/mock_json/applications/reviews/public.json
|
530
597
|
- spec/mock_json/applications/subscriptions/fb_graph_private.json
|
531
598
|
- spec/mock_json/applications/test_users/created.json
|
532
599
|
- spec/mock_json/applications/test_users/private.json
|
533
600
|
- spec/mock_json/checkins/search_private.json
|
534
601
|
- spec/mock_json/checkins/search_public.json
|
602
|
+
- spec/mock_json/domains/search_public.json
|
535
603
|
- spec/mock_json/events/attending/post_with_valid_access_token.json
|
536
604
|
- spec/mock_json/events/attending/smartday_private.json
|
537
605
|
- spec/mock_json/events/declined/post_with_valid_access_token.json
|
@@ -540,6 +608,7 @@ test_files:
|
|
540
608
|
- spec/mock_json/events/maybe/post_with_valid_access_token.json
|
541
609
|
- spec/mock_json/events/maybe/smartday_private.json
|
542
610
|
- spec/mock_json/events/noreply/smartday_private.json
|
611
|
+
- spec/mock_json/groups/docs/private.json
|
543
612
|
- spec/mock_json/groups/members/emacs_private.json
|
544
613
|
- spec/mock_json/pages/categories/local_business.json
|
545
614
|
- spec/mock_json/pages/categories/movie.json
|
@@ -634,6 +703,7 @@ test_files:
|
|
634
703
|
- spec/mock_json/users/movies/matake_private.json
|
635
704
|
- spec/mock_json/users/music/matake_private.json
|
636
705
|
- spec/mock_json/users/notes/matake_private.json
|
706
|
+
- spec/mock_json/users/outbox/me_private.json
|
637
707
|
- spec/mock_json/users/permissions/me_private.json
|
638
708
|
- spec/mock_json/users/posts/arjun_private.json
|
639
709
|
- spec/mock_json/users/posts/arjun_public.json
|
@@ -642,6 +712,8 @@ test_files:
|
|
642
712
|
- spec/mock_json/users/tagged/arjun_private.json
|
643
713
|
- spec/mock_json/users/tagged/arjun_public.json
|
644
714
|
- spec/mock_json/users/television/matake_private.json
|
715
|
+
- spec/mock_json/users/threads/me_private.json
|
645
716
|
- spec/mock_json/users/videos/kirk_private.json
|
646
717
|
- spec/mock_json/users/videos/posted.json
|
718
|
+
- spec/mock_json/videos/private.json
|
647
719
|
- spec/spec_helper.rb
|