devise_facebook_connectable 0.1.7 → 0.1.8

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.
@@ -43,18 +43,18 @@ module Devise #:nodoc:
43
43
 
44
44
  # Deprecated in favor for +facebook_sign_in_link+.
45
45
  #
46
- def facebook_login_link(options = {})
46
+ def facebook_login_link(*args)
47
47
  ::ActiveSupport::Deprecation.warn("DEPRECATION:" <<
48
48
  " facebook_login_link is deprecated. Use: facebook_sign_in_link.")
49
- facebook_sign_in_link(options)
49
+ facebook_sign_in_link(*args)
50
50
  end
51
51
 
52
52
  # Deprecated in favor for +facebook_sign_in_link+.
53
53
  #
54
- def facebook_logout_link(options = {})
54
+ def facebook_logout_link(*args)
55
55
  ::ActiveSupport::Deprecation.warn("DEPRECATION:" <<
56
56
  " facebook_logout_link is deprecated. Use: facebook_sign_out_link.")
57
- facebook_sign_out_link(options)
57
+ facebook_sign_out_link(*args)
58
58
  end
59
59
 
60
60
  # Agnostic Facebook Connect sign in/out (connect) button/link.
@@ -66,7 +66,7 @@ module Devise #:nodoc:
66
66
  # *Case 2:* If account is not connected to the app/site already;
67
67
  # then this is the same as a traditional "create account".
68
68
  #
69
- def facebook_sign_in_link(options = {})
69
+ def facebook_sign_in_link(*args)
70
70
  scope = auto_detect_scope(*args)
71
71
  options = args.extract_options!
72
72
  options.except!(:scope, :for)
@@ -124,7 +124,7 @@ module Devise #:nodoc:
124
124
  #
125
125
  # * http://wiki.developers.facebook.com/index.php/Auth.revokeAuthorization
126
126
  #
127
- def facebook_disconnect_link(options = {})
127
+ def facebook_disconnect_link(*args)
128
128
  raise "facebook_disconnect_link: Not implemented yet."
129
129
  # TODO:
130
130
  # options.reverse_merge!(
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_facebook_connectable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Grimfelt