cats_core 1.2.7 → 1.2.8
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_service_request.rb +2 -2
- 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: 410f6f43a8f38fee7dc6fa2b1bfa35d57e33f15e34f5a2449820fe969cd94afc
|
4
|
+
data.tar.gz: e9e309081d7c9e253bf5eb5e1d1bc0ae5d78aedbcfa51585d2cc2f897e3e8edb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3945bba2c0198ca40dd78ffae146adebfa75a5404918e46e6c354098bbdd5b78e4febedc8557776f7713a660bd1bf1adb47d535b24e2697e751a1d4894054f9
|
7
|
+
data.tar.gz: 220b1eebc52a63d51bc9c3f21cdf603116ea9e74fa2adf4bd40b2732fdefb93276fcc8b64c964ba1912c3b232aa6a9d6ee1b84f2a7f7961b6623fde8d506b1a6
|
@@ -12,8 +12,8 @@ module Cats
|
|
12
12
|
validates :reference_no, uniqueness: true
|
13
13
|
validates :status, inclusion: { in: STATUSES }
|
14
14
|
|
15
|
-
delegate(:full_name, to: :requested_by, prefix: true)
|
16
|
-
delegate(:full_name, to: :approved_by, prefix: true)
|
15
|
+
delegate(:full_name, to: :requested_by, prefix: true, allow_nil: true)
|
16
|
+
delegate(:full_name, to: :approved_by, prefix: true, allow_nil: true)
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
data/lib/cats/core/version.rb
CHANGED