Skip to content

Commit bbb30db

Browse files
committed
Merge branch 'add-context-to-logevent-handler' into 'master'
Add optional context to logEvent request See merge request pace/mobile/ios/pace-cloud-sdk!428
2 parents aebc694 + 2c1ff00 commit bbb30db

File tree

5 files changed

+120
-92
lines changed

5 files changed

+120
-92
lines changed

Gemfile.lock

Lines changed: 99 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,72 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.6)
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
57
rexml
6-
activesupport (6.1.6)
7-
concurrent-ruby (~> 1.0, >= 1.0.2)
8+
activesupport (7.2.1)
9+
base64
10+
bigdecimal
11+
concurrent-ruby (~> 1.0, >= 1.3.1)
12+
connection_pool (>= 2.2.5)
13+
drb
814
i18n (>= 1.6, < 2)
15+
logger (>= 1.4.2)
916
minitest (>= 5.1)
10-
tzinfo (~> 2.0)
11-
zeitwerk (~> 2.3)
12-
addressable (2.8.5)
13-
public_suffix (>= 2.0.2, < 6.0)
17+
securerandom (>= 0.3)
18+
tzinfo (~> 2.0, >= 2.0.5)
19+
addressable (2.8.7)
20+
public_suffix (>= 2.0.2, < 7.0)
1421
algoliasearch (1.27.5)
1522
httpclient (~> 2.8, >= 2.8.3)
1623
json (>= 1.5.1)
17-
artifactory (3.0.15)
24+
artifactory (3.0.17)
1825
atomos (0.1.3)
19-
aws-eventstream (1.2.0)
20-
aws-partitions (1.819.0)
21-
aws-sdk-core (3.181.0)
22-
aws-eventstream (~> 1, >= 1.0.2)
26+
aws-eventstream (1.3.0)
27+
aws-partitions (1.979.0)
28+
aws-sdk-core (3.209.1)
29+
aws-eventstream (~> 1, >= 1.3.0)
2330
aws-partitions (~> 1, >= 1.651.0)
24-
aws-sigv4 (~> 1.5)
31+
aws-sigv4 (~> 1.9)
2532
jmespath (~> 1, >= 1.6.1)
26-
aws-sdk-kms (1.71.0)
27-
aws-sdk-core (~> 3, >= 3.177.0)
28-
aws-sigv4 (~> 1.1)
29-
aws-sdk-s3 (1.134.0)
30-
aws-sdk-core (~> 3, >= 3.181.0)
33+
aws-sdk-kms (1.94.0)
34+
aws-sdk-core (~> 3, >= 3.207.0)
35+
aws-sigv4 (~> 1.5)
36+
aws-sdk-s3 (1.166.0)
37+
aws-sdk-core (~> 3, >= 3.207.0)
3138
aws-sdk-kms (~> 1)
32-
aws-sigv4 (~> 1.6)
33-
aws-sigv4 (1.6.0)
39+
aws-sigv4 (~> 1.5)
40+
aws-sigv4 (1.10.0)
3441
aws-eventstream (~> 1, >= 1.0.2)
3542
babosa (1.0.4)
3643
badge (0.13.0)
3744
fastimage (>= 1.6)
3845
fastlane (>= 2.0)
3946
mini_magick (>= 4.9.4, < 5.0.0)
47+
base64 (0.2.0)
48+
bigdecimal (3.1.8)
4049
claide (1.1.0)
41-
cocoapods (1.11.3)
50+
cocoapods (1.15.2)
4251
addressable (~> 2.8)
4352
claide (>= 1.0.2, < 2.0)
44-
cocoapods-core (= 1.11.3)
53+
cocoapods-core (= 1.15.2)
4554
cocoapods-deintegrate (>= 1.0.3, < 2.0)
46-
cocoapods-downloader (>= 1.4.0, < 2.0)
55+
cocoapods-downloader (>= 2.1, < 3.0)
4756
cocoapods-plugins (>= 1.0.0, < 2.0)
4857
cocoapods-search (>= 1.0.0, < 2.0)
49-
cocoapods-trunk (>= 1.4.0, < 2.0)
58+
cocoapods-trunk (>= 1.6.0, < 2.0)
5059
cocoapods-try (>= 1.1.0, < 2.0)
5160
colored2 (~> 3.1)
5261
escape (~> 0.0.4)
5362
fourflusher (>= 2.3.0, < 3.0)
5463
gh_inspector (~> 1.0)
5564
molinillo (~> 0.8.0)
5665
nap (~> 1.0)
57-
ruby-macho (>= 1.0, < 3.0)
58-
xcodeproj (>= 1.21.0, < 2.0)
59-
cocoapods-core (1.11.3)
60-
activesupport (>= 5.0, < 7)
66+
ruby-macho (>= 2.3.0, < 3.0)
67+
xcodeproj (>= 1.23.0, < 2.0)
68+
cocoapods-core (1.15.2)
69+
activesupport (>= 5.0, < 8)
6170
addressable (~> 2.8)
6271
algoliasearch (~> 1.0)
6372
concurrent-ruby (~> 1.1)
@@ -67,7 +76,7 @@ GEM
6776
public_suffix (~> 4.0)
6877
typhoeus (~> 1.0)
6978
cocoapods-deintegrate (1.0.5)
70-
cocoapods-downloader (1.6.3)
79+
cocoapods-downloader (2.1)
7180
cocoapods-plugins (1.0.0)
7281
nap
7382
cocoapods-search (1.0.1)
@@ -79,19 +88,20 @@ GEM
7988
colored2 (3.1.2)
8089
commander (4.6.0)
8190
highline (~> 2.0.0)
82-
concurrent-ruby (1.1.10)
91+
concurrent-ruby (1.3.4)
92+
connection_pool (2.4.1)
8393
declarative (0.0.20)
8494
digest-crc (0.6.5)
8595
rake (>= 12.0.0, < 14.0.0)
86-
domain_name (0.5.20190701)
87-
unf (>= 0.0.5, < 1.0.0)
96+
domain_name (0.6.20240107)
8897
dotenv (2.8.1)
98+
drb (2.2.1)
8999
emoji_regex (3.2.3)
90100
escape (0.0.4)
91-
ethon (0.15.0)
101+
ethon (0.16.0)
92102
ffi (>= 1.15.0)
93-
excon (0.102.0)
94-
faraday (1.10.3)
103+
excon (0.111.0)
104+
faraday (1.10.4)
95105
faraday-em_http (~> 1.0)
96106
faraday-em_synchrony (~> 1.0)
97107
faraday-excon (~> 1.1)
@@ -112,22 +122,22 @@ GEM
112122
faraday-httpclient (1.0.1)
113123
faraday-multipart (1.0.4)
114124
multipart-post (~> 2)
115-
faraday-net_http (1.0.1)
125+
faraday-net_http (1.0.2)
116126
faraday-net_http_persistent (1.2.0)
117127
faraday-patron (1.0.0)
118128
faraday-rack (1.0.0)
119129
faraday-retry (1.0.3)
120-
faraday_middleware (1.2.0)
130+
faraday_middleware (1.2.1)
121131
faraday (~> 1.0)
122-
fastimage (2.2.7)
123-
fastlane (2.214.0)
132+
fastimage (2.3.1)
133+
fastlane (2.222.0)
124134
CFPropertyList (>= 2.3, < 4.0.0)
125135
addressable (>= 2.8, < 3.0.0)
126136
artifactory (~> 3.0)
127137
aws-sdk-s3 (~> 1.0)
128138
babosa (>= 1.0.3, < 2.0.0)
129139
bundler (>= 1.12.0, < 3.0.0)
130-
colored
140+
colored (~> 1.2)
131141
commander (~> 4.6)
132142
dotenv (>= 2.1.1, < 3.0.0)
133143
emoji_regex (>= 0.1, < 4.0)
@@ -139,162 +149,164 @@ GEM
139149
gh_inspector (>= 1.1.2, < 2.0.0)
140150
google-apis-androidpublisher_v3 (~> 0.3)
141151
google-apis-playcustomapp_v1 (~> 0.1)
152+
google-cloud-env (>= 1.6.0, < 2.0.0)
142153
google-cloud-storage (~> 1.31)
143154
highline (~> 2.0)
155+
http-cookie (~> 1.0.5)
144156
json (< 3.0.0)
145157
jwt (>= 2.1.0, < 3)
146158
mini_magick (>= 4.9.4, < 5.0.0)
147159
multipart-post (>= 2.0.0, < 3.0.0)
148160
naturally (~> 2.2)
149-
optparse (~> 0.1.1)
161+
optparse (>= 0.1.1, < 1.0.0)
150162
plist (>= 3.1.0, < 4.0.0)
151163
rubyzip (>= 2.0.0, < 3.0.0)
152-
security (= 0.1.3)
164+
security (= 0.1.5)
153165
simctl (~> 1.6.3)
154166
terminal-notifier (>= 2.0.0, < 3.0.0)
155-
terminal-table (>= 1.4.5, < 2.0.0)
167+
terminal-table (~> 3)
156168
tty-screen (>= 0.6.3, < 1.0.0)
157169
tty-spinner (>= 0.8.0, < 1.0.0)
158170
word_wrap (~> 1.0.0)
159171
xcodeproj (>= 1.13.0, < 2.0.0)
160172
xcpretty (~> 0.3.0)
161-
xcpretty-travis-formatter (>= 0.0.3)
173+
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
162174
fastlane-plugin-badge (1.5.0)
163175
badge (~> 0.13.0)
164-
ffi (1.15.5)
176+
ffi (1.17.0)
165177
fourflusher (2.3.1)
166178
fuzzy_match (2.0.4)
167179
gh_inspector (1.1.3)
168-
google-apis-androidpublisher_v3 (0.49.0)
180+
google-apis-androidpublisher_v3 (0.54.0)
169181
google-apis-core (>= 0.11.0, < 2.a)
170-
google-apis-core (0.11.1)
182+
google-apis-core (0.11.3)
171183
addressable (~> 2.5, >= 2.5.1)
172184
googleauth (>= 0.16.2, < 2.a)
173185
httpclient (>= 2.8.1, < 3.a)
174186
mini_mime (~> 1.0)
175187
representable (~> 3.0)
176188
retriable (>= 2.0, < 4.a)
177189
rexml
178-
webrick
179190
google-apis-iamcredentials_v1 (0.17.0)
180191
google-apis-core (>= 0.11.0, < 2.a)
181192
google-apis-playcustomapp_v1 (0.13.0)
182193
google-apis-core (>= 0.11.0, < 2.a)
183-
google-apis-storage_v1 (0.19.0)
184-
google-apis-core (>= 0.9.0, < 2.a)
185-
google-cloud-core (1.6.0)
186-
google-cloud-env (~> 1.0)
194+
google-apis-storage_v1 (0.31.0)
195+
google-apis-core (>= 0.11.0, < 2.a)
196+
google-cloud-core (1.7.1)
197+
google-cloud-env (>= 1.0, < 3.a)
187198
google-cloud-errors (~> 1.0)
188199
google-cloud-env (1.6.0)
189200
faraday (>= 0.17.3, < 3.0)
190-
google-cloud-errors (1.3.1)
191-
google-cloud-storage (1.44.0)
201+
google-cloud-errors (1.4.0)
202+
google-cloud-storage (1.47.0)
192203
addressable (~> 2.8)
193204
digest-crc (~> 0.4)
194205
google-apis-iamcredentials_v1 (~> 0.1)
195-
google-apis-storage_v1 (~> 0.19.0)
206+
google-apis-storage_v1 (~> 0.31.0)
196207
google-cloud-core (~> 1.6)
197208
googleauth (>= 0.16.2, < 2.a)
198209
mini_mime (~> 1.0)
199-
googleauth (1.8.0)
210+
googleauth (1.8.1)
200211
faraday (>= 0.17.3, < 3.a)
201212
jwt (>= 1.4, < 3.0)
202213
multi_json (~> 1.11)
203214
os (>= 0.9, < 2.0)
204215
signet (>= 0.16, < 2.a)
205216
highline (2.0.3)
206-
http-cookie (1.0.5)
217+
http-cookie (1.0.7)
207218
domain_name (~> 0.5)
208219
httpclient (2.8.3)
209-
i18n (1.10.0)
220+
i18n (1.14.6)
210221
concurrent-ruby (~> 1.0)
211-
jazzy (0.14.2)
222+
jazzy (0.15.2)
212223
cocoapods (~> 1.5)
213224
mustache (~> 1.1)
214225
open4 (~> 1.3)
215226
redcarpet (~> 3.4)
216-
rexml (~> 3.2)
217-
rouge (>= 2.0.6, < 4.0)
227+
rexml (>= 3.2.7, < 4.0)
228+
rouge (>= 2.0.6, < 5.0)
218229
sassc (~> 2.1)
219230
sqlite3 (~> 1.3)
220231
xcinvoke (~> 0.3.0)
221232
jmespath (1.6.2)
222-
json (2.6.3)
223-
jwt (2.7.1)
233+
json (2.7.2)
234+
jwt (2.9.1)
235+
base64
224236
liferaft (0.0.6)
225-
mini_magick (4.12.0)
237+
logger (1.6.1)
238+
mini_magick (4.13.2)
226239
mini_mime (1.1.5)
227-
minitest (5.15.0)
240+
mini_portile2 (2.8.7)
241+
minitest (5.25.1)
228242
molinillo (0.8.0)
229243
multi_json (1.15.0)
230-
multipart-post (2.3.0)
244+
multipart-post (2.4.1)
231245
mustache (1.1.1)
232246
nanaimo (0.3.0)
233247
nap (1.1.0)
234248
naturally (2.2.1)
235249
netrc (0.11.0)
250+
nkf (0.2.0)
236251
open4 (1.3.4)
237-
optparse (0.1.1)
252+
optparse (0.5.0)
238253
os (1.1.4)
239-
plist (3.7.0)
254+
plist (3.7.1)
240255
public_suffix (4.0.7)
241-
rake (13.0.6)
242-
redcarpet (3.5.1)
256+
rake (13.2.1)
257+
redcarpet (3.6.0)
243258
representable (3.2.0)
244259
declarative (< 0.1.0)
245260
trailblazer-option (>= 0.1.1, < 0.2.0)
246261
uber (< 0.2.0)
247262
retriable (3.1.2)
248-
rexml (3.2.6)
263+
rexml (3.3.7)
249264
rouge (2.0.7)
250265
ruby-macho (2.5.1)
251266
ruby2_keywords (0.0.5)
252267
rubyzip (2.3.2)
253268
sassc (2.4.0)
254269
ffi (~> 1.9)
255-
security (0.1.3)
256-
signet (0.18.0)
270+
securerandom (0.3.1)
271+
security (0.1.5)
272+
signet (0.19.0)
257273
addressable (~> 2.8)
258274
faraday (>= 0.17.5, < 3.a)
259275
jwt (>= 1.5, < 3.0)
260276
multi_json (~> 1.10)
261277
simctl (1.6.10)
262278
CFPropertyList
263279
naturally
264-
sqlite3 (1.4.2)
280+
sqlite3 (1.7.3)
281+
mini_portile2 (~> 2.8.0)
265282
terminal-notifier (2.0.0)
266-
terminal-table (1.8.0)
267-
unicode-display_width (~> 1.1, >= 1.1.1)
283+
terminal-table (3.0.2)
284+
unicode-display_width (>= 1.1.1, < 3)
268285
trailblazer-option (0.1.2)
269286
tty-cursor (0.7.1)
270-
tty-screen (0.8.1)
287+
tty-screen (0.8.2)
271288
tty-spinner (0.9.3)
272289
tty-cursor (~> 0.7)
273-
typhoeus (1.4.0)
290+
typhoeus (1.4.1)
274291
ethon (>= 0.9.0)
275-
tzinfo (2.0.4)
292+
tzinfo (2.0.6)
276293
concurrent-ruby (~> 1.0)
277294
uber (0.1.0)
278-
unf (0.1.4)
279-
unf_ext
280-
unf_ext (0.0.8.2)
281-
unicode-display_width (1.8.0)
282-
webrick (1.8.1)
295+
unicode-display_width (2.6.0)
283296
word_wrap (1.0.0)
284297
xcinvoke (0.3.0)
285298
liferaft (~> 0.0.6)
286-
xcodeproj (1.22.0)
299+
xcodeproj (1.25.0)
287300
CFPropertyList (>= 2.3.3, < 4.0)
288301
atomos (~> 0.1.3)
289302
claide (>= 1.0.2, < 2.0)
290303
colored2 (~> 3.1)
291304
nanaimo (~> 0.3.0)
292-
rexml (~> 3.2.4)
305+
rexml (>= 3.3.2, < 4.0)
293306
xcpretty (0.3.0)
294307
rouge (~> 2.0.7)
295308
xcpretty-travis-formatter (1.0.1)
296309
xcpretty (~> 0.2, >= 0.0.7)
297-
zeitwerk (2.5.4)
298310

299311
PLATFORMS
300312
ruby

PACECloudSDK/API/Communication/Generated/Models/Request/LogEventRequest.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ public extension API.Communication {
1515
/**
1616
* Dictionary of additional event parameters */
1717
public let parameters: [String: AnyCodable]?
18+
/**
19+
* Provide additional context for the SDK which will not be logged */
20+
public let context: [String: AnyCodable]?
1821

1922
public struct Parameters: Codable {}
23+
24+
public struct Context: Codable {}
2025
}
2126
}

0 commit comments

Comments
 (0)