refacebook 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 4
3
3
  :major: 0
4
- :patch: 4
4
+ :patch: 5
@@ -34,12 +34,12 @@ module Sinatra
34
34
  # :store => store)
35
35
  # </code></pre>
36
36
  #
37
- # :api_key - Your application's Facebook API key.
38
- # :secret_key - Your application's Facebook Secret key.
39
- # :canvas_url - The full path to your canvas page.
40
- # :require_login - If this is set to true then the user is redirected to
37
+ # [:api_key] Your application's Facebook API key.
38
+ # [:secret_key] Your application's Facebook Secret key.
39
+ # [:canvas_url] The full path to your canvas page.
40
+ # [:require_login] If this is set to true then the user is redirected to
41
41
  # the login page where she needs to authenticate.
42
- # :store - This currently uses memcache-client as the session store since
42
+ # [:store] This currently uses memcache-client as the session store since
43
43
  # Rack doesn't currently have non cookie based session stores.
44
44
  def require_facebook *args
45
45
  settings = args[0]
data/lib/refacebook.rb CHANGED
@@ -41,9 +41,8 @@ module ReFacebook
41
41
  end
42
42
 
43
43
  # Generate a redirect path to the default login page.
44
- # :next - The page to redirect to after login.
45
- # Optional:
46
- # :canvas - If this is true redirects to the canvas page.
44
+ # [:next] The page to redirect to after login.
45
+ # [:canvas] _Optional._ If this is true redirects to the canvas page.
47
46
  def get_login_url *args
48
47
  params = {}
49
48
  params['v'] = '1.0'
@@ -64,7 +63,7 @@ module ReFacebook
64
63
  end
65
64
  end
66
65
 
67
- # All <a href="http://wiki.developers.facebook.com/index.php/API">API</a> calls go
66
+ # All API[http://wiki.developers.facebook.com/index.php/API] calls go
68
67
  # through this class. To request a method just modify the call such that . become _.
69
68
  # If you create a session update the session_key with the session value so that
70
69
  # all the calls become authenticated.
metadata CHANGED
@@ -54,7 +54,7 @@ test_files:
54
54
  - spec/api_spec.rb
55
55
  - examples/example.rb
56
56
  version: !ruby/object:Gem::Version
57
- version: 0.4.4
57
+ version: 0.4.5
58
58
  require_paths:
59
59
  - lib
60
60
  dependencies: