comee_core 0.3.8 → 0.3.10
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d65305ef201d7c273369b89facd7d6e94bcf64d6e246da0bbfee00600e2a6b74
|
4
|
+
data.tar.gz: 6a94eff22f5f2d0713a25041c2d949ff0a2e3510be4aabdb0ceb74c6f4bcd299
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49ee2362707d61722e8d57d283b4305d55caf8f6d58e7edf0f9fb773883d6b9be2aa20258fd370ab47cbd71b1581809b01aa32e9b14f93c58ca7eabfb610e4ad
|
7
|
+
data.tar.gz: ef323a7902517964593fc9f7f17d1d48cd28a956fa18287503a5f1178934a63b9495a21d7872a68920cac061abeeb672fcb3d30c12f8941e931e84dddc8ee299
|
@@ -14,7 +14,7 @@ module Comee
|
|
14
14
|
|
15
15
|
validates :address_line1, :address_type, presence: true
|
16
16
|
validates :address_type, inclusion: {in: ADDRESS_TYPES}
|
17
|
-
validates :email, format: {with: URI::MailTo::EMAIL_REGEXP}
|
17
|
+
validates :email, format: {with: URI::MailTo::EMAIL_REGEXP}, allow_nil: true
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
@@ -219,7 +219,7 @@ module Comee
|
|
219
219
|
supplier_name: master_price.supplier.name,
|
220
220
|
supplier_item_no: product_lookup.code,
|
221
221
|
supplier_description: product_lookup.item_description,
|
222
|
-
country_of_origin: master_price
|
222
|
+
country_of_origin: master_price&.country_of_origin&.name
|
223
223
|
}
|
224
224
|
}
|
225
225
|
end
|
data/lib/comee/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comee_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henock L.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|