stbaldricks 8.1.0 → 8.2.1.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stbaldricks/endpoints/lib/entity.rb +1 -1
- data/lib/stbaldricks/entities/contact_group.rb +0 -1
- data/lib/stbaldricks/entities/lib/base.rb +6 -0
- data/lib/stbaldricks/entities/response.rb +2 -2
- data/lib/stbaldricks/patches/boolean.rb +2 -0
- data/lib/stbaldricks/patches/float.rb +2 -0
- data/lib/stbaldricks/patches/integer.rb +2 -0
- data/lib/stbaldricks/patches/nil.rb +2 -0
- data/lib/stbaldricks/patches/string.rb +2 -0
- 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 +27 -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 +43 -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 +70 -0
- data/spec/factories/kid_honor.rb +16 -0
- data/spec/factories/kid_institution.rb +17 -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/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 +150 -0
- data/spec/factories/participant/roles.rb +35 -0
- data/spec/factories/participant/totals.rb +11 -0
- data/spec/factories/participant.rb +89 -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 +405 -5
@@ -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 { |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
|
+
}
|
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 { 'super' }
|
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: 8.1.
|
4
|
+
version: 8.2.1.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-05-
|
11
|
+
date: 2019-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -66,6 +66,216 @@ dependencies:
|
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.14.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler-audit
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: byebug
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: capybara
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: factory_bot
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: faker
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pry
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry-remote
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rake
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 12.3.1
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - '='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 12.3.1
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rr
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 1.1.2
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 1.1.2
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rspec
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rspec-multi-mock
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: rubocop
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - '='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.61.1
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - '='
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 0.61.1
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: simplecov
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: timecop
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: webmock
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
69
279
|
description: Ruby library for accessing and integrating with the St. Baldrick's Foundation
|
70
280
|
API
|
71
281
|
email: opensource@stbaldricks.org
|
@@ -216,6 +426,101 @@ files:
|
|
216
426
|
- lib/stbaldricks/patches/string.rb
|
217
427
|
- lib/stbaldricks/request.rb
|
218
428
|
- lib/stbaldricks/version.rb
|
429
|
+
- lib/stbaldricks_factories.rb
|
430
|
+
- spec/factories/address.rb
|
431
|
+
- spec/factories/campaign.rb
|
432
|
+
- spec/factories/campaign/totals.rb
|
433
|
+
- spec/factories/challenge.rb
|
434
|
+
- spec/factories/challenger.rb
|
435
|
+
- spec/factories/collection.rb
|
436
|
+
- spec/factories/contact.rb
|
437
|
+
- spec/factories/contact_group.rb
|
438
|
+
- spec/factories/diagnosis.rb
|
439
|
+
- spec/factories/disease.rb
|
440
|
+
- spec/factories/donation.rb
|
441
|
+
- spec/factories/donation/participant.rb
|
442
|
+
- spec/factories/donor.rb
|
443
|
+
- spec/factories/email_address.rb
|
444
|
+
- spec/factories/error.rb
|
445
|
+
- spec/factories/event.rb
|
446
|
+
- spec/factories/event/coach_tracking.rb
|
447
|
+
- spec/factories/event/coach_tracking/coaching_interactions.rb
|
448
|
+
- spec/factories/event/coach_tracking/plaque.rb
|
449
|
+
- spec/factories/event/coach_tracking/proceeds.rb
|
450
|
+
- spec/factories/event/contacts.rb
|
451
|
+
- spec/factories/event/contacts/contact.rb
|
452
|
+
- spec/factories/event/contacts/name_pieces.rb
|
453
|
+
- spec/factories/event/photos.rb
|
454
|
+
- spec/factories/event/totals.rb
|
455
|
+
- spec/factories/event/venue.rb
|
456
|
+
- spec/factories/event/venue/location.rb
|
457
|
+
- spec/factories/event/venue/social.rb
|
458
|
+
- spec/factories/event_application.rb
|
459
|
+
- spec/factories/event_supporter.rb
|
460
|
+
- spec/factories/fund.rb
|
461
|
+
- spec/factories/fundraiser.rb
|
462
|
+
- spec/factories/fundraiser/photos.rb
|
463
|
+
- spec/factories/fundraiser/policies.rb
|
464
|
+
- spec/factories/fundraiser/totals.rb
|
465
|
+
- spec/factories/fundraising_page.rb
|
466
|
+
- spec/factories/grant.rb
|
467
|
+
- spec/factories/grant_institution.rb
|
468
|
+
- spec/factories/institution.rb
|
469
|
+
- spec/factories/kid.rb
|
470
|
+
- spec/factories/kid/custom_institution.rb
|
471
|
+
- spec/factories/kid_honor.rb
|
472
|
+
- spec/factories/kid_institution.rb
|
473
|
+
- spec/factories/lib/helpers.rb
|
474
|
+
- spec/factories/location.rb
|
475
|
+
- spec/factories/memorial.rb
|
476
|
+
- spec/factories/memorial/photos.rb
|
477
|
+
- spec/factories/memorial/totals.rb
|
478
|
+
- spec/factories/memorial/tribute.rb
|
479
|
+
- spec/factories/message.rb
|
480
|
+
- spec/factories/name_pieces.rb
|
481
|
+
- spec/factories/newsletter_recipient.rb
|
482
|
+
- spec/factories/organization.rb
|
483
|
+
- spec/factories/organization/addresses.rb
|
484
|
+
- spec/factories/organization/email_addresses.rb
|
485
|
+
- spec/factories/organization/phone_numbers.rb
|
486
|
+
- spec/factories/page.rb
|
487
|
+
- spec/factories/participant.rb
|
488
|
+
- spec/factories/participant/photos.rb
|
489
|
+
- spec/factories/participant/policies.rb
|
490
|
+
- spec/factories/participant/rankings.rb
|
491
|
+
- spec/factories/participant/rankings/ranking.rb
|
492
|
+
- spec/factories/participant/roles.rb
|
493
|
+
- spec/factories/participant/roles/role.rb
|
494
|
+
- spec/factories/participant/totals.rb
|
495
|
+
- spec/factories/payment.rb
|
496
|
+
- spec/factories/permissions.rb
|
497
|
+
- spec/factories/person.rb
|
498
|
+
- spec/factories/person/addresses.rb
|
499
|
+
- spec/factories/person/email_addresses.rb
|
500
|
+
- spec/factories/person/phone_numbers.rb
|
501
|
+
- spec/factories/person/policies.rb
|
502
|
+
- spec/factories/phone.rb
|
503
|
+
- spec/factories/photo.rb
|
504
|
+
- spec/factories/photos.rb
|
505
|
+
- spec/factories/recurring_gift.rb
|
506
|
+
- spec/factories/researcher.rb
|
507
|
+
- spec/factories/response.rb
|
508
|
+
- spec/factories/search_event.rb
|
509
|
+
- spec/factories/search_fundraiser.rb
|
510
|
+
- spec/factories/search_kid.rb
|
511
|
+
- spec/factories/search_participant.rb
|
512
|
+
- spec/factories/search_team.rb
|
513
|
+
- spec/factories/shave_schedule.rb
|
514
|
+
- spec/factories/shave_schedule/time_selection_permissions.rb
|
515
|
+
- spec/factories/team.rb
|
516
|
+
- spec/factories/team/photos.rb
|
517
|
+
- spec/factories/team/rankings.rb
|
518
|
+
- spec/factories/team/rankings/ranking.rb
|
519
|
+
- spec/factories/team/totals.rb
|
520
|
+
- spec/factories/third_party_media.rb
|
521
|
+
- spec/factories/treatment_status.rb
|
522
|
+
- spec/factories/user.rb
|
523
|
+
- spec/factories/venue.rb
|
219
524
|
homepage:
|
220
525
|
licenses:
|
221
526
|
- MIT
|
@@ -231,12 +536,107 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
231
536
|
version: '0'
|
232
537
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
538
|
requirements:
|
234
|
-
- - "
|
539
|
+
- - ">"
|
235
540
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
541
|
+
version: 1.3.1
|
237
542
|
requirements: []
|
238
543
|
rubygems_version: 3.0.3
|
239
544
|
signing_key:
|
240
545
|
specification_version: 4
|
241
546
|
summary: St. Baldrick's Foundation Ruby Client Library
|
242
|
-
test_files:
|
547
|
+
test_files:
|
548
|
+
- lib/stbaldricks_factories.rb
|
549
|
+
- spec/factories/memorial.rb
|
550
|
+
- spec/factories/kid_honor.rb
|
551
|
+
- spec/factories/donor.rb
|
552
|
+
- spec/factories/newsletter_recipient.rb
|
553
|
+
- spec/factories/recurring_gift.rb
|
554
|
+
- spec/factories/contact.rb
|
555
|
+
- spec/factories/team.rb
|
556
|
+
- spec/factories/donation/participant.rb
|
557
|
+
- spec/factories/phone.rb
|
558
|
+
- spec/factories/response.rb
|
559
|
+
- spec/factories/grant.rb
|
560
|
+
- spec/factories/researcher.rb
|
561
|
+
- spec/factories/payment.rb
|
562
|
+
- spec/factories/collection.rb
|
563
|
+
- spec/factories/fundraiser.rb
|
564
|
+
- spec/factories/lib/helpers.rb
|
565
|
+
- spec/factories/person/email_addresses.rb
|
566
|
+
- spec/factories/person/phone_numbers.rb
|
567
|
+
- spec/factories/person/addresses.rb
|
568
|
+
- spec/factories/person/policies.rb
|
569
|
+
- spec/factories/campaign.rb
|
570
|
+
- spec/factories/page.rb
|
571
|
+
- spec/factories/kid_institution.rb
|
572
|
+
- spec/factories/participant.rb
|
573
|
+
- spec/factories/donation.rb
|
574
|
+
- spec/factories/event/venue/social.rb
|
575
|
+
- spec/factories/event/venue/location.rb
|
576
|
+
- spec/factories/event/coach_tracking/coaching_interactions.rb
|
577
|
+
- spec/factories/event/coach_tracking/plaque.rb
|
578
|
+
- spec/factories/event/coach_tracking/proceeds.rb
|
579
|
+
- spec/factories/event/venue.rb
|
580
|
+
- spec/factories/event/contacts/contact.rb
|
581
|
+
- spec/factories/event/contacts/name_pieces.rb
|
582
|
+
- spec/factories/event/photos.rb
|
583
|
+
- spec/factories/event/coach_tracking.rb
|
584
|
+
- spec/factories/event/contacts.rb
|
585
|
+
- spec/factories/event/totals.rb
|
586
|
+
- spec/factories/permissions.rb
|
587
|
+
- spec/factories/location.rb
|
588
|
+
- spec/factories/participant/rankings/ranking.rb
|
589
|
+
- spec/factories/participant/rankings.rb
|
590
|
+
- spec/factories/participant/photos.rb
|
591
|
+
- spec/factories/participant/policies.rb
|
592
|
+
- spec/factories/participant/roles/role.rb
|
593
|
+
- spec/factories/participant/roles.rb
|
594
|
+
- spec/factories/participant/totals.rb
|
595
|
+
- spec/factories/event_application.rb
|
596
|
+
- spec/factories/message.rb
|
597
|
+
- spec/factories/user.rb
|
598
|
+
- spec/factories/shave_schedule.rb
|
599
|
+
- spec/factories/team/rankings/ranking.rb
|
600
|
+
- spec/factories/team/rankings.rb
|
601
|
+
- spec/factories/team/photos.rb
|
602
|
+
- spec/factories/team/totals.rb
|
603
|
+
- spec/factories/search_participant.rb
|
604
|
+
- spec/factories/search_event.rb
|
605
|
+
- spec/factories/photo.rb
|
606
|
+
- spec/factories/kid/custom_institution.rb
|
607
|
+
- spec/factories/search_team.rb
|
608
|
+
- spec/factories/error.rb
|
609
|
+
- spec/factories/search_fundraiser.rb
|
610
|
+
- spec/factories/campaign/totals.rb
|
611
|
+
- spec/factories/name_pieces.rb
|
612
|
+
- spec/factories/challenger.rb
|
613
|
+
- spec/factories/memorial/tribute.rb
|
614
|
+
- spec/factories/memorial/photos.rb
|
615
|
+
- spec/factories/memorial/totals.rb
|
616
|
+
- spec/factories/venue.rb
|
617
|
+
- spec/factories/institution.rb
|
618
|
+
- spec/factories/treatment_status.rb
|
619
|
+
- spec/factories/photos.rb
|
620
|
+
- spec/factories/fund.rb
|
621
|
+
- spec/factories/search_kid.rb
|
622
|
+
- spec/factories/person.rb
|
623
|
+
- spec/factories/contact_group.rb
|
624
|
+
- spec/factories/disease.rb
|
625
|
+
- spec/factories/fundraising_page.rb
|
626
|
+
- spec/factories/event_supporter.rb
|
627
|
+
- spec/factories/event.rb
|
628
|
+
- spec/factories/organization/email_addresses.rb
|
629
|
+
- spec/factories/organization/phone_numbers.rb
|
630
|
+
- spec/factories/organization/addresses.rb
|
631
|
+
- spec/factories/address.rb
|
632
|
+
- spec/factories/third_party_media.rb
|
633
|
+
- spec/factories/kid.rb
|
634
|
+
- spec/factories/shave_schedule/time_selection_permissions.rb
|
635
|
+
- spec/factories/challenge.rb
|
636
|
+
- spec/factories/fundraiser/photos.rb
|
637
|
+
- spec/factories/fundraiser/policies.rb
|
638
|
+
- spec/factories/fundraiser/totals.rb
|
639
|
+
- spec/factories/organization.rb
|
640
|
+
- spec/factories/grant_institution.rb
|
641
|
+
- spec/factories/email_address.rb
|
642
|
+
- spec/factories/diagnosis.rb
|