blsm-vd-core 1.0.2 → 1.0.3

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: 0705fb92065d1219ae581b277ca0db6bc5bdcd0b
4
- data.tar.gz: e8c7ba74bf9252fb59c8a9ef78c7260069c31ba5
3
+ metadata.gz: a885fbfbfb961065df1b80e794d425e687c371bb
4
+ data.tar.gz: 597f87117e8a1bf3201f94469a15b99445a0766f
5
5
  SHA512:
6
- metadata.gz: bf3f8b259c348cfc285e776db69c07a6279ac86dade319f397d3906bb0e565fc4463cc9c2193fa4562a990c207db1c037cb0500087cd19dfb5806faaab43383e
7
- data.tar.gz: 5b8e6b6546c58fba4efc4b366ed0e68e8bc2a06e7d19a16b15a7345aa5a3128f941190d9c1886cfa3264192e692c0b29e16b857a7c58c6d173c3cf924603923d
6
+ metadata.gz: b2e9f6a8b0ed289efa85997f0eb02c8fc8b9779a5d12d8d6d257370bcfabb8e38acdc023c7b90f53f6c905768e880ef13ff47f66354a766a0e97c558c193be20
7
+ data.tar.gz: f68fd246c6bf39af33960f211862328446dc2dfd7d9472148831b228545c232077afe9fe921ec33ad1b3f4479c07d9886a3b7bfabd4405ca0c3190df6ae071b2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- blsm-vd-core (1.0.2)
4
+ blsm-vd-core (1.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://ruby.taobao.org/
@@ -25,7 +25,7 @@ module BlsmVdCore
25
25
  next if item.product_prop.nil?
26
26
  rate = item.product_prop.ordinary_rate
27
27
  rate = VdUserScore::SCORES[:SALE_OUT_DIRECT] if rate.nil? && "normal" == role
28
- fee += ((item.quantity * item.franchise_price.to_f) * rate) && item.sale_price!=0
28
+ (fee += ((item.quantity * item.franchise_price.to_f) * rate) ) if item.sale_price!=0
29
29
  end
30
30
  end
31
31
  sprintf('%0.2f', fee.to_f).to_f
@@ -1,3 +1,3 @@
1
1
  module BlsmVdCore
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
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: 1.0.2
4
+ version: 1.0.3
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: 2017-03-20 00:00:00.000000000 Z
12
+ date: 2017-03-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec