stbaldricks 4.3.3 → 4.3.4

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
- SHA256:
3
- metadata.gz: cf147c6be5cba38d0c6fc6a6dc3e3d64e51bc40ace63bcdce045dbab681a117e
4
- data.tar.gz: 6265f5c2db75edd63a721e8774d2bb057e0456b3939e4b8815a89aaf9c2e4646
2
+ SHA1:
3
+ metadata.gz: f4556c8c8faef3a4546d6e9d3aba7a8f885871ee
4
+ data.tar.gz: 0ed885ef66b07e035d2141ba6534780b64616cb3
5
5
  SHA512:
6
- metadata.gz: 06458e4c0e759b575f82cd32429a85ebe6f6e7fb5af80be74e4636739586e01ae294357a86b84c43d466ea1926008997c7893322f30a388035419464fbe721df
7
- data.tar.gz: 5662ef382447dd14a5dc090bea192884dcf091d2082d08859e90bdaaf420ad440ab2ce73982c83e8863664ee80595a9c301e669d731d9b215d442c8cefa95843
6
+ metadata.gz: d2a0d680bbce1ebcdcf4ed8f2e2c205713d54228cd3b4e79534c8867b07a3525bebcc7601ef75d788e276630c3e78724e0bc23c4ff3483f00bf6ab63ff2c1818
7
+ data.tar.gz: f95dee439822da1a938556edb5a9b40550ab4a3e773b2cbca2171fbdd73e27036500b0383083ff530013c5ccd9a3ee8c76ce628b19896c62965d69da6798dcc7
data/README.md CHANGED
@@ -62,11 +62,10 @@ existing_participant = request_helper { SBF::Client::Participant.find({status: S
62
62
  recipient = SBF::Client::Donation::PartialParticipant.new(id: existing_participant.id)
63
63
 
64
64
  # Create a new donor profile. This will be saved at the same time as the donation
65
- # TODO: Create HowCreated of mobile?
66
65
  donor = SBF::Client::Donation::FullPerson.new(
67
66
  status: SBF::Client::Person::Status::ACTIVE,
68
67
  gender: SBF::Client::Person::Gender::NOT_SELECTED,
69
- how_created: SBF::Client::Person::HowCreated::FAST_DONATION,
68
+ how_created: SBF::Client::Person::HowCreated::PAYMENT_SPRING_APP,
70
69
  name_pieces: SBF::Client::NamePieces.new(
71
70
  first_name: 'Foo',
72
71
  last_name: 'Testerman'
@@ -98,7 +97,7 @@ donation = SBF::Client::FullDonation.new(
98
97
  amount: 50.00,
99
98
  display_name: 'Test Display Name',
100
99
  is_unrecognized: false,
101
- how_created: SBF::Client::Donation::HowCreated::MOBILE,
100
+ how_created: SBF::Client::Donation::HowCreated::PAYMENT_SPRING_APP,
102
101
  donor: donor,
103
102
  recipient: recipient,
104
103
  payment_details: payment_details
@@ -165,12 +165,10 @@ module SBF
165
165
 
166
166
  class FullOrganization < SBF::Client::FullOrganization
167
167
  attr_reader :type
168
- private :type
169
168
  end
170
169
 
171
170
  class PartialOrganization < SBF::Client::PartialOrganization
172
171
  attr_reader :type
173
- private :type
174
172
  end
175
173
 
176
174
  class RecognitionCard < SBF::Client::BaseEntity
@@ -16,6 +16,7 @@ module SBF
16
16
  RECURRING_GIFTS = 'recurring'
17
17
  GIVE_ONCE = 'give_once'
18
18
  DONATE = 'donate'
19
+ PAYMENT_SPRING_APP = 'payment_spring_app'
19
20
  end
20
21
  end
21
22
  end
@@ -39,6 +39,7 @@ module SBF
39
39
  RECURRING_GIFTS = 'recurring'
40
40
  GIVE_ONCE = 'give_once'
41
41
  DONATE = 'donate'
42
+ PAYMENT_SPRING_APP = 'payment_spring_app'
42
43
  end
43
44
 
44
45
  class Addresses < SBF::Client::BaseEntity
@@ -64,6 +64,7 @@ module SBF
64
64
  RECURRING_GIFTS = 'recurring'
65
65
  GIVE_ONCE = 'give_once'
66
66
  DONATE = 'donate'
67
+ PAYMENT_SPRING_APP = 'payment_spring_app'
67
68
  end
68
69
 
69
70
  class Addresses < SBF::Client::BaseEntity
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '4.3.3'
3
+ VERSION = '4.3.4'
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: 4.3.3
4
+ version: 4.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firespring
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-27 00:00:00.000000000 Z
11
+ date: 2017-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  version: '0'
217
217
  requirements: []
218
218
  rubyforge_project:
219
- rubygems_version: 2.7.2
219
+ rubygems_version: 2.6.13
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: St. Baldrick's Foundation Ruby Client Library