rock_rms 6.0.1 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rock_rms/resources/transaction.rb +2 -1
- data/lib/rock_rms/resources/transaction_detail.rb +1 -1
- data/lib/rock_rms/version.rb +1 -1
- data/spec/rock_rms/resources/recurring_donation_spec.rb +1 -1
- data/spec/rock_rms/resources/transaction_detail_spec.rb +2 -2
- data/spec/rock_rms/resources/transaction_spec.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: 1e4f3c74008fb007410ec62c7762913304cbfc0141e1a017b20a6256a348e257
|
|
4
|
+
data.tar.gz: 250452aea3db67e7c07105f1c6f3434312d60778b45a5b35e997bb75f8e27565
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 896053a39d2f04344275040f71ab0265ece50ba5925994ed5a2b0bd551dc3b07614f58624b44796c874fdb44c79267d328a7c617f0c9fa1ce993c8a748f44ad0
|
|
7
|
+
data.tar.gz: a4f8ddc5a6b4325e972fb30270d122857d4ea6a74e2db0a9ccb6d82e141c43666ac28ca6da23b2be40f230c8bd671c471104cb69f0e5d9c1eacfe75af31dbb08
|
|
@@ -99,7 +99,8 @@ module RockRMS
|
|
|
99
99
|
'Amount' => fund[:amount],
|
|
100
100
|
'AccountId' => fund[:fund_id],
|
|
101
101
|
'EntityTypeId' => fund[:entity_type_id],
|
|
102
|
-
'EntityId' => fund[:entity_id]
|
|
102
|
+
'EntityId' => fund[:entity_id],
|
|
103
|
+
'FeeAmount' => fund[:fee_amount]
|
|
103
104
|
}
|
|
104
105
|
end
|
|
105
106
|
end
|
|
@@ -24,9 +24,9 @@ module RockRMS
|
|
|
24
24
|
options['AccountId'] = fund_id if fund_id
|
|
25
25
|
options['Amount'] = amount if amount
|
|
26
26
|
options['FeeAmount'] = fee_amount if fee_amount
|
|
27
|
-
options['FeeCoverageAmount'] = fee_amount if fee_amount
|
|
28
27
|
options['EntityTypeId'] = entity_type_id if entity_type_id
|
|
29
28
|
options['EntityId'] = entity_id if entity_id
|
|
29
|
+
options['FeeCoverageAmount'] = fee_coverage_amount if fee_coverage_amount
|
|
30
30
|
|
|
31
31
|
patch(transaction_detail_path(id), options)
|
|
32
32
|
end
|
data/lib/rock_rms/version.rb
CHANGED
|
@@ -139,7 +139,7 @@ RSpec.describe RockRMS::Client::RecurringDonation, type: :model do
|
|
|
139
139
|
'FinancialGatewayId' => nil,
|
|
140
140
|
'FinancialPaymentDetailId' => nil,
|
|
141
141
|
'TransactionCode' => 'asdf',
|
|
142
|
-
'ScheduledTransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityId' => nil, 'EntityTypeId' => nil }],
|
|
142
|
+
'ScheduledTransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityId' => nil, 'EntityTypeId' => nil, 'FeeAmount' => nil }],
|
|
143
143
|
'GatewayScheduleId' => nil,
|
|
144
144
|
'SourceTypeValueId' => 10,
|
|
145
145
|
'ForeignKey' => nil
|
|
@@ -62,7 +62,7 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
|
|
|
62
62
|
123,
|
|
63
63
|
fund_id: 2,
|
|
64
64
|
fee_amount: 50,
|
|
65
|
-
fee_coverage_amount:
|
|
65
|
+
fee_coverage_amount: 45
|
|
66
66
|
)
|
|
67
67
|
end
|
|
68
68
|
|
|
@@ -71,7 +71,7 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
|
|
|
71
71
|
.with(
|
|
72
72
|
'FinancialTransactionDetails/123',
|
|
73
73
|
'FeeAmount' => 50,
|
|
74
|
-
'FeeCoverageAmount' =>
|
|
74
|
+
'FeeCoverageAmount' => 45,
|
|
75
75
|
'AccountId' => 2
|
|
76
76
|
).and_call_original
|
|
77
77
|
resource
|
|
@@ -85,7 +85,7 @@ RSpec.describe RockRMS::Client::Transaction, type: :model do
|
|
|
85
85
|
'FinancialPaymentDetailId' => 1,
|
|
86
86
|
'TransactionCode' => 'asdf',
|
|
87
87
|
'TransactionDateTime' => 1,
|
|
88
|
-
'TransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityTypeId' => nil, 'EntityId' => nil }],
|
|
88
|
+
'TransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityTypeId' => nil, 'EntityId' => nil, 'FeeAmount' => nil }],
|
|
89
89
|
'TransactionTypeValueId' => 53,
|
|
90
90
|
'SourceTypeValueId' => 10,
|
|
91
91
|
'Summary' => 'taco tuesday'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rock_rms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.0.
|
|
4
|
+
version: 6.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taylor Brooks
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-06-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|