blsm-vd-core 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/blsm-vd-core/model/order.rb +1 -1
- data/lib/blsm-vd-core/version.rb +1 -1
- 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: 0705fb92065d1219ae581b277ca0db6bc5bdcd0b
|
4
|
+
data.tar.gz: e8c7ba74bf9252fb59c8a9ef78c7260069c31ba5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf3f8b259c348cfc285e776db69c07a6279ac86dade319f397d3906bb0e565fc4463cc9c2193fa4562a990c207db1c037cb0500087cd19dfb5806faaab43383e
|
7
|
+
data.tar.gz: 5b8e6b6546c58fba4efc4b366ed0e68e8bc2a06e7d19a16b15a7345aa5a3128f941190d9c1886cfa3264192e692c0b29e16b857a7c58c6d173c3cf924603923d
|
data/Gemfile.lock
CHANGED
@@ -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)
|
28
|
+
fee += ((item.quantity * item.franchise_price.to_f) * rate) && item.sale_price!=0
|
29
29
|
end
|
30
30
|
end
|
31
31
|
sprintf('%0.2f', fee.to_f).to_f
|
data/lib/blsm-vd-core/version.rb
CHANGED
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.
|
4
|
+
version: 1.0.2
|
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-
|
12
|
+
date: 2017-03-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|