stbaldricks 12.15.0.alpha.3 → 12.15.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: b91fb9951d92c38dc4f603ea5459578769b78e5da6bd86fc9ad354d0e70035e0
4
- data.tar.gz: 28322041cd67c04cdd6eebeb7fcbed655cbdc4c5767650d9406dd038e290f7c1
3
+ metadata.gz: 813c14606b5395cdc40253fd5452842c29113080c185196c579a21a1c1563b5c
4
+ data.tar.gz: 8d233977b90f351e8d339f09a7d77fcc000c19295030c6a62094b3db361aa6de
5
5
  SHA512:
6
- metadata.gz: b62b61acc1dcc384ed4d03766df44d3beafa2a69ee8da267b232ab29c834c23d7593b45dc211f09431c720ca8202346f1a12cfdbf0f3460eccb6c0781f318dbe
7
- data.tar.gz: ef734f8a1f8ac96d27807ff91a71ea16516bcd4e3cabe94f7b500b934317954c8b203f1b1e91e549457e32f8036dbc7de0ac76f8e48c5a4b9c2bb57682ccbc7f
6
+ metadata.gz: f42d618564cdecc8c6776c4feb06ccb7a8741c63a5d1c1abe0785957c2adc3327697bbd4957c1ae3ef7bda7a13c01ec4e1e4e97c32cc8776d605b90295287f33
7
+ data.tar.gz: 4ff2946335a23785d19023e76d14c3627961a5cb71543f3b034acb57f9a4f964e145a0d32d5f924e0c8604f6ee348e538cab02f5e5a9334b469d13ed9ff89946
@@ -38,4 +38,4 @@ module SBF
38
38
  # rubocop:enable Metrics/ParameterLists
39
39
  end
40
40
  end
41
- end
41
+ end
@@ -10,6 +10,11 @@ module SBF
10
10
  UNKNOWN = 'unknown'
11
11
  BRAINTREE = 'braintree'
12
12
  PAYMENTSPRING = 'paymentspring'
13
+ GIVING_BLOCK = 'giving_block'
14
+ WIRE_TRANSFER = 'wire_transfer'
15
+ SBF_EMPLOYEE_PAYROLL = 'sbf_employee_payroll'
16
+ EMPLOYEE_FUND = 'employee_fund'
17
+ DONOR_ADVISED_FUND = 'donor_advised_fund'
13
18
  end
14
19
  end
15
20
  end
@@ -19,6 +19,10 @@ module SBF
19
19
  UNKNOWN = 'unknown'
20
20
  WIRE_TRANSFER = 'wire_transfer'
21
21
  VENMO = 'venmo'
22
+ CRYPTO = 'crypto'
23
+ SQUARE = 'square'
24
+ STOCK = 'stock'
25
+ INSTAGRAM = 'instagram'
22
26
  end
23
27
  end
24
28
  end
@@ -415,7 +415,11 @@ module SBF
415
415
  [->(v) { v[:type] == SBF::Client::Payment::Type::STRIPE }, 'SBF::Client::Payment::StripeDetails'],
416
416
  [->(v) { v[:type] == SBF::Client::Payment::Type::VENMO }, 'SBF::Client::Payment::VenmoDetails'],
417
417
  [->(v) { v[:type] == SBF::Client::Payment::Type::UNKNOWN }, 'SBF::Client::Payment::UnknownDetails'],
418
- [->(v) { v[:type] == SBF::Client::Payment::Type::WIRE_TRANSFER }, 'SBF::Client::Payment::WireTransferDetails']
418
+ [->(v) { v[:type] == SBF::Client::Payment::Type::WIRE_TRANSFER }, 'SBF::Client::Payment::WireTransferDetails'],
419
+ [->(v) { v[:type] == SBF::Client::Payment::Type::CRYPTO }, 'SBF::Client::Payment::CryptoDetails'],
420
+ [->(v) { v[:type] == SBF::Client::Payment::Type::SQUARE }, 'SBF::Client::Payment::SquareDetails'],
421
+ [->(v) { v[:type] == SBF::Client::Payment::Type::STOCK }, 'SBF::Client::Payment::StockDetails'],
422
+ [->(v) { v[:type] == SBF::Client::Payment::Type::INSTAGRAM }, 'SBF::Client::Payment::InstagramDetails']
419
423
  ]
420
424
  )
421
425
  entity_attr_accessor :tribute, 'SBF::Client::Donation::Tribute'
@@ -18,6 +18,10 @@ module SBF
18
18
  VENMO = 'venmo'.freeze
19
19
  UNKNOWN = 'unknown'.freeze
20
20
  WIRE_TRANSFER = 'wire_transfer'.freeze
21
+ CRYPTO = 'crypto'.freeze
22
+ SQUARE = 'square'.freeze
23
+ STOCK = 'stock'.freeze
24
+ INSTAGRAM = 'instagram'.freeze
21
25
  end
22
26
 
23
27
  module Gateway
@@ -25,6 +29,11 @@ module SBF
25
29
  UNKNOWN = 'unknown'.freeze
26
30
  BRAINTREE = 'braintree'.freeze
27
31
  PAYMENTSPRING = 'paymentspring'.freeze
32
+ GIVING_BLOCK = 'giving_block'.freeze
33
+ WIRE_TRANSFER = 'wire_transfer'.freeze
34
+ SBF_EMPLOYEE_PAYROLL = 'sbf_employee_payroll'.freeze
35
+ EMPLOYEE_FUND = 'employee_fund'.freeze
36
+ DONOR_ADVISED_FUND = 'donor_advised_fund'.freeze
28
37
  end
29
38
 
30
39
  class Details < SBF::Client::BaseEntity
@@ -141,6 +150,30 @@ module SBF
141
150
  SBF::Client::Payment::Type::GOOGLEPAY
142
151
  end
143
152
  end
153
+
154
+ class CryptoDetails < SBF::Client::Payment::Details
155
+ def type
156
+ SBF::Client::Payment::Type::CRYPTO
157
+ end
158
+ end
159
+
160
+ class SquareDetails < SBF::Client::Payment::Details
161
+ def type
162
+ SBF::Client::Payment::Type::SQUARE
163
+ end
164
+ end
165
+
166
+ class StockDetails < SBF::Client::Payment::Details
167
+ def type
168
+ SBF::Client::Payment::Type::STOCK
169
+ end
170
+ end
171
+
172
+ class InstagramDetails < SBF::Client::Payment::Details
173
+ def type
174
+ SBF::Client::Payment::Type::INSTAGRAM
175
+ end
176
+ end
144
177
  end
145
178
  end
146
179
  end
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '12.15.0.alpha.3'.freeze
3
+ VERSION = '12.15.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stbaldricks
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.15.0.alpha.3
4
+ version: 12.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firespring
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-28 00:00:00.000000000 Z
11
+ date: 2023-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -563,9 +563,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
563
563
  version: '0'
564
564
  required_rubygems_version: !ruby/object:Gem::Requirement
565
565
  requirements:
566
- - - ">"
566
+ - - ">="
567
567
  - !ruby/object:Gem::Version
568
- version: 1.3.1
568
+ version: '0'
569
569
  requirements: []
570
570
  rubygems_version: 3.0.3.1
571
571
  signing_key: