wx_ext 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/wx_ext/api/user.rb +1 -1
- data/lib/wx_ext/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0247f887766d6dba8c3e4ef1afbd56feb99b58a
|
4
|
+
data.tar.gz: fbd73d19ade894a46cc8a06c8c334db98ac5aa2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9c50dd4b89909ec638cf0c6ca9e81f827246ad93a549e27fa464ec0f5c8e97c1717998ac6494bd99d50df0352daf080d831ca259faa0f9a8a0071e95e2521e8
|
7
|
+
data.tar.gz: 56ce73deb14b5012a631cd91f9818bf1e260927d9f240b7adade91760f2b2e50ab867596bff8b15c7dd8ae56b4c9f713703ef4b0d8031b2a369a6b2fba648860
|
data/README.md
CHANGED
data/lib/wx_ext/api/user.rb
CHANGED
@@ -56,7 +56,7 @@ module WxExt
|
|
56
56
|
# @return [Hash] Json based hash.
|
57
57
|
def get_oauth2_token_with_code(app_id, app_secret, code, grant_type='authorization_code')
|
58
58
|
url = 'https://api.weixin.qq.com/sns/oauth2/access_token'\
|
59
|
-
"?appid=#{app_id}&secret=#{app_secret}&code
|
59
|
+
"?appid=#{app_id}&secret=#{app_secret}&code=#{code}&grant_type=#{grant_type}"
|
60
60
|
Helper.http_get(url, { accept: :json })
|
61
61
|
end
|
62
62
|
|
data/lib/wx_ext/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wx_ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- flowerwrong
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.4.
|
163
|
+
rubygems_version: 2.4.6
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: A gem to hack mp.weixin.qq.com and weixin base api.
|