rock_rms 8.12.0 → 8.13.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 764cdf12fa7e05329069c42db1d4946080b8703a48463658ac61ee855a203c22
4
- data.tar.gz: 1f8bf03b7e1a3c36cd07cd4e86267615c7e90d994948d9b9d6192ae239638c46
3
+ metadata.gz: 649e1d24170934d84f7d7e88d5863dae3f12d3dafccf56a286006640d702639d
4
+ data.tar.gz: 82011ea372ec0249c0f80fc6ae84b91ed3f90ae5d860c86bd9c694e020702e50
5
5
  SHA512:
6
- metadata.gz: f70ed6086fb9d7b4ad3a28ced83ccece10f1828fc0b697d402282757dc256575d65844c46bf98a2098c8600fe15d04860a310e93dfb886dbc56695b5b864b449
7
- data.tar.gz: 44ef4d8ac411af8899f5c75f942c9d430f705c56725966e45ade6f2c2a9d69ce9fd52edb78afb80ad25c437ae741ef351f2f266427249645868f5a2936b09872
6
+ metadata.gz: 004d12722b2bfd537e67402ac6dd7ab8216aca1af3657c04e736687cf498bc6ff2b1885e6a7a832feeeee33ee800a4e2b2c772d4513ded1a18795cce2b17a9d3
7
+ data.tar.gz: c5528cdaeecbe9cab916789c48809c698bab47039d52ef76484a22ed7adc5abea750c83f6275d80ae4316c0c6c513a3c9ffe955d9eff6587d298a0f9f01f9b80
@@ -25,7 +25,9 @@ module RockRMS
25
25
  source_type_id: 10,
26
26
  transaction_code: nil,
27
27
  start_date:,
28
- summary: nil
28
+ summary: nil,
29
+ status: nil,
30
+ status_message: nil
29
31
  )
30
32
 
31
33
  options = {
@@ -41,7 +43,9 @@ module RockRMS
41
43
  'GatewayScheduleId' => gateway_schedule_id,
42
44
  'SourceTypeValueId' => source_type_id,
43
45
  'ForeignKey' => foreign_key,
44
- 'Summary' => summary
46
+ 'Summary' => summary,
47
+ 'Status' => status,
48
+ 'StatusMessage' => status_message
45
49
  }
46
50
 
47
51
  options['EndDate'] = end_date if end_date
@@ -57,7 +61,9 @@ module RockRMS
57
61
  active: nil,
58
62
  frequency: nil,
59
63
  end_date: nil,
60
- summary: nil
64
+ summary: nil,
65
+ status: nil,
66
+ status_message: nil
61
67
  )
62
68
  options = { 'NextPaymentDate' => next_payment_date }
63
69
  options['FinancialPaymentDetailId'] = payment_detail_id if payment_detail_id
@@ -66,6 +72,8 @@ module RockRMS
66
72
  options['TransactionFrequencyValueId'] = RecurringFrequencies::RECURRING_FREQUENCIES[frequency] if !frequency.nil?
67
73
  options['EndDate'] = end_date if end_date
68
74
  options['Summary'] = summary if summary
75
+ options['Status'] = status if status
76
+ options['StatusMessage'] = status_message if status_message
69
77
 
70
78
  patch(recurring_donation_path(id), options)
71
79
  end
@@ -15,7 +15,9 @@ module RockRMS
15
15
  transaction_details: 'ScheduledTransactionDetails',
16
16
  transaction_code: 'TransactionCode',
17
17
  transaction_type_id: 'TransactionTypeValueId',
18
- summary: 'Summary'
18
+ summary: 'Summary',
19
+ status: 'Status',
20
+ status_message: 'StatusMessage',
19
21
  }.freeze
20
22
 
21
23
  def format_single(data)
@@ -1,3 +1,3 @@
1
1
  module RockRMS
2
- VERSION = '8.12.0'.freeze
2
+ VERSION = '8.13.0'.freeze
3
3
  end
@@ -147,6 +147,8 @@ RSpec.describe RockRMS::Client::RecurringDonation, type: :model do
147
147
  'SourceTypeValueId' => 10,
148
148
  'ForeignKey' => nil,
149
149
  'Summary' => nil,
150
+ 'Status' => nil,
151
+ 'StatusMessage' => nil
150
152
  }
151
153
  )
152
154
  .and_call_original
@@ -29,6 +29,8 @@ RSpec.describe RockRMS::Response::RecurringDonation, type: :model do
29
29
  transaction_code
30
30
  transaction_type_id
31
31
  summary
32
+ status
33
+ status_message
32
34
  id
33
35
  guid
34
36
  created_date_time
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.12.0
4
+ version: 8.13.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: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2023-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday