unidom-party 1.8.4 → 1.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +16 -0
- data/app/controllers/unidom/party/application_controller.rb +3 -0
- data/app/jobs/unidom/party/application_job.rb +3 -0
- data/app/mailers/unidom/party/application_mailer.rb +3 -0
- data/app/models/unidom/party/application_record.rb +3 -0
- data/app/models/unidom/party/collaborating.rb +1 -1
- data/app/models/unidom/party/company.rb +1 -1
- data/app/models/unidom/party/government_agency.rb +1 -1
- data/app/models/unidom/party/party_relation.rb +1 -1
- data/app/models/unidom/party/person.rb +1 -1
- data/app/models/unidom/party/shop.rb +1 -1
- data/lib/unidom/party/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: c00041e4709b1e72496ac675a708c75ea097d6aa
|
4
|
+
data.tar.gz: a41967c222b5018fb1f53c726856a2d66050250e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0320bf01bce35163034c7e35cb3468c9d02c4549de9fda3cd48bb38054d1ecbb2b58db2974f4a83a1e384046fb9fca834caa44337019f80d3b5a270d7806edb8
|
7
|
+
data.tar.gz: e45006134c8e36cf34d44b0fb2a0292f2768600dd2e33b7f9918805c5bfbc4df4f8bd079f855e7d4083643ca34f848a94331cbdc70775e560b3bc2d877720266
|
data/README.md
CHANGED
@@ -117,6 +117,22 @@ Unidom::Party::Gender::NOT_APPLICABLE
|
|
117
117
|
|
118
118
|
|
119
119
|
|
120
|
+
## Disable the Model & Migration
|
121
|
+
|
122
|
+
If you only need the app components other than models, the migrations should be neglected, and the models should not be loaded.
|
123
|
+
```ruby
|
124
|
+
# config/initializers/unidom.rb
|
125
|
+
Unidom::Common.configure do |options|
|
126
|
+
|
127
|
+
options[:neglected_namespaces] = %w{
|
128
|
+
Unidom::Party
|
129
|
+
}
|
130
|
+
|
131
|
+
end
|
132
|
+
```
|
133
|
+
|
134
|
+
|
135
|
+
|
120
136
|
## RSpec examples
|
121
137
|
|
122
138
|
```ruby
|
data/lib/unidom/party/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unidom-party
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.5
|
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-30 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 Party domain model engine includes Person, Shop, and Company models. Unidom
|
29
29
|
(统一领域对象模型)是一系列的领域模型引擎。参与者领域模型引擎包括个人、店铺、公司的模型。
|