comee_core 0.1.78 → 0.1.79

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: 06c1577eb9677bc332a321a3bea0537a253b4891856aa7c49441a03df5be3510
4
- data.tar.gz: ad936214c5840d39c0099841b95f05628571cb5a1cf674f1f679193c5a3caf29
3
+ metadata.gz: d71a8200c433afbae99cbd4b1ca79c35eee1213e1192ebe7e0af4094f172bc41
4
+ data.tar.gz: fa8fd302ec0376de853aa014d980f261c6cbabe517c1f7a5e1723a887271a98e
5
5
  SHA512:
6
- metadata.gz: 5f8d8ffaee5ab3d44e724500e7b17e65a6976685188c2b6c4d2f7125b5c10994b8e83b7ec3735ae9324ff838b329d665f40358625a4a4d9367950e5c9dd3964f
7
- data.tar.gz: b0701d9dcc27073443ea023bc9672907e8b1f60b1f1d8cfda316f3d498069e4731a3daa46dfd447ed77002a2b31b3f610a61fa668dd3724a316e280b3fbd9fe5
6
+ metadata.gz: 62e97416902c0185884d83f89bd19ea26a0b02e9a7aae46c8e144a57c2adeb9207fe577899490617eb75a2aadbcf868e30ec5443d0e8ffb12c7beef5f81acaee
7
+ data.tar.gz: 44d4a262ac39c7e97c7096cdc214ed842bf1f764d4b4233038decf27ef38fbcef8aba9d5e60622ba2ce9674ba7fc2775847c5775c615eaf0e7dda4972dc0df6e
@@ -8,7 +8,7 @@ module Comee
8
8
  validates :code, :name, :address, :locale, presence: true
9
9
  validates :code, uniqueness: true
10
10
 
11
- delegate(:name, to: :user, prefix: true)
11
+ delegate(:name, to: :user, prefix: true, allow_nil: true)
12
12
 
13
13
  def self.ransackable_attributes(_auth_object = nil)
14
14
  %w[
@@ -1,5 +1,5 @@
1
1
  module Comee
2
2
  module Core
3
- VERSION = "0.1.78".freeze
3
+ VERSION = "0.1.79".freeze
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@ FactoryBot.define do
2
2
  factory :shipment_item, class: "Comee::Core::ShipmentItem" do
3
3
  sales_order_item
4
4
  quantity { 50 }
5
- shipment_status { Faker::Lorem.word }
5
+ shipment_status { Comee::Core::ItemStatus::INITIALIZED }
6
6
  status { Comee::Core::ShipmentItem.statuses[:active] }
7
7
  handover_date { Date.current.advance(days: 3) }
8
8
  delivery_date { Date.current.advance(days: 6) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comee_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.78
4
+ version: 0.1.79
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.