unidom-certificate-china 1.5.5 → 1.5.6

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: d0b906a5e4d811f3b972a677a0863abbeda03736
4
- data.tar.gz: 932aaee6a24a8b588964ca8ab76b01b19a8e57e0
3
+ metadata.gz: bd40eca1d2c8f9cb7effb205c2711d3a93d4e5f2
4
+ data.tar.gz: 29f80e90b8591cc4c9a44b46bc18ee648e70fa9d
5
5
  SHA512:
6
- metadata.gz: 1e826675f661b4c42d2082c68124a2cca6200967196f1807fb68920cc788ef8ab5a04a823918746527acb742c64f24ae6650e581e654674a1c440d138aa74a36
7
- data.tar.gz: d3d3332ec560851b890cfefea504c4a73d22b71fd5ff03137794100b6ae9094eb5d5f96690e68f43e4675b4d8f8abb16d74d8256bd06e3fcd75a9428edb19eb6
6
+ metadata.gz: '09670673ba0ef1dc236aeb1b8f1ead202175b2c822f6db6813941f5b45acba12e577401795702e09fc1a246829377d0e4c2155dbc3b36a4eb3250f05c01d3376'
7
+ data.tar.gz: 0efd51e05c151e6273a289516ca2e75dbe74a2a1328da13f60f8814d59c84e651f22807ad712ea4dda4fbaf4dad8523e524dbbd2148d2b69fc777e1af7cd93fe
@@ -63,6 +63,11 @@ describe Unidom::Certificate::China::BusinessLicense, type: :model do
63
63
  it_behaves_like 'validates text', model_attributes, :address,
64
64
  length: 2..described_class.columns_hash['address'].limit
65
65
 
66
+ it_behaves_like 'validates text', model_attributes, :legal_representative_name,
67
+ length: 2..described_class.columns_hash['legal_representative_name'].limit
68
+ it_behaves_like 'validates text', model_attributes, :issuing_authority_name,
69
+ length: 2..described_class.columns_hash['issuing_authority_name'].limit
70
+
66
71
  end
67
72
 
68
73
  end
@@ -46,6 +46,9 @@ describe Unidom::Certificate::China::IdentityCard, type: :model do
46
46
  it_behaves_like 'validates text', model_attributes, :address,
47
47
  length: 2..described_class.columns_hash['address'].limit
48
48
 
49
+ it_behaves_like 'validates text', model_attributes, :issuing_authority_name,
50
+ length: 2..described_class.columns_hash['issuing_authority_name'].limit
51
+
49
52
  end
50
53
 
51
54
  end
@@ -1,7 +1,7 @@
1
1
  module Unidom
2
2
  module Certificate
3
3
  module China
4
- VERSION = '1.5.5'.freeze
4
+ VERSION = '1.5.6'.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.5.5
4
+ version: 1.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Topbit Du
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-25 00:00:00.000000000 Z
11
+ date: 2017-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unidom-certificate