stbaldricks 12.5.1.alpha.1 → 12.6.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_donation_summary.rb +2 -0
- data/lib/stbaldricks/entities/event_participant_summary.rb +0 -0
- data/lib/stbaldricks/entities/kid.rb +4 -1
- data/lib/stbaldricks/entities/participant_donation_summary.rb +19 -0
- data/lib/stbaldricks/entities/team_donation_summary.rb +19 -0
- data/lib/stbaldricks/enums/ethnicity_type.rb +25 -0
- data/lib/stbaldricks/version.rb +1 -1
- metadata +78 -75
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5183e48ff0c1b00b3e986ae51fbb109fe71070c5a83a2810dad8f5c849b38a0a
|
4
|
+
data.tar.gz: 4e0a1d479c080aad1404866a7258be0f7427aec735f9e57e38246771f8b74d9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42ada9bcd69eb1bc01214199d5a1e202cd5d0f645bb345684e736d00c45eb83b1289abde5faff1c35b2391808e769a43259897787a4aaf56ab7e5041c52359b8
|
7
|
+
data.tar.gz: d2f217639d6db414d5a5a1fd84b2cbcbbd4c2ee1ed29564d1a01e0a223d7ac3bcae9e289aa9825a4671a2b6a215c2ad19b61d07ad5468d23c6a43dcbf8e2c103
|
File without changes
|
@@ -163,6 +163,9 @@ module SBF
|
|
163
163
|
attr_accessor :display_name
|
164
164
|
attr_accessor :display_name_override
|
165
165
|
attr_accessor :name
|
166
|
+
attr_accessor :ambassador_year
|
167
|
+
attr_accessor :date_activated
|
168
|
+
attr_accessor :date_packet_sent
|
166
169
|
entity_attr_accessor :name_pieces, 'SBF::Client::NamePieces'
|
167
170
|
entity_attr_accessor :address, 'SBF::Client::Address'
|
168
171
|
entity_attr_accessor :diagnosis, 'SBF::Client::Diagnosis'
|
@@ -181,7 +184,7 @@ module SBF
|
|
181
184
|
attr_accessor :modified_by
|
182
185
|
|
183
186
|
def fundraising_page_url
|
184
|
-
web_page
|
187
|
+
web_page&.url
|
185
188
|
end
|
186
189
|
|
187
190
|
def active?
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'stbaldricks/entities/lib/top_level'
|
2
|
+
|
3
|
+
module SBF
|
4
|
+
module Client
|
5
|
+
class ParticipantDonationSummary < SBF::Client::TopLevelEntity
|
6
|
+
actions DEFAULT_CRUD_ACTIONS
|
7
|
+
blacklist_action :get
|
8
|
+
blacklist_action :create
|
9
|
+
blacklist_action :update
|
10
|
+
blacklist_action :delete
|
11
|
+
|
12
|
+
attr_accessor :amount_raised
|
13
|
+
attr_accessor :donations
|
14
|
+
attr_accessor :event_year
|
15
|
+
|
16
|
+
entity_attr_reader :participant, 'SBF::Client::FullParticipant', nil, true
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'stbaldricks/entities/lib/top_level'
|
2
|
+
|
3
|
+
module SBF
|
4
|
+
module Client
|
5
|
+
class TeamDonationSummary < SBF::Client::TopLevelEntity
|
6
|
+
actions DEFAULT_CRUD_ACTIONS
|
7
|
+
blacklist_action :get
|
8
|
+
blacklist_action :create
|
9
|
+
blacklist_action :update
|
10
|
+
blacklist_action :delete
|
11
|
+
|
12
|
+
attr_accessor :amount_raised
|
13
|
+
attr_accessor :donations
|
14
|
+
attr_accessor :event_year
|
15
|
+
|
16
|
+
entity_attr_reader :team, 'SBF::Client::FullTeam', nil, true
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module SBF
|
4
|
+
module Client
|
5
|
+
module EthnicityType
|
6
|
+
AFRICAN_AMERICAN = 'African American'
|
7
|
+
CAUCASIAN = 'Caucasian'
|
8
|
+
HISPANIC = 'Hispanic'
|
9
|
+
ASIAN = 'Asian'
|
10
|
+
OTHER = 'Other'
|
11
|
+
|
12
|
+
@list = {
|
13
|
+
AFRICAN_AMERICAN => 'african_american',
|
14
|
+
CAUCASIAN => 'caucasian',
|
15
|
+
HISPANIC => 'hispanic',
|
16
|
+
ASIAN => 'asian',
|
17
|
+
OTHER => 'other'
|
18
|
+
}.freeze
|
19
|
+
|
20
|
+
class << self
|
21
|
+
attr_reader :list
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
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: 12.
|
4
|
+
version: 12.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -16,168 +16,168 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 5.2.4.5
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 5.2.4.5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: htmlentities
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '0'
|
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:
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: httparty
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0
|
47
|
+
version: '0'
|
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'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler-audit
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
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'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: byebug
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: capybara
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: dotenv
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: factory_bot
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
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
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0
|
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: 0
|
152
|
+
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: pry-remote
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - "
|
157
|
+
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0
|
159
|
+
version: '0'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - "
|
164
|
+
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0
|
166
|
+
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: rake
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - "
|
171
|
+
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
173
|
+
version: '0'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
180
|
+
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rr
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,30 +196,30 @@ dependencies:
|
|
196
196
|
name: rspec
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- - "
|
199
|
+
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
201
|
+
version: '0'
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- - "
|
206
|
+
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
208
|
+
version: '0'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: rspec-multi-mock
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
|
-
- - "
|
213
|
+
- - ">="
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: 0
|
215
|
+
version: '0'
|
216
216
|
type: :development
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- - "
|
220
|
+
- - ">="
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: 0
|
222
|
+
version: '0'
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: rubocop
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -238,58 +238,58 @@ dependencies:
|
|
238
238
|
name: rubocop-performance
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
|
-
- - "
|
241
|
+
- - ">="
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
243
|
+
version: '0'
|
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:
|
250
|
+
version: '0'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: simplecov
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
|
-
- - "
|
255
|
+
- - ">="
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version: 0
|
257
|
+
version: '0'
|
258
258
|
type: :development
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
|
-
- - "
|
262
|
+
- - ">="
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version: 0
|
264
|
+
version: '0'
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
266
|
name: timecop
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
|
-
- - "
|
269
|
+
- - ">="
|
270
270
|
- !ruby/object:Gem::Version
|
271
|
-
version: 0
|
271
|
+
version: '0'
|
272
272
|
type: :development
|
273
273
|
prerelease: false
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
|
-
- - "
|
276
|
+
- - ">="
|
277
277
|
- !ruby/object:Gem::Version
|
278
|
-
version: 0
|
278
|
+
version: '0'
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
280
|
name: webmock
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
282
282
|
requirements:
|
283
|
-
- - "
|
283
|
+
- - ">="
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version:
|
285
|
+
version: '0'
|
286
286
|
type: :development
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
|
-
- - "
|
290
|
+
- - ">="
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version:
|
292
|
+
version: '0'
|
293
293
|
description: Ruby library for accessing and integrating with the St. Baldrick's Foundation
|
294
294
|
API
|
295
295
|
email: opensource@stbaldricks.org
|
@@ -413,6 +413,7 @@ files:
|
|
413
413
|
- lib/stbaldricks/entities/organization.rb
|
414
414
|
- lib/stbaldricks/entities/page.rb
|
415
415
|
- lib/stbaldricks/entities/participant.rb
|
416
|
+
- lib/stbaldricks/entities/participant_donation_summary.rb
|
416
417
|
- lib/stbaldricks/entities/person.rb
|
417
418
|
- lib/stbaldricks/entities/person_donation_by_year_summary.rb
|
418
419
|
- lib/stbaldricks/entities/photo.rb
|
@@ -424,10 +425,12 @@ files:
|
|
424
425
|
- lib/stbaldricks/entities/shave_schedule.rb
|
425
426
|
- lib/stbaldricks/entities/summary.rb
|
426
427
|
- lib/stbaldricks/entities/team.rb
|
428
|
+
- lib/stbaldricks/entities/team_donation_summary.rb
|
427
429
|
- lib/stbaldricks/entities/user.rb
|
428
430
|
- lib/stbaldricks/enums/cancer_types.rb
|
429
431
|
- lib/stbaldricks/enums/contact_us_subjects.rb
|
430
432
|
- lib/stbaldricks/enums/country.rb
|
433
|
+
- lib/stbaldricks/enums/ethnicity_type.rb
|
431
434
|
- lib/stbaldricks/enums/feature.rb
|
432
435
|
- lib/stbaldricks/enums/league_status.rb
|
433
436
|
- lib/stbaldricks/enums/model_type.rb
|
@@ -560,11 +563,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
560
563
|
version: '0'
|
561
564
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
562
565
|
requirements:
|
563
|
-
- - "
|
566
|
+
- - ">="
|
564
567
|
- !ruby/object:Gem::Version
|
565
|
-
version:
|
568
|
+
version: '0'
|
566
569
|
requirements: []
|
567
|
-
rubygems_version: 3.1
|
570
|
+
rubygems_version: 3.0.3.1
|
568
571
|
signing_key:
|
569
572
|
specification_version: 4
|
570
573
|
summary: St. Baldrick's Foundation Ruby Client Library
|