stbaldricks 12.8.0 → 12.8.1.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stbaldricks/endpoints/fund.rb +12 -0
- data/lib/stbaldricks/entities/fund.rb +1 -0
- data/lib/stbaldricks/version.rb +1 -1
- metadata +83 -83
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed05e41b2072101f69ebc2c725b922010a616b4a3c7fa610a938280d6cf9c4c2
|
4
|
+
data.tar.gz: 42c5b738de5116ac688e05d8913180da08dba069e5e4c46cea714642190d5632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87963e1471b72f6849c540deee97c579aa2a75f5db0e338e62f9c7398cf743a9b4ccbdb54de7eef7c9a1095023b787079fd1bd3609ed3f9b7353a8fdb200b3d1
|
7
|
+
data.tar.gz: e2c49970cb6816ef5f78d27a03523d16cf08c8591024245b9e2a60255ed59ac032f157aa467b1f9ad12e76e6f36cd4c911aa3eec2bd4bb41293b9a8ab7154e7f
|
@@ -19,6 +19,18 @@ module SBF
|
|
19
19
|
|
20
20
|
SBF::Client::Api::Response.new(http_code: response.code, data: data, error: error)
|
21
21
|
end
|
22
|
+
|
23
|
+
def direct_donation_years(params)
|
24
|
+
response = SBF::Client::Api::Request.post_request("#{base_uri}/direct_donation_years", params)
|
25
|
+
data = JSON.parse(response.body).symbolize!
|
26
|
+
|
27
|
+
unless ok?(response)
|
28
|
+
error = SBF::Client::ErrorEntity.new(data)
|
29
|
+
data = nil
|
30
|
+
end
|
31
|
+
|
32
|
+
SBF::Client::Api::Response.new(http_code: response.code, data: data, error: error)
|
33
|
+
end
|
22
34
|
end
|
23
35
|
end
|
24
36
|
end
|
data/lib/stbaldricks/version.rb
CHANGED
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.8.
|
4
|
+
version: 12.8.1.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-01 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:
|
568
|
+
version: 1.3.1
|
569
569
|
requirements: []
|
570
570
|
rubygems_version: 3.0.3.1
|
571
571
|
signing_key:
|
@@ -573,99 +573,99 @@ specification_version: 4
|
|
573
573
|
summary: St. Baldrick's Foundation Ruby Client Library
|
574
574
|
test_files:
|
575
575
|
- lib/stbaldricks_factories.rb
|
576
|
-
- spec/factories/
|
577
|
-
- spec/factories/organization/email_addresses.rb
|
578
|
-
- spec/factories/organization/phone_numbers.rb
|
579
|
-
- spec/factories/payment.rb
|
580
|
-
- spec/factories/fundraising_page.rb
|
581
|
-
- spec/factories/donation/participant.rb
|
582
|
-
- spec/factories/challenge.rb
|
583
|
-
- spec/factories/kid_institution.rb
|
584
|
-
- spec/factories/memorial/totals.rb
|
585
|
-
- spec/factories/memorial/photos.rb
|
586
|
-
- spec/factories/memorial/tribute.rb
|
587
|
-
- spec/factories/search_kid.rb
|
588
|
-
- spec/factories/contact.rb
|
589
|
-
- spec/factories/researcher.rb
|
590
|
-
- spec/factories/photos.rb
|
591
|
-
- spec/factories/challenger.rb
|
592
|
-
- spec/factories/name_pieces.rb
|
593
|
-
- spec/factories/milestone.rb
|
594
|
-
- spec/factories/person/policies.rb
|
595
|
-
- spec/factories/person/addresses.rb
|
596
|
-
- spec/factories/person/email_addresses.rb
|
597
|
-
- spec/factories/person/phone_numbers.rb
|
598
|
-
- spec/factories/participant/policies.rb
|
599
|
-
- spec/factories/participant/totals.rb
|
576
|
+
- spec/factories/participant/rankings.rb
|
600
577
|
- spec/factories/participant/photos.rb
|
601
578
|
- spec/factories/participant/roles/role.rb
|
602
|
-
- spec/factories/participant/
|
603
|
-
- spec/factories/participant/
|
579
|
+
- spec/factories/participant/policies.rb
|
580
|
+
- spec/factories/participant/totals.rb
|
604
581
|
- spec/factories/participant/roles.rb
|
605
|
-
- spec/factories/
|
606
|
-
- spec/factories/
|
607
|
-
- spec/factories/
|
608
|
-
- spec/factories/
|
609
|
-
- spec/factories/
|
610
|
-
- spec/factories/
|
611
|
-
- spec/factories/
|
582
|
+
- spec/factories/participant/rankings/ranking.rb
|
583
|
+
- spec/factories/search_fundraiser.rb
|
584
|
+
- spec/factories/newsletter_recipient.rb
|
585
|
+
- spec/factories/phone.rb
|
586
|
+
- spec/factories/contact_group.rb
|
587
|
+
- spec/factories/fundraiser/photos.rb
|
588
|
+
- spec/factories/fundraiser/policies.rb
|
589
|
+
- spec/factories/fundraiser/totals.rb
|
590
|
+
- spec/factories/team.rb
|
591
|
+
- spec/factories/venue.rb
|
592
|
+
- spec/factories/recurring_gift.rb
|
593
|
+
- spec/factories/donation/participant.rb
|
594
|
+
- spec/factories/error.rb
|
595
|
+
- spec/factories/grant_institution.rb
|
596
|
+
- spec/factories/page.rb
|
612
597
|
- spec/factories/grant.rb
|
613
|
-
- spec/factories/
|
614
|
-
- spec/factories/email_address.rb
|
615
|
-
- spec/factories/disease.rb
|
616
|
-
- spec/factories/participant.rb
|
617
|
-
- spec/factories/kid.rb
|
598
|
+
- spec/factories/search_team.rb
|
618
599
|
- spec/factories/search_participant.rb
|
619
|
-
- spec/factories/
|
620
|
-
- spec/factories/
|
600
|
+
- spec/factories/name_pieces.rb
|
601
|
+
- spec/factories/researcher.rb
|
602
|
+
- spec/factories/photos.rb
|
603
|
+
- spec/factories/donor.rb
|
604
|
+
- spec/factories/diagnosis.rb
|
605
|
+
- spec/factories/kid_institution.rb
|
621
606
|
- spec/factories/message.rb
|
622
|
-
- spec/factories/response.rb
|
623
607
|
- spec/factories/search_event.rb
|
608
|
+
- spec/factories/photo.rb
|
609
|
+
- spec/factories/event.rb
|
610
|
+
- spec/factories/organization.rb
|
611
|
+
- spec/factories/campaign.rb
|
612
|
+
- spec/factories/kid/custom_institution.rb
|
613
|
+
- spec/factories/fundraising_page.rb
|
614
|
+
- spec/factories/contact.rb
|
624
615
|
- spec/factories/event_application.rb
|
616
|
+
- spec/factories/location.rb
|
617
|
+
- spec/factories/response.rb
|
618
|
+
- spec/factories/kid.rb
|
619
|
+
- spec/factories/challenger.rb
|
620
|
+
- spec/factories/treatment_status.rb
|
621
|
+
- spec/factories/institution.rb
|
622
|
+
- spec/factories/lib/helpers.rb
|
623
|
+
- spec/factories/lib/faker_patch.rb
|
624
|
+
- spec/factories/shave_schedule.rb
|
625
|
+
- spec/factories/address.rb
|
626
|
+
- spec/factories/shave_schedule/time_selection_permissions.rb
|
627
|
+
- spec/factories/person/phone_numbers.rb
|
628
|
+
- spec/factories/person/policies.rb
|
629
|
+
- spec/factories/person/addresses.rb
|
630
|
+
- spec/factories/person/email_addresses.rb
|
631
|
+
- spec/factories/collection.rb
|
625
632
|
- spec/factories/fundraiser.rb
|
626
|
-
- spec/factories/
|
627
|
-
- spec/factories/
|
628
|
-
- spec/factories/
|
629
|
-
- spec/factories/
|
633
|
+
- spec/factories/email_address.rb
|
634
|
+
- spec/factories/third_party_media.rb
|
635
|
+
- spec/factories/donation.rb
|
636
|
+
- spec/factories/person.rb
|
637
|
+
- spec/factories/team/rankings.rb
|
630
638
|
- spec/factories/team/photos.rb
|
639
|
+
- spec/factories/team/totals.rb
|
631
640
|
- spec/factories/team/rankings/ranking.rb
|
632
|
-
- spec/factories/
|
633
|
-
- spec/factories/
|
634
|
-
- spec/factories/
|
635
|
-
- spec/factories/
|
641
|
+
- spec/factories/kid_honor.rb
|
642
|
+
- spec/factories/disease.rb
|
643
|
+
- spec/factories/payment.rb
|
644
|
+
- spec/factories/search_kid.rb
|
645
|
+
- spec/factories/user.rb
|
636
646
|
- spec/factories/campaign/totals.rb
|
637
|
-
- spec/factories/
|
638
|
-
- spec/factories/
|
639
|
-
- spec/factories/
|
640
|
-
- spec/factories/
|
641
|
-
- spec/factories/
|
642
|
-
- spec/factories/
|
643
|
-
- spec/factories/
|
644
|
-
- spec/factories/
|
645
|
-
- spec/factories/
|
646
|
-
- spec/factories/fundraiser/totals.rb
|
647
|
-
- spec/factories/fundraiser/photos.rb
|
648
|
-
- spec/factories/venue.rb
|
649
|
-
- spec/factories/search_fundraiser.rb
|
650
|
-
- spec/factories/institution.rb
|
651
|
-
- spec/factories/grant_institution.rb
|
652
|
-
- spec/factories/address.rb
|
653
|
-
- spec/factories/phone.rb
|
654
|
-
- spec/factories/event/totals.rb
|
655
|
-
- spec/factories/event/photos.rb
|
656
|
-
- spec/factories/event/contacts/contact.rb
|
657
|
-
- spec/factories/event/contacts/name_pieces.rb
|
658
|
-
- spec/factories/event/coach_tracking/coaching_interactions.rb
|
647
|
+
- spec/factories/organization/phone_numbers.rb
|
648
|
+
- spec/factories/organization/addresses.rb
|
649
|
+
- spec/factories/organization/email_addresses.rb
|
650
|
+
- spec/factories/fund.rb
|
651
|
+
- spec/factories/milestone.rb
|
652
|
+
- spec/factories/memorial.rb
|
653
|
+
- spec/factories/challenge.rb
|
654
|
+
- spec/factories/event/contacts.rb
|
655
|
+
- spec/factories/event/venue.rb
|
659
656
|
- spec/factories/event/coach_tracking/proceeds.rb
|
660
657
|
- spec/factories/event/coach_tracking/plaque.rb
|
658
|
+
- spec/factories/event/coach_tracking/coaching_interactions.rb
|
659
|
+
- spec/factories/event/photos.rb
|
661
660
|
- spec/factories/event/coach_tracking.rb
|
661
|
+
- spec/factories/event/contacts/name_pieces.rb
|
662
|
+
- spec/factories/event/contacts/contact.rb
|
662
663
|
- spec/factories/event/venue/location.rb
|
663
664
|
- spec/factories/event/venue/social.rb
|
664
|
-
- spec/factories/event/
|
665
|
-
- spec/factories/
|
666
|
-
- spec/factories/
|
667
|
-
- spec/factories/
|
668
|
-
- spec/factories/
|
669
|
-
- spec/factories/
|
670
|
-
- spec/factories/
|
671
|
-
- spec/factories/kid_honor.rb
|
665
|
+
- spec/factories/event/totals.rb
|
666
|
+
- spec/factories/participant.rb
|
667
|
+
- spec/factories/event_supporter.rb
|
668
|
+
- spec/factories/memorial/photos.rb
|
669
|
+
- spec/factories/memorial/totals.rb
|
670
|
+
- spec/factories/memorial/tribute.rb
|
671
|
+
- spec/factories/permissions.rb
|