blsm-vd-core 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a885fbfbfb961065df1b80e794d425e687c371bb
4
- data.tar.gz: 597f87117e8a1bf3201f94469a15b99445a0766f
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MTdiZjBiODFjZTI5ZDVjNjMzMzc2YzdiZGY0YmIwMjBhZjE1NmNmMw==
5
+ data.tar.gz: !binary |-
6
+ OGMxMGU4OThjY2Y0YjJkM2E0Mzc4YjM3MmI1OTcyNzE0N2M1MjZiNQ==
5
7
  SHA512:
6
- metadata.gz: b2e9f6a8b0ed289efa85997f0eb02c8fc8b9779a5d12d8d6d257370bcfabb8e38acdc023c7b90f53f6c905768e880ef13ff47f66354a766a0e97c558c193be20
7
- data.tar.gz: f68fd246c6bf39af33960f211862328446dc2dfd7d9472148831b228545c232077afe9fe921ec33ad1b3f4479c07d9886a3b7bfabd4405ca0c3190df6ae071b2
8
+ metadata.gz: !binary |-
9
+ MGU3Y2Y3NzI4ZGI2MzE0YTM4NjI2MzgzOWY5NDNmMmQ0Zjg1YWZmZjg1MjQ1
10
+ NmJhNTVlYmU5ZWFjYWY4NjlmYzNhZTIxMjA3ZDQ3NTYyMDVlMjQ5MmYzOTU0
11
+ ZjYyMmM3NjgxNjc0YzM2OWU1NTc1MTgyNzU1ZWZmMDcyM2E5MjA=
12
+ data.tar.gz: !binary |-
13
+ ZGJmYTY2MzJmMGRlYzUxMmRmYmE4NGMxYWUwMDVhMTYwZWNkNGRlNGU5MWU5
14
+ ZGI3ZGQ4YmI0MjAxYjYzYTAyMmNiODg1YTdkNjhkMTY0MDBlZmQ1NmU0ZTM0
15
+ ZjEwZmNhOWFiYTM0ZTQzNjM1MzAxMTc0YjZjNWQ1NmUyZWIxZWE=
@@ -18,7 +18,7 @@ module BlsmVdCore
18
18
  if "black" == role
19
19
  self.line_items.each do |item|
20
20
  next if item.product_prop.nil?
21
- fee += item.quantity * item.product_prop.black_integral
21
+ (fee += item.quantity * item.product_prop.black_integral ) if item.sale_price!=0
22
22
  end
23
23
  else
24
24
  self.line_items.each do |item|
@@ -1,3 +1,3 @@
1
1
  module BlsmVdCore
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
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.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - saxer
@@ -15,157 +15,157 @@ dependencies:
15
15
  name: rspec
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ~>
19
19
  - !ruby/object:Gem::Version
20
20
  version: '3.2'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ~>
26
26
  - !ruby/object:Gem::Version
27
27
  version: '3.2'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.9'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.9'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ~>
47
47
  - !ruby/object:Gem::Version
48
48
  version: '10.0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ~>
54
54
  - !ruby/object:Gem::Version
55
55
  version: '10.0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rails
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ~>
61
61
  - !ruby/object:Gem::Version
62
62
  version: '3.2'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
69
  version: '3.2'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: mysql2
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ~>
75
75
  - !ruby/object:Gem::Version
76
76
  version: 0.3.16
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
81
+ - - ~>
82
82
  - !ruby/object:Gem::Version
83
83
  version: 0.3.16
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: activemodel
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - "~>"
88
+ - - ~>
89
89
  - !ruby/object:Gem::Version
90
90
  version: '3.2'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - "~>"
95
+ - - ~>
96
96
  - !ruby/object:Gem::Version
97
97
  version: '3.2'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: activerecord
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - "~>"
102
+ - - ~>
103
103
  - !ruby/object:Gem::Version
104
104
  version: '3.2'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - "~>"
109
+ - - ~>
110
110
  - !ruby/object:Gem::Version
111
111
  version: '3.2'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: activesupport
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - "~>"
116
+ - - ~>
117
117
  - !ruby/object:Gem::Version
118
118
  version: '3.2'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ~>
124
124
  - !ruby/object:Gem::Version
125
125
  version: '3.2'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: faraday
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - "~>"
130
+ - - ~>
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0.9'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - "~>"
137
+ - - ~>
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0.9'
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: blsm-mp-wx
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - "~>"
144
+ - - ~>
145
145
  - !ruby/object:Gem::Version
146
146
  version: 0.3.2
147
147
  type: :development
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - "~>"
151
+ - - ~>
152
152
  - !ruby/object:Gem::Version
153
153
  version: 0.3.2
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: pry
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - ">="
158
+ - - ! '>='
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  type: :development
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - ">="
165
+ - - ! '>='
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
- description: "首趣微店核心模块,包含结算项的创建、更新、删除,微店主积分的更改等信息"
168
+ description: 首趣微店核心模块,包含结算项的创建、更新、删除,微店主积分的更改等信息
169
169
  email:
170
170
  - 15201280641@qq.com
171
171
  - 1752709589@qq.com
@@ -173,8 +173,8 @@ executables: []
173
173
  extensions: []
174
174
  extra_rdoc_files: []
175
175
  files:
176
- - ".gitignore"
177
- - ".travis.yml"
176
+ - .gitignore
177
+ - .travis.yml
178
178
  - Gemfile
179
179
  - Gemfile.lock
180
180
  - README.md
@@ -222,18 +222,18 @@ require_paths:
222
222
  - lib
223
223
  required_ruby_version: !ruby/object:Gem::Requirement
224
224
  requirements:
225
- - - ">="
225
+ - - ! '>='
226
226
  - !ruby/object:Gem::Version
227
227
  version: '0'
228
228
  required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  requirements:
230
- - - ">="
230
+ - - ! '>='
231
231
  - !ruby/object:Gem::Version
232
232
  version: '0'
233
233
  requirements: []
234
234
  rubyforge_project:
235
- rubygems_version: 2.4.3
235
+ rubygems_version: 2.6.10
236
236
  signing_key:
237
237
  specification_version: 4
238
- summary: "首趣微店核心模块"
238
+ summary: 首趣微店核心模块
239
239
  test_files: []