stbaldricks 10.2.2.alpha.1 → 10.2.2.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stbaldricks/enums/country.rb +2 -0
- data/lib/stbaldricks/version.rb +1 -1
- data/spec/factories/email_address.rb +1 -1
- data/spec/factories/kid.rb +1 -1
- data/spec/factories/person.rb +1 -1
- data/spec/factories/phone.rb +1 -1
- metadata +82 -82
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 064f3b5f28120008e3c65f8588ea08c9f7000d0e96316dc6f6c93ed76d8a82ff
|
4
|
+
data.tar.gz: b9d4afaa5f92dc4af8137a954466ba1f3dca5445c8a2f7ef66a3222c55328679
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a7d902f64d870d2bb950ccc77874f13a115780c1e3ebf5788cb7e57c2a3c6a781f83621123900f60c7f0bdacee9081693e4e338ccac7ce1ab399d78021e5ec7
|
7
|
+
data.tar.gz: 04b062a8f5fee3d2f20a14799e9a2da3a7f3642ab1d4dc7b9bdbbff5b34bbd9e628412568eeb3f7c194bbc568c4d554e249b015c39252f392cbe6164cbb36426
|
@@ -26,6 +26,7 @@ module SBF
|
|
26
26
|
CHINA = 'China'
|
27
27
|
COLUMBIA = 'Colombia'
|
28
28
|
COSTA_RICA = 'Costa Rica'
|
29
|
+
CROATIA = 'Croatia'
|
29
30
|
CUBA = 'Cuba'
|
30
31
|
CURACAO = 'Curacao'
|
31
32
|
CYPRUS = 'Cyprus'
|
@@ -137,6 +138,7 @@ module SBF
|
|
137
138
|
CHILE => :CL,
|
138
139
|
CHINA => :CN,
|
139
140
|
COLUMBIA => :CO,
|
141
|
+
CROATIA => :HR,
|
140
142
|
COSTA_RICA => :CR,
|
141
143
|
CUBA => :CU,
|
142
144
|
CURACAO => :CW,
|
data/lib/stbaldricks/version.rb
CHANGED
data/spec/factories/kid.rb
CHANGED
@@ -11,7 +11,7 @@ FactoryBot.define do
|
|
11
11
|
new(attributes)
|
12
12
|
end
|
13
13
|
|
14
|
-
birthday { Faker::Date.birthday(5, 25).to_s }
|
14
|
+
birthday { Faker::Date.birthday(min_age: 5, max_age: 25).to_s }
|
15
15
|
web_message { 'Thank you for supporting me and' }
|
16
16
|
status { 'active' }
|
17
17
|
gender { 'female' }
|
data/spec/factories/person.rb
CHANGED
@@ -16,7 +16,7 @@ FactoryBot.define do
|
|
16
16
|
person.addresses = build(:person_addresses) if unpopulated?(evaluator, :addresses)
|
17
17
|
person.status = 'active' if unpopulated?(evaluator, :status)
|
18
18
|
person.type = SBF::Client::Person::Type::INDIVIDUAL if unpopulated?(evaluator, :type)
|
19
|
-
person.birthday = Faker::Date.birthday(19, 65).to_s if unpopulated?(evaluator, :birthday)
|
19
|
+
person.birthday = Faker::Date.birthday(min_age: 19, max_age: 65).to_s if unpopulated?(evaluator, :birthday)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
data/spec/factories/phone.rb
CHANGED
@@ -6,6 +6,6 @@ FactoryBot.define do
|
|
6
6
|
new(attributes)
|
7
7
|
end
|
8
8
|
|
9
|
-
number { "#{Faker::Number.between(200, 999)}-#{Faker::Number.number(3)}-#{Faker::Number.number(4)}" }
|
9
|
+
number { "#{Faker::Number.between(from: 200, to: 999)}-#{Faker::Number.number(digits: 3)}-#{Faker::Number.number(digits: 4)}" }
|
10
10
|
end
|
11
11
|
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: 10.2.2.alpha.
|
4
|
+
version: 10.2.2.alpha.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -126,16 +126,16 @@ dependencies:
|
|
126
126
|
name: faker
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: pry
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -548,98 +548,98 @@ specification_version: 4
|
|
548
548
|
summary: St. Baldrick's Foundation Ruby Client Library
|
549
549
|
test_files:
|
550
550
|
- lib/stbaldricks_factories.rb
|
551
|
-
- spec/factories/
|
552
|
-
- spec/factories/
|
553
|
-
- spec/factories/organization/addresses.rb
|
554
|
-
- spec/factories/organization/email_addresses.rb
|
555
|
-
- spec/factories/organization/phone_numbers.rb
|
556
|
-
- spec/factories/search_participant.rb
|
557
|
-
- spec/factories/location.rb
|
558
|
-
- spec/factories/email_address.rb
|
559
|
-
- spec/factories/grant_institution.rb
|
560
|
-
- spec/factories/response.rb
|
561
|
-
- spec/factories/fundraising_page.rb
|
562
|
-
- spec/factories/grant.rb
|
563
|
-
- spec/factories/campaign.rb
|
551
|
+
- spec/factories/memorial.rb
|
552
|
+
- spec/factories/kid_honor.rb
|
564
553
|
- spec/factories/donor.rb
|
565
|
-
- spec/factories/
|
566
|
-
- spec/factories/
|
554
|
+
- spec/factories/newsletter_recipient.rb
|
555
|
+
- spec/factories/recurring_gift.rb
|
556
|
+
- spec/factories/contact.rb
|
557
|
+
- spec/factories/team.rb
|
567
558
|
- spec/factories/donation/participant.rb
|
568
|
-
- spec/factories/
|
559
|
+
- spec/factories/phone.rb
|
560
|
+
- spec/factories/response.rb
|
561
|
+
- spec/factories/grant.rb
|
562
|
+
- spec/factories/researcher.rb
|
563
|
+
- spec/factories/payment.rb
|
564
|
+
- spec/factories/collection.rb
|
565
|
+
- spec/factories/fundraiser.rb
|
566
|
+
- spec/factories/lib/helpers.rb
|
567
|
+
- spec/factories/lib/faker_patch.rb
|
569
568
|
- spec/factories/person/email_addresses.rb
|
570
|
-
- spec/factories/person/policies.rb
|
571
569
|
- spec/factories/person/phone_numbers.rb
|
572
|
-
- spec/factories/
|
573
|
-
- spec/factories/
|
574
|
-
- spec/factories/
|
575
|
-
- spec/factories/event.rb
|
576
|
-
- spec/factories/donation.rb
|
577
|
-
- spec/factories/kid_honor.rb
|
578
|
-
- spec/factories/message.rb
|
579
|
-
- spec/factories/memorial/photos.rb
|
580
|
-
- spec/factories/memorial/tribute.rb
|
581
|
-
- spec/factories/memorial/totals.rb
|
582
|
-
- spec/factories/photos.rb
|
583
|
-
- spec/factories/kid/custom_institution.rb
|
584
|
-
- spec/factories/phone.rb
|
585
|
-
- spec/factories/campaign/totals.rb
|
570
|
+
- spec/factories/person/addresses.rb
|
571
|
+
- spec/factories/person/policies.rb
|
572
|
+
- spec/factories/campaign.rb
|
586
573
|
- spec/factories/page.rb
|
587
|
-
- spec/factories/
|
588
|
-
- spec/factories/memorial.rb
|
589
|
-
- spec/factories/institution.rb
|
574
|
+
- spec/factories/kid_institution.rb
|
590
575
|
- spec/factories/participant.rb
|
591
|
-
- spec/factories/
|
592
|
-
- spec/factories/
|
593
|
-
- spec/factories/venue.rb
|
594
|
-
- spec/factories/permissions.rb
|
595
|
-
- spec/factories/participant/rankings/ranking.rb
|
596
|
-
- spec/factories/participant/photos.rb
|
597
|
-
- spec/factories/participant/roles.rb
|
598
|
-
- spec/factories/participant/roles/role.rb
|
599
|
-
- spec/factories/participant/totals.rb
|
600
|
-
- spec/factories/participant/rankings.rb
|
601
|
-
- spec/factories/participant/policies.rb
|
602
|
-
- spec/factories/diagnosis.rb
|
603
|
-
- spec/factories/researcher.rb
|
604
|
-
- spec/factories/contact.rb
|
605
|
-
- spec/factories/organization.rb
|
606
|
-
- spec/factories/search_fundraiser.rb
|
607
|
-
- spec/factories/team.rb
|
608
|
-
- spec/factories/event_supporter.rb
|
609
|
-
- spec/factories/challenger.rb
|
610
|
-
- spec/factories/disease.rb
|
611
|
-
- spec/factories/third_party_media.rb
|
612
|
-
- spec/factories/search_kid.rb
|
613
|
-
- spec/factories/lib/faker_patch.rb
|
614
|
-
- spec/factories/lib/helpers.rb
|
615
|
-
- spec/factories/treatment_status.rb
|
616
|
-
- spec/factories/recurring_gift.rb
|
617
|
-
- spec/factories/name_pieces.rb
|
618
|
-
- spec/factories/shave_schedule/time_selection_permissions.rb
|
576
|
+
- spec/factories/donation.rb
|
577
|
+
- spec/factories/event/venue/social.rb
|
578
|
+
- spec/factories/event/venue/location.rb
|
619
579
|
- spec/factories/event/coach_tracking/coaching_interactions.rb
|
620
|
-
- spec/factories/event/coach_tracking/proceeds.rb
|
621
580
|
- spec/factories/event/coach_tracking/plaque.rb
|
622
|
-
- spec/factories/event/
|
623
|
-
- spec/factories/event/
|
581
|
+
- spec/factories/event/coach_tracking/proceeds.rb
|
582
|
+
- spec/factories/event/venue.rb
|
624
583
|
- spec/factories/event/contacts/contact.rb
|
625
584
|
- spec/factories/event/contacts/name_pieces.rb
|
626
|
-
- spec/factories/event/
|
585
|
+
- spec/factories/event/photos.rb
|
627
586
|
- spec/factories/event/coach_tracking.rb
|
628
|
-
- spec/factories/event/
|
629
|
-
- spec/factories/event/venue/social.rb
|
587
|
+
- spec/factories/event/contacts.rb
|
630
588
|
- spec/factories/event/totals.rb
|
589
|
+
- spec/factories/permissions.rb
|
590
|
+
- spec/factories/location.rb
|
591
|
+
- spec/factories/participant/rankings/ranking.rb
|
592
|
+
- spec/factories/participant/rankings.rb
|
593
|
+
- spec/factories/participant/photos.rb
|
594
|
+
- spec/factories/participant/policies.rb
|
595
|
+
- spec/factories/participant/roles/role.rb
|
596
|
+
- spec/factories/participant/roles.rb
|
597
|
+
- spec/factories/participant/totals.rb
|
598
|
+
- spec/factories/event_application.rb
|
599
|
+
- spec/factories/message.rb
|
600
|
+
- spec/factories/user.rb
|
601
|
+
- spec/factories/shave_schedule.rb
|
631
602
|
- spec/factories/team/rankings/ranking.rb
|
603
|
+
- spec/factories/team/rankings.rb
|
632
604
|
- spec/factories/team/photos.rb
|
633
605
|
- spec/factories/team/totals.rb
|
634
|
-
- spec/factories/
|
635
|
-
- spec/factories/fundraiser/photos.rb
|
636
|
-
- spec/factories/fundraiser/totals.rb
|
637
|
-
- spec/factories/fundraiser/policies.rb
|
606
|
+
- spec/factories/search_participant.rb
|
638
607
|
- spec/factories/search_event.rb
|
639
|
-
- spec/factories/
|
608
|
+
- spec/factories/photo.rb
|
609
|
+
- spec/factories/kid/custom_institution.rb
|
640
610
|
- spec/factories/search_team.rb
|
641
|
-
- spec/factories/fundraiser.rb
|
642
611
|
- spec/factories/error.rb
|
643
|
-
- spec/factories/
|
644
|
-
- spec/factories/
|
612
|
+
- spec/factories/search_fundraiser.rb
|
613
|
+
- spec/factories/campaign/totals.rb
|
614
|
+
- spec/factories/name_pieces.rb
|
615
|
+
- spec/factories/challenger.rb
|
616
|
+
- spec/factories/memorial/tribute.rb
|
617
|
+
- spec/factories/memorial/photos.rb
|
618
|
+
- spec/factories/memorial/totals.rb
|
619
|
+
- spec/factories/venue.rb
|
620
|
+
- spec/factories/institution.rb
|
621
|
+
- spec/factories/treatment_status.rb
|
622
|
+
- spec/factories/photos.rb
|
645
623
|
- spec/factories/fund.rb
|
624
|
+
- spec/factories/search_kid.rb
|
625
|
+
- spec/factories/person.rb
|
626
|
+
- spec/factories/contact_group.rb
|
627
|
+
- spec/factories/disease.rb
|
628
|
+
- spec/factories/fundraising_page.rb
|
629
|
+
- spec/factories/event_supporter.rb
|
630
|
+
- spec/factories/event.rb
|
631
|
+
- spec/factories/organization/email_addresses.rb
|
632
|
+
- spec/factories/organization/phone_numbers.rb
|
633
|
+
- spec/factories/organization/addresses.rb
|
634
|
+
- spec/factories/address.rb
|
635
|
+
- spec/factories/third_party_media.rb
|
636
|
+
- spec/factories/kid.rb
|
637
|
+
- spec/factories/shave_schedule/time_selection_permissions.rb
|
638
|
+
- spec/factories/challenge.rb
|
639
|
+
- spec/factories/fundraiser/photos.rb
|
640
|
+
- spec/factories/fundraiser/policies.rb
|
641
|
+
- spec/factories/fundraiser/totals.rb
|
642
|
+
- spec/factories/organization.rb
|
643
|
+
- spec/factories/grant_institution.rb
|
644
|
+
- spec/factories/email_address.rb
|
645
|
+
- spec/factories/diagnosis.rb
|