fb_graph 1.6.4 → 1.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +0 -63
- data/VERSION +1 -1
- data/fb_graph.gemspec +2 -2
- data/lib/fb_graph.rb +1 -0
- data/lib/fb_graph/connections/feed.rb +1 -0
- data/lib/fb_graph/post.rb +10 -1
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -243,69 +243,6 @@ Not tested well yet.
|
|
243
243
|
Sample is here.
|
244
244
|
https://gist.github.com/752914
|
245
245
|
|
246
|
-
== Documents
|
247
|
-
|
248
|
-
Currently fb_graph isn't so well documented.
|
249
|
-
|
250
|
-
I'm continuously updating RDoc now, but writing all documents <b>in English</b> is heavy task for me.
|
251
|
-
|
252
|
-
Please see RDoc.info (http://rdoc.info/github/nov/fb_graph), and if the document is missing or hard to understand, please contact me on github.
|
253
|
-
|
254
|
-
I'll add more documents or sample code.
|
255
|
-
|
256
|
-
=== Objects
|
257
|
-
|
258
|
-
* FbGraph::Album[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Album]
|
259
|
-
* FbGraph::Application[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Application]
|
260
|
-
* FbGraph::Checkin[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Checkin]
|
261
|
-
* FbGraph::Comment[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Comment]
|
262
|
-
* FbGraph::Event[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Event]
|
263
|
-
* FbGraph::Group[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Group]
|
264
|
-
* FbGraph::Insight[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Insight]
|
265
|
-
* FbGraph::Link[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Link]
|
266
|
-
* FbGraph::Note[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Note]
|
267
|
-
* FbGraph::Page[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Page]
|
268
|
-
* FbGraph::Photo[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Photo]
|
269
|
-
* FbGraph::Post[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Post]
|
270
|
-
* FbGraph::Status[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Status]
|
271
|
-
* FbGraph::Subscription[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Subscription]
|
272
|
-
* FbGraph::User[http://rdoc.info/github/nov/fb_graph/master/FbGraph/User]
|
273
|
-
* FbGraph::Video[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Video]
|
274
|
-
|
275
|
-
=== Connections
|
276
|
-
|
277
|
-
* FbGraph::Connections::Accounts[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Accounts]
|
278
|
-
* FbGraph::Connections::Activities[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Activities]
|
279
|
-
* FbGraph::Connections::Albums[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Albums]
|
280
|
-
* FbGraph::Connections::Attending[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Attending]
|
281
|
-
* FbGraph::Connections::Books[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Books]
|
282
|
-
* FbGraph::Connections::Checkins[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Checkins]
|
283
|
-
* FbGraph::Connections::Comments[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Comments]
|
284
|
-
* FbGraph::Connections::Declined[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Declined]
|
285
|
-
* FbGraph::Connections::Events[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Events]
|
286
|
-
* FbGraph::Connections::Feed[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Feed]
|
287
|
-
* FbGraph::Connections::Friends[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Friends]
|
288
|
-
* FbGraph::Connections::Groups[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Groups]
|
289
|
-
* FbGraph::Connections::Home[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Home]
|
290
|
-
* FbGraph::Connections::Insights[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Insights]
|
291
|
-
* FbGraph::Connections::Interests[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Interests]
|
292
|
-
* FbGraph::Connections::Invited[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Invited]
|
293
|
-
* FbGraph::Connections::Likes[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Likes]
|
294
|
-
* FbGraph::Connections::Links[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Links]
|
295
|
-
* FbGraph::Connections::Maybe[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Maybe]
|
296
|
-
* FbGraph::Connections::Members[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Members]
|
297
|
-
* FbGraph::Connections::Movies[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Movies]
|
298
|
-
* FbGraph::Connections::Music[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Music]
|
299
|
-
* FbGraph::Connections::Noreply[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Noreply]
|
300
|
-
* FbGraph::Connections::Notes[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Notes]
|
301
|
-
* FbGraph::Connections::Photos[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Photos]
|
302
|
-
* FbGraph::Connections::Picture[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Picture]
|
303
|
-
* FbGraph::Connections::Statuses[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Statuses]
|
304
|
-
* FbGraph::Connections::Subscriptions[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Subscriptions]
|
305
|
-
* FbGraph::Connections::Tagged[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Tagged]
|
306
|
-
* FbGraph::Connections::Television[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Television]
|
307
|
-
* FbGraph::Connections::Videos[http://rdoc.info/github/nov/fb_graph/master/FbGraph/Connections/Videos]
|
308
|
-
|
309
246
|
== Note on Patches/Pull Requests
|
310
247
|
|
311
248
|
* Fork the project.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.5
|
data/fb_graph.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fb_graph}
|
8
|
-
s.version = "1.6.
|
8
|
+
s.version = "1.6.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-
|
12
|
+
s.date = %q{2011-04-01}
|
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 = [
|
data/lib/fb_graph.rb
CHANGED
data/lib/fb_graph/post.rb
CHANGED
@@ -20,8 +20,17 @@ module FbGraph
|
|
20
20
|
Collection.new(attributes[:to]).each do |to|
|
21
21
|
@to << if to[:category]
|
22
22
|
Page.new(to.delete(:id), to)
|
23
|
+
elsif to[:start_time]
|
24
|
+
Event.new(to.delete(:id), to)
|
25
|
+
elsif to[:version]
|
26
|
+
Group.new(to.delete(:id), to)
|
23
27
|
else
|
24
|
-
|
28
|
+
case attributes[:context]
|
29
|
+
when Application
|
30
|
+
Application.new(to.delete(:id), to)
|
31
|
+
else
|
32
|
+
User.new(to.delete(:id), to)
|
33
|
+
end
|
25
34
|
end
|
26
35
|
end
|
27
36
|
end
|
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: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 1.6.
|
9
|
+
- 5
|
10
|
+
version: 1.6.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-
|
18
|
+
date: 2011-04-01 00:00:00 +09:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|