rfacebook 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,12 +49,13 @@ class FacebookDesktopSession < FacebookSession
49
49
  # options.next - the page to redirect to after login
50
50
  # options.popup - boolean, whether or not to use the popup style (defaults to true)
51
51
  # options.skipcookie - boolean, whether to force new Facebook login (defaults to false)
52
- # options.hidecheckbox - boolean, whether to show the "infinite session" option checkbox
52
+ # options.hidecheckbox - boolean, whether to show the "infinite session" option checkbox (defaults to false)
53
53
  def get_login_url(options={})
54
54
  # options
55
55
  path_next = options[:next] ||= nil
56
56
  popup = (options[:popup] == nil) ? true : false
57
57
  skipcookie = (options[:skipcookie] == nil) ? false : true
58
+ hidecheckbox = (options[:hidecheckbox] == nil) ? false : true
58
59
 
59
60
  # get some extra portions of the URL
60
61
  optionalNext = (path_next == nil) ? "" : "&next=#{CGI.escape(path_next.to_s)}"
@@ -51,6 +51,7 @@ class FacebookWebSession < FacebookSession
51
51
  path_next = options[:next] ||= nil
52
52
  popup = (options[:popup] == nil) ? true : false
53
53
  skipcookie = (options[:skipcookie] == nil) ? false : true
54
+ hidecheckbox = (options[:hidecheckbox] == nil) ? false : true
54
55
 
55
56
  # get some extra portions of the URL
56
57
  optionalNext = (path_next == nil) ? "" : "&next=#{CGI.escape(path_next.to_s)}"
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: rfacebook
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.5.0
6
+ version: 0.5.1
7
7
  date: 2007-05-08 00:00:00 -04:00
8
8
  summary: A Ruby interface to the Facebook API v1.0+
9
9
  require_paths: