stbaldricks 8.2.3 → 8.3.0.alpha.1

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: 73c814131f1b6506ad87e3f4d92320c2301acbc146bf9ebf2ff020af8e9e6731
4
- data.tar.gz: 301baf13549121d0ca620c4e8979f80f23d3ec1d76b400d573672c2035725bea
3
+ metadata.gz: 5532b930500a129f855036ad9d2418096c536b2a494d85306cbdd16b29a20452
4
+ data.tar.gz: 9f36ea1f4d89e4f5727c53f9471ac6d63bbe4a6c25aa112764ca08991b04e926
5
5
  SHA512:
6
- metadata.gz: cc63e1b57154f3d7b93156bfc51991f464e68cba3a9c562a447a55bb64924a80e329e21aa1c21f1c708444aee7735ce2642e2fb6b71db1e8968dc0be8454df5e
7
- data.tar.gz: 9e1171b0494f437c09794e09891c5797a0f076b1e3d889e5630bf82cb04f83a54e0b72d48240841ad956c209d1d5eedca71c606e16088dbb2d97bedeadc50968
6
+ metadata.gz: ad7ff99b248db3a0229567347d0796d3a5764e60cab6cd315d5199cfa03fb4aa790409d4b2efb21108c9adb072d811960fba9496a96121f14cc2b65c86eb209a
7
+ data.tar.gz: b12de85ed9a7c9729adabaa82a8208f75d2fc3c6f0a52983c5379eb75e31a9c19f56d5facd4b2f67d2962bdbfcc407fb2daf2cf84c0d94f0b5a089536bc5695b
@@ -255,7 +255,7 @@ module SBF
255
255
 
256
256
  end
257
257
 
258
- [country, state]
258
+ return [country, state]
259
259
 
260
260
  when SBF::Client::Participant
261
261
  get_event_country_and_state_for_special_donation_type(entity.event, entity.person)
@@ -29,33 +29,12 @@ module SBF
29
29
  GRANTS = 'grants'
30
30
  SUMMER = 'summer'
31
31
  ADVOCACY = 'advocacy'
32
- MISSION = 'mission'
33
- RECURRING_GIVING = 'recurring_giving'
34
- ACSEVENTS = 'acsevents'
35
- HS_TO_DONOR = 'hs_to_donor'
36
- WIRELESS_VISION = 'wireless_vision'
37
- BMC = 'bmc'
38
- DUTCH_BROS = 'dutch_bros'
39
- FADO = 'fado'
40
- SAP = 'sap'
41
- BLANK1 = 'blank1'
42
- BLANK2 = 'blank2'
43
- BLANK3 = 'blank3'
44
- BLANK4 = 'blank4'
45
- BLANK5 = 'blank5'
46
- BLANK6 = 'blank6'
47
- BLANK7 = 'blank7'
48
- BLANK8 = 'blank8'
49
- BLANK9 = 'blank9'
50
- BLANK10 = 'blank10'
51
32
 
52
33
  def self.to_a
53
34
  # Defining the array explicitly, in order rather than const_getting since some things in website-ruby depend on the order
54
35
  [HOLIDAY_GIVING, IN_PLAY, MOTHERS_DAY, PHINEAS, SEPTEMBER, IMPACT_DG,
55
36
  GIVING_TUESDAY, SURVIVOR, SPONSORSHIP, LAPSED_LOW, LAPSED_MID, RMMEVENTS, YEAR_END_DG, LAPSED_DG, FB_FUNDRAISER,
56
- MOBILE_CAUSE, INTERNATIONAL, ACS, HEAD_SHAVING, SPORT_CLIPS, TWENTIETH_ANNIVERSARY, DWYW, GRANTS, SUMMER,
57
- ADVOCACY, MISSION, RECURRING_GIVING, ACSEVENTS, HS_TO_DONOR, WIRELESS_VISION, BMC, DUTCH_BROS, FADO, SAP,
58
- BLANK1, BLANK2, BLANK3, BLANK4, BLANK5, BLANK6, BLANK7, BLANK8, BLANK9, BLANK10]
37
+ MOBILE_CAUSE, INTERNATIONAL, ACS, HEAD_SHAVING, SPORT_CLIPS, TWENTIETH_ANNIVERSARY, DWYW, GRANTS, SUMMER, ADVOCACY]
59
38
  end
60
39
  end
61
40
  end
@@ -56,10 +56,10 @@ module SBF
56
56
  INDIRECT_MULTIPLE = 'indirect_multiple'
57
57
  DIRECT = 'direct'
58
58
  DIRECT_BUT_LOCKED = 'direct_but_locked'
59
- INHERITED_FROM_TEAM = 'inherited_from_team'
60
- INHERITED_FROM_EVENT = 'inherited_from_event'
61
- INHERITED_FROM_TEAMS_EVENT = 'inherited_from_teams_event'
62
- INHERITED_FROM_BOTH_TEAM_AND_EVENT = 'inherited_from_both_team_and_event'
59
+ INHERITED_TEAM = 'inherited_team'
60
+ INHERITED_EVENT = 'inherited_event'
61
+ INHERITED_TEAMS_EVENT = 'inherited_teams_event'
62
+ INHERITED_BOTH_TEAM_AND_EVENT = 'inherited_both_team_and_event'
63
63
  end
64
64
 
65
65
  class Photos < SBF::Client::BaseEntity
@@ -65,10 +65,10 @@ module SBF
65
65
  NO_ASSOCIATION = 'no_association'
66
66
  DIRECT = 'direct'
67
67
  DIRECT_BUT_LOCKED = 'direct_but_locked'
68
- INHERITED_FROM_TEAM = 'inherited_from_team'
69
- INHERITED_FROM_EVENT = 'inherited_from_event'
70
- INHERITED_FROM_TEAMS_EVENT = 'inherited_from_teams_event'
71
- INHERITED_FROM_BOTH_TEAM_AND_EVENT = 'inherited_from_both_team_and_event'
68
+ INHERITED_TEAM = 'inherited_team'
69
+ INHERITED_EVENT = 'inherited_event'
70
+ INHERITED_TEAMS_EVENT = 'inherited_teams_event'
71
+ INHERITED_BOTH_TEAM_AND_EVENT = 'inherited_both_team_and_event'
72
72
  end
73
73
 
74
74
  class Photos < SBF::Client::BaseEntity
@@ -151,7 +151,6 @@ module SBF
151
151
 
152
152
  class FullRecurringGift < SBF::Client::RecurringGift
153
153
  attr_accessor :status
154
- attr_accessor :event_year
155
154
  attr_accessor :amount
156
155
  attr_accessor :fee_amount
157
156
  attr_accessor :billing_day_of_month
@@ -165,7 +164,7 @@ module SBF
165
164
  attr_accessor :customer_id
166
165
  attr_accessor :subscription_id
167
166
  entity_collection_attr_accessor :donations, 'SBF::Client::FullDonation', 'SBF::Client::PartialDonation'
168
- attr_accessor :created_at, :modified_at, :modified_by, :how_created, :how_created_id, :past_due_at
167
+ attr_accessor :created_at, :modified_at, :modified_by, :how_created, :past_due_at
169
168
 
170
169
  multitype_attr_accessor(
171
170
  :payment_details,
@@ -42,7 +42,7 @@ module SBF
42
42
  INDIRECT_MULTIPLE = 'indirect_multiple'
43
43
  DIRECT = 'direct'
44
44
  DIRECT_BUT_LOCKED = 'direct_but_locked'
45
- INHERITED_FROM_EVENT = 'inherited_from_event'
45
+ INHERITED_EVENT = 'inherited_event'
46
46
  end
47
47
 
48
48
  class Photos < SBF::Client::BaseEntity
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '8.2.3'
3
+ VERSION = '8.3.0.alpha.1'
4
4
  end
5
5
  end
@@ -2,22 +2,16 @@ require_relative 'lib/helpers'
2
2
 
3
3
  FactoryBot.define do
4
4
  factory :_base_challenger, class: SBF::Client::Challenger do
5
- to_create { |it|
6
- raise "Failed to create #{it.class}: #{it.errors.details}" unless it.save
7
- }
5
+ to_create { |it| raise "Failed to create #{it.class}: #{it.errors.details}" unless it.save }
8
6
 
9
7
  initialize_with do
10
8
  new(attributes)
11
9
  end
12
10
 
13
11
  after :build do |challenger, evaluator|
14
- # TODO: Unable to move to to_create block, to_create block.
15
- # Entity returns a DataNotProvidedError when referenced in
16
- # the to_create block. Needs to be fixed when the data model
17
- # is fixed.
18
12
  if unpopulated?(evaluator, :entity)
19
- event = build(:event)
20
- participant = create(:shavee, event: event)
13
+ event = create(:event)
14
+ participant = create(:shavee, event: event.to_partial)
21
15
  challenger.entity = participant.to_partial
22
16
  end
23
17
  end
@@ -12,7 +12,7 @@ FactoryBot.define do
12
12
  contact_groups { [] }
13
13
 
14
14
  after :build do |contact_group, evaluator|
15
- contact_group.owner = build(:person) if unpopulated?(evaluator, :owner)
15
+ contact_group.owner = create(:person) if unpopulated?(evaluator, :owner)
16
16
  end
17
17
  end
18
18
  end
@@ -12,7 +12,7 @@ FactoryBot.define do
12
12
  contacts { [] }
13
13
 
14
14
  after :build do |contact_group, evaluator|
15
- contact_group.owner = build(:person) if unpopulated?(evaluator, :owner)
15
+ contact_group.owner = create(:person) if unpopulated?(evaluator, :owner)
16
16
  end
17
17
  end
18
18
  end
@@ -24,7 +24,7 @@ FactoryBot.define do
24
24
  after :build do |event, evaluator|
25
25
  event.venue = build(:event_venue) if unpopulated?(evaluator, :venue)
26
26
  event.contacts = build(:event_contacts) if unpopulated?(evaluator, :contacts)
27
- event.organizers = [build(:lead_organizer, person: build(:person))] if unpopulated?(evaluator, :organizers)
27
+ event.organizers = [build(:lead_organizer, person: create(:person))] if unpopulated?(evaluator, :organizers)
28
28
  end
29
29
  end
30
30
 
@@ -13,7 +13,7 @@ FactoryBot.define do
13
13
  sort_order { 1 }
14
14
 
15
15
  after :build do |event_supporter, evaluator|
16
- event_supporter.event = build(:event) if unpopulated?(evaluator, :event)
16
+ event_supporter.event = create(:event) if unpopulated?(evaluator, :event)
17
17
  end
18
18
  end
19
19
  end
@@ -18,7 +18,7 @@ FactoryBot.define do
18
18
  fundraiser.owner = build(:person) if unpopulated?(evaluator, :owner)
19
19
  fundraiser.policies = build(:fundraiser_policies) if unpopulated?(evaluator, :policies)
20
20
  fundraiser.venue = build(:venue) if unpopulated?(evaluator, :venue)
21
- fundraiser.owner = build(:full_person) if unpopulated?(evaluator, :owner)
21
+ fundraiser.owner = create(:full_person) if unpopulated?(evaluator, :owner)
22
22
  end
23
23
  end
24
24
  end
@@ -2,16 +2,14 @@ require_relative 'lib/helpers'
2
2
 
3
3
  FactoryBot.define do
4
4
  factory :kid, class: SBF::Client::FullKid do
5
- to_create { |it|
6
- it.relationships.first.person = FactoryBot.create(:person) if it.relationships.first.person.nil?
7
- raise "Failed to create #{it.class}: #{it.errors.details}" unless it.save
8
- }
5
+ to_create { |it| raise "Failed to create #{it.class}: #{it.errors.details}" unless it.save }
9
6
 
10
7
  initialize_with do
11
8
  new(attributes)
12
9
  end
13
10
 
14
11
  birthday { Faker::Date.birthday(5, 25).to_s }
12
+
15
13
  web_message { 'Thank you for supporting me and' }
16
14
  status { 'active' }
17
15
  gender { 'female' }
@@ -38,6 +36,10 @@ FactoryBot.define do
38
36
 
39
37
  type { SBF::Client::Kid::Relationship::Type::MOTHER }
40
38
  guardian_type { SBF::Client::Kid::Relationship::GuardianType::OTHER }
39
+
40
+ after :build do |relationship, evaluator|
41
+ relationship.person = create(:person) if unpopulated?(evaluator, :person)
42
+ end
41
43
  end
42
44
 
43
45
  factory :kid_submitter, parent: :kid_relationship do
@@ -9,8 +9,8 @@ FactoryBot.define do
9
9
  end
10
10
 
11
11
  after :build do |kid_honor, evaluator|
12
- kid_honor.kid = build(:kid) if unpopulated?(evaluator, :kid)
13
- kid_honor.honorer = build(:fundraiser) if unpopulated?(evaluator, :honorer)
12
+ kid_honor.kid = create(:kid) if unpopulated?(evaluator, :kid)
13
+ kid_honor.honorer = create(:fundraiser) if unpopulated?(evaluator, :honorer)
14
14
  end
15
15
  end
16
16
  end
@@ -3,16 +3,14 @@ require_relative 'lib/helpers'
3
3
  FactoryBot.define do
4
4
  # This is the relationship object between the kid and system institutions
5
5
  factory :kid_institution, class: SBF::Client::KidInstitution do
6
- to_create { |it|
7
- it.kid = FactoryBot.create(:kid) if it.kid.nil?
8
- raise "Failed to create #{it.class}: #{it.errors.details}" unless it.save(kid: {}, institution: {})
9
- }
6
+ to_create { |it| raise "Failed to create #{it.class}: #{it.errors.details}" unless it.save(kid: {}, institution: {}) }
10
7
 
11
8
  initialize_with do
12
9
  new(attributes)
13
10
  end
14
11
 
15
12
  after :build do |kid_institution, evaluator|
13
+ kid_institution.kid = build(:kid) if unpopulated?(evaluator, :kid)
16
14
  kid_institution.institution = build(:institution) if unpopulated?(evaluator, :institution)
17
15
  end
18
16
  end
@@ -10,7 +10,7 @@ FactoryBot.define do
10
10
 
11
11
  # birthday { Faker::Date.between(DateTime.now - 16, DateTime.now - 4).to_s }
12
12
  # date_of_passing { Faker::Date.between(birthday, DateTime.now).to_s }
13
- # name { "#{Faker::Name.first_name} #{Faker::Name.ascii_last_name}" }
13
+ # name { "#{Faker::Name.first_name} #{Faker::Name.last_name}" }
14
14
 
15
15
  birthday { Time.now.to_s }
16
16
  date_of_passing { Time.now.to_s }
@@ -7,7 +7,7 @@ FactoryBot.define do
7
7
  end
8
8
 
9
9
  first_name { Faker::Name.first_name }
10
- last_name { Faker::Name.ascii_last_name }
10
+ last_name { Faker::Name.last_name }
11
11
  middle_initial { Faker::Name.middle_name.slice(0, 1) }
12
12
  end
13
13
 
@@ -19,6 +19,6 @@ FactoryBot.define do
19
19
  end
20
20
 
21
21
  first_name { Faker::Name.first_name }
22
- last_name { Faker::Name.ascii_last_name }
22
+ last_name { Faker::Name.last_name }
23
23
  end
24
24
  end
@@ -8,6 +8,6 @@ FactoryBot.define do
8
8
 
9
9
  email_address { Faker::Internet.email }
10
10
  first_name { Faker::Name.first_name }
11
- last_name { Faker::Name.ascii_last_name }
11
+ last_name { Faker::Name.last_name }
12
12
  end
13
13
  end
@@ -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.number(3)}-#{Faker::Number.number(3)}-#{Faker::Number.number(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: 8.2.3
4
+ version: 8.3.0.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: 2019-09-12 00:00:00.000000000 Z
11
+ date: 2019-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -28,44 +28,44 @@ dependencies:
28
28
  name: htmlentities
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 4.3.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 4.3.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: httmultiparty
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 0.3.16
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 0.3.16
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: httparty
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 0.14.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: 0.14.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler-audit
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -140,16 +140,16 @@ dependencies:
140
140
  name: faker
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: 1.9.3
145
+ version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: 1.9.3
152
+ version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: pry
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -182,16 +182,16 @@ dependencies:
182
182
  name: rake
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - ">="
185
+ - - '='
186
186
  - !ruby/object:Gem::Version
187
- version: '0'
187
+ version: 12.3.1
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - ">="
192
+ - - '='
193
193
  - !ruby/object:Gem::Version
194
- version: '0'
194
+ version: 12.3.1
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: rr
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -238,16 +238,16 @@ dependencies:
238
238
  name: rubocop
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - ">="
241
+ - - '='
242
242
  - !ruby/object:Gem::Version
243
- version: '0'
243
+ version: 0.61.1
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
- - - ">="
248
+ - - '='
249
249
  - !ruby/object:Gem::Version
250
- version: '0'
250
+ version: 0.61.1
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: simplecov
253
253
  requirement: !ruby/object:Gem::Requirement
@@ -484,7 +484,6 @@ files:
484
484
  - spec/factories/kid/custom_institution.rb
485
485
  - spec/factories/kid_honor.rb
486
486
  - spec/factories/kid_institution.rb
487
- - spec/factories/lib/faker_patch.rb
488
487
  - spec/factories/lib/helpers.rb
489
488
  - spec/factories/location.rb
490
489
  - spec/factories/memorial.rb
@@ -551,9 +550,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
551
550
  version: '0'
552
551
  required_rubygems_version: !ruby/object:Gem::Requirement
553
552
  requirements:
554
- - - ">="
553
+ - - ">"
555
554
  - !ruby/object:Gem::Version
556
- version: '0'
555
+ version: 1.3.1
557
556
  requirements: []
558
557
  rubygems_version: 3.0.3
559
558
  signing_key:
@@ -561,98 +560,97 @@ specification_version: 4
561
560
  summary: St. Baldrick's Foundation Ruby Client Library
562
561
  test_files:
563
562
  - lib/stbaldricks_factories.rb
564
- - spec/factories/lib/faker_patch.rb
565
- - spec/factories/lib/helpers.rb
566
- - spec/factories/participant/rankings/ranking.rb
567
- - spec/factories/participant/totals.rb
568
- - spec/factories/participant/photos.rb
569
- - spec/factories/participant/roles.rb
570
- - spec/factories/participant/policies.rb
571
- - spec/factories/participant/roles/role.rb
572
- - spec/factories/participant/rankings.rb
573
- - spec/factories/event/totals.rb
574
- - spec/factories/event/photos.rb
575
- - spec/factories/event/contacts/name_pieces.rb
576
- - spec/factories/event/contacts/contact.rb
577
- - spec/factories/event/contacts.rb
578
- - spec/factories/event/venue/location.rb
579
- - spec/factories/event/venue/social.rb
580
- - spec/factories/event/coach_tracking.rb
581
- - spec/factories/event/coach_tracking/plaque.rb
582
- - spec/factories/event/coach_tracking/proceeds.rb
583
- - spec/factories/event/coach_tracking/coaching_interactions.rb
584
- - spec/factories/event/venue.rb
585
563
  - spec/factories/organization/addresses.rb
586
564
  - spec/factories/organization/email_addresses.rb
587
565
  - spec/factories/organization/phone_numbers.rb
588
- - spec/factories/shave_schedule.rb
589
- - spec/factories/treatment_status.rb
590
- - spec/factories/search_team.rb
591
- - spec/factories/search_event.rb
592
- - spec/factories/grant.rb
593
- - spec/factories/donor.rb
594
- - spec/factories/photo.rb
595
- - spec/factories/event_supporter.rb
596
- - spec/factories/event.rb
597
- - spec/factories/fund.rb
598
- - spec/factories/phone.rb
599
- - spec/factories/institution.rb
566
+ - spec/factories/payment.rb
567
+ - spec/factories/fundraising_page.rb
600
568
  - spec/factories/donation/participant.rb
601
- - spec/factories/kid.rb
602
- - spec/factories/organization.rb
603
- - spec/factories/participant.rb
604
- - spec/factories/shave_schedule/time_selection_permissions.rb
605
- - spec/factories/recurring_gift.rb
606
- - spec/factories/team/rankings/ranking.rb
607
- - spec/factories/team/totals.rb
608
- - spec/factories/team/photos.rb
609
- - spec/factories/team/rankings.rb
610
- - spec/factories/collection.rb
611
- - spec/factories/diagnosis.rb
612
- - spec/factories/researcher.rb
613
- - spec/factories/memorial.rb
569
+ - spec/factories/challenge.rb
570
+ - spec/factories/kid_institution.rb
614
571
  - spec/factories/memorial/totals.rb
615
572
  - spec/factories/memorial/photos.rb
616
573
  - spec/factories/memorial/tribute.rb
574
+ - spec/factories/search_kid.rb
575
+ - spec/factories/contact.rb
576
+ - spec/factories/researcher.rb
577
+ - spec/factories/photos.rb
578
+ - spec/factories/challenger.rb
617
579
  - spec/factories/name_pieces.rb
580
+ - spec/factories/person/policies.rb
581
+ - spec/factories/person/addresses.rb
582
+ - spec/factories/person/email_addresses.rb
583
+ - spec/factories/person/phone_numbers.rb
584
+ - spec/factories/participant/policies.rb
585
+ - spec/factories/participant/totals.rb
586
+ - spec/factories/participant/photos.rb
587
+ - spec/factories/participant/roles/role.rb
588
+ - spec/factories/participant/rankings/ranking.rb
589
+ - spec/factories/participant/rankings.rb
590
+ - spec/factories/participant/roles.rb
591
+ - spec/factories/donation.rb
592
+ - spec/factories/third_party_media.rb
593
+ - spec/factories/search_team.rb
594
+ - spec/factories/permissions.rb
595
+ - spec/factories/photo.rb
596
+ - spec/factories/collection.rb
597
+ - spec/factories/campaign.rb
598
+ - spec/factories/grant.rb
618
599
  - spec/factories/location.rb
619
- - spec/factories/photos.rb
620
- - spec/factories/address.rb
621
- - spec/factories/event_application.rb
600
+ - spec/factories/email_address.rb
601
+ - spec/factories/disease.rb
602
+ - spec/factories/participant.rb
603
+ - spec/factories/kid.rb
622
604
  - spec/factories/search_participant.rb
605
+ - spec/factories/event_supporter.rb
606
+ - spec/factories/page.rb
623
607
  - spec/factories/message.rb
624
- - spec/factories/kid_institution.rb
608
+ - spec/factories/response.rb
609
+ - spec/factories/search_event.rb
610
+ - spec/factories/event_application.rb
625
611
  - spec/factories/fundraiser.rb
