cats_core 1.2.24 → 1.2.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/cats/core/transport_bid.rb +1 -0
- data/lib/cats/core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f77886d3ecd05214933544684c4bd9f37165fb8c34ed8a641866e792a993385
|
4
|
+
data.tar.gz: 3b01c59cc8e1baad2f912313166c3f974212542d8eb3623a8ae0a5a25bcfebc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdb748fff925eca80e12bbe4f1f272535cf70bf40bab98f4b5f08bb1d499ddd542352356d9ea87ec08e657f9cabc74510aa38899b15c01484b40598c0f506a24
|
7
|
+
data.tar.gz: 3d3375b52e6edffe8cd3d92f5b9476d28b077f4ee611356b7219fd5f5a69cff2d5b0f7f70af22ab5843c33323095bf9b33e59d832151f688a612b0ad68427a9c
|
@@ -9,6 +9,7 @@ module Cats
|
|
9
9
|
STATUSES = [NEW, OPEN, CLOSED, RANKED, WINNERS_DECLARED].freeze
|
10
10
|
|
11
11
|
has_many :transport_bid_items
|
12
|
+
has_many :transport_offers, through: :transport_bid_items
|
12
13
|
|
13
14
|
validates :reference_no, presence: true, uniqueness: true
|
14
15
|
validates :start_date, :end_date, :status, presence: true
|
data/lib/cats/core/version.rb
CHANGED