motion_wechat 0.0.4 → 0.0.5
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.
- data/lib/motion_wechat/interface.rb +17 -0
- data/lib/motion_wechat/version.rb +1 -1
- metadata +4 -4
|
@@ -99,6 +99,23 @@ module MotionWechat
|
|
|
99
99
|
WXApi.sendReq(req)
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
+
def getWXAppInstallUrl
|
|
103
|
+
WXApi.getWXAppInstallUrl
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
def isWXAppInstalled
|
|
107
|
+
WXApi.isWXAppInstalled
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def isWXAppSupportApi
|
|
111
|
+
WXApi.isWXAppSupportApi
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
def openWXApp
|
|
115
|
+
WXApi.openWXApp
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
|
|
102
119
|
private
|
|
103
120
|
def wrap_req(message, opts = {})
|
|
104
121
|
req = SendMessageToWXReq.alloc.init
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: motion_wechat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-10-
|
|
12
|
+
date: 2012-10-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: A rubymotion wrapper for wechat SDK
|
|
15
15
|
email:
|
|
@@ -47,7 +47,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
47
47
|
version: '0'
|
|
48
48
|
segments:
|
|
49
49
|
- 0
|
|
50
|
-
hash: -
|
|
50
|
+
hash: -739150016723450478
|
|
51
51
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
52
|
none: false
|
|
53
53
|
requirements:
|
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
56
56
|
version: '0'
|
|
57
57
|
segments:
|
|
58
58
|
- 0
|
|
59
|
-
hash: -
|
|
59
|
+
hash: -739150016723450478
|
|
60
60
|
requirements: []
|
|
61
61
|
rubyforge_project:
|
|
62
62
|
rubygems_version: 1.8.24
|