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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c90da889897455e5e4761ed5ee66ef40a5d9763
4
- data.tar.gz: 450175fbfeb1cb8c53012f282fd675e178baf72e
3
+ metadata.gz: 4040d4ee269c2068d318a030a337992300946252
4
+ data.tar.gz: 1f9cb798786b901af6a4a6f56f63feaa1524b47c
5
5
  SHA512:
6
- metadata.gz: 5b619ddbc6ff1a0163958a13c2d004d689746ddc6accd56d3bdefd1b11b87378fe4b15357a15d357ca5f89a5c62420ab8ce08d387a66afb9d9334312544f10d0
7
- data.tar.gz: 143eede4cdd702e319ee9d7f10a938ee380a51d87e908f9f4b261e12859663a64634fd11a78575911acf991d1d0d5581cecd370832d13a46851bc6cbdd2df0f7
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
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module WeiboOauth2
3
- VERSION = "0.4.2"
3
+ VERSION = "0.4.3"
4
4
  end
5
5
  end
@@ -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.2
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: 2016-11-01 00:00:00.000000000 Z
11
+ date: 2017-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth