fb_graph 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,21 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.4
1
+ 1.2.5
data/fb_graph.gemspec CHANGED
@@ -1,354 +1,357 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
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.2.4"
8
+ s.version = "1.2.5"
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{2011-01-03}
12
+ s.date = %q{2011-01-04}
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
- "README.rdoc"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- "LICENSE",
22
- "README.rdoc",
23
- "Rakefile",
24
- "VERSION",
25
- "assets/fb_graph.ai",
26
- "assets/fb_graph.png",
27
- "fb_graph.gemspec",
28
- "lib/fb_graph.rb",
29
- "lib/fb_graph/action.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/friend_lists.rb",
51
- "lib/fb_graph/connections/friends.rb",
52
- "lib/fb_graph/connections/groups.rb",
53
- "lib/fb_graph/connections/home.rb",
54
- "lib/fb_graph/connections/insights.rb",
55
- "lib/fb_graph/connections/interests.rb",
56
- "lib/fb_graph/connections/invited.rb",
57
- "lib/fb_graph/connections/likes.rb",
58
- "lib/fb_graph/connections/links.rb",
59
- "lib/fb_graph/connections/maybe.rb",
60
- "lib/fb_graph/connections/members.rb",
61
- "lib/fb_graph/connections/movies.rb",
62
- "lib/fb_graph/connections/music.rb",
63
- "lib/fb_graph/connections/noreply.rb",
64
- "lib/fb_graph/connections/notes.rb",
65
- "lib/fb_graph/connections/photos.rb",
66
- "lib/fb_graph/connections/picture.rb",
67
- "lib/fb_graph/connections/posts.rb",
68
- "lib/fb_graph/connections/statuses.rb",
69
- "lib/fb_graph/connections/subscriptions.rb",
70
- "lib/fb_graph/connections/tagged.rb",
71
- "lib/fb_graph/connections/television.rb",
72
- "lib/fb_graph/connections/test_users.rb",
73
- "lib/fb_graph/connections/videos.rb",
74
- "lib/fb_graph/education.rb",
75
- "lib/fb_graph/event.rb",
76
- "lib/fb_graph/friend_list.rb",
77
- "lib/fb_graph/group.rb",
78
- "lib/fb_graph/insight.rb",
79
- "lib/fb_graph/link.rb",
80
- "lib/fb_graph/location.rb",
81
- "lib/fb_graph/node.rb",
82
- "lib/fb_graph/note.rb",
83
- "lib/fb_graph/page.rb",
84
- "lib/fb_graph/photo.rb",
85
- "lib/fb_graph/place.rb",
86
- "lib/fb_graph/post.rb",
87
- "lib/fb_graph/privacy.rb",
88
- "lib/fb_graph/project.rb",
89
- "lib/fb_graph/query.rb",
90
- "lib/fb_graph/searchable.rb",
91
- "lib/fb_graph/searchable/result.rb",
92
- "lib/fb_graph/serialization.rb",
93
- "lib/fb_graph/status.rb",
94
- "lib/fb_graph/subscription.rb",
95
- "lib/fb_graph/tag.rb",
96
- "lib/fb_graph/targeting.rb",
97
- "lib/fb_graph/test_user.rb",
98
- "lib/fb_graph/user.rb",
99
- "lib/fb_graph/venue.rb",
100
- "lib/fb_graph/video.rb",
101
- "lib/fb_graph/work.rb",
102
- "spec/fake_json/albums/photos/matake_private.json",
103
- "spec/fake_json/albums/photos/post_with_valid_access_token.json",
104
- "spec/fake_json/applications/subscriptions/fb_graph_private.json",
105
- "spec/fake_json/applications/test_users/created.json",
106
- "spec/fake_json/applications/test_users/private.json",
107
- "spec/fake_json/checkins/search_private.json",
108
- "spec/fake_json/checkins/search_public.json",
109
- "spec/fake_json/events/attending/post_with_valid_access_token.json",
110
- "spec/fake_json/events/attending/smartday_private.json",
111
- "spec/fake_json/events/declined/post_with_valid_access_token.json",
112
- "spec/fake_json/events/declined/smartday_private.json",
113
- "spec/fake_json/events/invited/smartday_private.json",
114
- "spec/fake_json/events/maybe/post_with_valid_access_token.json",
115
- "spec/fake_json/events/maybe/smartday_private.json",
116
- "spec/fake_json/events/noreply/smartday_private.json",
117
- "spec/fake_json/groups/members/emacs_private.json",
118
- "spec/fake_json/pages/checkins/gowalla_private.json",
119
- "spec/fake_json/pages/checkins/gowalla_public.json",
120
- "spec/fake_json/pages/insights/FbGraph_private.json",
121
- "spec/fake_json/pages/insights/FbGraph_public.json",
122
- "spec/fake_json/pages/insights/page_like_adds/FbGraph_private.json",
123
- "spec/fake_json/pages/insights/page_like_adds/day/FbGraph_private.json",
124
- "spec/fake_json/pages/notes/post_with_valid_access_token.json",
125
- "spec/fake_json/pages/platform_private.json",
126
- "spec/fake_json/pages/platform_public.json",
127
- "spec/fake_json/pages/search_fb_graph.json",
128
- "spec/fake_json/pages/search_google.json",
129
- "spec/fake_json/pages/statuses/platform_private.json",
130
- "spec/fake_json/pages/statuses/platform_public.json",
131
- "spec/fake_json/posts/comments/post_with_invalid_access_token.json",
132
- "spec/fake_json/posts/comments/post_with_valid_access_token.json",
133
- "spec/fake_json/posts/comments/post_without_access_token.json",
134
- "spec/fake_json/posts/likes/post_with_invalid_access_token.json",
135
- "spec/fake_json/posts/likes/post_with_valid_access_token.json",
136
- "spec/fake_json/posts/likes/post_without_access_token.json",
137
- "spec/fake_json/posts/no_comments.json",
138
- "spec/fake_json/posts/platform_private.json",
139
- "spec/fake_json/posts/platform_public.json",
140
- "spec/fake_json/query/user/with_invalid_token.json",
141
- "spec/fake_json/query/user/with_valid_token.json",
142
- "spec/fake_json/query/user/without_token.json",
143
- "spec/fake_json/statuses/with_likes.json",
144
- "spec/fake_json/token_response.json",
145
- "spec/fake_json/true.json",
146
- "spec/fake_json/users/accounts/matake_private.json",
147
- "spec/fake_json/users/accounts/matake_private_with_manage_pages_permission.json",
148
- "spec/fake_json/users/accounts/matake_public.json",
149
- "spec/fake_json/users/activities/arjun_private.json",
150
- "spec/fake_json/users/activities/arjun_public.json",
151
- "spec/fake_json/users/albums/matake_private.json",
152
- "spec/fake_json/users/albums/matake_public.json",
153
- "spec/fake_json/users/albums/post_with_valid_access_token.json",
154
- "spec/fake_json/users/arjun_private.json",
155
- "spec/fake_json/users/arjun_public.json",
156
- "spec/fake_json/users/books/matake_private.json",
157
- "spec/fake_json/users/books/matake_public.json",
158
- "spec/fake_json/users/checkins/mattt_private.json",
159
- "spec/fake_json/users/checkins/mattt_public.json",
160
- "spec/fake_json/users/checkins/posted.json",
161
- "spec/fake_json/users/events/matake_private.json",
162
- "spec/fake_json/users/events/matake_public.json",
163
- "spec/fake_json/users/events/post_with_valid_access_token.json",
164
- "spec/fake_json/users/feed/arjun_private.json",
165
- "spec/fake_json/users/feed/arjun_public.json",
166
- "spec/fake_json/users/feed/post_with_invalid_access_token.json",
167
- "spec/fake_json/users/feed/post_with_valid_access_token.json",
168
- "spec/fake_json/users/feed/post_without_access_token.json",
169
- "spec/fake_json/users/friend_lists/matake.json",
170
- "spec/fake_json/users/friends/arjun_private.json",
171
- "spec/fake_json/users/friends/arjun_public.json",
172
- "spec/fake_json/users/friends/me_private.json",
173
- "spec/fake_json/users/friends/me_public.json",
174
- "spec/fake_json/users/groups/matake_private.json",
175
- "spec/fake_json/users/groups/matake_public.json",
176
- "spec/fake_json/users/home/arjun_private.json",
177
- "spec/fake_json/users/home/arjun_public.json",
178
- "spec/fake_json/users/home/me_private.json",
179
- "spec/fake_json/users/home/me_private_next.json",
180
- "spec/fake_json/users/home/me_private_previous.json",
181
- "spec/fake_json/users/home/me_public.json",
182
- "spec/fake_json/users/interests/matake_private.json",
183
- "spec/fake_json/users/likes/arjun_private.json",
184
- "spec/fake_json/users/likes/arjun_public.json",
185
- "spec/fake_json/users/links/matake_private.json",
186
- "spec/fake_json/users/links/post_with_valid_access_token.json",
187
- "spec/fake_json/users/me_private.json",
188
- "spec/fake_json/users/me_public.json",
189
- "spec/fake_json/users/movies/matake_private.json",
190
- "spec/fake_json/users/music/matake_private.json",
191
- "spec/fake_json/users/notes/matake_private.json",
192
- "spec/fake_json/users/posts/arjun_private.json",
193
- "spec/fake_json/users/posts/arjun_public.json",
194
- "spec/fake_json/users/statuses/arjun_private.json",
195
- "spec/fake_json/users/statuses/arjun_public.json",
196
- "spec/fake_json/users/tagged/arjun_private.json",
197
- "spec/fake_json/users/tagged/arjun_public.json",
198
- "spec/fake_json/users/television/matake_private.json",
199
- "spec/fake_json/users/videos/kirk_private.json",
200
- "spec/fb_graph/album_spec.rb",
201
- "spec/fb_graph/application_spec.rb",
202
- "spec/fb_graph/auth/cookie_spec.rb",
203
- "spec/fb_graph/auth_spec.rb",
204
- "spec/fb_graph/checkin_spec.rb",
205
- "spec/fb_graph/collection_spec.rb",
206
- "spec/fb_graph/comment_spec.rb",
207
- "spec/fb_graph/connection_spec.rb",
208
- "spec/fb_graph/connections/accounts_spec.rb",
209
- "spec/fb_graph/connections/activities_spec.rb",
210
- "spec/fb_graph/connections/albums_spec.rb",
211
- "spec/fb_graph/connections/attending_spec.rb",
212
- "spec/fb_graph/connections/books_spec.rb",
213
- "spec/fb_graph/connections/checkins_spec.rb",
214
- "spec/fb_graph/connections/comments_spec.rb",
215
- "spec/fb_graph/connections/declined_spec.rb",
216
- "spec/fb_graph/connections/events_spec.rb",
217
- "spec/fb_graph/connections/feed_spec.rb",
218
- "spec/fb_graph/connections/friend_lists_spec.rb",
219
- "spec/fb_graph/connections/friends_spec.rb",
220
- "spec/fb_graph/connections/groups_spec.rb",
221
- "spec/fb_graph/connections/home_spec.rb",
222
- "spec/fb_graph/connections/insights_spec.rb",
223
- "spec/fb_graph/connections/interests_spec.rb",
224
- "spec/fb_graph/connections/invited_spec.rb",
225
- "spec/fb_graph/connections/likes_spec.rb",
226
- "spec/fb_graph/connections/links_spec.rb",
227
- "spec/fb_graph/connections/maybe_spec.rb",
228
- "spec/fb_graph/connections/members_spec.rb",
229
- "spec/fb_graph/connections/movies_spec.rb",
230
- "spec/fb_graph/connections/music_spec.rb",
231
- "spec/fb_graph/connections/noreply_spec.rb",
232
- "spec/fb_graph/connections/notes_spec.rb",
233
- "spec/fb_graph/connections/photos_spec.rb",
234
- "spec/fb_graph/connections/picture_spec.rb",
235
- "spec/fb_graph/connections/posts_spec.rb",
236
- "spec/fb_graph/connections/statuses_spec.rb",
237
- "spec/fb_graph/connections/subscriptions_spec.rb",
238
- "spec/fb_graph/connections/tagged_spec.rb",
239
- "spec/fb_graph/connections/television_spec.rb",
240
- "spec/fb_graph/connections/test_users_spec.rb",
241
- "spec/fb_graph/connections/videos_spec.rb",
242
- "spec/fb_graph/education_spec.rb",
243
- "spec/fb_graph/event_spec.rb",
244
- "spec/fb_graph/exception_spec.rb",
245
- "spec/fb_graph/friend_list_spec.rb",
246
- "spec/fb_graph/group_spec.rb",
247
- "spec/fb_graph/insight_spec.rb",
248
- "spec/fb_graph/link_spec.rb",
249
- "spec/fb_graph/location_spec.rb",
250
- "spec/fb_graph/node_spec.rb",
251
- "spec/fb_graph/note_spec.rb",
252
- "spec/fb_graph/page_spec.rb",
253
- "spec/fb_graph/photo_spec.rb",
254
- "spec/fb_graph/post_spec.rb",
255
- "spec/fb_graph/privacy_spec.rb",
256
- "spec/fb_graph/project_spec.rb",
257
- "spec/fb_graph/query/core_spec.rb",
258
- "spec/fb_graph/searchable_spec.rb",
259
- "spec/fb_graph/seriarization_spec.rb",
260
- "spec/fb_graph/status_spec.rb",
261
- "spec/fb_graph/subscription_spec.rb",
262
- "spec/fb_graph/tag_spec.rb",
263
- "spec/fb_graph/targeting_spec.rb",
264
- "spec/fb_graph/test_user_spec.rb",
265
- "spec/fb_graph/user_spec.rb",
266
- "spec/fb_graph/venue_spec.rb",
267
- "spec/fb_graph/video_spec.rb",
268
- "spec/fb_graph/work_spec.rb",
269
- "spec/helpers/fake_json_helper.rb",
270
- "spec/spec.opts",
271
- "spec/spec_helper.rb"
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/action.rb",
31
+ "lib/fb_graph/album.rb",
32
+ "lib/fb_graph/application.rb",
33
+ "lib/fb_graph/auth.rb",
34
+ "lib/fb_graph/auth/cookie.rb",
35
+ "lib/fb_graph/checkin.rb",
36
+ "lib/fb_graph/collection.rb",
37
+ "lib/fb_graph/comment.rb",
38
+ "lib/fb_graph/comparison.rb",
39
+ "lib/fb_graph/connection.rb",
40
+ "lib/fb_graph/connections.rb",
41
+ "lib/fb_graph/connections/accounts.rb",
42
+ "lib/fb_graph/connections/activities.rb",
43
+ "lib/fb_graph/connections/albums.rb",
44
+ "lib/fb_graph/connections/attending.rb",
45
+ "lib/fb_graph/connections/books.rb",
46
+ "lib/fb_graph/connections/checkins.rb",
47
+ "lib/fb_graph/connections/comments.rb",
48
+ "lib/fb_graph/connections/declined.rb",
49
+ "lib/fb_graph/connections/events.rb",
50
+ "lib/fb_graph/connections/feed.rb",
51
+ "lib/fb_graph/connections/friend_lists.rb",
52
+ "lib/fb_graph/connections/friends.rb",
53
+ "lib/fb_graph/connections/groups.rb",
54
+ "lib/fb_graph/connections/home.rb",
55
+ "lib/fb_graph/connections/insights.rb",
56
+ "lib/fb_graph/connections/interests.rb",
57
+ "lib/fb_graph/connections/invited.rb",
58
+ "lib/fb_graph/connections/likes.rb",
59
+ "lib/fb_graph/connections/links.rb",
60
+ "lib/fb_graph/connections/maybe.rb",
61
+ "lib/fb_graph/connections/members.rb",
62
+ "lib/fb_graph/connections/movies.rb",
63
+ "lib/fb_graph/connections/music.rb",
64
+ "lib/fb_graph/connections/noreply.rb",
65
+ "lib/fb_graph/connections/notes.rb",
66
+ "lib/fb_graph/connections/photos.rb",
67
+ "lib/fb_graph/connections/picture.rb",
68
+ "lib/fb_graph/connections/posts.rb",
69
+ "lib/fb_graph/connections/statuses.rb",
70
+ "lib/fb_graph/connections/subscriptions.rb",
71
+ "lib/fb_graph/connections/tagged.rb",
72
+ "lib/fb_graph/connections/television.rb",
73
+ "lib/fb_graph/connections/test_users.rb",
74
+ "lib/fb_graph/connections/videos.rb",
75
+ "lib/fb_graph/education.rb",
76
+ "lib/fb_graph/event.rb",
77
+ "lib/fb_graph/friend_list.rb",
78
+ "lib/fb_graph/group.rb",
79
+ "lib/fb_graph/insight.rb",
80
+ "lib/fb_graph/link.rb",
81
+ "lib/fb_graph/location.rb",
82
+ "lib/fb_graph/node.rb",
83
+ "lib/fb_graph/note.rb",
84
+ "lib/fb_graph/page.rb",
85
+ "lib/fb_graph/photo.rb",
86
+ "lib/fb_graph/place.rb",
87
+ "lib/fb_graph/post.rb",
88
+ "lib/fb_graph/privacy.rb",
89
+ "lib/fb_graph/project.rb",
90
+ "lib/fb_graph/query.rb",
91
+ "lib/fb_graph/searchable.rb",
92
+ "lib/fb_graph/searchable/result.rb",
93
+ "lib/fb_graph/serialization.rb",
94
+ "lib/fb_graph/status.rb",
95
+ "lib/fb_graph/subscription.rb",
96
+ "lib/fb_graph/tag.rb",
97
+ "lib/fb_graph/targeting.rb",
98
+ "lib/fb_graph/test_user.rb",
99
+ "lib/fb_graph/user.rb",
100
+ "lib/fb_graph/venue.rb",
101
+ "lib/fb_graph/video.rb",
102
+ "lib/fb_graph/work.rb",
103
+ "spec/fake_json/albums/photos/matake_private.json",
104
+ "spec/fake_json/albums/photos/post_with_valid_access_token.json",
105
+ "spec/fake_json/applications/subscriptions/fb_graph_private.json",
106
+ "spec/fake_json/applications/test_users/created.json",
107
+ "spec/fake_json/applications/test_users/private.json",
108
+ "spec/fake_json/checkins/search_private.json",
109
+ "spec/fake_json/checkins/search_public.json",
110
+ "spec/fake_json/events/attending/post_with_valid_access_token.json",
111
+ "spec/fake_json/events/attending/smartday_private.json",
112
+ "spec/fake_json/events/declined/post_with_valid_access_token.json",
113
+ "spec/fake_json/events/declined/smartday_private.json",
114
+ "spec/fake_json/events/invited/smartday_private.json",
115
+ "spec/fake_json/events/maybe/post_with_valid_access_token.json",
116
+ "spec/fake_json/events/maybe/smartday_private.json",
117
+ "spec/fake_json/events/noreply/smartday_private.json",
118
+ "spec/fake_json/groups/members/emacs_private.json",
119
+ "spec/fake_json/pages/checkins/gowalla_private.json",
120
+ "spec/fake_json/pages/checkins/gowalla_public.json",
121
+ "spec/fake_json/pages/insights/FbGraph_private.json",
122
+ "spec/fake_json/pages/insights/FbGraph_public.json",
123
+ "spec/fake_json/pages/insights/page_like_adds/FbGraph_private.json",
124
+ "spec/fake_json/pages/insights/page_like_adds/day/FbGraph_private.json",
125
+ "spec/fake_json/pages/notes/post_with_valid_access_token.json",
126
+ "spec/fake_json/pages/platform_private.json",
127
+ "spec/fake_json/pages/platform_public.json",
128
+ "spec/fake_json/pages/search_fb_graph.json",
129
+ "spec/fake_json/pages/search_google.json",
130
+ "spec/fake_json/pages/statuses/platform_private.json",
131
+ "spec/fake_json/pages/statuses/platform_public.json",
132
+ "spec/fake_json/posts/comments/post_with_invalid_access_token.json",
133
+ "spec/fake_json/posts/comments/post_with_valid_access_token.json",
134
+ "spec/fake_json/posts/comments/post_without_access_token.json",
135
+ "spec/fake_json/posts/likes/post_with_invalid_access_token.json",
136
+ "spec/fake_json/posts/likes/post_with_valid_access_token.json",
137
+ "spec/fake_json/posts/likes/post_without_access_token.json",
138
+ "spec/fake_json/posts/no_comments.json",
139
+ "spec/fake_json/posts/platform_private.json",
140
+ "spec/fake_json/posts/platform_public.json",
141
+ "spec/fake_json/query/user/with_invalid_token.json",
142
+ "spec/fake_json/query/user/with_valid_token.json",
143
+ "spec/fake_json/query/user/without_token.json",
144
+ "spec/fake_json/statuses/with_likes.json",
145
+ "spec/fake_json/token_response.json",
146
+ "spec/fake_json/true.json",
147
+ "spec/fake_json/users/accounts/matake_private.json",
148
+ "spec/fake_json/users/accounts/matake_private_with_manage_pages_permission.json",
149
+ "spec/fake_json/users/accounts/matake_public.json",
150
+ "spec/fake_json/users/activities/arjun_private.json",
151
+ "spec/fake_json/users/activities/arjun_public.json",
152
+ "spec/fake_json/users/albums/matake_private.json",
153
+ "spec/fake_json/users/albums/matake_public.json",
154
+ "spec/fake_json/users/albums/post_with_valid_access_token.json",
155
+ "spec/fake_json/users/arjun_private.json",
156
+ "spec/fake_json/users/arjun_public.json",
157
+ "spec/fake_json/users/books/matake_private.json",
158
+ "spec/fake_json/users/books/matake_public.json",
159
+ "spec/fake_json/users/checkins/mattt_private.json",
160
+ "spec/fake_json/users/checkins/mattt_public.json",
161
+ "spec/fake_json/users/checkins/posted.json",
162
+ "spec/fake_json/users/events/matake_private.json",
163
+ "spec/fake_json/users/events/matake_public.json",
164
+ "spec/fake_json/users/events/post_with_valid_access_token.json",
165
+ "spec/fake_json/users/feed/arjun_private.json",
166
+ "spec/fake_json/users/feed/arjun_public.json",
167
+ "spec/fake_json/users/feed/post_with_invalid_access_token.json",
168
+ "spec/fake_json/users/feed/post_with_valid_access_token.json",
169
+ "spec/fake_json/users/feed/post_without_access_token.json",
170
+ "spec/fake_json/users/friend_lists/matake.json",
171
+ "spec/fake_json/users/friends/arjun_private.json",
172
+ "spec/fake_json/users/friends/arjun_public.json",
173
+ "spec/fake_json/users/friends/me_private.json",
174
+ "spec/fake_json/users/friends/me_public.json",
175
+ "spec/fake_json/users/groups/matake_private.json",
176
+ "spec/fake_json/users/groups/matake_public.json",
177
+ "spec/fake_json/users/home/arjun_private.json",
178
+ "spec/fake_json/users/home/arjun_public.json",
179
+ "spec/fake_json/users/home/me_private.json",
180
+ "spec/fake_json/users/home/me_private_next.json",
181
+ "spec/fake_json/users/home/me_private_previous.json",
182
+ "spec/fake_json/users/home/me_public.json",
183
+ "spec/fake_json/users/interests/matake_private.json",
184
+ "spec/fake_json/users/likes/arjun_private.json",
185
+ "spec/fake_json/users/likes/arjun_public.json",
186
+ "spec/fake_json/users/links/matake_private.json",
187
+ "spec/fake_json/users/links/post_with_valid_access_token.json",
188
+ "spec/fake_json/users/me_private.json",
189
+ "spec/fake_json/users/me_public.json",
190
+ "spec/fake_json/users/movies/matake_private.json",
191
+ "spec/fake_json/users/music/matake_private.json",
192
+ "spec/fake_json/users/notes/matake_private.json",
193
+ "spec/fake_json/users/posts/arjun_private.json",
194
+ "spec/fake_json/users/posts/arjun_public.json",
195
+ "spec/fake_json/users/statuses/arjun_private.json",
196
+ "spec/fake_json/users/statuses/arjun_public.json",
197
+ "spec/fake_json/users/tagged/arjun_private.json",
198
+ "spec/fake_json/users/tagged/arjun_public.json",
199
+ "spec/fake_json/users/television/matake_private.json",
200
+ "spec/fake_json/users/videos/kirk_private.json",
201
+ "spec/fb_graph/album_spec.rb",
202
+ "spec/fb_graph/application_spec.rb",
203
+ "spec/fb_graph/auth/cookie_spec.rb",
204
+ "spec/fb_graph/auth_spec.rb",
205
+ "spec/fb_graph/checkin_spec.rb",
206
+ "spec/fb_graph/collection_spec.rb",
207
+ "spec/fb_graph/comment_spec.rb",
208
+ "spec/fb_graph/connection_spec.rb",
209
+ "spec/fb_graph/connections/accounts_spec.rb",
210
+ "spec/fb_graph/connections/activities_spec.rb",
211
+ "spec/fb_graph/connections/albums_spec.rb",
212
+ "spec/fb_graph/connections/attending_spec.rb",
213
+ "spec/fb_graph/connections/books_spec.rb",
214
+ "spec/fb_graph/connections/checkins_spec.rb",
215
+ "spec/fb_graph/connections/comments_spec.rb",
216
+ "spec/fb_graph/connections/declined_spec.rb",
217
+ "spec/fb_graph/connections/events_spec.rb",
218
+ "spec/fb_graph/connections/feed_spec.rb",
219
+ "spec/fb_graph/connections/friend_lists_spec.rb",
220
+ "spec/fb_graph/connections/friends_spec.rb",
221
+ "spec/fb_graph/connections/groups_spec.rb",
222
+ "spec/fb_graph/connections/home_spec.rb",
223
+ "spec/fb_graph/connections/insights_spec.rb",
224
+ "spec/fb_graph/connections/interests_spec.rb",
225
+ "spec/fb_graph/connections/invited_spec.rb",
226
+ "spec/fb_graph/connections/likes_spec.rb",
227
+ "spec/fb_graph/connections/links_spec.rb",
228
+ "spec/fb_graph/connections/maybe_spec.rb",
229
+ "spec/fb_graph/connections/members_spec.rb",
230
+ "spec/fb_graph/connections/movies_spec.rb",
231
+ "spec/fb_graph/connections/music_spec.rb",
232
+ "spec/fb_graph/connections/noreply_spec.rb",
233
+ "spec/fb_graph/connections/notes_spec.rb",
234
+ "spec/fb_graph/connections/photos_spec.rb",
235
+ "spec/fb_graph/connections/picture_spec.rb",
236
+ "spec/fb_graph/connections/posts_spec.rb",
237
+ "spec/fb_graph/connections/statuses_spec.rb",
238
+ "spec/fb_graph/connections/subscriptions_spec.rb",
239
+ "spec/fb_graph/connections/tagged_spec.rb",
240
+ "spec/fb_graph/connections/television_spec.rb",
241
+ "spec/fb_graph/connections/test_users_spec.rb",
242
+ "spec/fb_graph/connections/videos_spec.rb",
243
+ "spec/fb_graph/education_spec.rb",
244
+ "spec/fb_graph/event_spec.rb",
245
+ "spec/fb_graph/exception_spec.rb",
246
+ "spec/fb_graph/friend_list_spec.rb",
247
+ "spec/fb_graph/group_spec.rb",
248
+ "spec/fb_graph/insight_spec.rb",
249
+ "spec/fb_graph/link_spec.rb",
250
+ "spec/fb_graph/location_spec.rb",
251
+ "spec/fb_graph/node_spec.rb",
252
+ "spec/fb_graph/note_spec.rb",
253
+ "spec/fb_graph/page_spec.rb",
254
+ "spec/fb_graph/photo_spec.rb",
255
+ "spec/fb_graph/post_spec.rb",
256
+ "spec/fb_graph/privacy_spec.rb",
257
+ "spec/fb_graph/project_spec.rb",
258
+ "spec/fb_graph/query/core_spec.rb",
259
+ "spec/fb_graph/searchable_spec.rb",
260
+ "spec/fb_graph/seriarization_spec.rb",
261
+ "spec/fb_graph/status_spec.rb",
262
+ "spec/fb_graph/subscription_spec.rb",
263
+ "spec/fb_graph/tag_spec.rb",
264
+ "spec/fb_graph/targeting_spec.rb",
265
+ "spec/fb_graph/test_user_spec.rb",
266
+ "spec/fb_graph/user_spec.rb",
267
+ "spec/fb_graph/venue_spec.rb",
268
+ "spec/fb_graph/video_spec.rb",
269
+ "spec/fb_graph/work_spec.rb",
270
+ "spec/helpers/fake_json_helper.rb",
271
+ "spec/spec.opts",
272
+ "spec/spec_helper.rb"
272
273
  ]
