omniauth-weibo-oauth2 0.3.2 → 0.4.0

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: 1509fb92e27603b3f085482710991ae2d22e2780
4
- data.tar.gz: 34b79e0e4290bc2fadefa74ecea7cde60b8c442c
3
+ metadata.gz: 2447724a9eb14cae153f4df299a230ac70a6b5c8
4
+ data.tar.gz: a043480c8c10a7a9d33e1b58501801aa5bc0da3d
5
5
  SHA512:
6
- metadata.gz: 1b65bc4ebb725ac504d315990307037545fa6686d501fff154506a47ab8597513e9ccea66c2a07a76c56736bdfb5b1ec4ec3376306cc706c711d277d88d41612
7
- data.tar.gz: ce09329f273533b8fd8d66f08eeab57fb6b2f1fb33d7d46d3e2786590f238276042ab1d098e5ec668d917734f0561352348d17b574479032d23d2cbafdb99744
6
+ metadata.gz: a86e6ca738c3bbb9aa84b47d7bb672b64497cb8d48a32fd1fd4e900bac60dcaa10225da9cc42dbe9601c2761a687e39067772c21f4fb0e6f11603c2b4479e7d1
7
+ data.tar.gz: 3db001dc2e88b7b5396942d95f2905123bd4e8b713cbdb0abed5995b23a7e86d42a04687ab5f7a160680513b0074afd33c148900cb46377eb9c5270e30fab23a
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module WeiboOauth2
3
- VERSION = "0.3.2"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
@@ -56,12 +56,9 @@ module OmniAuth
56
56
  #
57
57
  def authorize_params
58
58
  super.tap do |params|
59
- %w[display with_offical_account state forcelogin].each do |v|
59
+ %w[display with_offical_account forcelogin].each do |v|
60
60
  if request.params[v]
61
61
  params[v.to_sym] = request.params[v]
62
-
63
- # to support omniauth-oauth2's auto csrf protection
64
- session['omniauth.state'] = params[:state] if v == 'state'
65
62
  end
66
63
  end
67
64
  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.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bin He
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-28 00:00:00.000000000 Z
11
+ date: 2014-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth