unidom-price 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -0
- data/app/controllers/unidom/price/application_controller.rb +3 -0
- data/app/jobs/unidom/price/application_job.rb +3 -0
- data/app/mailers/unidom/price/application_mailer.rb +3 -0
- data/app/models/unidom/price/application_record.rb +3 -0
- data/app/models/unidom/price/price.rb +1 -1
- data/lib/unidom/price/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36acb2cd892d976aa1d11beef496a1dd55892da5
|
4
|
+
data.tar.gz: 9e6a626e4643dfcb881617bab300156e707258ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e0358cf0fe1bd5696ce08f064e22a85cff7a54185d58169000d2a3aa15f4a23c7f87c1ee83a5d13a82a5443673f8d3f3cfae4ea34983e4f892c6ef9bb7a2362
|
7
|
+
data.tar.gz: 7849b672fe3205340507680b0a1e9708a6614a9cd6354580009e47cf5dec1132eb35755677293dd5790c45335172fd453d89d02853e52f4ced4a7a4732b453dd
|
data/README.md
CHANGED
@@ -125,3 +125,19 @@ Unidom::Price::Pricing::DISCOUNT # 折扣成分
|
|
125
125
|
Unidom::Price::Pricing::SURCHARGE # 额外收费成分
|
126
126
|
Unidom::Price::Pricing::MANUFACTURER_SUGGESTED # 厂家建议价
|
127
127
|
```
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
## Disable the Model & Migration
|
132
|
+
|
133
|
+
If you only need the app components other than models, the migrations should be neglected, and the models should not be loaded.
|
134
|
+
```ruby
|
135
|
+
# config/initializers/unidom.rb
|
136
|
+
Unidom::Common.configure do |options|
|
137
|
+
|
138
|
+
options[:neglected_namespaces] = %w{
|
139
|
+
Unidom::Price
|
140
|
+
}
|
141
|
+
|
142
|
+
end
|
143
|
+
```
|
data/lib/unidom/price/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unidom-price
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Topbit Du
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unidom-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.9'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.9'
|
27
27
|
description: Unidom (UNIfied Domain Object Model) is a series of domain model engines.
|
28
28
|
The Price domain model engine includes Pricing and its relative models. Unidom (统一领域对象模型)是一系列的领域模型引擎。价格领域模型引擎包括定价及其相关的模型。
|
29
29
|
email:
|