273
274
  s.homepage = %q{http://github.com/nov/fb_graph}
275
+ s.rdoc_options = ["--charset=UTF-8"]
274
276
  s.require_paths = ["lib"]
275
- s.rubygems_version = %q{1.4.1}
277
+ s.rubygems_version = %q{1.3.7}
276
278
  s.summary = %q{A full-stack Facebook Graph API wrapper in Ruby.}
277
279
  s.test_files = [
278
280
  "spec/fb_graph/album_spec.rb",
279
- "spec/fb_graph/application_spec.rb",
280
- "spec/fb_graph/auth/cookie_spec.rb",
281
- "spec/fb_graph/auth_spec.rb",
282
- "spec/fb_graph/checkin_spec.rb",
283
- "spec/fb_graph/collection_spec.rb",
284
- "spec/fb_graph/comment_spec.rb",
285
- "spec/fb_graph/connection_spec.rb",
286
- "spec/fb_graph/connections/accounts_spec.rb",
287
- "spec/fb_graph/connections/activities_spec.rb",
288
- "spec/fb_graph/connections/albums_spec.rb",
289
- "spec/fb_graph/connections/attending_spec.rb",
290
- "spec/fb_graph/connections/books_spec.rb",
291
- "spec/fb_graph/connections/checkins_spec.rb",
292
- "spec/fb_graph/connections/comments_spec.rb",
293
- "spec/fb_graph/connections/declined_spec.rb",
294
- "spec/fb_graph/connections/events_spec.rb",
295
- "spec/fb_graph/connections/feed_spec.rb",
296
- "spec/fb_graph/connections/friend_lists_spec.rb",
297
- "spec/fb_graph/connections/friends_spec.rb",
298
- "spec/fb_graph/connections/groups_spec.rb",
299
- "spec/fb_graph/connections/home_spec.rb",
300
- "spec/fb_graph/connections/insights_spec.rb",
301
- "spec/fb_graph/connections/interests_spec.rb",
302
- "spec/fb_graph/connections/invited_spec.rb",
303
- "spec/fb_graph/connections/likes_spec.rb",
304
- "spec/fb_graph/connections/links_spec.rb",
305
- "spec/fb_graph/connections/maybe_spec.rb",
306
- "spec/fb_graph/connections/members_spec.rb",
307
- "spec/fb_graph/connections/movies_spec.rb",
308
- "spec/fb_graph/connections/music_spec.rb",
309
- "spec/fb_graph/connections/noreply_spec.rb",
310
- "spec/fb_graph/connections/notes_spec.rb",
311
- "spec/fb_graph/connections/photos_spec.rb",
312
- "spec/fb_graph/connections/picture_spec.rb",
313
- "spec/fb_graph/connections/posts_spec.rb",
314
- "spec/fb_graph/connections/statuses_spec.rb",
315
- "spec/fb_graph/connections/subscriptions_spec.rb",
316
- "spec/fb_graph/connections/tagged_spec.rb",
317
- "spec/fb_graph/connections/television_spec.rb",
318
- "spec/fb_graph/connections/test_users_spec.rb",
319
- "spec/fb_graph/connections/videos_spec.rb",
320
- "spec/fb_graph/education_spec.rb",
321
- "spec/fb_graph/event_spec.rb",
322
- "spec/fb_graph/exception_spec.rb",
323
- "spec/fb_graph/friend_list_spec.rb",
324
- "spec/fb_graph/group_spec.rb",
325
- "spec/fb_graph/insight_spec.rb",
326
- "spec/fb_graph/link_spec.rb",
327
- "spec/fb_graph/location_spec.rb",
328
- "spec/fb_graph/node_spec.rb",
329
- "spec/fb_graph/note_spec.rb",
330
- "spec/fb_graph/page_spec.rb",
331
- "spec/fb_graph/photo_spec.rb",
332
- "spec/fb_graph/post_spec.rb",
333
- "spec/fb_graph/privacy_spec.rb",
334
- "spec/fb_graph/project_spec.rb",
335
- "spec/fb_graph/query/core_spec.rb",
336
- "spec/fb_graph/searchable_spec.rb",
337
- "spec/fb_graph/seriarization_spec.rb",
338
- "spec/fb_graph/status_spec.rb",
339
- "spec/fb_graph/subscription_spec.rb",
340
- "spec/fb_graph/tag_spec.rb",
341
- "spec/fb_graph/targeting_spec.rb",
342
- "spec/fb_graph/test_user_spec.rb",
343
- "spec/fb_graph/user_spec.rb",
344
- "spec/fb_graph/venue_spec.rb",
345
- "spec/fb_graph/video_spec.rb",
346
- "spec/fb_graph/work_spec.rb",
347
- "spec/helpers/fake_json_helper.rb",
348
- "spec/spec_helper.rb"
281
+ "spec/fb_graph/application_spec.rb",
282
+ "spec/fb_graph/auth/cookie_spec.rb",
283
+ "spec/fb_graph/auth_spec.rb",
284
+ "spec/fb_graph/checkin_spec.rb",
285
+ "spec/fb_graph/collection_spec.rb",
286
+ "spec/fb_graph/comment_spec.rb",
287
+ "spec/fb_graph/connection_spec.rb",
288
+ "spec/fb_graph/connections/accounts_spec.rb",
289
+ "spec/fb_graph/connections/activities_spec.rb",
290
+ "spec/fb_graph/connections/albums_spec.rb",
291
+ "spec/fb_graph/connections/attending_spec.rb",
292
+ "spec/fb_graph/connections/books_spec.rb",
293
+ "spec/fb_graph/connections/checkins_spec.rb",
294
+ "spec/fb_graph/connections/comments_spec.rb",
295
+ "spec/fb_graph/connections/declined_spec.rb",
296
+ "spec/fb_graph/connections/events_spec.rb",
297
+ "spec/fb_graph/connections/feed_spec.rb",
298
+ "spec/fb_graph/connections/friend_lists_spec.rb",
299
+ "spec/fb_graph/connections/friends_spec.rb",
300
+ "spec/fb_graph/connections/groups_spec.rb",
301
+ "spec/fb_graph/connections/home_spec.rb",
302
+ "spec/fb_graph/connections/insights_spec.rb",
303
+ "spec/fb_graph/connections/interests_spec.rb",
304
+ "spec/fb_graph/connections/invited_spec.rb",
305
+ "spec/fb_graph/connections/likes_spec.rb",
306
+ "spec/fb_graph/connections/links_spec.rb",
307
+ "spec/fb_graph/connections/maybe_spec.rb",
308
+ "spec/fb_graph/connections/members_spec.rb",
309
+ "spec/fb_graph/connections/movies_spec.rb",
310
+ "spec/fb_graph/connections/music_spec.rb",
311
+ "spec/fb_graph/connections/noreply_spec.rb",
312
+ "spec/fb_graph/connections/notes_spec.rb",
313
+ "spec/fb_graph/connections/photos_spec.rb",
314
+ "spec/fb_graph/connections/picture_spec.rb",
315
+ "spec/fb_graph/connections/posts_spec.rb",
316
+ "spec/fb_graph/connections/statuses_spec.rb",
317
+ "spec/fb_graph/connections/subscriptions_spec.rb",
318
+ "spec/fb_graph/connections/tagged_spec.rb",
319
+ "spec/fb_graph/connections/television_spec.rb",
320
+ "spec/fb_graph/connections/test_users_spec.rb",
321
+ "spec/fb_graph/connections/videos_spec.rb",
322
+ "spec/fb_graph/education_spec.rb",
323
+ "spec/fb_graph/event_spec.rb",
324
+ "spec/fb_graph/exception_spec.rb",
325
+ "spec/fb_graph/friend_list_spec.rb",
326
+ "spec/fb_graph/group_spec.rb",
327
+ "spec/fb_graph/insight_spec.rb",
328
+ "spec/fb_graph/link_spec.rb",
329
+ "spec/fb_graph/location_spec.rb",
330
+ "spec/fb_graph/node_spec.rb",
331
+ "spec/fb_graph/note_spec.rb",
332
+ "spec/fb_graph/page_spec.rb",
333
+ "spec/fb_graph/photo_spec.rb",
334
+ "spec/fb_graph/post_spec.rb",
335
+ "spec/fb_graph/privacy_spec.rb",
336
+ "spec/fb_graph/project_spec.rb",
337
+ "spec/fb_graph/query/core_spec.rb",
338
+ "spec/fb_graph/searchable_spec.rb",
339
+ "spec/fb_graph/seriarization_spec.rb",
340
+ "spec/fb_graph/status_spec.rb",
341
+ "spec/fb_graph/subscription_spec.rb",
342
+ "spec/fb_graph/tag_spec.rb",
343
+ "spec/fb_graph/targeting_spec.rb",
344
+ "spec/fb_graph/test_user_spec.rb",
345
+ "spec/fb_graph/user_spec.rb",
346
+ "spec/fb_graph/venue_spec.rb",
347
+ "spec/fb_graph/video_spec.rb",
348
+ "spec/fb_graph/work_spec.rb",
349
+ "spec/helpers/fake_json_helper.rb",
350
+ "spec/spec_helper.rb"
349
351
  ]
350
352
 
351
353
  if s.respond_to? :specification_version then
354
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
352
355
  s.specification_version = 3
353
356
 
354
357
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -17,7 +17,7 @@ module FbGraph
17
17
  @tags = []
18
18
  if attributes[:tags]
19
19
  Collection.new(attributes[:tags]).each do |tag|
20
- @tags << Tag.new(tag.delete(:id), tag)
20
+ @tags << Tag.new(tag)
21
21
  end
22
22
  end
23
23
  # NOTE:
data/lib/fb_graph/tag.rb CHANGED
@@ -2,15 +2,18 @@ module FbGraph
2
2
  class Tag
3
3
  include Comparison
4
4
 
5
- attr_accessor :user, :x, :y, :created_time
5
+ attr_accessor :user, :name, :x, :y, :created_time
6
6
 
7
- def initialize(identifier, attributes = {})
7
+ def initialize(attributes = {})
8
8
  @x = attributes.delete(:x)
9
9
  @y = attributes.delete(:y)
10
10
  if (created_time = attributes.delete(:created_time))
11
11
  @created_time = Time.parse(created_time).utc
12
12
  end
13
- @user = User.new(identifier, attributes)
13
+ if (identifier = attributes.delete(:id)).present?
14
+ @user = User.new(identifier, attributes)
15
+ end
16
+ @name = attributes[:name]
14
17
  end
15
18
  end
16
19
  end
@@ -32,7 +32,7 @@ describe FbGraph::Photo, '.new' do
32
32
  photo.identifier.should == '12345'
33
33
  photo.from.should == FbGraph::User.new('23456', :name => 'nov matake')
34
34
  photo.tags.should == [FbGraph::Tag.new(
35
- '12345',
35
+ :id => '12345',
36
36
  :name => 'nov matake',
37
37
  :x => 32.5,
38
38
  :y => 27.7778,
@@ -10,8 +10,9 @@ describe FbGraph::Tag, '.new' do
10
10
  :y => 27.7778,
11
11
  :created_time => "2010-04-22T08:24:26+0000"
12
12
  }
13
- tag = FbGraph::Tag.new(attributes.delete(:id), attributes)
13
+ tag = FbGraph::Tag.new(attributes)
14
14
  tag.user.should == FbGraph::User.new('7901103', :name => "Arjun Banker")
15
+ tag.name.should == 'Arjun Banker'
15
16
  tag.x.should == 32.5
16
17
  tag.y.should == 27.7778
17
18
  tag.created_time.should == Time.parse("2010-04-22T08:24:26+0000")
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: 23
5
- prerelease:
4
+ hash: 21
5
+ prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 4
10
- version: 1.2.4
9
+ - 5
10
+ version: 1.2.5
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: 2011-01-03 00:00:00 +09:00
18
+ date: 2011-01-04 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -136,6 +136,7 @@ extra_rdoc_files:
136
136
  - README.rdoc
137
137
  files:
138
138
  - .document
139
+ - .gitignore
139
140
  - LICENSE
140
141
  - README.rdoc
141
142
  - Rakefile
@@ -392,8 +393,8 @@ homepage: http://github.com/nov/fb_graph
392
393
  licenses: []
393
394
 
394
395
  post_install_message:
395
- rdoc_options: []
396
-
396
+ rdoc_options:
397
+ - --charset=UTF-8
397
398
  require_paths:
398
399
  - lib
399
400
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -417,7 +418,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
417
418
  requirements: []
418
419
 
419
420
  rubyforge_project:
420
- rubygems_version: 1.4.1
421
+ rubygems_version: 1.3.7
421
422
  signing_key:
422
423
  specification_version: 3
423
424
  summary: A full-stack Facebook Graph API wrapper in Ruby.