fb_graph 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,7 +1,6 @@
1
1
  = FbGraph
2
2
 
3
- A Ruby wrapper for Facebook Graph API.
4
- This is a work in progress.
3
+ A full-stack Facebook Graph API wrapper in Ruby.
5
4
 
6
5
  == Installation
7
6
 
@@ -19,6 +18,8 @@ This is a work in progress.
19
18
  Now FbGraph supports all objects listed here: http://developers.facebook.com/docs/reference/api/
20
19
  Almost all connections for each object are also supported. (Private message connections are not supported yet)
21
20
 
21
+ Plus, you can play an Rails sample app here. http://fbgraphsample.heroku.com/
22
+
22
23
  === GET
23
24
 
24
25
  ==== Basic Objects
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
data/fb_graph.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fb_graph}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.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"]
@@ -4,7 +4,8 @@ module FbGraph
4
4
 
5
5
  def initialize(collection)
6
6
  # allow nil input
7
- collection ||= {:data => []}
7
+ collection ||= {}
8
+ collection[:data] ||= []
8
9
 
9
10
  result = replace(collection[:data])
10
11
  @previous, @next = {}, {}
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 0
9
- version: 0.4.0
8
+ - 1
9
+ version: 0.4.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - nov matake