fb_graph2 0.0.3 → 0.0.4
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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/VERSION +1 -1
- data/lib/fb_graph2.rb +2 -1
- data/lib/fb_graph2/edge/admins.rb +17 -0
- data/lib/fb_graph2/edge/blocked.rb +24 -0
- data/lib/fb_graph2/edge/comments.rb +12 -1
- data/lib/fb_graph2/edge/global_brand_children.rb +12 -0
- data/lib/fb_graph2/edge/likes.rb +14 -3
- data/lib/fb_graph2/edge/locations.rb +14 -0
- data/lib/fb_graph2/edge/milestones.rb +12 -0
- data/lib/fb_graph2/edge/offers.rb +12 -0
- data/lib/fb_graph2/edge/promotable_posts.rb +12 -0
- data/lib/fb_graph2/milestone.rb +9 -0
- data/lib/fb_graph2/node.rb +8 -1
- data/lib/fb_graph2/offer.rb +10 -0
- data/lib/fb_graph2/page.rb +18 -0
- data/lib/fb_graph2/photo.rb +3 -0
- data/lib/fb_graph2/post.rb +2 -0
- data/lib/fb_graph2/user.rb +3 -1
- data/lib/fb_graph2/util.rb +13 -0
- data/spec/fb_graph2/edge/accounts_spec.rb +7 -5
- data/spec/fb_graph2/edge/comments_spec.rb +56 -0
- data/spec/fb_graph2/edge/feed_spec.rb +10 -2
- data/spec/fb_graph2/edge/likes_spec.rb +95 -0
- data/spec/fb_graph2/edge/photos_spec.rb +29 -0
- data/spec/fb_graph2/node_spec.rb +8 -0
- data/spec/mock_json/blank_collection.json +1 -0
- data/spec/mock_json/post/comments.json +20 -0
- data/spec/mock_json/post/liked_and_commented.json +59 -0
- data/spec/mock_json/post/likes.json +15 -0
- data/spec/mock_json/true.json +1 -0
- data/spec/mock_json/user/accounts.json +1 -1
- data/spec/mock_json/user/feed.json +274 -0
- data/spec/mock_json/user/likes.json +33 -0
- data/spec/mock_json/user/photos.json +542 -0
- metadata +23 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fb_graph2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -147,7 +147,9 @@ files:
|
|
147
147
|
- lib/fb_graph2/edge/accounts.rb
|
148
148
|
- lib/fb_graph2/edge/achievements.rb
|
149
149
|
- lib/fb_graph2/edge/activities.rb
|
150
|
+
- lib/fb_graph2/edge/admins.rb
|
150
151
|
- lib/fb_graph2/edge/albums.rb
|
152
|
+
- lib/fb_graph2/edge/blocked.rb
|
151
153
|
- lib/fb_graph2/edge/books.rb
|
152
154
|
- lib/fb_graph2/edge/comments.rb
|
153
155
|
- lib/fb_graph2/edge/events.rb
|
@@ -156,20 +158,25 @@ files:
|
|
156
158
|
- lib/fb_graph2/edge/friend_lists.rb
|
157
159
|
- lib/fb_graph2/edge/friends.rb
|
158
160
|
- lib/fb_graph2/edge/games.rb
|
161
|
+
- lib/fb_graph2/edge/global_brand_children.rb
|
159
162
|
- lib/fb_graph2/edge/groups.rb
|
160
163
|
- lib/fb_graph2/edge/home.rb
|
161
164
|
- lib/fb_graph2/edge/interests.rb
|
162
165
|
- lib/fb_graph2/edge/invitable_friends.rb
|
163
166
|
- lib/fb_graph2/edge/likes.rb
|
164
167
|
- lib/fb_graph2/edge/links.rb
|
168
|
+
- lib/fb_graph2/edge/locations.rb
|
169
|
+
- lib/fb_graph2/edge/milestones.rb
|
165
170
|
- lib/fb_graph2/edge/movies.rb
|
166
171
|
- lib/fb_graph2/edge/music.rb
|
167
172
|
- lib/fb_graph2/edge/notifications.rb
|
173
|
+
- lib/fb_graph2/edge/offers.rb
|
168
174
|
- lib/fb_graph2/edge/permissions.rb
|
169
175
|
- lib/fb_graph2/edge/photos.rb
|
170
176
|
- lib/fb_graph2/edge/picture.rb
|
171
177
|
- lib/fb_graph2/edge/pokes.rb
|
172
178
|
- lib/fb_graph2/edge/posts.rb
|
179
|
+
- lib/fb_graph2/edge/promotable_posts.rb
|
173
180
|
- lib/fb_graph2/edge/scores.rb
|
174
181
|
- lib/fb_graph2/edge/shared_posts.rb
|
175
182
|
- lib/fb_graph2/edge/statuses.rb
|
@@ -179,8 +186,10 @@ files:
|
|
179
186
|
- lib/fb_graph2/event.rb
|
180
187
|
- lib/fb_graph2/friend_list.rb
|
181
188
|
- lib/fb_graph2/group.rb
|
189
|
+
- lib/fb_graph2/milestone.rb
|
182
190
|
- lib/fb_graph2/node.rb
|
183
191
|
- lib/fb_graph2/notification.rb
|
192
|
+
- lib/fb_graph2/offer.rb
|
184
193
|
- lib/fb_graph2/page.rb
|
185
194
|
- lib/fb_graph2/photo.rb
|
186
195
|
- lib/fb_graph2/post.rb
|
@@ -195,19 +204,31 @@ files:
|
|
195
204
|
- lib/fb_graph2/struct/poke.rb
|
196
205
|
- lib/fb_graph2/struct/score.rb
|
197
206
|
- lib/fb_graph2/user.rb
|
207
|
+
- lib/fb_graph2/util.rb
|
198
208
|
- lib/fb_graph2/video.rb
|
199
209
|
- spec/fb_graph2/edge/accounts_spec.rb
|
210
|
+
- spec/fb_graph2/edge/comments_spec.rb
|
200
211
|
- spec/fb_graph2/edge/feed_spec.rb
|
212
|
+
- spec/fb_graph2/edge/likes_spec.rb
|
213
|
+
- spec/fb_graph2/edge/photos_spec.rb
|
201
214
|
- spec/fb_graph2/node_spec.rb
|
202
215
|
- spec/fb_graph2/node_subclass_spec.rb
|
203
216
|
- spec/fb_graph2/page_spec.rb
|
204
217
|
- spec/fb_graph2/user_spec.rb
|
205
218
|
- spec/fb_graph2_spec.rb
|
219
|
+
- spec/mock_json/blank_collection.json
|
206
220
|
- spec/mock_json/error/400/2500.json
|
207
221
|
- spec/mock_json/error/invalid_format.json
|
222
|
+
- spec/mock_json/post/comments.json
|
223
|
+
- spec/mock_json/post/liked_and_commented.json
|
224
|
+
- spec/mock_json/post/likes.json
|
208
225
|
- spec/mock_json/success_with_id.json
|
226
|
+
- spec/mock_json/true.json
|
209
227
|
- spec/mock_json/user/accounts.json
|
228
|
+
- spec/mock_json/user/feed.json
|
229
|
+
- spec/mock_json/user/likes.json
|
210
230
|
- spec/mock_json/user/me.json
|
231
|
+
- spec/mock_json/user/photos.json
|
211
232
|
- spec/spec_helper.rb
|
212
233
|
- spec/spec_helper/mock_graph.rb
|
213
234
|
homepage: https://github.com/fb_graph2
|