unidom-party 1.9.4 → 1.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/models/unidom/party/company_spec.rb +1 -0
- data/lib/rspec/models/unidom/party/government_agency_spec.rb +1 -0
- data/lib/rspec/models/unidom/party/person_spec.rb +2 -1
- data/lib/rspec/models/unidom/party/shop_spec.rb +3 -1
- data/lib/unidom/party/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c7381e0591f0fcacb383eed6eccddab5f0ca997
|
4
|
+
data.tar.gz: 0700fc8d248e08c622f41f6e1ef44cac552f9c3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7f3cb113059a2988f8c354dd5fd97e0bafeabb66351906428226bd7a025d8941781c2f87971dbd643ecf24e05ee2afa6e7a2fac64561c90132e5791d300b910
|
7
|
+
data.tar.gz: e5ca0f9221cf4830d2422837a377aeb44b8f116dec8da8fe47f42c61e1b0aafcd24f2557e1292b2dbd141e12a831e823d0f13c85e8e582553a8eb699ede0b36f
|
@@ -13,6 +13,7 @@ describe Unidom::Party::Company, type: :model do
|
|
13
13
|
}
|
14
14
|
|
15
15
|
it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes
|
16
|
+
it_behaves_like 'Unidom::Party::Concerns::AsSourceParty', model_attributes
|
16
17
|
|
17
18
|
it_behaves_like 'validates text', model_attributes, :name, length: 2..described_class.columns_hash['name'].limit
|
18
19
|
|
@@ -16,6 +16,7 @@ describe Unidom::Party::GovernmentAgency, type: :model do
|
|
16
16
|
}
|
17
17
|
|
18
18
|
it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes
|
19
|
+
it_behaves_like 'Unidom::Party::Concerns::AsSourceParty', model_attributes
|
19
20
|
|
20
21
|
it_behaves_like 'validates text', model_attributes, :name, length: 2..described_class.columns_hash['name'].limit
|
21
22
|
|
@@ -15,7 +15,8 @@ describe Unidom::Party::Person, type: :model do
|
|
15
15
|
it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes
|
16
16
|
it_behaves_like 'Unidom::Party::Concerns::AsSourceParty', model_attributes
|
17
17
|
|
18
|
-
it_behaves_like 'validates text', model_attributes, :name,
|
18
|
+
it_behaves_like 'validates text', model_attributes, :name,
|
19
|
+
length: 2..described_class.columns_hash['name'].limit
|
19
20
|
|
20
21
|
end
|
21
22
|
|
@@ -13,8 +13,10 @@ describe Unidom::Party::Shop, type: :model do
|
|
13
13
|
}
|
14
14
|
|
15
15
|
it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes
|
16
|
+
it_behaves_like 'Unidom::Party::Concerns::AsSourceParty', model_attributes
|
16
17
|
|
17
|
-
it_behaves_like 'validates text', model_attributes, :name,
|
18
|
+
it_behaves_like 'validates text', model_attributes, :name,
|
19
|
+
length: 2..described_class.columns_hash['name'].limit
|
18
20
|
|
19
21
|
end
|
20
22
|
|
data/lib/unidom/party/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unidom-party
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.5
|
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-
|
11
|
+
date: 2017-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unidom-common
|