rfacebook 0.6.8 → 0.6.9

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.
@@ -31,11 +31,11 @@ module RFacebook
31
31
 
32
32
  def fbparams
33
33
 
34
- params = (self.params || {}).dup
34
+ dup_params = (self.params || {}).dup
35
35
 
36
36
  # try to get fbparams from the params hash
37
- if (@fbparams.length <= 0)
38
- @fbparams = fbsession.get_fb_sig_params(params)
37
+ if (!@fbparams || @fbparams.length <= 0)
38
+ @fbparams = fbsession.get_fb_sig_params(dup_params)
39
39
  end
40
40
 
41
41
  # else, try to get fbparams from the cookies hash
@@ -133,7 +133,7 @@ class FacebookSession
133
133
  # this converts a call to "auth_getSession" to "auth.getSession"
134
134
  # and does the proper API call using the parameter hash given.
135
135
  def method_missing(methodSymbol, *params)
136
- methodString = methodSymbol.to_s.gsub!("_", ".")
136
+ methodString = methodSymbol.to_s.gsub("_", ".")
137
137
  # TODO: check here for valid method names
138
138
  call_method(methodString, params.first)
139
139
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: rfacebook
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.6.8
7
- date: 2007-07-25 00:00:00 -07:00
6
+ version: 0.6.9
7
+ date: 2007-07-26 00:00:00 -07:00
8
8
  summary: A Ruby interface to the Facebook API v1.0+. Supports the new features from F8.
9
9
  require_paths:
10
10
  - lib