stbaldricks 12.7.0.alpha.2 → 12.7.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: f2eea318fdcbab6f02344754145a074ba3a00073f8202907c2e71d8fe418481c
4
- data.tar.gz: ab3e9a66cbf401d932a6b60be21297b9265ec6ea550b9a0cb79b16f389b837ef
3
+ metadata.gz: 076f2e754925ea766ac3d438698e94e5f6a5d765f2920861c12578f710f4ddef
4
+ data.tar.gz: 2265c9f2015ddfe5235b2b819994375168bcb5e049b42f7117a89c99174dec38
5
5
  SHA512:
6
- metadata.gz: ddeac301d772434b152c2ab65103abdb2bfbe6c0db714ff9e712ef5e524072a1848fd04aa7efa67289dc7f95432ce49cbcfcae19e26e8d8dda26c2e0c732a6fd
7
- data.tar.gz: 41236a9cdfd76d89513c68cf8e43c2ec7734bf022cbe166f231f1347fd3c00f21abe36dcaa23ec5aeea7c743e1c4e2bd1d95142e0dd5f4aa79ab5866b47a76e8
6
+ metadata.gz: 11a3252b7b0ec281b71ec58d837a65ba3e257bf7c6faa25e2a5a96b63188a3f16d3396b52d4c0c19a6ac6cf926dc9dd50b21066ed9a78c84c9817434fad896ba
7
+ data.tar.gz: 58ab88aa45d91d74d6ab85fff4f52bdb48a9591f39400ad0636b94f5bc8ac3c97cf73dbbd3df8bbbe8edb50d4e3eccc59d1a714acc07a78b21d00814ce64fe02
@@ -3,6 +3,10 @@ require 'stbaldricks/endpoints/lib/entity'
3
3
  module SBF
4
4
  module Client
5
5
  class KidInstitutionEndpoint < EntityEndpoint
6
+ def get(kid_id, institution_id, with = {})
7
+ super("#{kid_id}/#{institution_id}", with)
8
+ end
9
+
6
10
  def delete(params)
7
11
  response = SBF::Client::Api::Request.post_request("#{base_uri}/delete", params)
8
12
 
@@ -23,6 +23,7 @@ module SBF
23
23
  entity_attr_accessor :address, 'SBF::Client::Address'
24
24
  attr_reader :created_at
25
25
  attr_reader :modified_at
26
+ attr_accessor :institution_info
26
27
  end
27
28
  end
28
29
  end
@@ -8,7 +8,6 @@ module SBF
8
8
  class KidInstitution < SBF::Client::TopLevelEntity
9
9
  endpoint SBF::Client::KidInstitutionEndpoint
10
10
  actions DEFAULT_CRUD_ACTIONS
11
- blacklist_action :get
12
11
  blacklist_action :update
13
12
  blacklist_action :aggregate
14
13
 
@@ -11,7 +11,7 @@ module SBF
11
11
  instance_action :subscribe
12
12
  instance_action :unsubscribe
13
13
 
14
- attr_accessor :email_address, :first_name, :last_name, :welcome_email
14
+ attr_accessor :email_address, :first_name, :last_name
15
15
  end
16
16
  end
17
17
  end
@@ -58,6 +58,7 @@ module SBF
58
58
  ITALY = 'Italy'
59
59
  JAMAICA = 'Jamaica'
60
60
  JAPAN = 'Japan'
61
+ JORDAN = 'Jordan'
61
62
  KENYA = 'Kenya'
62
63
  KUWAIT = 'Kuwait'
63
64
  LEBANON = 'Lebanon'
@@ -171,6 +172,7 @@ module SBF
171
172
  ITALY => :IT,
172
173
  JAMAICA => :JM,
173
174
  JAPAN => :JP,
175
+ JORDAN => :JO,
174
176
  KENYA => :KE,
175
177
  KUWAIT => :KW,
176
178
  LEBANON => :LB,
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '12.7.0.alpha.2'.freeze
3
+ VERSION = '12.7.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.7.0.alpha.2
4
+ version: 12.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firespring
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-21 00:00:00.000000000 Z
11
+ date: 2022-07-25 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:
@@ -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/participant/rankings.rb
577
- - spec/factories/participant/photos.rb
578
- - spec/factories/participant/roles/role.rb
579
- - spec/factories/participant/policies.rb
580
- - spec/factories/participant/totals.rb
581
- - spec/factories/participant/roles.rb
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
576
+ - spec/factories/organization/addresses.rb
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
593
581
  - spec/factories/donation/participant.rb
594
- - spec/factories/error.rb
595
- - spec/factories/grant_institution.rb
596
- - spec/factories/page.rb
597
- - spec/factories/grant.rb
598
- - spec/factories/search_team.rb
599
- - spec/factories/search_participant.rb
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
582
+ - spec/factories/challenge.rb
605
583
  - spec/factories/kid_institution.rb
606
- - spec/factories/message.rb
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
584
+ - spec/factories/memorial/totals.rb
585
+ - spec/factories/memorial/photos.rb
586
+ - spec/factories/memorial/tribute.rb
587
+ - spec/factories/search_kid.rb
614
588
  - spec/factories/contact.rb
615
- - spec/factories/event_application.rb
616
- - spec/factories/location.rb
617
- - spec/factories/response.rb
618
- - spec/factories/kid.rb
589
+ - spec/factories/researcher.rb
590
+ - spec/factories/photos.rb
619
591
  - 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
592
+ - spec/factories/name_pieces.rb
593
+ - spec/factories/milestone.rb
628
594
  - spec/factories/person/policies.rb
629
595
  - spec/factories/person/addresses.rb
630
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
600
+ - spec/factories/participant/photos.rb
601
+ - spec/factories/participant/roles/role.rb
602
+ - spec/factories/participant/rankings/ranking.rb
603
+ - spec/factories/participant/rankings.rb
604
+ - spec/factories/participant/roles.rb
605
+ - spec/factories/donation.rb
606
+ - spec/factories/third_party_media.rb
607
+ - spec/factories/search_team.rb
608
+ - spec/factories/permissions.rb
609
+ - spec/factories/photo.rb
631
610
  - spec/factories/collection.rb
632
- - spec/factories/fundraiser.rb
611
+ - spec/factories/campaign.rb
612
+ - spec/factories/grant.rb
613
+ - spec/factories/location.rb
633
614
  - 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
638
- - spec/factories/team/photos.rb
615
+ - spec/factories/disease.rb
616
+ - spec/factories/participant.rb
617
+ - spec/factories/kid.rb
618
+ - spec/factories/search_participant.rb
619
+ - spec/factories/event_supporter.rb
620
+ - spec/factories/page.rb
621
+ - spec/factories/message.rb
622
+ - spec/factories/response.rb
623
+ - spec/factories/search_event.rb
624
+ - spec/factories/event_application.rb
625
+ - spec/factories/fundraiser.rb
626
+ - spec/factories/team.rb
627
+ - spec/factories/memorial.rb
628
+ - spec/factories/diagnosis.rb
639
629
  - spec/factories/team/totals.rb
630
+ - spec/factories/team/photos.rb
640
631
  - spec/factories/team/rankings/ranking.rb
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
632
+ - spec/factories/team/rankings.rb
633
+ - spec/factories/newsletter_recipient.rb
634
+ - spec/factories/shave_schedule.rb
635
+ - spec/factories/organization.rb
646
636
  - spec/factories/campaign/totals.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
637
+ - spec/factories/lib/helpers.rb
638
+ - spec/factories/lib/faker_patch.rb
639
+ - spec/factories/error.rb
640
+ - spec/factories/donor.rb
641
+ - spec/factories/contact_group.rb
642
+ - spec/factories/recurring_gift.rb
643
+ - spec/factories/person.rb
644
+ - spec/factories/treatment_status.rb
645
+ - spec/factories/fundraiser/policies.rb
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
656
659
  - spec/factories/event/coach_tracking/proceeds.rb
657
660
  - spec/factories/event/coach_tracking/plaque.rb
658
- - spec/factories/event/coach_tracking/coaching_interactions.rb
659
- - spec/factories/event/photos.rb
660
661
  - spec/factories/event/coach_tracking.rb
661
- - spec/factories/event/contacts/name_pieces.rb
662
- - spec/factories/event/contacts/contact.rb
663
662
  - spec/factories/event/venue/location.rb
664
663
  - spec/factories/event/venue/social.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
664
+ - spec/factories/event/contacts.rb
665
+ - spec/factories/event/venue.rb
666
+ - spec/factories/fund.rb
667
+ - spec/factories/event.rb
668
+ - spec/factories/kid/custom_institution.rb
669
+ - spec/factories/shave_schedule/time_selection_permissions.rb
670
+ - spec/factories/user.rb
671
+ - spec/factories/kid_honor.rb