stbaldricks 12.11.0 → 12.12.0.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/configuration.rb +2 -2
- data/lib/stbaldricks/default_logger.rb +2 -2
- data/lib/stbaldricks/endpoints/blog_post.rb +8 -8
- data/lib/stbaldricks/endpoints/communicate.rb +1 -1
- data/lib/stbaldricks/endpoints/config.rb +1 -1
- data/lib/stbaldricks/endpoints/deduplicator_match.rb +2 -2
- data/lib/stbaldricks/endpoints/kid.rb +1 -1
- data/lib/stbaldricks/endpoints/lib/entity.rb +13 -11
- data/lib/stbaldricks/endpoints/newsletter_recipient.rb +11 -5
- data/lib/stbaldricks/endpoints/participant.rb +3 -3
- data/lib/stbaldricks/endpoints/photo.rb +5 -4
- data/lib/stbaldricks/endpoints/search.rb +2 -2
- data/lib/stbaldricks/endpoints/user.rb +1 -1
- data/lib/stbaldricks/entities/batch.rb +3 -5
- data/lib/stbaldricks/entities/blog_post.rb +1 -7
- data/lib/stbaldricks/entities/campaign.rb +6 -13
- data/lib/stbaldricks/entities/challenge.rb +4 -6
- data/lib/stbaldricks/entities/challenger.rb +4 -6
- data/lib/stbaldricks/entities/concerns/entity_response_concern.rb +1 -1
- data/lib/stbaldricks/entities/config.rb +3 -8
- data/lib/stbaldricks/entities/contact.rb +4 -7
- data/lib/stbaldricks/entities/contact_group.rb +2 -2
- data/lib/stbaldricks/entities/deduplicator_history.rb +1 -6
- data/lib/stbaldricks/entities/deduplicator_match.rb +4 -7
- data/lib/stbaldricks/entities/disease.rb +2 -5
- data/lib/stbaldricks/entities/document_library.rb +3 -8
- data/lib/stbaldricks/entities/document_library_category.rb +1 -4
- data/lib/stbaldricks/entities/donation.rb +12 -18
- data/lib/stbaldricks/entities/donor.rb +1 -5
- data/lib/stbaldricks/entities/event.rb +32 -43
- data/lib/stbaldricks/entities/event_application.rb +6 -10
- data/lib/stbaldricks/entities/event_donation_summary.rb +2 -5
- data/lib/stbaldricks/entities/event_participant_summary.rb +1 -3
- data/lib/stbaldricks/entities/event_supporter.rb +3 -3
- data/lib/stbaldricks/entities/fund.rb +6 -23
- data/lib/stbaldricks/entities/fundraiser.rb +16 -29
- data/lib/stbaldricks/entities/grant.rb +12 -25
- data/lib/stbaldricks/entities/institution.rb +3 -4
- data/lib/stbaldricks/entities/international_partner.rb +4 -16
- data/lib/stbaldricks/entities/kid.rb +11 -28
- data/lib/stbaldricks/entities/kid_honor.rb +1 -0
- data/lib/stbaldricks/entities/kid_institution.rb +2 -2
- data/lib/stbaldricks/entities/lib/address.rb +3 -6
- data/lib/stbaldricks/entities/lib/alternate_shipping_address.rb +1 -3
- data/lib/stbaldricks/entities/lib/base.rb +47 -39
- data/lib/stbaldricks/entities/lib/collection.rb +2 -2
- data/lib/stbaldricks/entities/lib/email_address.rb +1 -2
- data/lib/stbaldricks/entities/lib/fundraising_page.rb +1 -2
- data/lib/stbaldricks/entities/lib/location.rb +1 -0
- data/lib/stbaldricks/entities/lib/milestone.rb +1 -3
- data/lib/stbaldricks/entities/lib/name.rb +2 -2
- data/lib/stbaldricks/entities/lib/not_implemented_object.rb +1 -1
- data/lib/stbaldricks/entities/lib/permissions.rb +2 -4
- data/lib/stbaldricks/entities/lib/phone.rb +2 -3
- data/lib/stbaldricks/entities/lib/third_party_media.rb +1 -5
- data/lib/stbaldricks/entities/lib/top_level.rb +1 -1
- data/lib/stbaldricks/entities/matching_gift_company.rb +16 -39
- data/lib/stbaldricks/entities/memorial.rb +9 -14
- data/lib/stbaldricks/entities/message.rb +4 -15
- data/lib/stbaldricks/entities/organization.rb +11 -17
- data/lib/stbaldricks/entities/page.rb +9 -15
- data/lib/stbaldricks/entities/participant.rb +18 -28
- data/lib/stbaldricks/entities/participant_donation_summary.rb +2 -4
- data/lib/stbaldricks/entities/person.rb +22 -30
- data/lib/stbaldricks/entities/person_donation_by_year_summary.rb +1 -2
- data/lib/stbaldricks/entities/photo.rb +5 -11
- data/lib/stbaldricks/entities/recurring_gift.rb +10 -18
- data/lib/stbaldricks/entities/response.rb +1 -0
- data/lib/stbaldricks/entities/search.rb +30 -168
- data/lib/stbaldricks/entities/section.rb +1 -4
- data/lib/stbaldricks/entities/shave_schedule.rb +4 -13
- data/lib/stbaldricks/entities/summary.rb +1 -7
- data/lib/stbaldricks/entities/team.rb +12 -16
- data/lib/stbaldricks/entities/team_donation_summary.rb +2 -4
- data/lib/stbaldricks/request.rb +2 -2
- data/lib/stbaldricks/version.rb +1 -1
- metadata +87 -281
- data/lib/stbaldricks_factories.rb +0 -5
- data/spec/factories/address.rb +0 -14
- data/spec/factories/campaign/totals.rb +0 -9
- data/spec/factories/campaign.rb +0 -9
- data/spec/factories/challenge.rb +0 -19
- data/spec/factories/challenger.rb +0 -33
- data/spec/factories/collection.rb +0 -17
- data/spec/factories/contact.rb +0 -18
- data/spec/factories/contact_group.rb +0 -18
- data/spec/factories/diagnosis.rb +0 -12
- data/spec/factories/disease.rb +0 -11
- data/spec/factories/donation/participant.rb +0 -27
- data/spec/factories/donation.rb +0 -68
- data/spec/factories/donor.rb +0 -13
- data/spec/factories/email_address.rb +0 -11
- data/spec/factories/error.rb +0 -9
- data/spec/factories/event/coach_tracking/coaching_interactions.rb +0 -12
- data/spec/factories/event/coach_tracking/plaque.rb +0 -12
- data/spec/factories/event/coach_tracking/proceeds.rb +0 -12
- data/spec/factories/event/coach_tracking.rb +0 -18
- data/spec/factories/event/contacts/contact.rb +0 -17
- data/spec/factories/event/contacts/name_pieces.rb +0 -12
- data/spec/factories/event/contacts.rb +0 -16
- data/spec/factories/event/photos.rb +0 -12
- data/spec/factories/event/totals.rb +0 -15
- data/spec/factories/event/venue/location.rb +0 -18
- data/spec/factories/event/venue/social.rb +0 -16
- data/spec/factories/event/venue.rb +0 -16
- data/spec/factories/event.rb +0 -66
- data/spec/factories/event_application.rb +0 -34
- data/spec/factories/event_supporter.rb +0 -19
- data/spec/factories/fund.rb +0 -18
- data/spec/factories/fundraiser/photos.rb +0 -12
- data/spec/factories/fundraiser/policies.rb +0 -11
- data/spec/factories/fundraiser/totals.rb +0 -11
- data/spec/factories/fundraiser.rb +0 -24
- data/spec/factories/fundraising_page.rb +0 -29
- data/spec/factories/grant.rb +0 -22
- data/spec/factories/grant_institution.rb +0 -17
- data/spec/factories/institution.rb +0 -18
- data/spec/factories/kid/custom_institution.rb +0 -12
- data/spec/factories/kid.rb +0 -58
- data/spec/factories/kid_honor.rb +0 -16
- data/spec/factories/kid_institution.rb +0 -23
- data/spec/factories/lib/faker_patch.rb +0 -27
- data/spec/factories/lib/helpers.rb +0 -7
- data/spec/factories/location.rb +0 -17
- data/spec/factories/memorial/photos.rb +0 -14
- data/spec/factories/memorial/totals.rb +0 -11
- data/spec/factories/memorial/tribute.rb +0 -19
- data/spec/factories/memorial.rb +0 -22
- data/spec/factories/message.rb +0 -31
- data/spec/factories/milestone.rb +0 -15
- data/spec/factories/name_pieces.rb +0 -24
- data/spec/factories/newsletter_recipient.rb +0 -13
- data/spec/factories/organization/addresses.rb +0 -16
- data/spec/factories/organization/email_addresses.rb +0 -14
- data/spec/factories/organization/phone_numbers.rb +0 -14
- data/spec/factories/organization.rb +0 -34
- data/spec/factories/page.rb +0 -5
- data/spec/factories/participant/photos.rb +0 -14
- data/spec/factories/participant/policies.rb +0 -12
- data/spec/factories/participant/rankings/ranking.rb +0 -12
- data/spec/factories/participant/rankings.rb +0 -16
- data/spec/factories/participant/roles/role.rb +0 -154
- data/spec/factories/participant/roles.rb +0 -37
- data/spec/factories/participant/totals.rb +0 -11
- data/spec/factories/participant.rb +0 -95
- data/spec/factories/payment.rb +0 -13
- data/spec/factories/permissions.rb +0 -12
- data/spec/factories/person/addresses.rb +0 -16
- data/spec/factories/person/email_addresses.rb +0 -14
- data/spec/factories/person/phone_numbers.rb +0 -14
- data/spec/factories/person/policies.rb +0 -13
- data/spec/factories/person.rb +0 -22
- data/spec/factories/phone.rb +0 -11
- data/spec/factories/photo.rb +0 -11
- data/spec/factories/photos.rb +0 -9
- data/spec/factories/recurring_gift.rb +0 -22
- data/spec/factories/researcher.rb +0 -15
- data/spec/factories/response.rb +0 -38
- data/spec/factories/search_event.rb +0 -19
- data/spec/factories/search_fundraiser.rb +0 -15
- data/spec/factories/search_kid.rb +0 -13
- data/spec/factories/search_participant.rb +0 -15
- data/spec/factories/search_team.rb +0 -13
- data/spec/factories/shave_schedule/time_selection_permissions.rb +0 -12
- data/spec/factories/shave_schedule.rb +0 -33
- data/spec/factories/team/photos.rb +0 -12
- data/spec/factories/team/rankings/ranking.rb +0 -12
- data/spec/factories/team/rankings.rb +0 -15
- data/spec/factories/team/totals.rb +0 -14
- data/spec/factories/team.rb +0 -43
- data/spec/factories/third_party_media.rb +0 -12
- data/spec/factories/treatment_status.rb +0 -10
- data/spec/factories/user.rb +0 -14
- data/spec/factories/venue.rb +0 -15
@@ -67,25 +67,21 @@ module SBF
|
|
67
67
|
extend Forwardable
|
68
68
|
def_delegator :@photos, :avatar, :avatar_photo_url
|
69
69
|
|
70
|
-
attr_accessor :id
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
entity_attr_accessor :event, 'SBF::Client::FullEvent', 'SBF::Client::PartialEvent', true
|
75
|
-
entity_attr_accessor :fund, 'SBF::Client::FullFund', 'SBF::Client::PartialFund', true
|
76
|
-
|
77
|
-
|
78
|
-
attr_accessor :fundraising_goal, :fundraising_message
|
79
|
-
entity_attr_accessor :fundraising_page, 'SBF::Client::FundraisingPage', nil, true
|
70
|
+
attr_accessor :id, :name, :status, :fund_relationship_type, :offline_donation_uuid, :offline_donation_form,
|
71
|
+
:fundraising_goal, :fundraising_message, :modified_by, :how_created
|
72
|
+
attr_reader :display_name, :created_at, :modified_at
|
73
|
+
|
74
|
+
entity_attr_accessor :event, 'SBF::Client::FullEvent', 'SBF::Client::PartialEvent', optional: true
|
75
|
+
entity_attr_accessor :fund, 'SBF::Client::FullFund', 'SBF::Client::PartialFund', optional: true
|
76
|
+
|
77
|
+
entity_attr_accessor :fundraising_page, 'SBF::Client::FundraisingPage', nil, optional: true
|
80
78
|
entity_attr_reader :photos, 'SBF::Client::Team::Photos'
|
81
79
|
entity_attr_accessor :captain, 'SBF::Client::FullParticipant'
|
82
|
-
entity_attr_reader :rankings, 'SBF::Client::Team::Rankings', nil, true
|
80
|
+
entity_attr_reader :rankings, 'SBF::Client::Team::Rankings', nil, optional: true
|
83
81
|
entity_attr_reader :totals, 'SBF::Client::Team::Totals'
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
entity_attr_reader :permissions, 'SBF::Client::Permissions', nil, true
|
88
|
-
entity_attr_accessor :third_party_media, 'SBF::Client::ThirdPartyMedia', nil, true
|
82
|
+
|
83
|
+
entity_attr_reader :permissions, 'SBF::Client::Permissions', nil, optional: true
|
84
|
+
entity_attr_accessor :third_party_media, 'SBF::Client::ThirdPartyMedia', nil, optional: true
|
89
85
|
|
90
86
|
def active?
|
91
87
|
status == SBF::Client::Team::Status::ACTIVE
|
@@ -9,11 +9,9 @@ module SBF
|
|
9
9
|
blacklist_action :update
|
10
10
|
blacklist_action :delete
|
11
11
|
|
12
|
-
attr_accessor :amount_raised
|
13
|
-
attr_accessor :donations
|
14
|
-
attr_accessor :event_year
|
12
|
+
attr_accessor :amount_raised, :donations, :event_year
|
15
13
|
|
16
|
-
entity_attr_reader :team, 'SBF::Client::FullTeam', nil, true
|
14
|
+
entity_attr_reader :team, 'SBF::Client::FullTeam', nil, optional: true
|
17
15
|
end
|
18
16
|
end
|
19
17
|
end
|
data/lib/stbaldricks/request.rb
CHANGED
@@ -56,7 +56,7 @@ module SBF
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
def self.file_post_request(path:, params: {}
|
59
|
+
def self.file_post_request(path:, file:, filename:, params: {})
|
60
60
|
raise SBF::Client::InvalidURIError, "Invalid URI: #{path}" unless valid_uri?(path)
|
61
61
|
raise SBF::Client::Error, 'Not yet authenticated' if user_token.nil?
|
62
62
|
raise SBF::Client::Error, 'Invalid File' unless file.is_a?(File) || file.is_a?(Tempfile)
|
@@ -112,7 +112,7 @@ module SBF
|
|
112
112
|
private_class_method :valid_uri?
|
113
113
|
|
114
114
|
def self.verify_ssl_peer?
|
115
|
-
(ENV
|
115
|
+
(ENV.fetch('VERIFY_SSL_PEER', true)).to_b
|
116
116
|
end
|
117
117
|
private_class_method :verify_ssl_peer?
|
118
118
|
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.12.0.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 6.1.7
|
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: 6.1.7
|
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: 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:
|
40
|
+
version: 4.3.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: httparty
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,128 +56,128 @@ dependencies:
|
|
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:
|
61
|
+
version: 0.9.1
|
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:
|
68
|
+
version: 0.9.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: capybara
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 3.37.1
|
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: 3.37.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: dotenv
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 2.7.6
|
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: 2.7.6
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: factory_bot
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 6.2.1
|
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: 6.2.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: faker
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 2.21.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: 2.21.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: pry
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 0.13.1
|
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.13.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name: pry
|
140
|
+
name: pry-byebug
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 3.9.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:
|
152
|
+
version: 3.9.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:
|
159
|
+
version: 0.1.8
|
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:
|
166
|
+
version: 0.1.8
|
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: 13.0.6
|
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: 13.0.6
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rr
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,100 +196,100 @@ 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: 3.11.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: 3.11.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:
|
215
|
+
version: 0.3.1
|
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:
|
222
|
+
version: 0.3.1
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: rubocop
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
|
-
- -
|
227
|
+
- - '='
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version:
|
229
|
+
version: 1.30.1
|
230
230
|
type: :development
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
|
-
- -
|
234
|
+
- - '='
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
236
|
+
version: 1.30.1
|
237
237
|
- !ruby/object:Gem::Dependency
|
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: 1.10.2
|
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: 1.10.2
|
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:
|
257
|
+
version: 0.21.2
|
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:
|
264
|
+
version: 0.21.2
|
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:
|
271
|
+
version: 0.9.5
|
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:
|
278
|
+
version: 0.9.5
|
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: 3.14.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: 3.14.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
|
@@ -451,108 +451,11 @@ files:
|
|
451
451
|
- lib/stbaldricks/patches/string.rb
|
452
452
|
- lib/stbaldricks/request.rb
|
453
453
|
- lib/stbaldricks/version.rb
|
454
|
-
|
455
|
-
- spec/factories/address.rb
|
456
|
-
- spec/factories/campaign.rb
|
457
|
-
- spec/factories/campaign/totals.rb
|
458
|
-
- spec/factories/challenge.rb
|
459
|
-
- spec/factories/challenger.rb
|
460
|
-
- spec/factories/collection.rb
|
461
|
-
- spec/factories/contact.rb
|
462
|
-
- spec/factories/contact_group.rb
|
463
|
-
- spec/factories/diagnosis.rb
|
464
|
-
- spec/factories/disease.rb
|
465
|
-
- spec/factories/donation.rb
|
466
|
-
- spec/factories/donation/participant.rb
|
467
|
-
- spec/factories/donor.rb
|
468
|
-
- spec/factories/email_address.rb
|
469
|
-
- spec/factories/error.rb
|
470
|
-
- spec/factories/event.rb
|
471
|
-
- spec/factories/event/coach_tracking.rb
|
472
|
-
- spec/factories/event/coach_tracking/coaching_interactions.rb
|
473
|
-
- spec/factories/event/coach_tracking/plaque.rb
|
474
|
-
- spec/factories/event/coach_tracking/proceeds.rb
|
475
|
-
- spec/factories/event/contacts.rb
|
476
|
-
- spec/factories/event/contacts/contact.rb
|
477
|
-
- spec/factories/event/contacts/name_pieces.rb
|
478
|
-
- spec/factories/event/photos.rb
|
479
|
-
- spec/factories/event/totals.rb
|
480
|
-
- spec/factories/event/venue.rb
|
481
|
-
- spec/factories/event/venue/location.rb
|
482
|
-
- spec/factories/event/venue/social.rb
|
483
|
-
- spec/factories/event_application.rb
|
484
|
-
- spec/factories/event_supporter.rb
|
485
|
-
- spec/factories/fund.rb
|
486
|
-
- spec/factories/fundraiser.rb
|
487
|
-
- spec/factories/fundraiser/photos.rb
|
488
|
-
- spec/factories/fundraiser/policies.rb
|
489
|
-
- spec/factories/fundraiser/totals.rb
|
490
|
-
- spec/factories/fundraising_page.rb
|
491
|
-
- spec/factories/grant.rb
|
492
|
-
- spec/factories/grant_institution.rb
|
493
|
-
- spec/factories/institution.rb
|
494
|
-
- spec/factories/kid.rb
|
495
|
-
- spec/factories/kid/custom_institution.rb
|
496
|
-
- spec/factories/kid_honor.rb
|
497
|
-
- spec/factories/kid_institution.rb
|
498
|
-
- spec/factories/lib/faker_patch.rb
|
499
|
-
- spec/factories/lib/helpers.rb
|
500
|
-
- spec/factories/location.rb
|
501
|
-
- spec/factories/memorial.rb
|
502
|
-
- spec/factories/memorial/photos.rb
|
503
|
-
- spec/factories/memorial/totals.rb
|
504
|
-
- spec/factories/memorial/tribute.rb
|
505
|
-
- spec/factories/message.rb
|
506
|
-
- spec/factories/milestone.rb
|
507
|
-
- spec/factories/name_pieces.rb
|
508
|
-
- spec/factories/newsletter_recipient.rb
|
509
|
-
- spec/factories/organization.rb
|
510
|
-
- spec/factories/organization/addresses.rb
|
511
|
-
- spec/factories/organization/email_addresses.rb
|
512
|
-
- spec/factories/organization/phone_numbers.rb
|
513
|
-
- spec/factories/page.rb
|
514
|
-
- spec/factories/participant.rb
|
515
|
-
- spec/factories/participant/photos.rb
|
516
|
-
- spec/factories/participant/policies.rb
|
517
|
-
- spec/factories/participant/rankings.rb
|
518
|
-
- spec/factories/participant/rankings/ranking.rb
|
519
|
-
- spec/factories/participant/roles.rb
|
520
|
-
- spec/factories/participant/roles/role.rb
|
521
|
-
- spec/factories/participant/totals.rb
|
522
|
-
- spec/factories/payment.rb
|
523
|
-
- spec/factories/permissions.rb
|
524
|
-
- spec/factories/person.rb
|
525
|
-
- spec/factories/person/addresses.rb
|
526
|
-
- spec/factories/person/email_addresses.rb
|
527
|
-
- spec/factories/person/phone_numbers.rb
|
528
|
-
- spec/factories/person/policies.rb
|
529
|
-
- spec/factories/phone.rb
|
530
|
-
- spec/factories/photo.rb
|
531
|
-
- spec/factories/photos.rb
|
532
|
-
- spec/factories/recurring_gift.rb
|
533
|
-
- spec/factories/researcher.rb
|
534
|
-
- spec/factories/response.rb
|
535
|
-
- spec/factories/search_event.rb
|
536
|
-
- spec/factories/search_fundraiser.rb
|
537
|
-
- spec/factories/search_kid.rb
|
538
|
-
- spec/factories/search_participant.rb
|
539
|
-
- spec/factories/search_team.rb
|
540
|
-
- spec/factories/shave_schedule.rb
|
541
|
-
- spec/factories/shave_schedule/time_selection_permissions.rb
|
542
|
-
- spec/factories/team.rb
|
543
|
-
- spec/factories/team/photos.rb
|
544
|
-
- spec/factories/team/rankings.rb
|
545
|
-
- spec/factories/team/rankings/ranking.rb
|
546
|
-
- spec/factories/team/totals.rb
|
547
|
-
- spec/factories/third_party_media.rb
|
548
|
-
- spec/factories/treatment_status.rb
|
549
|
-
- spec/factories/user.rb
|
550
|
-
- spec/factories/venue.rb
|
551
|
-
homepage:
|
454
|
+
homepage:
|
552
455
|
licenses:
|
553
456
|
- MIT
|
554
457
|
metadata: {}
|
555
|
-
post_install_message:
|
458
|
+
post_install_message:
|
556
459
|
rdoc_options: []
|
557
460
|
require_paths:
|
558
461
|
- lib
|
@@ -560,112 +463,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
560
463
|
requirements:
|
561
464
|
- - ">="
|
562
465
|
- !ruby/object:Gem::Version
|
563
|
-
version:
|
466
|
+
version: 2.7.0
|
564
467
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
565
468
|
requirements:
|
566
|
-
- - "
|
469
|
+
- - ">"
|
567
470
|
- !ruby/object:Gem::Version
|
568
|
-
version:
|
471
|
+
version: 1.3.1
|
569
472
|
requirements: []
|
570
|
-
rubygems_version: 3.
|
571
|
-
signing_key:
|
473
|
+
rubygems_version: 3.1.6
|
474
|
+
signing_key:
|
572
475
|
specification_version: 4
|
573
476
|
summary: St. Baldrick's Foundation Ruby Client Library
|
574
|
-
test_files:
|
575
|
-
- lib/stbaldricks_factories.rb
|
576
|
-
- spec/factories/participant/rankings.rb
|
577
|
-
- spec/factories/participant/photos.rb
|
578
|
-
- spec/factories/participant/roles/role.rb
|
579
|
-
- spec/factories/participant/policies.rb
|
580
|
-
- spec/factories/participant/totals.rb
|
581
|
-
- spec/factories/participant/roles.rb
|
582
|
-
- spec/factories/participant/rankings/ranking.rb
|
583
|
-
- spec/factories/search_fundraiser.rb
|
584
|
-
- spec/factories/newsletter_recipient.rb
|
585
|
-
- spec/factories/phone.rb
|
586
|
-
- spec/factories/contact_group.rb
|
587
|
-
- spec/factories/fundraiser/photos.rb
|
588
|
-
- spec/factories/fundraiser/policies.rb
|
589
|
-
- spec/factories/fundraiser/totals.rb
|
590
|
-
- spec/factories/team.rb
|
591
|
-
- spec/factories/venue.rb
|
592
|
-
- spec/factories/recurring_gift.rb
|
593
|
-
- spec/factories/donation/participant.rb
|
594
|
-
- spec/factories/error.rb
|
595
|
-
- spec/factories/grant_institution.rb
|
596
|
-
- spec/factories/page.rb
|
597
|
-
- spec/factories/grant.rb
|
598
|
-
- spec/factories/search_team.rb
|
599
|
-
- spec/factories/search_participant.rb
|
600
|
-
- spec/factories/name_pieces.rb
|
601
|
-
- spec/factories/researcher.rb
|
602
|
-
- spec/factories/photos.rb
|
603
|
-
- spec/factories/donor.rb
|
604
|
-
- spec/factories/diagnosis.rb
|
605
|
-
- spec/factories/kid_institution.rb
|
606
|
-
- spec/factories/message.rb
|
607
|
-
- spec/factories/search_event.rb
|
608
|
-
- spec/factories/photo.rb
|
609
|
-
- spec/factories/event.rb
|
610
|
-
- spec/factories/organization.rb
|
611
|
-
- spec/factories/campaign.rb
|
612
|
-
- spec/factories/kid/custom_institution.rb
|
613
|
-
- spec/factories/fundraising_page.rb
|
614
|
-
- spec/factories/contact.rb
|
615
|
-
- spec/factories/event_application.rb
|
616
|
-
- spec/factories/location.rb
|
617
|
-
- spec/factories/response.rb
|
618
|
-
- spec/factories/kid.rb
|
619
|
-
- spec/factories/challenger.rb
|
620
|
-
- spec/factories/treatment_status.rb
|
621
|
-
- spec/factories/institution.rb
|
622
|
-
- spec/factories/lib/helpers.rb
|
623
|
-
- spec/factories/lib/faker_patch.rb
|
624
|
-
- spec/factories/shave_schedule.rb
|
625
|
-
- spec/factories/address.rb
|
626
|
-
- spec/factories/shave_schedule/time_selection_permissions.rb
|
627
|
-
- spec/factories/person/phone_numbers.rb
|
628
|
-
- spec/factories/person/policies.rb
|
629
|
-
- spec/factories/person/addresses.rb
|
630
|
-
- spec/factories/person/email_addresses.rb
|
631
|
-
- spec/factories/collection.rb
|
632
|
-
- spec/factories/fundraiser.rb
|
633
|
-
- spec/factories/email_address.rb
|
634
|
-
- spec/factories/third_party_media.rb
|
635
|
-
- spec/factories/donation.rb
|
636
|
-
- spec/factories/person.rb
|
637
|
-
- spec/factories/team/rankings.rb
|
638
|
-
- spec/factories/team/photos.rb
|
639
|
-
- spec/factories/team/totals.rb
|
640
|
-
- spec/factories/team/rankings/ranking.rb
|
641
|
-
- spec/factories/kid_honor.rb
|
642
|
-
- spec/factories/disease.rb
|
643
|
-
- spec/factories/payment.rb
|
644
|
-
- spec/factories/search_kid.rb
|
645
|
-
- spec/factories/user.rb
|
646
|
-
- spec/factories/campaign/totals.rb
|
647
|
-
- spec/factories/organization/phone_numbers.rb
|
648
|
-
- spec/factories/organization/addresses.rb
|
649
|
-
- spec/factories/organization/email_addresses.rb
|
650
|
-
- spec/factories/fund.rb
|
651
|
-
- spec/factories/milestone.rb
|
652
|
-
- spec/factories/memorial.rb
|
653
|
-
- spec/factories/challenge.rb
|
654
|
-
- spec/factories/event/contacts.rb
|
655
|
-
- spec/factories/event/venue.rb
|
656
|
-
- spec/factories/event/coach_tracking/proceeds.rb
|
657
|
-
- spec/factories/event/coach_tracking/plaque.rb
|
658
|
-
- spec/factories/event/coach_tracking/coaching_interactions.rb
|
659
|
-
- spec/factories/event/photos.rb
|
660
|
-
- spec/factories/event/coach_tracking.rb
|
661
|
-
- spec/factories/event/contacts/name_pieces.rb
|
662
|
-
- spec/factories/event/contacts/contact.rb
|
663
|
-
- spec/factories/event/venue/location.rb
|
664
|
-
- spec/factories/event/venue/social.rb
|
665
|
-
- spec/factories/event/totals.rb
|
666
|
-
- spec/factories/participant.rb
|
667
|
-
- spec/factories/event_supporter.rb
|
668
|
-
- spec/factories/memorial/photos.rb
|
669
|
-
- spec/factories/memorial/totals.rb
|
670
|
-
- spec/factories/memorial/tribute.rb
|
671
|
-
- spec/factories/permissions.rb
|
477
|
+
test_files: []
|
data/spec/factories/address.rb
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
FactoryBot.define do
|
2
|
-
factory :address, class: SBF::Client::Address do
|
3
|
-
skip_create
|
4
|
-
|
5
|
-
initialize_with do
|
6
|
-
new(attributes)
|
7
|
-
end
|
8
|
-
|
9
|
-
type { SBF::Client::Address::Type::HOME }
|
10
|
-
city { Faker::Address.ascii_city }
|
11
|
-
state { 'NE' }
|
12
|
-
country { 'US' }
|
13
|
-
end
|
14
|
-
end
|