rock_rms 8.15.2 → 8.16.0
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: 5c0a94190def4023aaec70bf13cd3691534982a338ea21e9a4e8a73bf99183d9
|
4
|
+
data.tar.gz: d349931b6b325f1be9fc634cdaf0d5af69778804c3622eb6344c9579b32385cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 052ae0fb7b862b3f3a65e9b718f9eeae3e1bab8d3cb2a38f9aab9b5896bd891b1dc591b2775ffbd14cabc08085e8dbda47207be1207e56aa1657314100626944
|
7
|
+
data.tar.gz: 8225f87526939f7e0f4d90c676c2e08291059591782575eadad8ebe81893dab8f0cc6b0dc3e95bcd1ff1fdc79ca41e7b29869d41056ce2d8dbecae7b170b50e1
|
@@ -73,7 +73,7 @@ module RockRMS
|
|
73
73
|
options['EndDate'] = end_date if end_date
|
74
74
|
options['Summary'] = summary if summary
|
75
75
|
options['Status'] = status if status
|
76
|
-
options['StatusMessage'] = status_message if status_message
|
76
|
+
options['StatusMessage'] = status_message if status_message || status_message == ''
|
77
77
|
|
78
78
|
patch(recurring_donation_path(id), options)
|
79
79
|
end
|
data/lib/rock_rms/version.rb
CHANGED
@@ -66,6 +66,25 @@ RSpec.describe RockRMS::Client::RecurringDonation, type: :model do
|
|
66
66
|
expect(resource).to be_nil
|
67
67
|
end
|
68
68
|
|
69
|
+
it 'updates status_message with nil' do
|
70
|
+
expect(client).to receive(:patch)
|
71
|
+
.with(
|
72
|
+
'FinancialScheduledTransactions/123',
|
73
|
+
{
|
74
|
+
'NextPaymentDate' => '2018-01-01',
|
75
|
+
'StatusMessage' => ''
|
76
|
+
}
|
77
|
+
).and_call_original
|
78
|
+
|
79
|
+
resource = client.update_recurring_donation(
|
80
|
+
123,
|
81
|
+
next_payment_date: '2018-01-01',
|
82
|
+
status_message: ''
|
83
|
+
)
|
84
|
+
|
85
|
+
expect(resource).to be_nil
|
86
|
+
end
|
87
|
+
|
69
88
|
context 'arguments' do
|
70
89
|
it 'require `id`' do
|
71
90
|
expect { client.update_recurring_donation }
|
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: 8.
|
4
|
+
version: 8.16.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:
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|