abhiyerra-refacebook 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/refacebook/sinatra.rb +8 -10
  3. metadata +1 -1
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 4
3
3
  :major: 0
4
- :patch: 6
4
+ :patch: 7
@@ -25,22 +25,20 @@ module Sinatra
25
25
  module ReFacebookRegister
26
26
  # ReFacebook configuration done at the beginning of a Sinatra file.
27
27
  #
28
- # An exaple:
29
- # <pre><code>
30
- # require_facebook(:api_key =>'MY_API_KEY',
31
- # :secret_key => 'MY_SECRET_KEY',
32
- # :canvas_url => 'http://apps.facebook.com/canvas-page',
33
- # :require_login => true,
34
- # :store => store)
35
- # </code></pre>
28
+ # An example:
29
+ # require_facebook(:api_key =>'MY_API_KEY',
30
+ # :secret_key => 'MY_SECRET_KEY',
31
+ # :canvas_url => 'http://apps.facebook.com/canvas-page',
32
+ # :require_login => true,
33
+ # :store => store)
36
34
  #
37
35
  # [:api_key] Your application's Facebook API key.
38
36
  # [:secret_key] Your application's Facebook Secret key.
39
37
  # [:canvas_url] The full path to your canvas page.
40
38
  # [:require_login] If this is set to true then the user is redirected to
41
- # the login page where she needs to authenticate.
39
+ # the login page where she needs to authenticate.
42
40
  # [:store] This currently uses memcache-client as the session store since
43
- # Rack doesn't currently have non cookie based session stores.
41
+ # Rack doesn't currently have non cookie based session stores.
44
42
  def require_facebook *args
45
43
  settings = args[0]
46
44
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abhiyerra-refacebook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abhi Yerra