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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c96a40742c1c5a6bdbb4bb14c7bcf8779b322ba8
4
- data.tar.gz: 034cefd5bd465c97dac14c38206540d922f0d7b4
3
+ metadata.gz: c26cf082a4b0a9aec28ac53a1ef25b257065df33
4
+ data.tar.gz: 4064149e89f76c1f032d5ae4ccadb7f5ac81fd8b
5
5
  SHA512:
6
- metadata.gz: dda47df28068c5ab1df316b542415c1fe602e184a2986d8294eafcec5d081eb8292f649bd599e2d3790598a02edd8ef1eca8124d088e296a15adfb85601f2733
7
- data.tar.gz: e84689f16aa6b004731ca4de90f8cafd2ca6cee9878de027f361ff9f95a48c636641a0844b8feb1beceb5723bf7a4818cf62f7265840f3dfd6d9d84918b9669d
6
+ metadata.gz: 880eadad624f3cfafffb0b53cc529ec95c3c03425a3a95fb1380b19a14a627b5fc0e85e89677e59b788746e021da2d0b50698f419ce6617edde81b6661cb1812
7
+ data.tar.gz: c863764603b161aa2a14c13c0a0254b95f52bac1d0f69542c9824963b2612a81f9a7174d127d651b1b5e50d6a62a358c1f6a6babbe066f4c212eeb2a6ab8fce4
@@ -1,3 +1,6 @@
1
+ ##
2
+ # As Mobile Phone Number Subscriber 是移动电话号码用户的领域关注点。
3
+
1
4
  module Unidom::Contact::China::Concerns::AsMobilePhoneNumberSubscriber
2
5
 
3
6
  extend ActiveSupport::Concern
@@ -1,3 +1,4 @@
1
+ ##
1
2
  # China Mobile Phone Number 是中国移动电话号码。
2
3
 
3
4
  class Unidom::Contact::China::MobilePhoneNumber < Unidom::Contact::China::ApplicationRecord
@@ -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: ::Time.utc(1970)
20
- t.datetime :closed_at, null: false, default: ::Time.utc(3000)
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
- initializer :append_migrations do |app|
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
@@ -1,7 +1,7 @@
1
1
  module Unidom
2
2
  module Contact
3
3
  module China
4
- VERSION = '1.0.2'.freeze
4
+ VERSION = '1.0.3'.freeze
5
5
  end
6
6
  end
7
7
  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.2
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: 2016-12-08 00:00:00.000000000 Z
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.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.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
  (统一领域对象模型)是一系列的领域模型引擎。中国联系方式领域模型引擎包括中国大陆的移动电话号码及其相关的模型。