wechat 0.7.9 → 0.7.11
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/CHANGELOG.md +6 -0
- data/README-CN.md +2 -0
- data/README.md +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 116461d643a7ce8bcee13205b330adaa55cdbbc9
|
|
4
|
+
data.tar.gz: 5135952c36e164855393dfe2e4a8929664b7dff2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 379c865b5e66795d56ed8aa9701e010dea78b030d4c99d027c436aef1a83c846369dda50194090aae38cad37903b6c4e37c32f638741d2106ca82013b1c26994
|
|
7
|
+
data.tar.gz: 6b439ec1e93a6f2d23224ea09472218a26cfb2d25304665a5355bf250dff108757a719561a25adb538f0e09926e9a28ff7d7ed00ed22d6a2b3f43219d9f1b339
|
data/CHANGELOG.md
CHANGED
data/README-CN.md
CHANGED
|
@@ -184,6 +184,8 @@ end
|
|
|
184
184
|
|
|
185
185
|
通过JS-SDK可以在HTML网页中控制微信客户端的行为,但必须先注入配置信息,wechat gems提供了帮助方法`wechat_config_js`使这个过程更简单:
|
|
186
186
|
|
|
187
|
+
注意wechat_config_js指令依赖于[`wechat_api`](#wechat_api---rails-controller-wechat-api) 或 [`wechat_responder`](#wechat_responder---rails-responder-controller-dsl) ,需要先在controller里面添加。
|
|
188
|
+
|
|
187
189
|
```erb
|
|
188
190
|
<body>
|
|
189
191
|
<%= wechat_config_js debug: false, api: %w(hideMenuItems closeWindow) -%>
|
data/README.md
CHANGED
|
@@ -197,6 +197,8 @@ end
|
|
|
197
197
|
|
|
198
198
|
JS-SDK enable you control Wechat App behavior in html, by inject a config signature, helper `wechat_config_js` do that in more simple way:
|
|
199
199
|
|
|
200
|
+
To make wechat_config_js works, you need put [`wechat_api`](#wechat_api---rails-controller-wechat-api) or [`wechat_responder`](#wechat_responder---rails-responder-controller-dsl) at controller first.
|
|
201
|
+
|
|
200
202
|
```erb
|
|
201
203
|
<body>
|
|
202
204
|
<%= wechat_config_js debug: false, api: %w(hideMenuItems closeWindow) -%>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wechat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Skinnyworm
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-04-
|
|
12
|
+
date: 2016-04-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|