cats_core 1.2.6 → 1.2.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca3e2b07298417bdd0c747df150ae9a58934408502bb9f7f4725a5c80a823c7f
|
4
|
+
data.tar.gz: 3e95c45ac93a996b21bc66488679af6fe02e6867a4443ac585f94c69eea0c79a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27816ccd1f35816d5fc931e8e4e8fd192189a67f2d92697914cf64826cafeff778a52a305891ab6e8d06f3b71df12cd620907813539188b8dfa53b08aaba35fe
|
7
|
+
data.tar.gz: e09c67befdb2122d236d1cbf2bdcb354fedaf48a098b533af46be85e0119b13c582bffe48497a44f20830455d2668ea42e63b95e83aad977a8393e8f6c17da21
|
@@ -11,6 +11,9 @@ module Cats
|
|
11
11
|
validates :reference_no, :request_date, :status, presence: true
|
12
12
|
validates :reference_no, uniqueness: true
|
13
13
|
validates :status, inclusion: { in: STATUSES }
|
14
|
+
|
15
|
+
delegate(:full_name, to: :requested_by, prefix: true)
|
16
|
+
delegate(:full_name, to: :approved_by, prefix: true)
|
14
17
|
end
|
15
18
|
end
|
16
19
|
end
|
data/lib/cats/core/version.rb
CHANGED