wx_miniprogram 0.1.3 → 0.1.4
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 +5 -9
- data/lib/wx_miniprogram/util.rb +2 -0
- data/lib/wx_miniprogram/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e158aeba888940eef54a56e502610e335c3ad3c4ba28ae063a5fd769496eed84
|
4
|
+
data.tar.gz: a25e74d78c5e61d9c1c4de6070ca723953daebc75b8bfc400225130c1b42646b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 895464d8c2de4d59c8a40fbc972b50fe0b482944f9730447d7a056def2fb0fb90c4705ca1908ce9a298780caa15bb6cec22e06280a320c6db5d67a7163dbce0b
|
7
|
+
data.tar.gz: bc40e9eed51b450c44da10b548638f0f52a7522470563d6c5cdf7f17329f758a1446819eecf34737fa490a532dd630dddcea95b973e90e83cd926754ffd1564f
|
data/README.md
CHANGED
@@ -2,9 +2,13 @@
|
|
2
2
|
|
3
3
|
Ruby微信小程序服务端API
|
4
4
|
|
5
|
-
|
5
|
+
DONE:接口调用凭据、openApi管理、小程序登陆、用户信息
|
6
|
+
|
7
|
+
TODO: 小程序码与小程序连接、小程序客服、消息相关、小程序安全、数据分析、硬件设备、直播、运维中心、插件管理...等
|
6
8
|
|
9
|
+
## Installation
|
7
10
|
|
11
|
+
gem install wx_miniprogram
|
8
12
|
|
9
13
|
## Usage
|
10
14
|
|
@@ -28,14 +32,6 @@ client.get_plugin_open_pid("openid")
|
|
28
32
|
# 检查加密信息
|
29
33
|
client.check_encrypted_data("encoded_str")
|
30
34
|
|
31
|
-
# 支付后获取 Unionid
|
32
|
-
client.get_paid_unionid({
|
33
|
-
:openid => "openid",
|
34
|
-
:transaction_id => "transaction_id",
|
35
|
-
:mch_id => "mch_id",
|
36
|
-
:out_trade_no => "out_trade_no"
|
37
|
-
})
|
38
|
-
|
39
35
|
...
|
40
36
|
|
41
37
|
```
|
data/lib/wx_miniprogram/util.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wx_miniprogram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ranjiayu
|
@@ -30,13 +30,14 @@ files:
|
|
30
30
|
- lib/wx_miniprogram/user_info.rb
|
31
31
|
- lib/wx_miniprogram/util.rb
|
32
32
|
- lib/wx_miniprogram/version.rb
|
33
|
-
homepage: https://
|
33
|
+
homepage: https://github.com/ranjiayu
|
34
34
|
licenses:
|
35
35
|
- MIT
|
36
36
|
metadata:
|
37
|
-
|
38
|
-
|
39
|
-
|
37
|
+
allowed_push_host: https://rubygems.org/
|
38
|
+
homepage_uri: https://github.com/ranjiayu
|
39
|
+
source_code_uri: https://github.com/ranjiayu/wx_miniprogram
|
40
|
+
changelog_uri: https://github.com/ranjiayu/wx_miniprogram
|
40
41
|
post_install_message:
|
41
42
|
rdoc_options: []
|
42
43
|
require_paths:
|