rock_rms 5.8.1 → 5.9.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 +3 -1
- data/lib/rock_rms/response/recurring_donation.rb +2 -1
- data/lib/rock_rms/response/recurring_donation_details.rb +3 -1
- data/lib/rock_rms/response/transaction_detail.rb +3 -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_spec.rb +1 -1
- data/spec/rock_rms/response/recurring_donation_spec.rb +1 -0
- data/spec/rock_rms/response/transaction_detail_spec.rb +2 -0
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4c7c116742e1c3d7ad8ef95c87c5eb484af173bc6b0ec5de6a7692326f3b354
|
|
4
|
+
data.tar.gz: edbd8b736d2bbbab53e7b71d814cbd8e660a68582e374e6a6a8c4558295b9005
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de2c4e9ee063f1b1bb8ee4ebf1581965dcf13e2792e6767dc2e73b11bf9a8b5e36d89fe927f1ed348a8dade0657aea488282453408e47a0ff75106f790288594
|
|
7
|
+
data.tar.gz: 5f7d2190935dc449ec0aefd52009b13335c5da527563f6c6a5836603afce29aceb4b9ab4d33958fb498a7a2e052ce8bb5d5303641a7fc5ae477e7cabe9ce79d0
|
|
@@ -13,7 +13,8 @@ module RockRMS
|
|
|
13
13
|
person_id: 'AuthorizedPersonAliasId',
|
|
14
14
|
start_date: 'StartDate',
|
|
15
15
|
transaction_details: 'ScheduledTransactionDetails',
|
|
16
|
-
transaction_code: 'TransactionCode'
|
|
16
|
+
transaction_code: 'TransactionCode',
|
|
17
|
+
summary: 'Summary'
|
|
17
18
|
}.freeze
|
|
18
19
|
|
|
19
20
|
def format_single(data)
|
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 }],
|
|
142
|
+
'ScheduledTransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityId' => nil, 'EntityTypeId' => nil }],
|
|
143
143
|
'GatewayScheduleId' => nil,
|
|
144
144
|
'SourceTypeValueId' => 10,
|
|
145
145
|
'ForeignKey' => nil
|
|
@@ -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 }],
|
|
88
|
+
'TransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityTypeId' => nil, 'EntityId' => nil }],
|
|
89
89
|
'TransactionTypeValueId' => 53,
|
|
90
90
|
'SourceTypeValueId' => 10,
|
|
91
91
|
'Summary' => 'taco tuesday'
|
|
@@ -17,6 +17,8 @@ RSpec.describe RockRMS::Response::TransactionDetail, type: :model do
|
|
|
17
17
|
expect(r[:id]).to eq(p['Id'])
|
|
18
18
|
expect(r[:fund_id]).to eq(p['AccountId'])
|
|
19
19
|
expect(r[:amount]).to eq(p['Amount'])
|
|
20
|
+
expect(r[:entity_type_id]).to eq(p['EntityTypeId'])
|
|
21
|
+
expect(r[:entity_id]).to eq(p['EntityId'])
|
|
20
22
|
end
|
|
21
23
|
end
|
|
22
24
|
end
|
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: 5.
|
|
4
|
+
version: 5.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taylor Brooks
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-03-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -339,7 +339,7 @@ homepage: https://github.com/taylorbrooks/rock_rms
|
|
|
339
339
|
licenses:
|
|
340
340
|
- MIT
|
|
341
341
|
metadata: {}
|
|
342
|
-
post_install_message:
|
|
342
|
+
post_install_message:
|
|
343
343
|
rdoc_options: []
|
|
344
344
|
require_paths:
|
|
345
345
|
- lib
|
|
@@ -355,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
355
355
|
version: '0'
|
|
356
356
|
requirements: []
|
|
357
357
|
rubygems_version: 3.1.4
|
|
358
|
-
signing_key:
|
|
358
|
+
signing_key:
|
|
359
359
|
specification_version: 4
|
|
360
360
|
summary: A Ruby wrapper for the Rock RMS API
|
|
361
361
|
test_files: []
|