wework 0.3.0 → 0.3.1

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: 717cb7ed89b19797fdac7c6a077cf73ed7ced467
4
- data.tar.gz: 2958df54c9332520cdc5dec16f7405864c8ebf7d
3
+ metadata.gz: 74f65e6821ddde3f2a616abc69a618c1ec02f99f
4
+ data.tar.gz: e767aa1be49288aac5e55f1aaaef38233dacc7d7
5
5
  SHA512:
6
- metadata.gz: 4baa61653bc4804a29d773b961da60fdde11370dfc7326086284f50e03306cfea3bcd06247e0d6319b6f7fa5ec93cc129c5c80a8c67701214ef887de68a1ee5c
7
- data.tar.gz: 4a59d08dc5eb7f48837b27abda0b5b81bf3ec9eccb1543d215ac7e89b1d032a2e9402e37b6935717cf7e1cc0b347ded062a74766b107afdabc6908f1d9dc2796
6
+ metadata.gz: 116514bf4422fa51da241e6242bbbe8094dc977d214a682f3b7e1a45e9d1fddeba73a93bcde498cac9768e2729706f17313bfd5b97afaef70a3d92153c0360a9
7
+ data.tar.gz: 614985cd3d574771efa4b12e1364cf1d7ad923f459f5350909ae5f496ceaf99846512c97fb441fcf3211a8b0fdbc0d775ecca38990e2a85872d255ce9719b637
@@ -7,7 +7,7 @@ module Wework
7
7
 
8
8
  def authorize_url(redirect_uri, scope="snsapi_base", state="wxwork")
9
9
  uri = ERB::Util.url_encode(redirect_uri)
10
- "#{AUTHORIZE_ENDPOINT}?appid=#{corp_id}&redirect_uri=#{uri}&response_type=code&scope=#{scope}&state=#{state}#wechat_redirect"
10
+ "#{AUTHORIZE_ENDPOINT}?appid=#{corp_id}&redirect_uri=#{uri}&response_type=code&scope=#{scope}&agentid=#{app_id}&state=#{state}#wechat_redirect"
11
11
  end
12
12
 
13
13
  def get_oauth_userinfo code
@@ -1,3 +1,3 @@
1
1
  module Wework
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.3.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - seandong
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-04 00:00:00.000000000 Z
11
+ date: 2017-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http