unidom-contact-china 1.0.1 → 1.0.2

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: 46d0beca414b04af04c8ed05236b46add1461af5
4
- data.tar.gz: 82f78bf53a34c7f8867c33f85616fd2d23ef2ac1
3
+ metadata.gz: c96a40742c1c5a6bdbb4bb14c7bcf8779b322ba8
4
+ data.tar.gz: 034cefd5bd465c97dac14c38206540d922f0d7b4
5
5
  SHA512:
6
- metadata.gz: 86b552f71bed0785a8b995b29a0cb7ecfaf62e0a228963a36ca943670f50009520e0c88b2fa2fad8ddac6c674ac37b53543f889935173e9ea47a4bc9f5de373a
7
- data.tar.gz: 24ccd84b63aa7e89c0c410a6290c1e5cc131b275aa3280139a7290833c9248b147da309360055d5aa5a0920fe1167d080e8b6d0bf2ce6b320fa01250703c515d
6
+ metadata.gz: dda47df28068c5ab1df316b542415c1fe602e184a2986d8294eafcec5d081eb8292f649bd599e2d3790598a02edd8ef1eca8124d088e296a15adfb85601f2733
7
+ data.tar.gz: e84689f16aa6b004731ca4de90f8cafd2ca6cee9878de027f361ff9f95a48c636641a0844b8feb1beceb5723bf7a4818cf62f7265840f3dfd6d9d84918b9669d
data/README.md CHANGED
@@ -39,7 +39,11 @@ The migration versions start with 2001039156.
39
39
  phone_number = Unidom::Contact::China::MobilePhoneNumber.new phone_number: '13912345678'
40
40
  phone_number.save!
41
41
 
42
- Unidom::Contact::China::MobilePhoneNumber.valid_at.alive.first # Get all active China mobile phone numbers
42
+ Unidom::Contact::China::MobilePhoneNumber.valid_at.alive.first
43
+ # Find the first active China mobile phone number
44
+
45
+ Unidom::Contact::China::MobilePhoneNumber.phone_number_is('13912345678').first
46
+ # Find the mobile phone number per the given phone number.
43
47
  ```
44
48
 
45
49
 
@@ -2,14 +2,14 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>Unidom Contact China</title>
5
- <%= stylesheet_link_tag "china/application", media: "all" %>
5
+ <%= stylesheet_link_tag 'unidom/contact/china/application', media: "all" %>
6
6
  <%= csrf_meta_tags %>
7
7
  </head>
8
8
  <body>
9
9
 
10
10
  <%= yield %>
11
11
 
12
- <%= javascript_include_tag 'china/application' %>
12
+ <%= javascript_include_tag 'unidom/contact/china/application' %>
13
13
 
14
14
  </body>
15
15
  </html>
@@ -1,7 +1,7 @@
1
1
  module Unidom
2
2
  module Contact
3
3
  module China
4
- VERSION = '1.0.1'.freeze
4
+ VERSION = '1.0.2'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unidom-contact-china
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.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: 2016-11-07 00:00:00.000000000 Z
11
+ date: 2016-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unidom-contact
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: 1.3.3
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.3'
26
+ version: 1.3.3
27
27
  description: Unidom (UNIfied Domain Object Model) is a series of domain model engines.
28
28
  The China Region domain model engine includes Region and its relative models. Unidom
29
29
  (统一领域对象模型)是一系列的领域模型引擎。中国联系方式领域模型引擎包括中国大陆的移动电话号码及其相关的模型。