stbaldricks 10.8.2.alpha.1 → 10.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stbaldricks/entities/event.rb +4 -0
- data/lib/stbaldricks/entities/participant.rb +2 -0
- data/lib/stbaldricks/version.rb +1 -1
- metadata +86 -86
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24ece577b8f7bbfc81ddf4d24a9783355b20fd822326d623e48f33a07569ce94
|
4
|
+
data.tar.gz: fe11173627efa5567f9a28c43c1c038871d6d8c9ffc09f37d65ba0d45ae31a7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c3ffa75e60f9910122d30c766d686428ed5422a4ee80da6d59b079b6c47817cf3c4f50d5826f82d9b56d794b6edf72e78d2fc509b74edb38c45b45aa9edd9ed
|
7
|
+
data.tar.gz: c20daab76aaac616715282f3ddea8006f3e6e41f935508fd21ffa3c7519c7687a82becb59fb37b246bee901938ab4a3056f50d54402ea83db291073900eaac6d
|
@@ -198,6 +198,10 @@ module SBF
|
|
198
198
|
status == SBF::Client::Event::Status::ACTIVE
|
199
199
|
end
|
200
200
|
|
201
|
+
def venue_virtual?
|
202
|
+
venue.location.type == SBF::Client::Event::Venue::Location::Type::VIRTUAL
|
203
|
+
end
|
204
|
+
|
201
205
|
def virtual?
|
202
206
|
(id == 1) && (sub_type == SBF::Client::Event::SubType::VIRTUAL)
|
203
207
|
end
|
@@ -37,6 +37,7 @@ module SBF
|
|
37
37
|
module ShirtSize
|
38
38
|
FAST_REG_UNSPECIFIED = 'fast_reg_unspecified'.freeze
|
39
39
|
NOT_SPECIFIED = 'not specified'.freeze
|
40
|
+
SAVE_FOR_RESEARCH = 'save_for_research'.freeze
|
40
41
|
YOUTH_SMALL = 'youth_small'.freeze
|
41
42
|
YOUTH_MEDIUM = 'youth_medium'.freeze
|
42
43
|
YOUTH_LARGE = 'youth_large'.freeze
|
@@ -53,6 +54,7 @@ module SBF
|
|
53
54
|
def self.list
|
54
55
|
%i(
|
55
56
|
FAST_REG_UNSPECIFIED
|
57
|
+
SAVE_FOR_RESEARCH
|
56
58
|
YOUTH_SMALL
|
57
59
|
YOUTH_MEDIUM
|
58
60
|
YOUTH_LARGE
|
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: 10.
|
4
|
+
version: 10.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -552,9 +552,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
552
552
|
version: '0'
|
553
553
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
554
554
|
requirements:
|
555
|
-
- - "
|
555
|
+
- - ">="
|
556
556
|
- !ruby/object:Gem::Version
|
557
|
-
version:
|
557
|
+
version: '0'
|
558
558
|
requirements: []
|
559
559
|
rubygems_version: 3.0.3
|
560
560
|
signing_key:
|
@@ -562,98 +562,98 @@ specification_version: 4
|
|
562
562
|
summary: St. Baldrick's Foundation Ruby Client Library
|
563
563
|
test_files:
|
564
564
|
- lib/stbaldricks_factories.rb
|
565
|
-
- spec/factories/
|
566
|
-
- spec/factories/
|
567
|
-
- spec/factories/
|
568
|
-
- spec/factories/
|
565
|
+
- spec/factories/organization/addresses.rb
|
566
|
+
- spec/factories/organization/email_addresses.rb
|
567
|
+
- spec/factories/organization/phone_numbers.rb
|
568
|
+
- spec/factories/payment.rb
|
569
|
+
- spec/factories/fundraising_page.rb
|
570
|
+
- spec/factories/donation/participant.rb
|
571
|
+
- spec/factories/challenge.rb
|
569
572
|
- spec/factories/kid_institution.rb
|
570
|
-
- spec/factories/
|
571
|
-
- spec/factories/
|
572
|
-
- spec/factories/
|
573
|
-
- spec/factories/
|
574
|
-
- spec/factories/
|
575
|
-
- spec/factories/shave_schedule/time_selection_permissions.rb
|
576
|
-
- spec/factories/collection.rb
|
577
|
-
- spec/factories/event.rb
|
578
|
-
- spec/factories/challenger.rb
|
579
|
-
- spec/factories/campaign/totals.rb
|
580
|
-
- spec/factories/kid_honor.rb
|
581
|
-
- spec/factories/response.rb
|
582
|
-
- spec/factories/grant_institution.rb
|
583
|
-
- spec/factories/organization.rb
|
573
|
+
- spec/factories/memorial/totals.rb
|
574
|
+
- spec/factories/memorial/photos.rb
|
575
|
+
- spec/factories/memorial/tribute.rb
|
576
|
+
- spec/factories/search_kid.rb
|
577
|
+
- spec/factories/contact.rb
|
584
578
|
- spec/factories/researcher.rb
|
585
|
-
- spec/factories/
|
586
|
-
- spec/factories/
|
587
|
-
- spec/factories/
|
588
|
-
- spec/factories/
|
589
|
-
- spec/factories/
|
590
|
-
- spec/factories/
|
591
|
-
- spec/factories/
|
592
|
-
- spec/factories/event/venue.rb
|
593
|
-
- spec/factories/event/coach_tracking/coaching_interactions.rb
|
594
|
-
- spec/factories/event/coach_tracking/proceeds.rb
|
595
|
-
- spec/factories/event/coach_tracking/plaque.rb
|
596
|
-
- spec/factories/event/contacts/name_pieces.rb
|
597
|
-
- spec/factories/event/contacts/contact.rb
|
598
|
-
- spec/factories/fundraiser/totals.rb
|
599
|
-
- spec/factories/fundraiser/policies.rb
|
600
|
-
- spec/factories/fundraiser/photos.rb
|
601
|
-
- spec/factories/shave_schedule.rb
|
602
|
-
- spec/factories/event_supporter.rb
|
603
|
-
- spec/factories/participant/totals.rb
|
579
|
+
- spec/factories/photos.rb
|
580
|
+
- spec/factories/challenger.rb
|
581
|
+
- spec/factories/name_pieces.rb
|
582
|
+
- spec/factories/person/policies.rb
|
583
|
+
- spec/factories/person/addresses.rb
|
584
|
+
- spec/factories/person/email_addresses.rb
|
585
|
+
- spec/factories/person/phone_numbers.rb
|
604
586
|
- spec/factories/participant/policies.rb
|
605
|
-
- spec/factories/participant/
|
587
|
+
- spec/factories/participant/totals.rb
|
606
588
|
- spec/factories/participant/photos.rb
|
607
|
-
- spec/factories/participant/
|
589
|
+
- spec/factories/participant/roles/role.rb
|
608
590
|
- spec/factories/participant/rankings/ranking.rb
|
591
|
+
- spec/factories/participant/rankings.rb
|
609
592
|
- spec/factories/participant/roles.rb
|
610
|
-
- spec/factories/
|
611
|
-
- spec/factories/
|
612
|
-
- spec/factories/
|
613
|
-
- spec/factories/
|
614
|
-
- spec/factories/
|
615
|
-
- spec/factories/
|
593
|
+
- spec/factories/donation.rb
|
594
|
+
- spec/factories/third_party_media.rb
|
595
|
+
- spec/factories/search_team.rb
|
596
|
+
- spec/factories/permissions.rb
|
597
|
+
- spec/factories/photo.rb
|
598
|
+
- spec/factories/collection.rb
|
599
|
+
- spec/factories/campaign.rb
|
600
|
+
- spec/factories/grant.rb
|
601
|
+
- spec/factories/location.rb
|
602
|
+
- spec/factories/email_address.rb
|
603
|
+
- spec/factories/disease.rb
|
604
|
+
- spec/factories/participant.rb
|
605
|
+
- spec/factories/kid.rb
|
616
606
|
- spec/factories/search_participant.rb
|
617
|
-
- spec/factories/
|
618
|
-
- spec/factories/
|
607
|
+
- spec/factories/event_supporter.rb
|
608
|
+
- spec/factories/page.rb
|
609
|
+
- spec/factories/message.rb
|
610
|
+
- spec/factories/response.rb
|
611
|
+
- spec/factories/search_event.rb
|
612
|
+
- spec/factories/event_application.rb
|
613
|
+
- spec/factories/fundraiser.rb
|
614
|
+
- spec/factories/team.rb
|
615
|
+
- spec/factories/memorial.rb
|
616
|
+
- spec/factories/diagnosis.rb
|
619
617
|
- spec/factories/team/totals.rb
|
620
618
|
- spec/factories/team/photos.rb
|
621
|
-
- spec/factories/team/rankings.rb
|
622
619
|
- spec/factories/team/rankings/ranking.rb
|
623
|
-
- spec/factories/
|
624
|
-
- spec/factories/
|
625
|
-
- spec/factories/
|
626
|
-
- spec/factories/
|
627
|
-
- spec/factories/
|
628
|
-
- spec/factories/
|
629
|
-
- spec/factories/
|
630
|
-
- spec/factories/
|
631
|
-
- spec/factories/person/phone_numbers.rb
|
632
|
-
- spec/factories/person/email_addresses.rb
|
620
|
+
- spec/factories/team/rankings.rb
|
621
|
+
- spec/factories/newsletter_recipient.rb
|
622
|
+
- spec/factories/shave_schedule.rb
|
623
|
+
- spec/factories/organization.rb
|
624
|
+
- spec/factories/campaign/totals.rb
|
625
|
+
- spec/factories/lib/helpers.rb
|
626
|
+
- spec/factories/lib/faker_patch.rb
|
627
|
+
- spec/factories/error.rb
|
633
628
|
- spec/factories/donor.rb
|
634
|
-
- spec/factories/
|
635
|
-
- spec/factories/
|
636
|
-
- spec/factories/
|
637
|
-
- spec/factories/
|
638
|
-
- spec/factories/
|
639
|
-
- spec/factories/
|
640
|
-
- spec/factories/
|
629
|
+
- spec/factories/contact_group.rb
|
630
|
+
- spec/factories/recurring_gift.rb
|
631
|
+
- spec/factories/person.rb
|
632
|
+
- spec/factories/treatment_status.rb
|
633
|
+
- spec/factories/fundraiser/policies.rb
|
634
|
+
- spec/factories/fundraiser/totals.rb
|
635
|
+
- spec/factories/fundraiser/photos.rb
|
641
636
|
- spec/factories/venue.rb
|
642
|
-
- spec/factories/organization/addresses.rb
|
643
|
-
- spec/factories/organization/phone_numbers.rb
|
644
|
-
- spec/factories/organization/email_addresses.rb
|
645
|
-
- spec/factories/lib/faker_patch.rb
|
646
|
-
- spec/factories/lib/helpers.rb
|
647
|
-
- spec/factories/newsletter_recipient.rb
|
648
|
-
- spec/factories/payment.rb
|
649
|
-
- spec/factories/contact.rb
|
650
|
-
- spec/factories/message.rb
|
651
637
|
- spec/factories/search_fundraiser.rb
|
652
|
-
- spec/factories/
|
653
|
-
- spec/factories/
|
654
|
-
- spec/factories/
|
655
|
-
- spec/factories/
|
656
|
-
- spec/factories/
|
657
|
-
- spec/factories/
|
658
|
-
- spec/factories/
|
659
|
-
- spec/factories/
|
638
|
+
- spec/factories/institution.rb
|
639
|
+
- spec/factories/grant_institution.rb
|
640
|
+
- spec/factories/address.rb
|
641
|
+
- spec/factories/phone.rb
|
642
|
+
- spec/factories/event/totals.rb
|
643
|
+
- spec/factories/event/photos.rb
|
644
|
+
- spec/factories/event/contacts/contact.rb
|
645
|
+
- spec/factories/event/contacts/name_pieces.rb
|
646
|
+
- spec/factories/event/coach_tracking/coaching_interactions.rb
|
647
|
+
- spec/factories/event/coach_tracking/proceeds.rb
|
648
|
+
- spec/factories/event/coach_tracking/plaque.rb
|
649
|
+
- spec/factories/event/coach_tracking.rb
|
650
|
+
- spec/factories/event/venue/location.rb
|
651
|
+
- spec/factories/event/venue/social.rb
|
652
|
+
- spec/factories/event/contacts.rb
|
653
|
+
- spec/factories/event/venue.rb
|
654
|
+
- spec/factories/fund.rb
|
655
|
+
- spec/factories/event.rb
|
656
|
+
- spec/factories/kid/custom_institution.rb
|
657
|
+
- spec/factories/shave_schedule/time_selection_permissions.rb
|
658
|
+
- spec/factories/user.rb
|
659
|
+
- spec/factories/kid_honor.rb
|