stbaldricks 12.10.0.alpha.2 → 12.10.0.alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stbaldricks/configuration.rb +2 -2
- data/lib/stbaldricks/default_logger.rb +2 -2
- data/lib/stbaldricks/endpoints/blog_post.rb +8 -8
- data/lib/stbaldricks/endpoints/communicate.rb +1 -1
- data/lib/stbaldricks/endpoints/config.rb +1 -1
- data/lib/stbaldricks/endpoints/deduplicator_match.rb +2 -2
- data/lib/stbaldricks/endpoints/kid.rb +1 -1
- data/lib/stbaldricks/endpoints/lib/entity.rb +11 -13
- data/lib/stbaldricks/endpoints/newsletter_recipient.rb +5 -11
- data/lib/stbaldricks/endpoints/participant.rb +3 -3
- data/lib/stbaldricks/endpoints/photo.rb +4 -5
- data/lib/stbaldricks/endpoints/search.rb +2 -2
- data/lib/stbaldricks/endpoints/user.rb +1 -1
- data/lib/stbaldricks/entities/batch.rb +5 -3
- data/lib/stbaldricks/entities/blog_post.rb +7 -1
- data/lib/stbaldricks/entities/campaign.rb +13 -6
- data/lib/stbaldricks/entities/challenge.rb +6 -4
- data/lib/stbaldricks/entities/challenger.rb +6 -4
- data/lib/stbaldricks/entities/concerns/entity_response_concern.rb +1 -1
- data/lib/stbaldricks/entities/config.rb +8 -3
- data/lib/stbaldricks/entities/contact.rb +7 -4
- data/lib/stbaldricks/entities/contact_group.rb +2 -2
- data/lib/stbaldricks/entities/deduplicator_history.rb +6 -1
- data/lib/stbaldricks/entities/deduplicator_match.rb +7 -4
- data/lib/stbaldricks/entities/disease.rb +5 -2
- data/lib/stbaldricks/entities/document_library.rb +8 -3
- data/lib/stbaldricks/entities/document_library_category.rb +4 -1
- data/lib/stbaldricks/entities/donation.rb +18 -12
- data/lib/stbaldricks/entities/donor.rb +5 -1
- data/lib/stbaldricks/entities/event.rb +43 -32
- data/lib/stbaldricks/entities/event_application.rb +10 -6
- data/lib/stbaldricks/entities/event_donation_summary.rb +5 -2
- data/lib/stbaldricks/entities/event_participant_summary.rb +3 -1
- data/lib/stbaldricks/entities/event_supporter.rb +3 -3
- data/lib/stbaldricks/entities/fund.rb +23 -6
- data/lib/stbaldricks/entities/fundraiser.rb +29 -16
- data/lib/stbaldricks/entities/grant.rb +25 -12
- data/lib/stbaldricks/entities/institution.rb +4 -3
- data/lib/stbaldricks/entities/international_partner.rb +16 -4
- data/lib/stbaldricks/entities/kid.rb +30 -13
- data/lib/stbaldricks/entities/kid_honor.rb +0 -1
- data/lib/stbaldricks/entities/kid_institution.rb +2 -2
- data/lib/stbaldricks/entities/lib/address.rb +6 -3
- data/lib/stbaldricks/entities/lib/alternate_shipping_address.rb +3 -1
- data/lib/stbaldricks/entities/lib/base.rb +39 -47
- data/lib/stbaldricks/entities/lib/collection.rb +2 -2
- data/lib/stbaldricks/entities/lib/email_address.rb +2 -1
- data/lib/stbaldricks/entities/lib/fundraising_page.rb +2 -1
- data/lib/stbaldricks/entities/lib/location.rb +0 -1
- data/lib/stbaldricks/entities/lib/milestone.rb +3 -1
- data/lib/stbaldricks/entities/lib/name.rb +2 -2
- data/lib/stbaldricks/entities/lib/not_implemented_object.rb +1 -1
- data/lib/stbaldricks/entities/lib/permissions.rb +4 -2
- data/lib/stbaldricks/entities/lib/phone.rb +3 -2
- data/lib/stbaldricks/entities/lib/third_party_media.rb +5 -1
- data/lib/stbaldricks/entities/lib/top_level.rb +1 -1
- data/lib/stbaldricks/entities/matching_gift_company.rb +39 -16
- data/lib/stbaldricks/entities/memorial.rb +14 -9
- data/lib/stbaldricks/entities/message.rb +15 -4
- data/lib/stbaldricks/entities/organization.rb +17 -11
- data/lib/stbaldricks/entities/page.rb +15 -6
- data/lib/stbaldricks/entities/participant.rb +28 -18
- data/lib/stbaldricks/entities/participant_donation_summary.rb +4 -2
- data/lib/stbaldricks/entities/person.rb +30 -22
- data/lib/stbaldricks/entities/person_donation_by_year_summary.rb +2 -1
- data/lib/stbaldricks/entities/photo.rb +11 -5
- data/lib/stbaldricks/entities/recurring_gift.rb +22 -10
- data/lib/stbaldricks/entities/response.rb +0 -1
- data/lib/stbaldricks/entities/search.rb +168 -30
- data/lib/stbaldricks/entities/section.rb +4 -1
- data/lib/stbaldricks/entities/shave_schedule.rb +13 -4
- data/lib/stbaldricks/entities/summary.rb +7 -1
- data/lib/stbaldricks/entities/team.rb +16 -12
- data/lib/stbaldricks/entities/team_donation_summary.rb +4 -2
- data/lib/stbaldricks/request.rb +2 -2
- data/lib/stbaldricks/version.rb +1 -1
- data/lib/stbaldricks_factories.rb +5 -0
- data/spec/factories/address.rb +14 -0
- data/spec/factories/campaign/totals.rb +9 -0
- data/spec/factories/campaign.rb +9 -0
- data/spec/factories/challenge.rb +19 -0
- data/spec/factories/challenger.rb +33 -0
- data/spec/factories/collection.rb +17 -0
- data/spec/factories/contact.rb +18 -0
- data/spec/factories/contact_group.rb +18 -0
- data/spec/factories/diagnosis.rb +12 -0
- data/spec/factories/disease.rb +11 -0
- data/spec/factories/donation/participant.rb +27 -0
- data/spec/factories/donation.rb +68 -0
- data/spec/factories/donor.rb +13 -0
- data/spec/factories/email_address.rb +11 -0
- data/spec/factories/error.rb +9 -0
- data/spec/factories/event/coach_tracking/coaching_interactions.rb +12 -0
- data/spec/factories/event/coach_tracking/plaque.rb +12 -0
- data/spec/factories/event/coach_tracking/proceeds.rb +12 -0
- data/spec/factories/event/coach_tracking.rb +18 -0
- data/spec/factories/event/contacts/contact.rb +17 -0
- data/spec/factories/event/contacts/name_pieces.rb +12 -0
- data/spec/factories/event/contacts.rb +16 -0
- data/spec/factories/event/photos.rb +12 -0
- data/spec/factories/event/totals.rb +15 -0
- data/spec/factories/event/venue/location.rb +18 -0
- data/spec/factories/event/venue/social.rb +16 -0
- data/spec/factories/event/venue.rb +16 -0
- data/spec/factories/event.rb +66 -0
- data/spec/factories/event_application.rb +34 -0
- data/spec/factories/event_supporter.rb +19 -0
- data/spec/factories/fund.rb +18 -0
- data/spec/factories/fundraiser/photos.rb +12 -0
- data/spec/factories/fundraiser/policies.rb +11 -0
- data/spec/factories/fundraiser/totals.rb +11 -0
- data/spec/factories/fundraiser.rb +24 -0
- data/spec/factories/fundraising_page.rb +29 -0
- data/spec/factories/grant.rb +22 -0
- data/spec/factories/grant_institution.rb +17 -0
- data/spec/factories/institution.rb +18 -0
- data/spec/factories/kid/custom_institution.rb +12 -0
- data/spec/factories/kid.rb +68 -0
- data/spec/factories/kid_honor.rb +16 -0
- data/spec/factories/kid_institution.rb +23 -0
- data/spec/factories/lib/faker_patch.rb +27 -0
- data/spec/factories/lib/helpers.rb +7 -0
- data/spec/factories/location.rb +17 -0
- data/spec/factories/memorial/photos.rb +14 -0
- data/spec/factories/memorial/totals.rb +11 -0
- data/spec/factories/memorial/tribute.rb +19 -0
- data/spec/factories/memorial.rb +22 -0
- data/spec/factories/message.rb +31 -0
- data/spec/factories/milestone.rb +15 -0
- data/spec/factories/name_pieces.rb +24 -0
- data/spec/factories/newsletter_recipient.rb +13 -0
- data/spec/factories/organization/addresses.rb +16 -0
- data/spec/factories/organization/email_addresses.rb +14 -0
- data/spec/factories/organization/phone_numbers.rb +14 -0
- data/spec/factories/organization.rb +34 -0
- data/spec/factories/page.rb +5 -0
- data/spec/factories/participant/photos.rb +14 -0
- data/spec/factories/participant/policies.rb +12 -0
- data/spec/factories/participant/rankings/ranking.rb +12 -0
- data/spec/factories/participant/rankings.rb +16 -0
- data/spec/factories/participant/roles/role.rb +154 -0
- data/spec/factories/participant/roles.rb +37 -0
- data/spec/factories/participant/totals.rb +11 -0
- data/spec/factories/participant.rb +95 -0
- data/spec/factories/payment.rb +13 -0
- data/spec/factories/permissions.rb +12 -0
- data/spec/factories/person/addresses.rb +16 -0
- data/spec/factories/person/email_addresses.rb +14 -0
- data/spec/factories/person/phone_numbers.rb +14 -0
- data/spec/factories/person/policies.rb +13 -0
- data/spec/factories/person.rb +22 -0
- data/spec/factories/phone.rb +11 -0
- data/spec/factories/photo.rb +11 -0
- data/spec/factories/photos.rb +9 -0
- data/spec/factories/recurring_gift.rb +22 -0
- data/spec/factories/researcher.rb +15 -0
- data/spec/factories/response.rb +38 -0
- data/spec/factories/search_event.rb +19 -0
- data/spec/factories/search_fundraiser.rb +15 -0
- data/spec/factories/search_kid.rb +13 -0
- data/spec/factories/search_participant.rb +15 -0
- data/spec/factories/search_team.rb +13 -0
- data/spec/factories/shave_schedule/time_selection_permissions.rb +12 -0
- data/spec/factories/shave_schedule.rb +33 -0
- data/spec/factories/team/photos.rb +12 -0
- data/spec/factories/team/rankings/ranking.rb +12 -0
- data/spec/factories/team/rankings.rb +15 -0
- data/spec/factories/team/totals.rb +14 -0
- data/spec/factories/team.rb +43 -0
- data/spec/factories/third_party_media.rb +12 -0
- data/spec/factories/treatment_status.rb +10 -0
- data/spec/factories/user.rb +14 -0
- data/spec/factories/venue.rb +15 -0
- metadata +198 -4
@@ -0,0 +1,13 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :search_kid, class: SBF::Client::Search::Kid do
|
3
|
+
skip_create
|
4
|
+
|
5
|
+
initialize_with do
|
6
|
+
new(attributes)
|
7
|
+
end
|
8
|
+
|
9
|
+
sequence(:kid_id) { |n| n }
|
10
|
+
sequence(:treatment_status_slug) { |n| "Treatment status slug #{n}" }
|
11
|
+
sequence(:treatment_status_other) { |n| "Treatment status other #{n}" }
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :search_participant, class: SBF::Client::Search::Participant do
|
3
|
+
skip_create
|
4
|
+
|
5
|
+
initialize_with do
|
6
|
+
new(attributes)
|
7
|
+
end
|
8
|
+
|
9
|
+
sequence(:participant_id) { |n| n }
|
10
|
+
sequence(:profile_id) { |n| n + 100 }
|
11
|
+
sequence(:team_id) { |n| n + 1000 }
|
12
|
+
sequence(:event_id) { |n| n + 10_000 }
|
13
|
+
event_year { 2014 }
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :search_team, class: SBF::Client::Search::Team do
|
3
|
+
skip_create
|
4
|
+
|
5
|
+
initialize_with do
|
6
|
+
new(attributes)
|
7
|
+
end
|
8
|
+
|
9
|
+
sequence(:team_id) { |n| n + 10_000 }
|
10
|
+
sequence(:event_id) { |n| n + 10_000 }
|
11
|
+
event_year { 2014 }
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require_relative 'lib/helpers'
|
2
|
+
|
3
|
+
FactoryBot.define do
|
4
|
+
factory :shave_schedule, class: SBF::Client::ShaveSchedule do
|
5
|
+
skip_create
|
6
|
+
|
7
|
+
initialize_with do
|
8
|
+
new(attributes)
|
9
|
+
end
|
10
|
+
|
11
|
+
start_time { '00:00:00' }
|
12
|
+
end_time { '23:59:59' }
|
13
|
+
number_of_seats { 50 }
|
14
|
+
shave_duration_in_minutes { 5 }
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
FactoryBot.define do
|
19
|
+
factory :shave_schedule_assignment, class: SBF::Client::ShaveSchedule::ShaveScheduleAssignment do
|
20
|
+
skip_create
|
21
|
+
|
22
|
+
initialize_with do
|
23
|
+
new(attributes)
|
24
|
+
end
|
25
|
+
|
26
|
+
type { SBF::Client::ShaveSchedule::ShaveScheduleAssignment::Type::SHAVEE }
|
27
|
+
shave_time { '12:00:00' }
|
28
|
+
|
29
|
+
after :build do |_shave_schedule_assignment, evaluator|
|
30
|
+
raise 'participant is required' if unpopulated?(evaluator, :participant)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require_relative '../lib/helpers'
|
2
|
+
|
3
|
+
FactoryBot.define do
|
4
|
+
factory :team_rankings, class: SBF::Client::Team::Rankings do
|
5
|
+
skip_create
|
6
|
+
|
7
|
+
initialize_with do
|
8
|
+
new(attributes)
|
9
|
+
end
|
10
|
+
|
11
|
+
after :build do |rankings, evaluator|
|
12
|
+
rankings.send(:event=, build(:team_rankings_ranking)) if unpopulated?(evaluator, :event)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require_relative 'lib/helpers'
|
2
|
+
|
3
|
+
FactoryBot.define do
|
4
|
+
factory :team, class: SBF::Client::FullTeam do
|
5
|
+
to_create do |it|
|
6
|
+
# Really gross - we don't support team create through the api currently.
|
7
|
+
# Instead we need to use the start_team/move_participant_to_team logic
|
8
|
+
|
9
|
+
# Save the participant first so we can move it
|
10
|
+
raise "Failed to create #{it.class}: #{it.errors.details}" unless it.captain.save
|
11
|
+
|
12
|
+
# Start the team using the info from the existing object and the participant we created
|
13
|
+
response = SBF::Client::Participant.start_team(it.captain.id, it.name, it.fundraising_goal)
|
14
|
+
raise "Failed to create #{it.class}: #{it.errors.details}" unless response.success?
|
15
|
+
|
16
|
+
p = response.data
|
17
|
+
raise "Failed to create #{it.class}: #{it.errors.details}" unless p.is_a?(SBF::Client::Participant)
|
18
|
+
|
19
|
+
# Query the team on the participant that was returned (we are creating a team after all)
|
20
|
+
team_hash = SBF::Client::Team.get(p.team.id).to_hash
|
21
|
+
|
22
|
+
# Gross... find a better way eventually
|
23
|
+
readonly_attributes = %w(display_name photos totals created_at modified_at)
|
24
|
+
readonly_attributes.each { |attr| it.instance_variable_set("@#{attr}".to_sym, team_hash.delete(attr.to_sym)) }
|
25
|
+
|
26
|
+
# Return the new team
|
27
|
+
it.attributes = team_hash.merge(captain: it.captain)
|
28
|
+
end
|
29
|
+
|
30
|
+
initialize_with do
|
31
|
+
new(attributes)
|
32
|
+
end
|
33
|
+
|
34
|
+
name { "#{Faker::Team.name} #{random}" }
|
35
|
+
status { SBF::Client::Team::Status::ACTIVE }
|
36
|
+
fundraising_goal { rand(50) * 500 }
|
37
|
+
fundraising_message { 'We are raising money for SBF' }
|
38
|
+
|
39
|
+
after :build do |team, evaluator|
|
40
|
+
team.captain = build(:team_captain, event: team.event) if unpopulated?(evaluator, :captain)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :user, class: SBF::Client::User do
|
3
|
+
to_create { |it| raise "Failed to create #{it.class}: #{it.errors.details}" unless it.save }
|
4
|
+
|
5
|
+
initialize_with do
|
6
|
+
new(attributes)
|
7
|
+
end
|
8
|
+
|
9
|
+
type { SBF::Client::User::ProviderType::SBF }
|
10
|
+
access_scope { SBF::Client::User::AccessScope::MEMBER }
|
11
|
+
username { random }
|
12
|
+
password { 'Super123' }
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require_relative 'lib/helpers'
|
2
|
+
|
3
|
+
FactoryBot.define do
|
4
|
+
factory :venue, class: SBF::Client::Venue do
|
5
|
+
skip_create
|
6
|
+
|
7
|
+
initialize_with do
|
8
|
+
new(attributes)
|
9
|
+
end
|
10
|
+
|
11
|
+
after :build do |venue, evaluator|
|
12
|
+
venue.location = build(:location) if unpopulated?(evaluator, :location)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
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.10.0.alpha.
|
4
|
+
version: 12.10.0.alpha.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -451,6 +451,103 @@ files:
|
|
451
451
|
- lib/stbaldricks/patches/string.rb
|
452
452
|
- lib/stbaldricks/request.rb
|
453
453
|
- lib/stbaldricks/version.rb
|
454
|
+
- lib/stbaldricks_factories.rb
|
455
|
+
- spec/factories/address.rb
|
456
|
+
- spec/factories/campaign.rb
|
457
|
+
- spec/factories/campaign/totals.rb
|
458
|
+
- spec/factories/challenge.rb
|
459
|
+
- spec/factories/challenger.rb
|
460
|
+
- spec/factories/collection.rb
|
461
|
+
- spec/factories/contact.rb
|
462
|
+
- spec/factories/contact_group.rb
|
463
|
+
- spec/factories/diagnosis.rb
|
464
|
+
- spec/factories/disease.rb
|
465
|
+
- spec/factories/donation.rb
|
466
|
+
- spec/factories/donation/participant.rb
|
467
|
+
- spec/factories/donor.rb
|
468
|
+
- spec/factories/email_address.rb
|
469
|
+
- spec/factories/error.rb
|
470
|
+
- spec/factories/event.rb
|
471
|
+
- spec/factories/event/coach_tracking.rb
|
472
|
+
- spec/factories/event/coach_tracking/coaching_interactions.rb
|
473
|
+
- spec/factories/event/coach_tracking/plaque.rb
|
474
|
+
- spec/factories/event/coach_tracking/proceeds.rb
|
475
|
+
- spec/factories/event/contacts.rb
|
476
|
+
- spec/factories/event/contacts/contact.rb
|
477
|
+
- spec/factories/event/contacts/name_pieces.rb
|
478
|
+
- spec/factories/event/photos.rb
|
479
|
+
- spec/factories/event/totals.rb
|
480
|
+
- spec/factories/event/venue.rb
|
481
|
+
- spec/factories/event/venue/location.rb
|
482
|
+
- spec/factories/event/venue/social.rb
|
483
|
+
- spec/factories/event_application.rb
|
484
|
+
- spec/factories/event_supporter.rb
|
485
|
+
- spec/factories/fund.rb
|
486
|
+
- spec/factories/fundraiser.rb
|
487
|
+
- spec/factories/fundraiser/photos.rb
|
488
|
+
- spec/factories/fundraiser/policies.rb
|
489
|
+
- spec/factories/fundraiser/totals.rb
|
490
|
+
- spec/factories/fundraising_page.rb
|
491
|
+
- spec/factories/grant.rb
|
492
|
+
- spec/factories/grant_institution.rb
|
493
|
+
- spec/factories/institution.rb
|
494
|
+
- spec/factories/kid.rb
|
495
|
+
- spec/factories/kid/custom_institution.rb
|
496
|
+
- spec/factories/kid_honor.rb
|
497
|
+
- spec/factories/kid_institution.rb
|
498
|
+
- spec/factories/lib/faker_patch.rb
|
499
|
+
- spec/factories/lib/helpers.rb
|
500
|
+
- spec/factories/location.rb
|
501
|
+
- spec/factories/memorial.rb
|
502
|
+
- spec/factories/memorial/photos.rb
|
503
|
+
- spec/factories/memorial/totals.rb
|
504
|
+
- spec/factories/memorial/tribute.rb
|
505
|
+
- spec/factories/message.rb
|
506
|
+
- spec/factories/milestone.rb
|
507
|
+
- spec/factories/name_pieces.rb
|
508
|
+
- spec/factories/newsletter_recipient.rb
|
509
|
+
- spec/factories/organization.rb
|
510
|
+
- spec/factories/organization/addresses.rb
|
511
|
+
- spec/factories/organization/email_addresses.rb
|
512
|
+
- spec/factories/organization/phone_numbers.rb
|
513
|
+
- spec/factories/page.rb
|
514
|
+
- spec/factories/participant.rb
|
515
|
+
- spec/factories/participant/photos.rb
|
516
|
+
- spec/factories/participant/policies.rb
|
517
|
+
- spec/factories/participant/rankings.rb
|
518
|
+
- spec/factories/participant/rankings/ranking.rb
|
519
|
+
- spec/factories/participant/roles.rb
|
520
|
+
- spec/factories/participant/roles/role.rb
|
521
|
+
- spec/factories/participant/totals.rb
|
522
|
+
- spec/factories/payment.rb
|
523
|
+
- spec/factories/permissions.rb
|
524
|
+
- spec/factories/person.rb
|
525
|
+
- spec/factories/person/addresses.rb
|
526
|
+
- spec/factories/person/email_addresses.rb
|
527
|
+
- spec/factories/person/phone_numbers.rb
|
528
|
+
- spec/factories/person/policies.rb
|
529
|
+
- spec/factories/phone.rb
|
530
|
+
- spec/factories/photo.rb
|
531
|
+
- spec/factories/photos.rb
|
532
|
+
- spec/factories/recurring_gift.rb
|
533
|
+
- spec/factories/researcher.rb
|
534
|
+
- spec/factories/response.rb
|
535
|
+
- spec/factories/search_event.rb
|
536
|
+
- spec/factories/search_fundraiser.rb
|
537
|
+
- spec/factories/search_kid.rb
|
538
|
+
- spec/factories/search_participant.rb
|
539
|
+
- spec/factories/search_team.rb
|
540
|
+
- spec/factories/shave_schedule.rb
|
541
|
+
- spec/factories/shave_schedule/time_selection_permissions.rb
|
542
|
+
- spec/factories/team.rb
|
543
|
+
- spec/factories/team/photos.rb
|
544
|
+
- spec/factories/team/rankings.rb
|
545
|
+
- spec/factories/team/rankings/ranking.rb
|
546
|
+
- spec/factories/team/totals.rb
|
547
|
+
- spec/factories/third_party_media.rb
|
548
|
+
- spec/factories/treatment_status.rb
|
549
|
+
- spec/factories/user.rb
|
550
|
+
- spec/factories/venue.rb
|
454
551
|
homepage:
|
455
552
|
licenses:
|
456
553
|
- MIT
|
@@ -463,7 +560,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
463
560
|
requirements:
|
464
561
|
- - ">="
|
465
562
|
- !ruby/object:Gem::Version
|
466
|
-
version:
|
563
|
+
version: '0'
|
467
564
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
468
565
|
requirements:
|
469
566
|
- - ">"
|
@@ -474,4 +571,101 @@ rubygems_version: 3.1.6
|
|
474
571
|
signing_key:
|
475
572
|
specification_version: 4
|
476
573
|
summary: St. Baldrick's Foundation Ruby Client Library
|
477
|
-
test_files:
|
574
|
+
test_files:
|
575
|
+
- lib/stbaldricks_factories.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
|
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
|
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
|
610
|
+
- spec/factories/collection.rb
|
611
|
+
- spec/factories/campaign.rb
|
612
|
+
- spec/factories/grant.rb
|
613
|
+
- spec/factories/location.rb
|
614
|
+
- spec/factories/email_address.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
|
629
|
+
- spec/factories/team/totals.rb
|
630
|
+
- spec/factories/team/photos.rb
|
631
|
+
- spec/factories/team/rankings/ranking.rb
|
632
|
+
- spec/factories/team/rankings.rb
|
633
|
+
- spec/factories/newsletter_recipient.rb
|
634
|
+
- spec/factories/shave_schedule.rb
|
635
|
+
- spec/factories/organization.rb
|
636
|
+
- spec/factories/campaign/totals.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
|
659
|
+
- spec/factories/event/coach_tracking/proceeds.rb
|
660
|
+
- spec/factories/event/coach_tracking/plaque.rb
|
661
|
+
- spec/factories/event/coach_tracking.rb
|
662
|
+
- spec/factories/event/venue/location.rb
|
663
|
+
- spec/factories/event/venue/social.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
|