blsm-vd-core 0.3.8 → 0.3.9

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: 8e60c688b543ddd483291fc0da9efc09d85aab19
4
- data.tar.gz: 95ff0c007c30e15fab33aaaadd4e1a1916f3dd76
3
+ metadata.gz: f0cd1c3b20a562fbeed78474299a6f482d84b718
4
+ data.tar.gz: cadccdc61a4713cab430405e9e79c1a52d7cc2ae
5
5
  SHA512:
6
- metadata.gz: b31a8e44c3e010d2c600ec9f7fc2c67a89ebaf6282c221b1f078a5c98c983e14cc8a86f34a21c20536df1d4639817a30bc9a3ea31965ec6a3a53b8477fec0749
7
- data.tar.gz: 212d21bcd5bf3a175a270156e38ddc0ce818c8f998da9f24526cd463e47c4934b3307f0af3b0eb73ab958a00983e549ef155d7cc631f4c9d918a70d023f7bca7
6
+ metadata.gz: 805b78c786f624d1861128c7f0feccd7af01b2df32f0007c865161559cd10f6b3d59fa8962c68938dbeb986ea7299308627bbb094ed2593c4fa6aba582a5db8b
7
+ data.tar.gz: 8708a269cd769c282379d641232339aebde5552d6b920be6ed546c6b1fdb31ad103235d48c41be818b00b7119dad01a0662284fae5213b3be16afb2be485c296
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- blsm-vd-core (0.3.7)
4
+ blsm-vd-core (0.3.8)
5
5
 
6
6
  GEM
7
7
  remote: https://ruby.taobao.org/
data/lib/blsm-vd-core.rb CHANGED
@@ -172,8 +172,9 @@ module BlsmVdCore
172
172
  leader = User.where("id in(select supervisor_id from vd_user_infos where user_id=#{user.id})").first
173
173
  leader_info = leader.create_vd_user_info if leader
174
174
 
175
+
175
176
  #订单确认提醒(黑带)
176
- leader_change = order.get_vd_score(leader_info.vd_role)
177
+ leader_change = order.get_vd_score(leader_info.vd_role) if leader_info
177
178
  distribute_leader_notify = {touser: leader.openid,
178
179
  order_id: Order.encrypt(Order.encrypted_id_key, order.id.to_s),
179
180
  score_change: leader_change,
@@ -1,3 +1,3 @@
1
1
  module BlsmVdCore
2
- VERSION = "0.3.8"
2
+ VERSION = "0.3.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blsm-vd-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - saxer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2015-07-18 00:00:00.000000000 Z
12
+ date: 2015-07-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec