cats_core 1.4.16 → 1.4.17
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: 41699f66a4650b220cf3d02f028da8baade6d675d25f06823342d8fb11287309
|
4
|
+
data.tar.gz: a1e7903ad574573c09a87df11fc67ca133546abee2a44efd3e2d12cd0d44982f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a32b2685361ee616976123043970cf782d6180ac5b5d1d885ed3bf78dc4a36774ae004fc5640dd0fa50223f522c5c009a7be3ffb988c3edd05f7e454119e950b
|
7
|
+
data.tar.gz: 4cf9dcd0928eeaec7bceb628cb21486263b07f426cb9846ae587c8112eec488e938a1735ebac5d7338a5a65cea507d15223a9a7eb2499575348106b893dc3acc
|
@@ -10,6 +10,8 @@ module Cats
|
|
10
10
|
validates :full_name, :age, :gender, presence: true
|
11
11
|
validates :gender, inclusion: { in: GENDERS }
|
12
12
|
validates :age, numericality: { greater_than: 0, less_than: 100 }
|
13
|
+
|
14
|
+
delegate(:name, to: :beneficiary_category, prefix: true)
|
13
15
|
end
|
14
16
|
end
|
15
17
|
end
|
data/lib/cats/core/version.rb
CHANGED