unidom-certificate-china 1.2.2 → 1.2.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: 640a6f109d0d79a7ef552591bd68e1e5bba8bce8
4
- data.tar.gz: fb80a8feb6ac737705a6bb321230c710d33f7de6
3
+ metadata.gz: 4e6a5029205fce73c869cfa0c342dc80b22fdfd5
4
+ data.tar.gz: 961bc54ce4814981d59166cff342a5609a00fad2
5
5
  SHA512:
6
- metadata.gz: 68b103fed46ba548f7687def8b87a2f050ca768d45952974b69aec8c298f06aa5fa1528cafaca3695fc2c31fa17508fd1da14989c343fdab10268b0698ed9be4
7
- data.tar.gz: aa565c492836df470da69574d748f7e994e368e752e30a6eae6a23a68b84ef63c8977a6852b29822ddf187ef925342c6d2de92798e44eff67e71ca8160e9293d
6
+ metadata.gz: 4f9f767cc3637a464f75b69faac76bd309055ecf706e80601a7f7ebf227d8cd9f07a48e47204731513cb638419df8579bfa2c6035f1c5bb8ad33525b4824e951
7
+ data.tar.gz: 3d41f7a73ffb63c698746b65002ac5455af6ee8c2a940ba3a91c1ae8e0b7755f9a668d9131efe10d64cb18de657454511bb9ce184b8c4c6c69c5814268678ec7
data/README.md CHANGED
@@ -82,6 +82,8 @@ The As Identity Card Certificated do the following tasks for the includer automa
82
82
 
83
83
  ## Validator
84
84
 
85
+ ### Identification Number validator
86
+
85
87
  ```ruby
86
- validates :identification_number, presence: true, identification_number: true
88
+ validates :identification_number, presence: true, 'unidom/certificate/china/identification_number': true
87
89
  ```
@@ -1,15 +1,15 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>China</title>
5
- <%= stylesheet_link_tag "china/application", media: "all" %>
4
+ <title>Unidom Certificate China</title>
5
+ <%= stylesheet_link_tag "unidom/certificate/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/certificate/china/application' %>
13
13
 
14
14
  </body>
15
15
  </html>
@@ -1,7 +1,7 @@
1
1
  module Unidom
2
2
  module Certificate
3
3
  module China
4
- VERSION = '1.2.2'.freeze
4
+ VERSION = '1.2.3'.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-certificate-china
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.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-11-11 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-certificate
@@ -16,28 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: 2.0.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: '2.0'
27
- - !ruby/object:Gem::Dependency
28
- name: nokogiri
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '='
32
- - !ruby/object:Gem::Version
33
- version: 1.6.8
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '='
39
- - !ruby/object:Gem::Version
40
- version: 1.6.8
26
+ version: 2.0.3
41
27
  description: Unidom (UNIfied Domain Object Model) is a series of domain model engines.
42
28
  The China Certificate domain model engine includes Identity Card, Driving License,
43
29
  and Business License models. Unidom (统一领域对象模型)是一系列的领域模型引擎。中国证件领域模型引擎包括中国大陆的身份证、驾驶证、营业执照等模型。