stbaldricks 12.4.1.alpha.2 → 12.5.0.alpha.2

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: b46ba7150adf4012c64c6dd8912517a6ef91ec4c4754f89814d9c0983ef9ce92
4
- data.tar.gz: bf3312896e2b9a3b6f2131f335f1381ae5b441bc351b40ea2495dc3846cac8bd
3
+ metadata.gz: 2f13f436ff85b46a83b2c6559aa071b8c7dac4e4b44fbd4d3d2dc89c9bc96dd2
4
+ data.tar.gz: 3d3e1bd083c83b662f6a20223fb49328c480abb1c6c352860d5385a2ea03a326
5
5
  SHA512:
6
- metadata.gz: 9814ed775165f5de7e5ee0c1e422054e3b90f1693f99e86e0248f12d734fd05578c2a7f8e89c64de67ce9b05e83ff9e30fa376bf340e282f197671c7e801b09b
7
- data.tar.gz: 7c0a164242aa6088abdbd8e395b2de389faf16d856b41d741a95fc954d155ce6c1791c23092736c45bafb7e30806a439b7e3cc4b8f26937a7f3254a23eb582cc
6
+ metadata.gz: 8b54a3abd80dc33a867c1547fbe633e92373f880bfa31a7eaab4ed5ffc15c925ae3b670d32f455d8fe561372ee7138f1a2a1aa65730694ef4ecebc62227f406e
7
+ data.tar.gz: ba282bfabe56682111292ecbac9ed5bdd08340584a44c0997c75e88b1979bc21943b577d692d02fec04335d80cc06b1d70d72e5fa94af90b72f7bdff1e00c917
@@ -13,6 +13,8 @@ module SBF
13
13
  attr_accessor :donations
14
14
  attr_accessor :direct_amount_raised
15
15
  attr_accessor :direct_donations
16
+
17
+ entity_attr_reader :event, 'SBF::Client::FullEvent', nil, true
16
18
  end
17
19
  end
18
20
  end
@@ -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.url
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
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '12.4.1.alpha.2'.freeze
3
+ VERSION = '12.5.0.alpha.2'.freeze
4
4
  end
5
5
  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.4.1.alpha.2
4
+ version: 12.5.0.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: 2022-05-18 00:00:00.000000000 Z
11
+ date: 2022-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.4.6
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: 5.2.4.6
26
+ version: 5.2.4.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: htmlentities
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -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,6 +425,7 @@ 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
@@ -564,7 +566,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
564
566
  - !ruby/object:Gem::Version
565
567
  version: 1.3.1
566
568
  requirements: []
567
- rubygems_version: 3.1.6
569
+ rubygems_version: 3.0.3.1
568
570
  signing_key:
569
571
  specification_version: 4
570
572
  summary: St. Baldrick's Foundation Ruby Client Library