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
- SHA1:
3
- metadata.gz: a2b7a4a3dad32eb7dc3547a6e7dfcca8dbe38745
4
- data.tar.gz: eaa6368b2f6cadaf4e9f72dc3db0088cf7a20d90
2
+ SHA256:
3
+ metadata.gz: fb034fcad1b5c81d37dbde1224bf7376c2f1750bffda6447474350c0b3c48d56
4
+ data.tar.gz: f5525ea1d18742c5d8ac73be28d57f4e1baf9ddfbf9587f70c814a49f5c340bd
5
5
  SHA512:
6
- metadata.gz: a320416beab794c817023c52cd9dad19cb1ae8be78f6072a71d40176ccc32f56fffeadbfcfcb4c9a9b3bc013b708a1521c562415199a445530aa798b12d6688a
7
- data.tar.gz: a7ddba45978952071cf3bafbac95fa18f2125b1cf2dbc6eacf247ce997b2ce6a96668e55cd5139d20ff85607f21eca85f8712527fc6016868548bba5d799984b
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
- parsed_response_body = JSON.parse(parsed_response_body[:response]).symbolize!
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][:hits].each do |entity_data|
49
- arr << target_class.const_get(entity_data[:_type].capitalize).new(entity_data[:_source])
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
 
@@ -19,7 +19,6 @@ module SBF
19
19
  attr_accessor :id
20
20
  attr_accessor :caption
21
21
  attr_accessor :sort_order
22
- attr_accessor :year
23
22
  attr_accessor :category
24
23
  attr_accessor :file
25
24
  attr_accessor :filename
@@ -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
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '4.3.5'
3
+ VERSION = '4.4.0.alpha.1'
4
4
  end
5
5
  end
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.3.5
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-14 00:00:00.000000000 Z
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: '0'
216
+ version: 1.3.1
217
217
  requirements: []
218
218
  rubyforge_project:
219
- rubygems_version: 2.6.13
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