wx_ext 0.2.2 → 0.2.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: cbd36c9af9e81974bf676416525cd2fefcf36768
4
- data.tar.gz: db1866071d6956595ac1af08f0491251963eb24b
3
+ metadata.gz: f0247f887766d6dba8c3e4ef1afbd56feb99b58a
4
+ data.tar.gz: fbd73d19ade894a46cc8a06c8c334db98ac5aa2b
5
5
  SHA512:
6
- metadata.gz: 2bb4994398f50a74a9e7fb9175a36e80a50943edb20fed3b07f03f4eec391efe0cdfd62444397f974f54eee55228850c46457bcc2d29745776e9706929964cba
7
- data.tar.gz: 58876dd96a9d09896e3901597e95541580e2366f5ce9576bdacd756d9664b263a62ed2b83d1fd8f845e4e2c11519a7c246f50bf57a65ed12a141ed3f5e677316
6
+ metadata.gz: a9c50dd4b89909ec638cf0c6ca9e81f827246ad93a549e27fa464ec0f5c8e97c1717998ac6494bd99d50df0352daf080d831ca259faa0f9a8a0071e95e2521e8
7
+ data.tar.gz: 56ce73deb14b5012a631cd91f9818bf1e260927d9f240b7adade91760f2b2e50ab867596bff8b15c7dd8ae56b4c9f713703ef4b0d8031b2a369a6b2fba648860
data/README.md CHANGED
@@ -7,7 +7,7 @@ Weixin extention, sougou weixin post spider and weixin api gem
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'wx_ext', '~> 0.2.2'
10
+ gem 'wx_ext', '~> 0.2.3'
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -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=CODE&grant_type=#{grant_type}"
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
 
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module WxExt
3
- VERSION = '0.2.2'
3
+ VERSION = '0.2.3'
4
4
  end
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.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-24 00:00:00.000000000 Z
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.3
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.