comee_core 0.2.28 → 0.2.29
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: 72047b0c2028bfecffd282e07eb296dafee045265adee6f6a91ad16fa6421b2c
|
4
|
+
data.tar.gz: 53092cc94dc081712712e302fe5b0c6c012b70e1f9f012f055366b91aff0a204
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e051f08525c5d799c2827717d15d7c4cd4d89bd59b04174519b31bd1e92e35c7a401d9cf4f40c269c1c0e062700a02293554f1334e7871ae0105039cb4f6c61
|
7
|
+
data.tar.gz: d1b69af97b0d2cde39015378ffc809422a05a068540d1048c8fe452e89918147b5af627e3e546f22cdf21d83e6cbea7db546cc0c462fe128a3acb79d84c4461f
|
@@ -6,7 +6,7 @@ module Comee
|
|
6
6
|
has_many :payments
|
7
7
|
|
8
8
|
enum :status, {pending: 0, processed: 1}
|
9
|
-
validates :
|
9
|
+
validates :date_issued, :status, presence: true
|
10
10
|
validates :amount, presence: true, numericality: {greater_than: 0}
|
11
11
|
|
12
12
|
def self.ransackable_attributes(_auth_object = nil)
|
@@ -5,7 +5,7 @@ class CreateComeeCorePaymentDeposits < ActiveRecord::Migration[7.1]
|
|
5
5
|
null: false,
|
6
6
|
index: {name: "client_on_ccpd_indx"},
|
7
7
|
foreign_key: {to_table: :comee_core_clients}
|
8
|
-
t.string :reference_no
|
8
|
+
t.string :reference_no
|
9
9
|
t.string :bank_reference
|
10
10
|
t.references :currency,
|
11
11
|
null: false,
|
data/lib/comee/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comee_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henock L.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|