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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e6a5029205fce73c869cfa0c342dc80b22fdfd5
|
4
|
+
data.tar.gz: 961bc54ce4814981d59166cff342a5609a00fad2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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>
|
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.
|
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
|
+
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:
|
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:
|
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 (统一领域对象模型)是一系列的领域模型引擎。中国证件领域模型引擎包括中国大陆的身份证、驾驶证、营业执照等模型。
|