fbauth 1.2.2.2 → 1.2.2.3

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.
@@ -12,8 +12,7 @@ module FacebookAuthFunctions
12
12
  setup_facebook_auth
13
13
  if @facebook_auth.nil?
14
14
  redirect_to build_auth_url
15
- end
16
- if signed_params_present? && request.post?
15
+ elsif signed_params_present? && request.post?
17
16
  # If Facebook POST with signed_params, redirect to original URI using GET
18
17
  redirect_to request.request_uri
19
18
  end
@@ -1,9 +1,9 @@
1
1
  :javascript
2
2
  $(document).ready(function() {
3
3
  fbauth_hide_panels();
4
+ FB.getLoginStatus(function(response) { fbauth_update_page(response); });
5
+ FB.Event.subscribe('auth.statusChange', function(response) { fbauth_update_page(response); });
4
6
  });
5
- FB.getLoginStatus(function(response) { fbauth_update_page(response); });
6
- FB.Event.subscribe('auth.statusChange', function(response) { fbauth_update_page(response); });
7
7
  function fbauth_hide_panels() {
8
8
  $('#{login_el}').hide();
9
9
  $('#{add_el}').hide();
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbauth
3
3
  version: !ruby/object:Gem::Version
4
- hash: 67
4
+ hash: 65
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
9
  - 2
10
- - 2
11
- version: 1.2.2.2
10
+ - 3
11
+ version: 1.2.2.3
12
12
  platform: ruby
13
13
  authors:
14
14
  - Three Wise Men Inc.
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-03-26 00:00:00 -04:00
19
+ date: 2011-03-29 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies: []
22
22