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: 36927796d66593ac4278b63814fe55f4410c43505830d3f19f82838fd2847401
4
- data.tar.gz: b9f46292e06d38bae7f0acf358d39621bafed44f5d1f0741aedfcd457c9b6801
3
+ metadata.gz: 41699f66a4650b220cf3d02f028da8baade6d675d25f06823342d8fb11287309
4
+ data.tar.gz: a1e7903ad574573c09a87df11fc67ca133546abee2a44efd3e2d12cd0d44982f
5
5
  SHA512:
6
- metadata.gz: dfaa8320d2d0c180c6cb8bffe62b0fc2aaa13df1fc9eb0d25719985223fe3605e665568ec17594f043b939fa94654a6b8be78a2db7e0317171f506d8bc19013f
7
- data.tar.gz: 50f77f7c891f56390c90702887d6ad5bade3bd145451a6cc3d1b262da70e895417f81de0c43d6c742bbd39be2f7e43011fa336eb2844e8b8ad7fe5af5ff1efb9
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
@@ -6,6 +6,8 @@ module Cats
6
6
 
7
7
  validates :code, :name, presence: true
8
8
  validates :code, uniqueness: true
9
+
10
+ delegate(:reference_no, to: :plan, prefix: true)
9
11
  end
10
12
  end
11
13
  end
@@ -1,5 +1,5 @@
1
1
  module Cats
2
2
  module Core
3
- VERSION = '1.4.16'.freeze
3
+ VERSION = '1.4.17'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cats_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.16
4
+ version: 1.4.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.