fb_graph 0.1.0 → 0.1.1

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.
data/README.rdoc CHANGED
@@ -9,8 +9,8 @@ This is a work in progress.
9
9
 
10
10
  == Resources
11
11
 
12
+ * View RDoc on RDoc.info (http://rdoc.info/projects/nov/fb_graph)
12
13
  * View Source on GitHub (http://github.com/nov/fb_graph)
13
- * View RDoc on GitHub (http://nov.github.com/fb_graph)
14
14
  * Report Issues on GitHub (http://github.com/nov/fb_graph/issues)
15
15
  * Facebook fan page (http://www.facebook.com/pages/FbGraph/117513961602338)
16
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.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.1.0"
8
+ s.version = "0.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"]
@@ -2,7 +2,7 @@ module FbGraph
2
2
  module Connections
3
3
  module Comments
4
4
  def comments(options = {})
5
- comments = if options.blank?
5
+ comments = if @_comments_.present? && options.blank?
6
6
  # Note:
7
7
  # "comments" is a connection, but included in fetched "post" object
8
8
  # this improves performance when rendering the stream with comments
data/lib/fb_graph.rb CHANGED
@@ -1,8 +1,13 @@
1
1
  require 'rubygems'
2
2
  require 'json'
3
- require 'active_support'
4
3
  require 'restclient'
5
4
 
5
+ # NOTE:
6
+ # For some reason, ActiveSupport 3.0.0 doesn'tj load whole code.
7
+ # Load needed extention directly for now.
8
+ require 'active_support/core_ext/object'
9
+ require 'active_support/core_ext/hash'
10
+
6
11
  module FbGraph
7
12
  ROOT_URL = "https://graph.facebook.com"
8
13
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - nov matake