cats_core 1.2.36 → 1.2.37
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_plan.rb +1 -0
- data/lib/cats/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 471fe3d0236f281a5c9a9107dce5729fa3822f00c2f23af1b2088ebee1f91cd3
|
4
|
+
data.tar.gz: 7a06684824637e7e58387d06f47a965fef6df4e09487994bf1476b27a760b689
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31c6b4b21641550b978598d882f3a2f5c2c76425daae4c985277df8a1bac80c53003c00b65176506a50331f1f845d9ae18afafbb6892a2c894a355a1db18224c
|
7
|
+
data.tar.gz: 7b433964536d6c96d59a2388b15f0d18ac60b41cc1a7c24ee85bc9558f093caf3527d3e55e257061297dbafe82375bb30434a54e1d6008c1b32b3b0b34f0f7bd
|
@@ -7,6 +7,7 @@ module Cats
|
|
7
7
|
PLAN_TYPES = [REGIONAL, NON_REGIONAL].freeze
|
8
8
|
|
9
9
|
belongs_to :region, class_name: 'Cats::Core::Location', optional: true
|
10
|
+
has_many :transport_plan_items
|
10
11
|
|
11
12
|
validates :reference_no, presence: true, uniqueness: true
|
12
13
|
validates :plan_type, presence: true, inclusion: { in: PLAN_TYPES }
|
data/lib/cats/core/version.rb
CHANGED
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.
|
4
|
+
version: 1.2.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henock L.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|