rock_rms 8.7.0 → 8.8.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: e043a1d0535862e33752e94420a46d88c9f4fea44a35dfe89e2107f6d5123f98
4
- data.tar.gz: d444592864acd5d433e0d0dae2524148626e794f49981a92ca8f6bab50a5a8cd
3
+ metadata.gz: 22ac74e1335ccb310b66334383def8e6ac0554662ceddcda863e70314658a758
4
+ data.tar.gz: 27d640dd2d45aa40457c1ef489336892d2c479d495925dca63030987a5e25b88
5
5
  SHA512:
6
- metadata.gz: f182e50f62ba496c0b164201731a62261262be9e8b12b54fba9c94c015b83beb704183761524cb1230f6ca9835c985509c3884737dbfef11f61e66e53fb10097
7
- data.tar.gz: c239b799deec1dacfd080f93191dfe4afaa7de7a4791a7421c835a314dfe91c89d5b0be54bcd4472f9a92b3301a379d736ce833d89abad2f31affa41f17cbc66
6
+ metadata.gz: e3a8125e04b0203458db96c5dbf86dc6231d4f6f2475c841379447ceb9f56b93eff5a153fc85e569b4bd7108b3b76e926624accd177153e31a54666d032b0d3e
7
+ data.tar.gz: 89e930161caac74f7be2bada2d71fa8a3be2298b14ce30d2964e626c4e5662c463dd0f26153f49a07763fda3406ac551580b667abb0145e9cbeebde885200e37
@@ -24,7 +24,8 @@ module RockRMS
24
24
  payment_detail_id: nil,
25
25
  source_type_id: 10,
26
26
  transaction_code: nil,
27
- start_date:
27
+ start_date:,
28
+ summary: nil
28
29
  )
29
30
 
30
31
  options = {
@@ -39,7 +40,8 @@ module RockRMS
39
40
  'ScheduledTransactionDetails' => translate_funds(funds),
40
41
  'GatewayScheduleId' => gateway_schedule_id,
41
42
  'SourceTypeValueId' => source_type_id,
42
- 'ForeignKey' => foreign_key
43
+ 'ForeignKey' => foreign_key,
44
+ 'Summary' => summary
43
45
  }
44
46
 
45
47
  options['EndDate'] = end_date if end_date
@@ -54,14 +56,16 @@ module RockRMS
54
56
  payment_detail_id: nil,
55
57
  active: nil,
56
58
  frequency: nil,
57
- end_date: nil
59
+ end_date: nil,
60
+ summary: nil
58
61
  )
59
62
  options = { 'NextPaymentDate' => next_payment_date }
60
63
  options['FinancialPaymentDetailId'] = payment_detail_id if payment_detail_id
61
64
  options['TransactionCode'] = transaction_code if transaction_code
62
65
  options['IsActive'] = active if !active.nil?
63
66
  options['TransactionFrequencyValueId'] = RecurringFrequencies::RECURRING_FREQUENCIES[frequency] if !frequency.nil?
64
- options['EndDate'] = end_date if end_date
67
+ options['EndDate'] = end_date if end_date
68
+ options['Summary'] = summary if summary
65
69
 
66
70
  patch(recurring_donation_path(id), options)
67
71
  end
@@ -1,3 +1,3 @@
1
1
  module RockRMS
2
- VERSION = '8.7.0'.freeze
2
+ VERSION = '8.8.0'.freeze
3
3
  end
@@ -28,7 +28,7 @@ RSpec.describe RockRMS::Client do
28
28
  end
29
29
 
30
30
  it 'requries either `username` and `password` params or `authorization_token` param' do
31
- expect { described_class.new(attrs_without_authentication) }
31
+ expect { described_class.new(**attrs_without_authentication) }
32
32
  .to raise_error(ArgumentError, /username and password or authorization_token/)
33
33
  end
34
34
 
@@ -145,7 +145,8 @@ RSpec.describe RockRMS::Client::RecurringDonation, type: :model do
145
145
  'ScheduledTransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityId' => nil, 'EntityTypeId' => nil, 'FeeAmount' => nil, 'FeeCoverageAmount' => nil}],
146
146
  'GatewayScheduleId' => nil,
147
147
  'SourceTypeValueId' => 10,
148
- 'ForeignKey' => nil
148
+ 'ForeignKey' => nil,
149
+ 'Summary' => nil,
149
150
  }
150
151
  )
151
152
  .and_call_original
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.7.0
4
+ version: 8.8.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-04-26 00:00:00.000000000 Z
11
+ date: 2023-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday