omniauth-twitter 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,14 +6,6 @@ module OmniAuth
|
|
6
6
|
class Twitter < OmniAuth::Strategies::OAuth
|
7
7
|
option :name, 'twitter'
|
8
8
|
option :client_options, {:site => 'https://api.twitter.com'}
|
9
|
-
option :sign_in, true
|
10
|
-
option :force_sign_in, false
|
11
|
-
|
12
|
-
def initialize(*args)
|
13
|
-
super
|
14
|
-
options.client_options[:authorize_path] = '/oauth/authenticate' if options.sign_in?
|
15
|
-
options.authorize_params[:force_sign_in] = 'true' if options.force_sign_in?
|
16
|
-
end
|
17
9
|
|
18
10
|
uid { access_token.params[:user_id] }
|
19
11
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-twitter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Arun Agrawal
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-05 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
type: :runtime
|