fb_graph 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +21 -0
- data/VERSION +1 -1
- data/fb_graph.gemspec +274 -272
- data/lib/fb_graph/album.rb +4 -1
- data/lib/fb_graph/page.rb +2 -2
- data/spec/fb_graph/album_spec.rb +2 -0
- data/spec/fb_graph/page_spec.rb +3 -1
- metadata +7 -6
data/.gitignore
ADDED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/fb_graph.gemspec
CHANGED
@@ -1,298 +1,300 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fb_graph}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["nov matake"]
|
12
|
-
s.date = %q{2010-12-
|
12
|
+
s.date = %q{2010-12-03}
|
13
13
|
s.description = %q{A full-stack Facebook Graph API wrapper in Ruby.}
|
14
14
|
s.email = %q{nov@matake.jp}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
|
17
|
+
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"assets/fb_graph.ai",
|
27
|
+
"assets/fb_graph.png",
|
28
|
+
"fb_graph.gemspec",
|
29
|
+
"lib/fb_graph.rb",
|
30
|
+
"lib/fb_graph/album.rb",
|
31
|
+
"lib/fb_graph/application.rb",
|
32
|
+
"lib/fb_graph/auth.rb",
|
33
|
+
"lib/fb_graph/auth/cookie.rb",
|
34
|
+
"lib/fb_graph/checkin.rb",
|
35
|
+
"lib/fb_graph/collection.rb",
|
36
|
+
"lib/fb_graph/comment.rb",
|
37
|
+
"lib/fb_graph/comparison.rb",
|
38
|
+
"lib/fb_graph/connection.rb",
|
39
|
+
"lib/fb_graph/connections.rb",
|
40
|
+
"lib/fb_graph/connections/accounts.rb",
|
41
|
+
"lib/fb_graph/connections/activities.rb",
|
42
|
+
"lib/fb_graph/connections/albums.rb",
|
43
|
+
"lib/fb_graph/connections/attending.rb",
|
44
|
+
"lib/fb_graph/connections/books.rb",
|
45
|
+
"lib/fb_graph/connections/checkins.rb",
|
46
|
+
"lib/fb_graph/connections/comments.rb",
|
47
|
+
"lib/fb_graph/connections/declined.rb",
|
48
|
+
"lib/fb_graph/connections/events.rb",
|
49
|
+
"lib/fb_graph/connections/feed.rb",
|
50
|
+
"lib/fb_graph/connections/friends.rb",
|
51
|
+
"lib/fb_graph/connections/groups.rb",
|
52
|
+
"lib/fb_graph/connections/home.rb",
|
53
|
+
"lib/fb_graph/connections/insights.rb",
|
54
|
+
"lib/fb_graph/connections/interests.rb",
|
55
|
+
"lib/fb_graph/connections/invited.rb",
|
56
|
+
"lib/fb_graph/connections/likes.rb",
|
57
|
+
"lib/fb_graph/connections/links.rb",
|
58
|
+
"lib/fb_graph/connections/maybe.rb",
|
59
|
+
"lib/fb_graph/connections/members.rb",
|
60
|
+
"lib/fb_graph/connections/movies.rb",
|
61
|
+
"lib/fb_graph/connections/music.rb",
|
62
|
+
"lib/fb_graph/connections/noreply.rb",
|
63
|
+
"lib/fb_graph/connections/notes.rb",
|
64
|
+
"lib/fb_graph/connections/photos.rb",
|
65
|
+
"lib/fb_graph/connections/picture.rb",
|
66
|
+
"lib/fb_graph/connections/posts.rb",
|
67
|
+
"lib/fb_graph/connections/statuses.rb",
|
68
|
+
"lib/fb_graph/connections/subscriptions.rb",
|
69
|
+
"lib/fb_graph/connections/tagged.rb",
|
70
|
+
"lib/fb_graph/connections/television.rb",
|
71
|
+
"lib/fb_graph/connections/videos.rb",
|
72
|
+
"lib/fb_graph/education.rb",
|
73
|
+
"lib/fb_graph/event.rb",
|
74
|
+
"lib/fb_graph/group.rb",
|
75
|
+
"lib/fb_graph/insight.rb",
|
76
|
+
"lib/fb_graph/link.rb",
|
77
|
+
"lib/fb_graph/node.rb",
|
78
|
+
"lib/fb_graph/note.rb",
|
79
|
+
"lib/fb_graph/page.rb",
|
80
|
+
"lib/fb_graph/photo.rb",
|
81
|
+
"lib/fb_graph/post.rb",
|
82
|
+
"lib/fb_graph/searchable.rb",
|
83
|
+
"lib/fb_graph/searchable/result.rb",
|
84
|
+
"lib/fb_graph/status.rb",
|
85
|
+
"lib/fb_graph/subscription.rb",
|
86
|
+
"lib/fb_graph/tag.rb",
|
87
|
+
"lib/fb_graph/user.rb",
|
88
|
+
"lib/fb_graph/venue.rb",
|
89
|
+
"lib/fb_graph/video.rb",
|
90
|
+
"lib/fb_graph/work.rb",
|
91
|
+
"spec/fake_json/albums/photos/matake_private.json",
|
92
|
+
"spec/fake_json/albums/photos/post_with_valid_access_token.json",
|
93
|
+
"spec/fake_json/applications/subscriptions/fb_graph_private.json",
|
94
|
+
"spec/fake_json/checkins/search_private.json",
|
95
|
+
"spec/fake_json/checkins/search_public.json",
|
96
|
+
"spec/fake_json/events/attending/post_with_valid_access_token.json",
|
97
|
+
"spec/fake_json/events/attending/smartday_private.json",
|
98
|
+
"spec/fake_json/events/declined/post_with_valid_access_token.json",
|
99
|
+
"spec/fake_json/events/declined/smartday_private.json",
|
100
|
+
"spec/fake_json/events/invited/smartday_private.json",
|
101
|
+
"spec/fake_json/events/maybe/post_with_valid_access_token.json",
|
102
|
+
"spec/fake_json/events/maybe/smartday_private.json",
|
103
|
+
"spec/fake_json/events/noreply/smartday_private.json",
|
104
|
+
"spec/fake_json/groups/members/emacs_private.json",
|
105
|
+
"spec/fake_json/pages/checkins/gowalla_private.json",
|
106
|
+
"spec/fake_json/pages/checkins/gowalla_public.json",
|
107
|
+
"spec/fake_json/pages/insights/FbGraph_private.json",
|
108
|
+
"spec/fake_json/pages/insights/FbGraph_public.json",
|
109
|
+
"spec/fake_json/pages/notes/post_with_valid_access_token.json",
|
110
|
+
"spec/fake_json/pages/platform_private.json",
|
111
|
+
"spec/fake_json/pages/platform_public.json",
|
112
|
+
"spec/fake_json/pages/statuses/platform_private.json",
|
113
|
+
"spec/fake_json/pages/statuses/platform_public.json",
|
114
|
+
"spec/fake_json/posts/comments/post_with_invalid_access_token.json",
|
115
|
+
"spec/fake_json/posts/comments/post_with_valid_access_token.json",
|
116
|
+
"spec/fake_json/posts/comments/post_without_access_token.json",
|
117
|
+
"spec/fake_json/posts/likes/post_with_invalid_access_token.json",
|
118
|
+
"spec/fake_json/posts/likes/post_with_valid_access_token.json",
|
119
|
+
"spec/fake_json/posts/likes/post_without_access_token.json",
|
120
|
+
"spec/fake_json/posts/platform_private.json",
|
121
|
+
"spec/fake_json/posts/platform_public.json",
|
122
|
+
"spec/fake_json/users/accounts/matake_private.json",
|
123
|
+
"spec/fake_json/users/accounts/matake_private_with_manage_pages_permission.json",
|
124
|
+
"spec/fake_json/users/accounts/matake_public.json",
|
125
|
+
"spec/fake_json/users/activities/arjun_private.json",
|
126
|
+
"spec/fake_json/users/activities/arjun_public.json",
|
127
|
+
"spec/fake_json/users/albums/matake_private.json",
|
128
|
+
"spec/fake_json/users/albums/matake_public.json",
|
129
|
+
"spec/fake_json/users/albums/post_with_valid_access_token.json",
|
130
|
+
"spec/fake_json/users/arjun_private.json",
|
131
|
+
"spec/fake_json/users/arjun_public.json",
|
132
|
+
"spec/fake_json/users/books/matake_private.json",
|
133
|
+
"spec/fake_json/users/books/matake_public.json",
|
134
|
+
"spec/fake_json/users/checkins/mattt_private.json",
|
135
|
+
"spec/fake_json/users/checkins/mattt_public.json",
|
136
|
+
"spec/fake_json/users/events/matake_private.json",
|
137
|
+
"spec/fake_json/users/events/matake_public.json",
|
138
|
+
"spec/fake_json/users/events/post_with_valid_access_token.json",
|
139
|
+
"spec/fake_json/users/feed/arjun_private.json",
|
140
|
+
"spec/fake_json/users/feed/arjun_public.json",
|
141
|
+
"spec/fake_json/users/feed/post_with_invalid_access_token.json",
|
142
|
+
"spec/fake_json/users/feed/post_with_valid_access_token.json",
|
143
|
+
"spec/fake_json/users/feed/post_without_access_token.json",
|
144
|
+
"spec/fake_json/users/friends/arjun_private.json",
|
145
|
+
"spec/fake_json/users/friends/arjun_public.json",
|
146
|
+
"spec/fake_json/users/friends/me_private.json",
|
147
|
+
"spec/fake_json/users/friends/me_public.json",
|
148
|
+
"spec/fake_json/users/groups/matake_private.json",
|
149
|
+
"spec/fake_json/users/groups/matake_public.json",
|
150
|
+
"spec/fake_json/users/home/arjun_private.json",
|
151
|
+
"spec/fake_json/users/home/arjun_public.json",
|
152
|
+
"spec/fake_json/users/home/me_private.json",
|
153
|
+
"spec/fake_json/users/home/me_private_next.json",
|
154
|
+
"spec/fake_json/users/home/me_private_previous.json",
|
155
|
+
"spec/fake_json/users/home/me_public.json",
|
156
|
+
"spec/fake_json/users/interests/matake_private.json",
|
157
|
+
"spec/fake_json/users/likes/arjun_private.json",
|
158
|
+
"spec/fake_json/users/likes/arjun_public.json",
|
159
|
+
"spec/fake_json/users/links/matake_private.json",
|
160
|
+
"spec/fake_json/users/links/post_with_valid_access_token.json",
|
161
|
+
"spec/fake_json/users/me_private.json",
|
162
|
+
"spec/fake_json/users/me_public.json",
|
163
|
+
"spec/fake_json/users/movies/matake_private.json",
|
164
|
+
"spec/fake_json/users/music/matake_private.json",
|
165
|
+
"spec/fake_json/users/notes/matake_private.json",
|
166
|
+
"spec/fake_json/users/posts/arjun_private.json",
|
167
|
+
"spec/fake_json/users/posts/arjun_public.json",
|
168
|
+
"spec/fake_json/users/statuses/arjun_private.json",
|
169
|
+
"spec/fake_json/users/statuses/arjun_public.json",
|
170
|
+
"spec/fake_json/users/tagged/arjun_private.json",
|
171
|
+
"spec/fake_json/users/tagged/arjun_public.json",
|
172
|
+
"spec/fake_json/users/television/matake_private.json",
|
173
|
+
"spec/fake_json/users/videos/kirk_private.json",
|
174
|
+
"spec/fb_graph/album_spec.rb",
|
175
|
+
"spec/fb_graph/application_spec.rb",
|
176
|
+
"spec/fb_graph/auth_spec.rb",
|
177
|
+
"spec/fb_graph/checkin_spec.rb",
|
178
|
+
"spec/fb_graph/collection_spec.rb",
|
179
|
+
"spec/fb_graph/comment_spec.rb",
|
180
|
+
"spec/fb_graph/connection_spec.rb",
|
181
|
+
"spec/fb_graph/connections/accounts_spec.rb",
|
182
|
+
"spec/fb_graph/connections/activities_spec.rb",
|
183
|
+
"spec/fb_graph/connections/albums_spec.rb",
|
184
|
+
"spec/fb_graph/connections/attending_spec.rb",
|
185
|
+
"spec/fb_graph/connections/books_spec.rb",
|
186
|
+
"spec/fb_graph/connections/checkins_spec.rb",
|
187
|
+
"spec/fb_graph/connections/comments_spec.rb",
|
188
|
+
"spec/fb_graph/connections/declined_spec.rb",
|
189
|
+
"spec/fb_graph/connections/events_spec.rb",
|
190
|
+
"spec/fb_graph/connections/feed_spec.rb",
|
191
|
+
"spec/fb_graph/connections/friends_spec.rb",
|
192
|
+
"spec/fb_graph/connections/groups_spec.rb",
|
193
|
+
"spec/fb_graph/connections/home_spec.rb",
|
194
|
+
"spec/fb_graph/connections/insights_spec.rb",
|
195
|
+
"spec/fb_graph/connections/interests_spec.rb",
|
196
|
+
"spec/fb_graph/connections/invited_spec.rb",
|
197
|
+
"spec/fb_graph/connections/likes_spec.rb",
|
198
|
+
"spec/fb_graph/connections/links_spec.rb",
|
199
|
+
"spec/fb_graph/connections/maybe_spec.rb",
|
200
|
+
"spec/fb_graph/connections/members_spec.rb",
|
201
|
+
"spec/fb_graph/connections/movies_spec.rb",
|
202
|
+
"spec/fb_graph/connections/music_spec.rb",
|
203
|
+
"spec/fb_graph/connections/noreply_spec.rb",
|
204
|
+
"spec/fb_graph/connections/notes_spec.rb",
|
205
|
+
"spec/fb_graph/connections/photos_spec.rb",
|
206
|
+
"spec/fb_graph/connections/picture_spec.rb",
|
207
|
+
"spec/fb_graph/connections/posts_spec.rb",
|
208
|
+
"spec/fb_graph/connections/statuses_spec.rb",
|
209
|
+
"spec/fb_graph/connections/subscriptions_spec.rb",
|
210
|
+
"spec/fb_graph/connections/tagged_spec.rb",
|
211
|
+
"spec/fb_graph/connections/television_spec.rb",
|
212
|
+
"spec/fb_graph/connections/videos_spec.rb",
|
213
|
+
"spec/fb_graph/education_spec.rb",
|
214
|
+
"spec/fb_graph/event_spec.rb",
|
215
|
+
"spec/fb_graph/group_spec.rb",
|
216
|
+
"spec/fb_graph/insight_spec.rb",
|
217
|
+
"spec/fb_graph/link_spec.rb",
|
218
|
+
"spec/fb_graph/node_spec.rb",
|
219
|
+
"spec/fb_graph/note_spec.rb",
|
220
|
+
"spec/fb_graph/page_spec.rb",
|
221
|
+
"spec/fb_graph/photo_spec.rb",
|
222
|
+
"spec/fb_graph/post_spec.rb",
|
223
|
+
"spec/fb_graph/status_spec.rb",
|
224
|
+
"spec/fb_graph/subscription_spec.rb",
|
225
|
+
"spec/fb_graph/tag_spec.rb",
|
226
|
+
"spec/fb_graph/user_spec.rb",
|
227
|
+
"spec/fb_graph/venue_spec.rb",
|
228
|
+
"spec/fb_graph/video_spec.rb",
|
229
|
+
"spec/fb_graph/work_spec.rb",
|
230
|
+
"spec/helpers/fake_json_helper.rb",
|
231
|
+
"spec/spec.opts",
|
232
|
+
"spec/spec_helper.rb"
|
232
233
|
]
|
233
234
|
s.homepage = %q{http://github.com/nov/fb_graph}
|
235
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
234
236
|
s.require_paths = ["lib"]
|
235
237
|
s.rubygems_version = %q{1.3.7}
|
236
238
|
s.summary = %q{A full-stack Facebook Graph API wrapper in Ruby.}
|
237
239
|
s.test_files = [
|
238
240
|
"spec/fb_graph/album_spec.rb",
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
241
|
+
"spec/fb_graph/application_spec.rb",
|
242
|
+
"spec/fb_graph/auth_spec.rb",
|
243
|
+
"spec/fb_graph/checkin_spec.rb",
|
244
|
+
"spec/fb_graph/collection_spec.rb",
|
245
|
+
"spec/fb_graph/comment_spec.rb",
|
246
|
+
"spec/fb_graph/connection_spec.rb",
|
247
|
+
"spec/fb_graph/connections/accounts_spec.rb",
|
248
|
+
"spec/fb_graph/connections/activities_spec.rb",
|
249
|
+
"spec/fb_graph/connections/albums_spec.rb",
|
250
|
+
"spec/fb_graph/connections/attending_spec.rb",
|
251
|
+
"spec/fb_graph/connections/books_spec.rb",
|
252
|
+
"spec/fb_graph/connections/checkins_spec.rb",
|
253
|
+
"spec/fb_graph/connections/comments_spec.rb",
|
254
|
+
"spec/fb_graph/connections/declined_spec.rb",
|
255
|
+
"spec/fb_graph/connections/events_spec.rb",
|
256
|
+
"spec/fb_graph/connections/feed_spec.rb",
|
257
|
+
"spec/fb_graph/connections/friends_spec.rb",
|
258
|
+
"spec/fb_graph/connections/groups_spec.rb",
|
259
|
+
"spec/fb_graph/connections/home_spec.rb",
|
260
|
+
"spec/fb_graph/connections/insights_spec.rb",
|
261
|
+
"spec/fb_graph/connections/interests_spec.rb",
|
262
|
+
"spec/fb_graph/connections/invited_spec.rb",
|
263
|
+
"spec/fb_graph/connections/likes_spec.rb",
|
264
|
+
"spec/fb_graph/connections/links_spec.rb",
|
265
|
+
"spec/fb_graph/connections/maybe_spec.rb",
|
266
|
+
"spec/fb_graph/connections/members_spec.rb",
|
267
|
+
"spec/fb_graph/connections/movies_spec.rb",
|
268
|
+
"spec/fb_graph/connections/music_spec.rb",
|
269
|
+
"spec/fb_graph/connections/noreply_spec.rb",
|
270
|
+
"spec/fb_graph/connections/notes_spec.rb",
|
271
|
+
"spec/fb_graph/connections/photos_spec.rb",
|
272
|
+
"spec/fb_graph/connections/picture_spec.rb",
|
273
|
+
"spec/fb_graph/connections/posts_spec.rb",
|
274
|
+
"spec/fb_graph/connections/statuses_spec.rb",
|
275
|
+
"spec/fb_graph/connections/subscriptions_spec.rb",
|
276
|
+
"spec/fb_graph/connections/tagged_spec.rb",
|
277
|
+
"spec/fb_graph/connections/television_spec.rb",
|
278
|
+
"spec/fb_graph/connections/videos_spec.rb",
|
279
|
+
"spec/fb_graph/education_spec.rb",
|
280
|
+
"spec/fb_graph/event_spec.rb",
|
281
|
+
"spec/fb_graph/group_spec.rb",
|
282
|
+
"spec/fb_graph/insight_spec.rb",
|
283
|
+
"spec/fb_graph/link_spec.rb",
|
284
|
+
"spec/fb_graph/node_spec.rb",
|
285
|
+
"spec/fb_graph/note_spec.rb",
|
286
|
+
"spec/fb_graph/page_spec.rb",
|
287
|
+
"spec/fb_graph/photo_spec.rb",
|
288
|
+
"spec/fb_graph/post_spec.rb",
|
289
|
+
"spec/fb_graph/status_spec.rb",
|
290
|
+
"spec/fb_graph/subscription_spec.rb",
|
291
|
+
"spec/fb_graph/tag_spec.rb",
|
292
|
+
"spec/fb_graph/user_spec.rb",
|
293
|
+
"spec/fb_graph/venue_spec.rb",
|
294
|
+
"spec/fb_graph/video_spec.rb",
|
295
|
+
"spec/fb_graph/work_spec.rb",
|
296
|
+
"spec/helpers/fake_json_helper.rb",
|
297
|
+
"spec/spec_helper.rb"
|
296
298
|
]
|
297
299
|
|
298
300
|
if s.respond_to? :specification_version then
|
data/lib/fb_graph/album.rb
CHANGED
@@ -12,6 +12,7 @@ module FbGraph
|
|
12
12
|
# +link+:: String
|
13
13
|
# +privacy+:: String <em>ex.) "everyone"</em>
|
14
14
|
# +count+:: Integer
|
15
|
+
# +type+:: String <em>ex.) "normal"</em>
|
15
16
|
# +created_time+:: Time (UTC)
|
16
17
|
# +updated_time+:: Time (UTC)
|
17
18
|
#
|
@@ -97,7 +98,7 @@ module FbGraph
|
|
97
98
|
include Connections::Comments
|
98
99
|
include Connections::Likes
|
99
100
|
|
100
|
-
attr_accessor :from, :name, :description, :location, :link, :privacy, :count, :created_time, :updated_time
|
101
|
+
attr_accessor :from, :name, :description, :location, :link, :privacy, :count, :created_time, :updated_time, :type
|
101
102
|
|
102
103
|
def initialize(identifier, attributes = {})
|
103
104
|
super
|
@@ -119,6 +120,8 @@ module FbGraph
|
|
119
120
|
@link = attributes[:link]
|
120
121
|
@privacy = attributes[:privacy]
|
121
122
|
@count = attributes[:count]
|
123
|
+
@type = attributes[:type]
|
124
|
+
|
122
125
|
@created_time = if attributes[:created_time]
|
123
126
|
Time.parse(attributes[:created_time]).utc
|
124
127
|
end
|
data/lib/fb_graph/page.rb
CHANGED
@@ -7,7 +7,6 @@ module FbGraph
|
|
7
7
|
include Connections::Groups
|
8
8
|
include Connections::Insights
|
9
9
|
include Connections::Links
|
10
|
-
include Connections::Members
|
11
10
|
include Connections::Notes
|
12
11
|
include Connections::Photos
|
13
12
|
include Connections::Picture
|
@@ -17,7 +16,7 @@ module FbGraph
|
|
17
16
|
include Connections::Videos
|
18
17
|
extend Searchable
|
19
18
|
|
20
|
-
attr_accessor :name, :username, :link, :category, :founded, :company_overview, :mission, :products, :fan_count, :location
|
19
|
+
attr_accessor :name, :username, :link, :category, :founded, :company_overview, :mission, :products, :fan_count, :location, :website
|
21
20
|
|
22
21
|
def initialize(identifier, attributes = {})
|
23
22
|
super
|
@@ -37,6 +36,7 @@ module FbGraph
|
|
37
36
|
if (location = attributes[:location])
|
38
37
|
@venue = FbGraph::Venue.new(location)
|
39
38
|
end
|
39
|
+
@website = attributes[:website]
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
data/spec/fb_graph/album_spec.rb
CHANGED
@@ -14,6 +14,7 @@ describe FbGraph::Album, '.new' do
|
|
14
14
|
:location => 'Tokyo, Japan',
|
15
15
|
:link => 'http://www.facebook.com/album/12345',
|
16
16
|
:count => 10,
|
17
|
+
:type => 'normal',
|
17
18
|
:created_time => '2009-12-29T15:24:50+0000',
|
18
19
|
:updated_time => '2010-01-02T15:37:41+0000',
|
19
20
|
:comments => {
|
@@ -36,6 +37,7 @@ describe FbGraph::Album, '.new' do
|
|
36
37
|
album.location.should == 'Tokyo, Japan'
|
37
38
|
album.link.should == 'http://www.facebook.com/album/12345'
|
38
39
|
album.count.should == 10
|
40
|
+
album.type.should == 'normal'
|
39
41
|
album.created_time.should == Time.parse('2009-12-29T15:24:50+0000')
|
40
42
|
album.updated_time.should == Time.parse('2010-01-02T15:37:41+0000')
|
41
43
|
album.comments.should == [FbGraph::Comment.new(
|
data/spec/fb_graph/page_spec.rb
CHANGED
@@ -13,7 +13,8 @@ describe FbGraph::Page, '.new' do
|
|
13
13
|
:fan_count => 578246,
|
14
14
|
:company_overview => 'Facebook Platform enables anyone to build social applications on Facebook and the web.',
|
15
15
|
:link => 'http://www.facebook.com/platform',
|
16
|
-
:picture => 'http://profile.ak.fbcdn.net/profile-ak-snc1/object3/1566/8/s19292868552_1660.jpg'
|
16
|
+
:picture => 'http://profile.ak.fbcdn.net/profile-ak-snc1/object3/1566/8/s19292868552_1660.jpg',
|
17
|
+
:website => 'http://developers.facebook.com'
|
17
18
|
}
|
18
19
|
page = FbGraph::Page.new(attributes.delete(:id), attributes)
|
19
20
|
page.identifier.should == '19292868552'
|
@@ -33,6 +34,7 @@ describe FbGraph::Page, '.new' do
|
|
33
34
|
page.company_overview.should == 'Facebook Platform enables anyone to build social applications on Facebook and the web.'
|
34
35
|
page.link.should == 'http://www.facebook.com/platform'
|
35
36
|
page.picture.should == 'https://graph.facebook.com/19292868552/picture' # use connection
|
37
|
+
page.website.should == 'http://developers.facebook.com'
|
36
38
|
end
|
37
39
|
|
38
40
|
it 'should allow invalid date as founded' do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fb_graph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- nov matake
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-03 00:00:00 +09:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -133,6 +133,7 @@ extra_rdoc_files:
|
|
133
133
|
- README.rdoc
|
134
134
|
files:
|
135
135
|
- .document
|
136
|
+
- .gitignore
|
136
137
|
- LICENSE
|
137
138
|
- README.rdoc
|
138
139
|
- Rakefile
|
@@ -349,8 +350,8 @@ homepage: http://github.com/nov/fb_graph
|
|
349
350
|
licenses: []
|
350
351
|
|
351
352
|
post_install_message:
|
352
|
-
rdoc_options:
|
353
|
-
|
353
|
+
rdoc_options:
|
354
|
+
- --charset=UTF-8
|
354
355
|
require_paths:
|
355
356
|
- lib
|
356
357
|
required_ruby_version: !ruby/object:Gem::Requirement
|