626
- - spec/factories/user.rb
627
- - spec/factories/fundraising_page.rb
628
- - spec/factories/campaign.rb
629
612
  - spec/factories/team.rb
630
- - spec/factories/payment.rb
613
+ - spec/factories/memorial.rb
614
+ - spec/factories/diagnosis.rb
615
+ - spec/factories/team/totals.rb
616
+ - spec/factories/team/photos.rb
617
+ - spec/factories/team/rankings/ranking.rb
618
+ - spec/factories/team/rankings.rb
619
+ - spec/factories/newsletter_recipient.rb
620
+ - spec/factories/shave_schedule.rb
621
+ - spec/factories/organization.rb
631
622
  - spec/factories/campaign/totals.rb
632
- - spec/factories/permissions.rb
633
- - spec/factories/donation.rb
634
- - spec/factories/search_kid.rb
635
- - spec/factories/person/addresses.rb
636
- - spec/factories/person/policies.rb
637
- - spec/factories/person/email_addresses.rb
638
- - spec/factories/person/phone_numbers.rb
623
+ - spec/factories/lib/helpers.rb
624
+ - spec/factories/error.rb
625
+ - spec/factories/donor.rb
626
+ - spec/factories/contact_group.rb
627
+ - spec/factories/recurring_gift.rb
628
+ - spec/factories/person.rb
629
+ - spec/factories/treatment_status.rb
630
+ - spec/factories/fundraiser/policies.rb
639
631
  - spec/factories/fundraiser/totals.rb
640
632
  - spec/factories/fundraiser/photos.rb
641
- - spec/factories/fundraiser/policies.rb
642
- - spec/factories/grant_institution.rb
643
- - spec/factories/challenger.rb
644
- - spec/factories/response.rb
645
- - spec/factories/third_party_media.rb
646
- - spec/factories/email_address.rb
647
- - spec/factories/person.rb
648
- - spec/factories/error.rb
649
633
  - spec/factories/venue.rb
650
- - spec/factories/page.rb
651
- - spec/factories/contact_group.rb
652
- - spec/factories/newsletter_recipient.rb
653
- - spec/factories/disease.rb
654
- - spec/factories/contact.rb
655
- - spec/factories/challenge.rb
656
- - spec/factories/kid/custom_institution.rb
657
634
  - spec/factories/search_fundraiser.rb
635
+ - spec/factories/institution.rb
636
+ - spec/factories/grant_institution.rb
637
+ - spec/factories/address.rb
638
+ - spec/factories/phone.rb
639
+ - spec/factories/event/totals.rb
640
+ - spec/factories/event/photos.rb
641
+ - spec/factories/event/contacts/contact.rb
642
+ - spec/factories/event/contacts/name_pieces.rb
643
+ - spec/factories/event/coach_tracking/coaching_interactions.rb
644
+ - spec/factories/event/coach_tracking/proceeds.rb
645
+ - spec/factories/event/coach_tracking/plaque.rb
646
+ - spec/factories/event/coach_tracking.rb
647
+ - spec/factories/event/venue/location.rb
648
+ - spec/factories/event/venue/social.rb
649
+ - spec/factories/event/contacts.rb
650
+ - spec/factories/event/venue.rb
651
+ - spec/factories/fund.rb
652
+ - spec/factories/event.rb
653
+ - spec/factories/kid/custom_institution.rb
654
+ - spec/factories/shave_schedule/time_selection_permissions.rb
655
+ - spec/factories/user.rb
658
656
  - spec/factories/kid_honor.rb
@@ -1,14 +0,0 @@
1
- require 'faker'
2
-
3
- module Faker
4
- class Name < Base
5
- class << self
6
- def ascii_last_name
7
- loop do
8
- name = last_name
9
- return name if /^[a-zA-Z]*$/.match(name)
10
- end
11
- end
12
- end
13
- end
14
- end