blsm-vd-core 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NTg5NjU3ZWY5ZjY4NDZlZDA5NjQ5ODAxYzVhYmE2YWRjMzVjNTlhMg==
5
- data.tar.gz: !binary |-
6
- YjYzZmNiNjA4YjFmZGQyZTc5NTk5MzUxYzM2N2Q0MmNkM2M3ZjQ5ZQ==
2
+ SHA1:
3
+ metadata.gz: 0e16121b0b0f977feb676471b02c98a5f5a56901
4
+ data.tar.gz: 8239e14b2bcfec122cc8e570f868e9011ba42528
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZjFhZWMyOTFlNDYxMjY3Njc5MmYyZWFiMGQ5YTYzOWI4YjQxOTUzZDE5ODAx
10
- MWJkNmY5Y2UyMTdiOWNmNGE3YmM2OThiNjBlMTA0YTJiZTM3NDZhN2E2NDZh
11
- YjUxMzU0NDk5YzMxYTdiY2Q3ZmRhZDJlZDVmMjg4NjA0MDQzNmU=
12
- data.tar.gz: !binary |-
13
- YWQwMzcxMzM3NzcxZWNiNmYyOWM3NzQ3M2Q0NGJmMTE3MGQ5YWIwNzhmNzAw
14
- ZDQwN2E0ZjFiMzk4MWJjZDUyOTFkYWMxMmZlYWFkYTA5OGNlOTVhMzkxZjcx
15
- N2Q1YjJmMjFjNThiZDU5MmY3YmViNTQ3ZTc0OTljOTg1M2U2YmY=
6
+ metadata.gz: ebe245eb6aeb0ca4184841da1a2045437280af1fd23c45d57be955e664ac1d398e78a9403a1a0264097afe4963d2d31e408907293fb7184f45716bd102ea6eec
7
+ data.tar.gz: f59899c630f56766ba61aae13406a67c5580f38c0f4ad312251ea8793ec712334e38ebb7731e1fed53db99c131641adc069e623a9e3e1b92feb2dc0840d524c5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- blsm-vd-core (0.2.3)
4
+ blsm-vd-core (0.2.4)
5
5
 
6
6
  GEM
7
7
  remote: https://ruby.taobao.org/
@@ -34,7 +34,7 @@ GEM
34
34
  i18n (~> 0.6)
35
35
  multi_json (~> 1.0)
36
36
  arel (3.0.2)
37
- blsm-mp-wx (0.1.7)
37
+ blsm-mp-wx (0.1.8)
38
38
  builder (3.0.0)
39
39
  diff-lcs (1.2.5)
40
40
  erubis (2.7.0)
@@ -109,7 +109,7 @@ DEPENDENCIES
109
109
  activemodel (~> 3.2)
110
110
  activerecord (~> 3.2)
111
111
  activesupport (~> 3.2)
112
- blsm-mp-wx (~> 0.1.7)
112
+ blsm-mp-wx (~> 0.1.8)
113
113
  blsm-vd-core!
114
114
  bundler (~> 1.9)
115
115
  faraday (~> 0.9)
@@ -13,8 +13,8 @@ module BlsmVdCore
13
13
 
14
14
  #利润率,跟销售额有关系
15
15
  def profit_rate
16
- return 0.5 if self.sale_sum.to_f<1500
17
- return 0.7 if self.sale_sum.to_f<3000
16
+ return 0.5 if self.sale_sum.to_f<1800
17
+ return 0.7 if self.sale_sum.to_f<3500
18
18
  1
19
19
  end
20
20
 
@@ -1,3 +1,3 @@
1
1
  module BlsmVdCore
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,153 +1,153 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blsm-vd-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - saxer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-06-15 00:00:00.000000000 Z
11
+ date: 2015-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.2'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.9'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.9'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.2'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.2'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mysql2
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.3.16
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.3.16
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: activemodel
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '3.2'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '3.2'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: activerecord
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '3.2'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '3.2'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: activesupport
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '3.2'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '3.2'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: faraday
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0.9'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0.9'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: blsm-mp-wx
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
145
  version: 0.1.8
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ~>
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: 0.1.8
153
153
  description: 首趣微店核心模块,包含结算项的创建、更新、删除,微店主积分的更改等信息
@@ -157,8 +157,8 @@ executables: []
157
157
  extensions: []
158
158
  extra_rdoc_files: []
159
159
  files:
160
- - .gitignore
161
- - .travis.yml
160
+ - ".gitignore"
161
+ - ".travis.yml"
162
162
  - Gemfile
163
163
  - Gemfile.lock
164
164
  - README.md
@@ -191,12 +191,12 @@ require_paths:
191
191
  - lib
192
192
  required_ruby_version: !ruby/object:Gem::Requirement
193
193
  requirements:
194
- - - ! '>='
194
+ - - ">="
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - ! '>='
199
+ - - ">="
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0'
202
202
  requirements: []