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: 6d50f09b407c09781cabe411155b912767ec73af304b20810a58a9632eb13e46
4
- data.tar.gz: e0e7bb2f1540a1b922088327e04786589da49cf8b6f9f3e5e37d172a5f462643
3
+ metadata.gz: d65305ef201d7c273369b89facd7d6e94bcf64d6e246da0bbfee00600e2a6b74
4
+ data.tar.gz: 6a94eff22f5f2d0713a25041c2d949ff0a2e3510be4aabdb0ceb74c6f4bcd299
5
5
  SHA512:
6
- metadata.gz: 1ce44d97aed3a16468341eeda2d707d93c92c776a062491ecb204327b9877892bc812b5ab5e9bc6ba655f25e3f16aa710da2bde7104b624bff07948e29eeeac8
7
- data.tar.gz: 193244d3ff7f49f941cfa77c3165af55180437ad3b2837fe358e42aebe62072259e1d91a6ae9623fc250477a146081a072946ad131b153ea723c54c3b9822cb4
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.country_of_origin.name
222
+ country_of_origin: master_price&.country_of_origin&.name
223
223
  }
224
224
  }
225
225
  end
@@ -1,5 +1,5 @@
1
1
  module Comee
2
2
  module Core
3
- VERSION = "0.3.8".freeze
3
+ VERSION = "0.3.10".freeze
4
4
  end
5
5
  end
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.8
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-06-30 00:00:00.000000000 Z
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