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 +4 -4
- data/app/models/cats/core/monthly_plan_item_detail.rb +4 -0
- data/lib/cats/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c38a54131949eba79fc9b7fe05fec2201cb2f2631a63c00929c4ebbcb4b01084
|
4
|
+
data.tar.gz: be9da7ac9116b78d257846d5fd5451121dc838b473fc60acc0e684de1b35e7e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/cats/core/version.rb
CHANGED
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.
|
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-
|
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
|