cats_core 1.3.32 → 1.3.33

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: 5ac9b1b8f8a818f2992adf7b2d3fc5ce78340ae1f3ad092c05c90211c52a2d38
4
- data.tar.gz: 4e2a4269952f62ac0293ac354fe2d84ca4e894b326a8bce6b65b00aa534242ba
3
+ metadata.gz: c38a54131949eba79fc9b7fe05fec2201cb2f2631a63c00929c4ebbcb4b01084
4
+ data.tar.gz: be9da7ac9116b78d257846d5fd5451121dc838b473fc60acc0e684de1b35e7e4
5
5
  SHA512:
6
- metadata.gz: 26fbde7964902e432c4c08ce116466052732a66d6b592139426276fd33ab872d8ad8431cd86652d3026a7faa7c2799952f2ffa30ae7a2599c8e49f2e89a0d217
7
- data.tar.gz: a2097e28a69ea6cdd93f38c58eb8fe7a41e92c2fa5cb0c816e5def3cf7233c53a7d03c7830fa254e17481537be3e82685795f215e50e6ecbed6b949cccb11a01
6
+ metadata.gz: 270e76f46535f4ad1d8bd0dfaa13f94db98d8493379769682b64b7e314f0bcdbb0552c9f372606e9958634aa550108f9bceddd5212399ddb42c6ce62d1bceac4
7
+ data.tar.gz: d0072f07511d6a93f6e9592dd86b305be21096bfbb60dd936e406c21df8e545987c86a184307958a41bb1f7cf1ba05f767f96d935db7c1f55a2c986480fedfc5
@@ -5,6 +5,10 @@ module Cats
5
5
  belongs_to :monthly_ration
6
6
 
7
7
  validates :amount, presence: true, numericality: { greater_than: 0 }
8
+
9
+ delegate(:commodity_category_name, to: :monthly_ration)
10
+ delegate(:unit_of_measure_abbreviation, to: :monthly_ration)
11
+ delegate(:no_of_days, to: :monthly_ration)
8
12
  end
9
13
  end
10
14
  end
@@ -1,5 +1,5 @@
1
1
  module Cats
2
2
  module Core
3
- VERSION = '1.3.32'.freeze
3
+ VERSION = '1.3.33'.freeze
4
4
  end
5
5
  end
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.3.32
4
+ version: 1.3.33
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-02-18 00:00:00.000000000 Z
11
+ date: 2022-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers