rock_rms 8.11.0 → 8.13.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: ec64e9482e68f114998bb64a16dbbd422389799489241655aae69adfdbb84ae3
4
- data.tar.gz: ff11a7d76dda9e0c5bd941700627ec0c571ded3b34432acfdfab7db8ddd5d8c4
3
+ metadata.gz: 649e1d24170934d84f7d7e88d5863dae3f12d3dafccf56a286006640d702639d
4
+ data.tar.gz: 82011ea372ec0249c0f80fc6ae84b91ed3f90ae5d860c86bd9c694e020702e50
5
5
  SHA512:
6
- metadata.gz: ff202c2a8222fb0bec5cab5ea475c3e27fe9dcbd23236e05e3110ddf11d65c3bb7559e409bf59759e2480ea3709c9a389fffcba85934bfe4eb5b169aaaf4558d
7
- data.tar.gz: 805085eafa2247f5c5e01fe19564cda9426d69ea754c70eccac40b95d1211d01be7c2d2d5f5f3859442026fa8e02a8ebc5c847578bb1988373313db4624193f1
6
+ metadata.gz: 004d12722b2bfd537e67402ac6dd7ab8216aca1af3657c04e736687cf498bc6ff2b1885e6a7a832feeeee33ee800a4e2b2c772d4513ded1a18795cce2b17a9d3
7
+ data.tar.gz: c5528cdaeecbe9cab916789c48809c698bab47039d52ef76484a22ed7adc5abea750c83f6275d80ae4316c0c6c513a3c9ffe955d9eff6587d298a0f9f01f9b80
@@ -4,6 +4,8 @@ module RecurringFrequencies
4
4
  'weekly' => 132,
5
5
  'bi-weekly' => 133,
6
6
  'twice-a-month' => 134,
7
+ '1st and 15th' => 779,
8
+ '1st/15th' => 814,
7
9
  'monthly' => 135,
8
10
  'quarterly' => 153,
9
11
  'twice a year' => 154,
@@ -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.11.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.11.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-05 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