cats_core 1.2.37 → 1.2.38

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: 471fe3d0236f281a5c9a9107dce5729fa3822f00c2f23af1b2088ebee1f91cd3
4
- data.tar.gz: 7a06684824637e7e58387d06f47a965fef6df4e09487994bf1476b27a760b689
3
+ metadata.gz: 5171c4d2223bd7da58d76a43f140fd5e96f3b00efd377cc41a79e245cc8ad455
4
+ data.tar.gz: 21cc696b9784fbca0f6c8ab9ccdb133787164850d43d52516de8acf99c995855
5
5
  SHA512:
6
- metadata.gz: 31c6b4b21641550b978598d882f3a2f5c2c76425daae4c985277df8a1bac80c53003c00b65176506a50331f1f845d9ae18afafbb6892a2c894a355a1db18224c
7
- data.tar.gz: 7b433964536d6c96d59a2388b15f0d18ac60b41cc1a7c24ee85bc9558f093caf3527d3e55e257061297dbafe82375bb30434a54e1d6008c1b32b3b0b34f0f7bd
6
+ metadata.gz: d8ded0f55e9f636f3e2726606cb1f14c412d0123cdef3d408503702e86f9cef373c68042cdb0a3e6c1279f96b6ea6c035f6f3c43c37424c33b3a4a76ae64eea6
7
+ data.tar.gz: bdf907e3fec9b8aab351977f0729f8cf3c41dafeef74b4fd5be6fd3800f9f556dbf96694b46055a65d5cc75c7a4ea225d948704063544ddc2eeaba38933592d4
@@ -13,6 +13,8 @@ module Cats
13
13
  validates :plan_type, presence: true, inclusion: { in: PLAN_TYPES }
14
14
  validate :validate_region
15
15
 
16
+ delegate(:name, to: :region, prefix: true)
17
+
16
18
  def validate_region
17
19
  return unless plan_type
18
20
 
@@ -1,5 +1,5 @@
1
1
  module Cats
2
2
  module Core
3
- VERSION = '1.2.37'.freeze
3
+ VERSION = '1.2.38'.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.2.37
4
+ version: 1.2.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.