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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 198ea4580962e8cf69f1228244b6cef0fc19e024
4
- data.tar.gz: 123a830043225e4ebd5a0775d6d24cbce78e3f7b
3
+ metadata.gz: 0f003fb2b835d3e3abf646d5d9409d10326e7c41
4
+ data.tar.gz: 951c939543645cfccef683545640ef7894d9dd24
5
5
  SHA512:
6
- metadata.gz: 2e9754d24532bd904de5b4e702a5da00b92a70599e8422b0f51edc21ea9087e9269613c2c7d38b64bd28ae42b97594c18a7ff9789c1efbefee2b1dc41bfca5bd
7
- data.tar.gz: bb6d22b26fb5023424db877f903a197891c7b55bb32bd73aef93cd2a7fe0d73b0aeb8ad1c9a1b7a6392cef00e1dad316f9945a3743c36b25dcbe78b874bf0e35
6
+ metadata.gz: b00d3eaa8b169bddb7867d6f15b2cab9fdfb3c798300124883c1977e5beb8f1bffbe66949a63165feed8dab9bd4ffdbf8f4adac51d4e22225bc0bc34fc75a2d9
7
+ data.tar.gz: 901785f3a0670d4988f86a509f277fc8ba882b6574ccbb6416ab73574b2307f0b50b23dd512e38d7cc307c2acdf2d2157c4a3197b9f85f8105756bdbd324ba46
@@ -1,3 +1,3 @@
1
1
  module BlsmMpWx
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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.1
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-06-27 00:00:00.000000000 Z
11
+ date: 2015-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec