wx_ext 0.1.8 → 0.1.9

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: 9cfbcac6ac267ac9cc7b021590b75ba89136f1d5
4
- data.tar.gz: ce32c32fa26f850e1e7d6ab1dd59175a8e17a2ca
3
+ metadata.gz: aee0dec4c46a290c69bfe0bcc1d871c7bf34c80a
4
+ data.tar.gz: 12b3b65407b70e40cad95f71f7ac8f9baab486d5
5
5
  SHA512:
6
- metadata.gz: 59d2457c7a110da971cb70d669fec7cf74366bc3f4b419ed89097994c3ec8e51a55960d0edbc44bfbd7a127fe556b9d791bdfcb9e1ce88636fe8b2f90df05201
7
- data.tar.gz: 3f5cf2cbbea4ee9dc43edff9cb1a93852986e344933b25530ba0a9e9ec7baeda8efbcd062e020fe266482a8ff28356110244a555469d4c7e36c07b89c61fb8f0
6
+ metadata.gz: de67a7225406eeb3a113e8d69715129e95a02b7600485eca219e475fefdbfe43443b8838f019dbd77230b1b138a4aa35cc3c52f603cdb8310b2b0b51e19d3ee7
7
+ data.tar.gz: 89357ae558168c8b211a7d01a4e563a23d1506d5f8273ddc458b771aa9e707e2cb604eef28f6090169d325c390b96e8a2923c45bf97336d87a1df0a2c0ec7713
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'
10
+ gem 'wx_ext', '~> 0.1.9'
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module WxExt
3
- VERSION = '0.1.8'
3
+ VERSION = '0.1.9'
4
4
  end
@@ -4,7 +4,7 @@ require 'spec_helper'
4
4
  describe WxExt::Api::Js do
5
5
  before(:all) do
6
6
  @app_id = 'app_id'
7
- @access_token_hash = WxExt::Api::Base.get_access_token('app_id', 'app_secret')
7
+ @access_token_hash = WxExt::Api::Base.get_access_token(@app_id, 'app_scret')
8
8
  @access_token = @access_token_hash['access_token']
9
9
  end
10
10
 
@@ -13,8 +13,9 @@ describe WxExt::Api::Js do
13
13
  expect(jsapi_ticket_hash['errcode']).to eql(0)
14
14
  end
15
15
 
16
- #it 'should get js config' do
17
- # config_hash = WxExt::Api::Base.get_jsapi_config(@access_token, '', @app_id)
18
- # expect(config_hash[:app_id]).to eql(@app_id)
19
- #end
16
+ it 'should get js config' do
17
+ config_hash = WxExt::Api::Js.get_jsapi_config(@access_token, 'url', @app_id)
18
+ puts config_hash
19
+ expect(config_hash[:app_id]).to eql(@app_id)
20
+ end
20
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wx_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - flowerwrong