cats_core 1.2.26 → 1.2.27

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: f0b78245442c046287e1a2ddf16e27d33031ebe242b38e6363eaae738e792d92
4
- data.tar.gz: 83613611f8a6a31cab227fbc540afbacc35585c87df76a30ea6eb2bcbd8beb5d
3
+ metadata.gz: 5dd652b6eeefe39811487b8fa993471b4f61c3692a8a1400ff929612ae7a6138
4
+ data.tar.gz: 224e2b50ff72bf811c3a9a9acaf34f1bd24eeab09729e7ad0a04503e7d671785
5
5
  SHA512:
6
- metadata.gz: ef654680cb95d92056bfc92ff73e1c8cc56cddc5f4749428e66a94a4e3fdc7522198091f52009f364b57cd0a03f25049c1fdbe09c2c87e7565b9a520359871a0
7
- data.tar.gz: 33ff4b09f447fcc0a3554b310594ea497de2160b3ff5588118332386b9ad352b126b92dcbc670aa485157c050572b4965d47dc6531193e21e6ea6cab0c7012c9
6
+ metadata.gz: a6d3e915bb2150d9d6cbeb62e571b100970ac74b8517cf96cc94f2b9c3517d0a40328aca7c55cab359991f27b090ce28d732e062a74d2188112839c61cc13f47
7
+ data.tar.gz: c25d23f1eb76225dbb67bedcd439fc11ae1f2aaa6bd951f72af81bd00f6647a69861415f2c6da247a1f709da75fde33bb31e702f08228b6424018967996ea5d6
@@ -6,6 +6,10 @@ module Cats
6
6
  belongs_to :transport_bid
7
7
 
8
8
  validates :contract_date, :expires_on, presence: true
9
+
10
+ delegate(:name, to: :region, prefix: true)
11
+ delegate(:name, to: :transporter, prefix: true)
12
+ delegate(:reference_no, to: :transport_bid, prefix: :bid)
9
13
  end
10
14
  end
11
15
  end
@@ -16,6 +16,7 @@ class CreateCatsCoreTransportContracts < ActiveRecord::Migration[6.1]
16
16
  t.date :contract_date, null: false
17
17
  t.date :expires_on, null: false
18
18
  t.string :payment_term
19
+ t.boolean :signed, null: false, default: false
19
20
 
20
21
  t.timestamps
21
22
  end
@@ -1,5 +1,5 @@
1
1
  module Cats
2
2
  module Core
3
- VERSION = '1.2.26'.freeze
3
+ VERSION = '1.2.27'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cats_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.26
4
+ version: 1.2.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2021-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers