rock_rms 9.27.0 → 9.29.0
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 +6 -3
- 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 +15 -3
- data/spec/rock_rms/resources/transaction_spec.rb +2 -2
- 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: 3af0a7f7841fff845acc3f5cbf01c983b017d103e688ec1bc6b128d1d6e4a0d9
|
|
4
|
+
data.tar.gz: 3789f619adbd1ef691a0a16b1bdff15d456d5f121dca6ad611b698ad01475b5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2796642a76ed4132d98c73ebf0f97d30581c41cbf27768e0ad4a59e5d9aaa3ec0fb6f42692ff1ce8e882db154b45e6cefd7dc4837d70f4dd753deb96b6c6f6c0
|
|
7
|
+
data.tar.gz: 8f12d267b8f742bae6e593079e78916d87847ab5d3151dc0d4368d0e3f11a8e2f3bc93fcb8a01dd828017a2cf3cad9bb2bea54d089f95727d2016788616fb21f
|
|
@@ -108,7 +108,8 @@ module RockRMS
|
|
|
108
108
|
'EntityTypeId' => fund[:entity_type_id],
|
|
109
109
|
'EntityId' => fund[:entity_id],
|
|
110
110
|
'FeeAmount' => fund[:fee_amount],
|
|
111
|
-
'FeeCoverageAmount' => fund[:fee_coverage_amount]
|
|
111
|
+
'FeeCoverageAmount' => fund[:fee_coverage_amount],
|
|
112
|
+
'Summary' => fund[:summary]
|
|
112
113
|
}
|
|
113
114
|
end
|
|
114
115
|
end
|
|
@@ -18,7 +18,8 @@ module RockRMS
|
|
|
18
18
|
fee_amount: nil,
|
|
19
19
|
fee_coverage_amount: nil,
|
|
20
20
|
entity_type_id: nil,
|
|
21
|
-
entity_id: nil
|
|
21
|
+
entity_id: nil,
|
|
22
|
+
summary: nil
|
|
22
23
|
)
|
|
23
24
|
options = {}
|
|
24
25
|
options['AccountId'] = fund_id if fund_id
|
|
@@ -26,6 +27,7 @@ module RockRMS
|
|
|
26
27
|
options['FeeAmount'] = fee_amount if fee_amount
|
|
27
28
|
options['EntityTypeId'] = entity_type_id if entity_type_id
|
|
28
29
|
options['EntityId'] = entity_id if entity_id
|
|
30
|
+
options['Summary'] = summary if summary
|
|
29
31
|
options['FeeCoverageAmount'] = fee_coverage_amount if fee_coverage_amount
|
|
30
32
|
|
|
31
33
|
patch(transaction_detail_path(id), options)
|
|
@@ -38,7 +40,8 @@ module RockRMS
|
|
|
38
40
|
fee_amount: nil,
|
|
39
41
|
fee_coverage_amount: nil,
|
|
40
42
|
entity_type_id: nil,
|
|
41
|
-
entity_id: nil
|
|
43
|
+
entity_id: nil,
|
|
44
|
+
summary: nil
|
|
42
45
|
)
|
|
43
46
|
options = {}
|
|
44
47
|
options['TransactionId'] = transaction_id
|
|
@@ -48,7 +51,7 @@ module RockRMS
|
|
|
48
51
|
options['EntityTypeId'] = entity_type_id if entity_type_id
|
|
49
52
|
options['EntityId'] = entity_id if entity_id
|
|
50
53
|
options['FeeCoverageAmount'] = fee_coverage_amount if fee_coverage_amount
|
|
51
|
-
|
|
54
|
+
options['Summary'] = summary if summary
|
|
52
55
|
post(transaction_detail_path, options)
|
|
53
56
|
end
|
|
54
57
|
|
data/lib/rock_rms/version.rb
CHANGED
|
@@ -161,7 +161,7 @@ RSpec.describe RockRMS::Client::RecurringDonation, type: :model do
|
|
|
161
161
|
'FinancialGatewayId' => nil,
|
|
162
162
|
'FinancialPaymentDetailId' => nil,
|
|
163
163
|
'TransactionCode' => 'asdf',
|
|
164
|
-
'ScheduledTransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityId' => nil, 'EntityTypeId' => nil, 'FeeAmount' => nil, 'FeeCoverageAmount' => nil}],
|
|
164
|
+
'ScheduledTransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityId' => nil, 'EntityTypeId' => nil, 'FeeAmount' => nil, 'FeeCoverageAmount' => nil, 'Summary' => nil}],
|
|
165
165
|
'GatewayScheduleId' => nil,
|
|
166
166
|
'SourceTypeValueId' => 10,
|
|
167
167
|
'ForeignKey' => nil,
|
|
@@ -39,6 +39,9 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
|
|
|
39
39
|
client.update_transaction_detail(
|
|
40
40
|
123,
|
|
41
41
|
fund_id: 2,
|
|
42
|
+
entity_type_id: 1,
|
|
43
|
+
entity_id: 123,
|
|
44
|
+
summary: 'Big Bird'
|
|
42
45
|
)
|
|
43
46
|
end
|
|
44
47
|
|
|
@@ -51,7 +54,10 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
|
|
|
51
54
|
.with(
|
|
52
55
|
'FinancialTransactionDetails/123',
|
|
53
56
|
{
|
|
54
|
-
'AccountId' => 2
|
|
57
|
+
'AccountId' => 2,
|
|
58
|
+
'EntityTypeId' => 1,
|
|
59
|
+
'EntityId' => 123,
|
|
60
|
+
'Summary' => 'Big Bird'
|
|
55
61
|
}
|
|
56
62
|
).and_call_original
|
|
57
63
|
resource
|
|
@@ -88,7 +94,10 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
|
|
|
88
94
|
client.create_transaction_detail(
|
|
89
95
|
transaction_id: 123,
|
|
90
96
|
fund_id: 2,
|
|
91
|
-
amount: 5.00
|
|
97
|
+
amount: 5.00,
|
|
98
|
+
entity_type_id: 1,
|
|
99
|
+
entity_id: 123,
|
|
100
|
+
summary: 'Big Bird'
|
|
92
101
|
)
|
|
93
102
|
end
|
|
94
103
|
|
|
@@ -103,7 +112,10 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
|
|
|
103
112
|
{
|
|
104
113
|
'AccountId' => 2,
|
|
105
114
|
'Amount' => 5.00,
|
|
106
|
-
'TransactionId' => 123
|
|
115
|
+
'TransactionId' => 123,
|
|
116
|
+
'EntityTypeId' => 1,
|
|
117
|
+
'EntityId' => 123,
|
|
118
|
+
'Summary' => 'Big Bird'
|
|
107
119
|
}
|
|
108
120
|
).and_call_original
|
|
109
121
|
resource
|
|
@@ -62,7 +62,7 @@ RSpec.describe RockRMS::Client::Transaction, type: :model do
|
|
|
62
62
|
authorized_person_id: 1,
|
|
63
63
|
batch_id: 1,
|
|
64
64
|
date: 1,
|
|
65
|
-
funds: [{ amount: 450, fund_id: 2 }],
|
|
65
|
+
funds: [{ amount: 450, fund_id: 2, summary: 'Wacky Wednesday' }],
|
|
66
66
|
payment_detail_id: 1,
|
|
67
67
|
transaction_code: 'asdf',
|
|
68
68
|
summary: 'taco tuesday',
|
|
@@ -86,7 +86,7 @@ RSpec.describe RockRMS::Client::Transaction, type: :model do
|
|
|
86
86
|
'FinancialPaymentDetailId' => 1,
|
|
87
87
|
'TransactionCode' => 'asdf',
|
|
88
88
|
'TransactionDateTime' => 1,
|
|
89
|
-
'TransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityTypeId' => nil, 'EntityId' => nil, 'FeeAmount' => nil, 'FeeCoverageAmount' => nil }],
|
|
89
|
+
'TransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityTypeId' => nil, 'EntityId' => nil, 'FeeAmount' => nil, 'FeeCoverageAmount' => nil, 'Summary' => 'Wacky Wednesday' }],
|
|
90
90
|
'TransactionTypeValueId' => 53,
|
|
91
91
|
'SourceTypeValueId' => 10,
|
|
92
92
|
'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: 9.
|
|
4
|
+
version: 9.29.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taylor Brooks
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-11-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|