unidom-contact-china 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/unidom/contact/china/concerns/as_mobile_phone_number_subscriber.rb +3 -0
- data/app/models/unidom/contact/china/mobile_phone_number.rb +1 -0
- data/db/migrate/20010391560010_create_unidom_china_mobile_phone_numbers.rb +2 -2
- data/lib/unidom/contact/china/engine.rb +4 -4
- data/lib/unidom/contact/china/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c26cf082a4b0a9aec28ac53a1ef25b257065df33
|
4
|
+
data.tar.gz: 4064149e89f76c1f032d5ae4ccadb7f5ac81fd8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 880eadad624f3cfafffb0b53cc529ec95c3c03425a3a95fb1380b19a14a627b5fc0e85e89677e59b788746e021da2d0b50698f419ce6617edde81b6661cb1812
|
7
|
+
data.tar.gz: c863764603b161aa2a14c13c0a0254b95f52bac1d0f69542c9824963b2612a81f9a7174d127d651b1b5e50d6a62a358c1f6a6babbe066f4c212eeb2a6ab8fce4
|
@@ -16,8 +16,8 @@ class CreateUnidomChinaMobilePhoneNumbers < ActiveRecord::Migration
|
|
16
16
|
t.text :description
|
17
17
|
|
18
18
|
t.column :state, 'char(1)', null: false, default: 'C'
|
19
|
-
t.datetime :opened_at, null: false, default:
|
20
|
-
t.datetime :closed_at, null: false, default:
|
19
|
+
t.datetime :opened_at, null: false, default: Time.utc(1970)
|
20
|
+
t.datetime :closed_at, null: false, default: Time.utc(3000)
|
21
21
|
t.boolean :defunct, null: false, default: false
|
22
22
|
t.jsonb :notation, null: false, default: {}
|
23
23
|
|
@@ -4,14 +4,14 @@ module Unidom
|
|
4
4
|
|
5
5
|
class Engine < ::Rails::Engine
|
6
6
|
|
7
|
+
include Unidom::Common::EngineExtension
|
8
|
+
|
7
9
|
isolate_namespace ::Unidom::Contact::China
|
8
10
|
|
9
|
-
|
10
|
-
config.paths['db/migrate'].expanded.each { |expanded_path| app.config.paths['db/migrate'] << expanded_path } unless app.root.to_s.match root.to_s
|
11
|
-
end
|
11
|
+
enable_initializer enum_enabled: false, migration_enabled: true
|
12
12
|
|
13
13
|
end
|
14
14
|
|
15
15
|
end
|
16
16
|
end
|
17
|
-
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unidom-contact-china
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Topbit Du
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unidom-contact
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
17
20
|
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.3.
|
22
|
+
version: 1.3.4
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.3'
|
24
30
|
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.3.
|
32
|
+
version: 1.3.4
|
27
33
|
description: Unidom (UNIfied Domain Object Model) is a series of domain model engines.
|
28
34
|
The China Region domain model engine includes Region and its relative models. Unidom
|
29
35
|
(统一领域对象模型)是一系列的领域模型引擎。中国联系方式领域模型引擎包括中国大陆的移动电话号码及其相关的模型。
|