omniauth-weibo-oauth2 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -0
- data/lib/omniauth-weibo-oauth2/version.rb +1 -1
- data/lib/omniauth/strategies/weibo.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4040d4ee269c2068d318a030a337992300946252
|
4
|
+
data.tar.gz: 1f9cb798786b901af6a4a6f56f63feaa1524b47c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 825f565429f22d40d722130ec49114069702fe8196b3cf7a1a41cfec0acf1783ca9c5e93b20b53ba78e7fe59a760a4388665779e21ef25f9c9ce3cb0438c75d5
|
7
|
+
data.tar.gz: f9d353d2decb60c77f84ba401c74adef39a94c758362340e8d3182e1833316d07ab50d0f1da56fa0c55c787a73be97875c50ea8b9d4be888ce96e69524388dfd
|
data/README.md
CHANGED
@@ -79,6 +79,15 @@ Here's an example *Authentication Hash* available in `request.env['omniauth.auth
|
|
79
79
|
```
|
80
80
|
*PS.* Built and tested on MRI Ruby 1.9.3
|
81
81
|
|
82
|
+
## Build&pulish gem
|
83
|
+
```
|
84
|
+
gem build omniauth-weibo-oauth2.gemspec
|
85
|
+
```
|
86
|
+
|
87
|
+
```
|
88
|
+
gem push omniauth-weibo-oauth2-VERSION.gem
|
89
|
+
```
|
90
|
+
|
82
91
|
## Contributing
|
83
92
|
|
84
93
|
1. Fork it
|
@@ -91,7 +91,8 @@ module OmniAuth
|
|
91
91
|
'client_id' => client.id,
|
92
92
|
'client_secret' => client.secret,
|
93
93
|
'code' => request.params['code'],
|
94
|
-
'grant_type' => 'authorization_code'
|
94
|
+
'grant_type' => 'authorization_code',
|
95
|
+
'redirect_uri' => options['redirect_uri']
|
95
96
|
}.merge(token_params.to_hash(symbolize_keys: true))
|
96
97
|
client.get_token(params, deep_symbolize(options.auth_token_params))
|
97
98
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-weibo-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bin He
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|