blsm-vd-core 1.0.0 → 1.0.1
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.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: 601d611307527fb03f9f94545961cc3c02e7b33c
|
4
|
+
data.tar.gz: abb6f44eab1cb92cbeeb041c34cf121b2d0131ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23f7653eaa982c6f1c477fe48f805b1a224a14a9ebfac106b4624482243c3eebb5248d0268e3b1bc27c4c0042ee0c27a131b71f06d41b8f4885607a99520bcbb
|
7
|
+
data.tar.gz: be37cb71369ebbcf24db2286ddef7f446f3d520f72a05db71a9f3ae05db2400668117544a7ecb51b5f8d33ccaaaff92cad92ec9e7cf0222fe047eff6beeacdc5
|
data/Gemfile.lock
CHANGED
data/lib/blsm-vd-core.rb
CHANGED
@@ -724,7 +724,7 @@ module BlsmVdCore
|
|
724
724
|
reward = 0
|
725
725
|
LineItem.where(:order_id => order.id).each do |line_item|
|
726
726
|
product_prop = line_item.product_prop
|
727
|
-
reward += line_item.quantity*product_prop.inviter_reward if
|
727
|
+
reward += line_item.quantity*product_prop.inviter_reward if product_prop && line_item.sale_price!=0
|
728
728
|
end
|
729
729
|
|
730
730
|
if reward > 0
|
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.1
|
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-
|
12
|
+
date: 2017-03-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|