blsm-mp-wx 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/blsm-mp-wx/version.rb +1 -1
- data/lib/blsm-mp-wx.rb +2 -2
- 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: 0f003fb2b835d3e3abf646d5d9409d10326e7c41
|
4
|
+
data.tar.gz: 951c939543645cfccef683545640ef7894d9dd24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b00d3eaa8b169bddb7867d6f15b2cab9fdfb3c798300124883c1977e5beb8f1bffbe66949a63165feed8dab9bd4ffdbf8f4adac51d4e22225bc0bc34fc75a2d9
|
7
|
+
data.tar.gz: 901785f3a0670d4988f86a509f277fc8ba882b6574ccbb6416ab73574b2307f0b50b23dd512e38d7cc307c2acdf2d2157c4a3197b9f85f8105756bdbd324ba46
|
data/lib/blsm-mp-wx/version.rb
CHANGED
data/lib/blsm-mp-wx.rb
CHANGED
@@ -219,13 +219,13 @@ module BlsmMpWx
|
|
219
219
|
app_id ||= self.APP_ID
|
220
220
|
return nil unless openid
|
221
221
|
return nil unless content[:touser]==openid
|
222
|
-
return nil unless %w(new_order balance score_change distribute custom).include?(msg_name)
|
222
|
+
return nil unless %w(new_order balance score_change distribute custom split_order).include?(msg_name)
|
223
223
|
VdMpMsg.create({
|
224
224
|
app_id: app_id,
|
225
225
|
openid: openid,
|
226
226
|
content: content.to_json,
|
227
227
|
msg_name: msg_name,
|
228
|
-
template_msg: %w(new_order balance score_change distribute).include?(msg_name),
|
228
|
+
template_msg: %w(new_order balance score_change distribute split_order).include?(msg_name),
|
229
229
|
status: 'none'
|
230
230
|
})
|
231
231
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blsm-mp-wx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- saxer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|