stbaldricks 4.3.5 → 4.4.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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: fb034fcad1b5c81d37dbde1224bf7376c2f1750bffda6447474350c0b3c48d56
|
4
|
+
data.tar.gz: f5525ea1d18742c5d8ac73be28d57f4e1baf9ddfbf9587f70c814a49f5c340bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb7d49cec7032b175d963a17a781754e9faa087af65fda15639f7626813dcfdf43c9b8703a7a42a664ec21488f1a91ddbc011100003e2588cdedb378b1252562
|
7
|
+
data.tar.gz: b76d793ccc3694ceb3875bb37de46667987089b4b90c8b3b531e257c8d82a0ddaa0ed009c75af8c65052ab59e6f6d93512918ae3982303d5bf04e877b3755d9e
|
@@ -41,12 +41,10 @@ module SBF
|
|
41
41
|
parsed_response_body = JSON.parse(response.body).symbolize!
|
42
42
|
|
43
43
|
if ok?(response)
|
44
|
-
|
45
|
-
|
46
|
-
response_data[:total_count] = parsed_response_body[:hits][:total]
|
44
|
+
response_data[:total_count] = parsed_response_body[:total]
|
47
45
|
response_data[:results] = [].tap do |arr|
|
48
|
-
parsed_response_body[:hits]
|
49
|
-
arr << target_class.const_get(entity_data[:
|
46
|
+
parsed_response_body[:hits].each do |entity_data|
|
47
|
+
arr << target_class.const_get(entity_data[:type].capitalize).new(entity_data[:source])
|
50
48
|
end
|
51
49
|
end
|
52
50
|
|
@@ -47,7 +47,6 @@ module SBF
|
|
47
47
|
end
|
48
48
|
|
49
49
|
class Event < SBF::Client::BaseEntity
|
50
|
-
attr_reader :geo_location
|
51
50
|
attr_reader :venue_name
|
52
51
|
attr_reader :event_title
|
53
52
|
attr_reader :zip_code
|
@@ -64,8 +63,6 @@ module SBF
|
|
64
63
|
attr_reader :event_id
|
65
64
|
attr_reader :is_website_allowed
|
66
65
|
attr_reader :is_expired
|
67
|
-
attr_reader :latitude
|
68
|
-
attr_reader :longitude
|
69
66
|
attr_reader :start_time
|
70
67
|
attr_reader :end_time
|
71
68
|
attr_reader :status_id
|
@@ -92,9 +89,6 @@ module SBF
|
|
92
89
|
attr_reader :team_id
|
93
90
|
attr_reader :is_website_allowed
|
94
91
|
attr_reader :status_id
|
95
|
-
attr_reader :latitude
|
96
|
-
attr_reader :longitude
|
97
|
-
attr_reader :geo_location
|
98
92
|
attr_reader :total_donations
|
99
93
|
attr_reader :total_participants
|
100
94
|
end
|
@@ -104,15 +98,10 @@ module SBF
|
|
104
98
|
attr_reader :event_year
|
105
99
|
attr_reader :raw_display_name
|
106
100
|
attr_reader :display_name
|
107
|
-
attr_reader :first_name
|
108
|
-
attr_reader :last_name
|
109
101
|
attr_reader :team_name
|
110
102
|
attr_reader :venue_name
|
111
103
|
attr_reader :event_title
|
112
104
|
attr_reader :zip_code
|
113
|
-
attr_reader :participant_zip_code
|
114
|
-
attr_reader :address1
|
115
|
-
attr_reader :address2
|
116
105
|
attr_reader :city
|
117
106
|
attr_reader :state
|
118
107
|
attr_reader :state_full
|
@@ -125,16 +114,11 @@ module SBF
|
|
125
114
|
attr_reader :event_date
|
126
115
|
attr_reader :event_id
|
127
116
|
attr_reader :is_website_allowed
|
128
|
-
attr_reader :legal_status_id
|
129
|
-
attr_reader :birthday
|
130
117
|
attr_reader :profile_id
|
131
118
|
attr_reader :status_id
|
132
119
|
attr_reader :event_status_id
|
133
120
|
attr_reader :team_id
|
134
121
|
attr_reader :virtual_participation_date
|
135
|
-
attr_reader :latitude
|
136
|
-
attr_reader :longitude
|
137
|
-
attr_reader :geo_location
|
138
122
|
attr_reader :total_donations
|
139
123
|
end
|
140
124
|
|
@@ -154,8 +138,6 @@ module SBF
|
|
154
138
|
attr_reader :start_time
|
155
139
|
attr_reader :end_date
|
156
140
|
attr_reader :end_time
|
157
|
-
attr_reader :first_name
|
158
|
-
attr_reader :last_name
|
159
141
|
attr_reader :zip_code
|
160
142
|
attr_reader :venue_name
|
161
143
|
attr_reader :team_name
|
@@ -167,26 +149,17 @@ module SBF
|
|
167
149
|
attr_reader :state_full
|
168
150
|
attr_reader :country
|
169
151
|
attr_reader :country_full
|
170
|
-
attr_reader :latitude
|
171
|
-
attr_reader :longitude
|
172
|
-
attr_reader :geo_location
|
173
152
|
attr_reader :total_donations
|
174
153
|
end
|
175
154
|
|
176
155
|
class Kid < SBF::Client::BaseEntity
|
177
156
|
attr_reader :kid_id
|
178
157
|
attr_reader :display_name
|
179
|
-
attr_reader :first_name
|
180
|
-
attr_reader :last_name
|
181
|
-
attr_reader :zip_code
|
182
|
-
attr_reader :address1
|
183
158
|
attr_reader :city
|
184
159
|
attr_reader :state
|
185
160
|
attr_reader :state_full
|
186
161
|
attr_reader :country_full
|
187
162
|
attr_reader :country
|
188
|
-
attr_reader :birthday
|
189
|
-
attr_reader :date_of_death
|
190
163
|
attr_reader :diagnosis_slug
|
191
164
|
attr_reader :diagnosis_other
|
192
165
|
attr_reader :status_id
|
@@ -195,9 +168,6 @@ module SBF
|
|
195
168
|
attr_reader :mypage_url
|
196
169
|
attr_reader :default_photo_url
|
197
170
|
attr_reader :avatar_photo_url
|
198
|
-
attr_reader :latitude
|
199
|
-
attr_reader :longitude
|
200
|
-
attr_reader :geo_location
|
201
171
|
end
|
202
172
|
|
203
173
|
class Memorial < SBF::Client::BaseEntity
|
@@ -205,15 +175,11 @@ module SBF
|
|
205
175
|
attr_reader :tribute_name
|
206
176
|
attr_reader :display_name
|
207
177
|
attr_reader :status_id
|
208
|
-
attr_reader :zip_code
|
209
178
|
attr_reader :city
|
210
179
|
attr_reader :state
|
211
180
|
attr_reader :state_full
|
212
181
|
attr_reader :country_full
|
213
182
|
attr_reader :country
|
214
|
-
attr_reader :latitude
|
215
|
-
attr_reader :longitude
|
216
|
-
attr_reader :geo_location
|
217
183
|
attr_reader :tribute_birthday
|
218
184
|
attr_reader :tribute_date_of_passing
|
219
185
|
attr_reader :expiration_date
|
data/lib/stbaldricks/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stbaldricks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.4.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: 2018-01-
|
11
|
+
date: 2018-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 5.0.0
|
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
26
|
version: 5.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -211,12 +211,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
211
211
|
version: '0'
|
212
212
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
213
|
requirements:
|
214
|
-
- - "
|
214
|
+
- - ">"
|
215
215
|
- !ruby/object:Gem::Version
|
216
|
-
version:
|
216
|
+
version: 1.3.1
|
217
217
|
requirements: []
|
218
218
|
rubyforge_project:
|
219
|
-
rubygems_version: 2.
|
219
|
+
rubygems_version: 2.7.3
|
220
220
|
signing_key:
|
221
221
|
specification_version: 4
|
222
222
|
summary: St. Baldrick's Foundation Ruby Client Library
|