cats_core 1.1.12 → 1.1.13
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/allocation.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: b7f1333a43773f878d178ee7f3daad6af88994875ac5fc4584e4b8ebf3fb0c87
|
4
|
+
data.tar.gz: c37663a1516cbc7847360a10efa6dfbf64d2f743b59beebc0916d0ec4b0766fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b15f41ff65b916ae635fb575c95a24d6f7982fd79b517581f47f7cf09e50b9f90953df6b8d41e5776857807ee7cf480d9d7169365c57f5f4260ae73ea11620e
|
7
|
+
data.tar.gz: 428f6deffeafecd95811843973aaae91567543b408955d556c35049f0cf94bc1b2addcd0a2e417728e7fd8cb5190ac8cdb930568570ae3ffa5f761189bf58732
|
@@ -8,6 +8,7 @@ module Cats
|
|
8
8
|
belongs_to :rhn_request, optional: true
|
9
9
|
belongs_to :commodity
|
10
10
|
belongs_to :source, class_name: 'Cats::Core::Location'
|
11
|
+
has_many :allocation_items
|
11
12
|
|
12
13
|
validates :commodity_status, :allocation_status, presence: true
|
13
14
|
validates :reference_no, presence: true, uniqueness: true
|
data/lib/cats/core/version.rb
CHANGED