blsm-vd-core 0.7.3 → 0.7.4
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/ubox_vm.rb +2 -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: ddc25d5bc15d686ab2a58a6ff6282e775079b4f4
|
4
|
+
data.tar.gz: cf22d35da1070654dac313e72b2724fce6d7fd4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78b7d20c1952dcaae111caf96d7758bb5a9523a851436b10c3645e91e34a0e0f2c221cda95feb169f8f7204aed33fa13587d31836a43c2af488b7add9663667e
|
7
|
+
data.tar.gz: 38dbc54bf3e91639688797f892e6aea856b6e54c9ed7816117dbf912a701e7157f6ce00e2b1003be4dc8fa1d49cd3dc6a01c4ebf9d9daa26b92eac11662cc425
|
data/Gemfile.lock
CHANGED
@@ -4,9 +4,10 @@ module BlsmVdCore
|
|
4
4
|
self.table_name='ubox_vms'
|
5
5
|
belongs_to :application, class_name: "::BlsmVdCore::Application"
|
6
6
|
|
7
|
-
#settlement 结算方式 0:默认(售价25%), 1:加盟商(售价100%)
|
7
|
+
#settlement 结算方式 0:默认(售价25%), 1:加盟商(售价100%),其他:百分比
|
8
8
|
def settlement_rate
|
9
9
|
return 1.0 if self.settlement==1
|
10
|
+
return self.settlement.to_f if self.settlement.to_f<1 && self.settlement.to_f>0
|
10
11
|
0.25
|
11
12
|
end
|
12
13
|
end
|
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: 0.7.
|
4
|
+
version: 0.7.4
|
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: 2016-
|
12
|
+
date: 2016-11-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|