pubnub 5.3.1 → 5.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/run-tests.yml +4 -2
- data/.pubnub.yml +182 -286
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +110 -127
- data/README.md +1 -3
- data/VERSION +1 -1
- data/lib/pubnub/events/history.rb +6 -10
- data/lib/pubnub/formatter.rb +0 -1
- data/lib/pubnub/subscribe_event/formatter.rb +1 -2
- data/lib/pubnub/version.rb +1 -1
- data/pubnub.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15cb7d26bab18d7fe5f9aeec8721e63272b243dd6813132c972ab4af50da8acd
|
4
|
+
data.tar.gz: b1dd294bebc11347ddc48b0489a393549c9e158b1d189cabe6d1f1d823cc6e58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cba51f7ae0a00ee33cca96c635a62894e819c1ceb80fef4052bd97ce18bf5659cd1a2cbcc6e806b9a97af26a510562538270ed2bf78c17c77986feb03c5d3bcb
|
7
|
+
data.tar.gz: 84c55cfc9fed8c89f14dfce823ceef627971fc494c572115c4f4ebc1bfcc0330120114c3ae1f27a87cb6e7ce7040c3da30619681b7209fd0767bc10c2fde231c
|
@@ -15,10 +15,12 @@ jobs:
|
|
15
15
|
tests:
|
16
16
|
name: Integration and Unit tests
|
17
17
|
runs-on: ubuntu-latest
|
18
|
+
env:
|
19
|
+
NO_COVERAGE: true
|
18
20
|
strategy:
|
19
21
|
fail-fast: true
|
20
22
|
matrix:
|
21
|
-
ruby: [
|
23
|
+
ruby: [ 3.0.6, 3.1.4, 3.2.3 ]
|
22
24
|
steps:
|
23
25
|
- name: Checkout repository
|
24
26
|
uses: actions/checkout@v3
|
@@ -89,7 +91,7 @@ jobs:
|
|
89
91
|
all-tests:
|
90
92
|
name: Tests
|
91
93
|
runs-on: ubuntu-latest
|
92
|
-
needs: [tests, acceptance-tests]
|
94
|
+
needs: [ tests, acceptance-tests ]
|
93
95
|
steps:
|
94
96
|
- name: Tests summary
|
95
97
|
run: echo -e "\033[38;2;95;215;0m\033[1mAll tests successfully passed"
|
data/.pubnub.yml
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
---
|
2
|
-
version: "5.3.
|
2
|
+
version: "5.3.3"
|
3
3
|
changelog:
|
4
|
+
- date: 2024-01-29
|
5
|
+
version: v5.3.3
|
6
|
+
changes:
|
7
|
+
- type: improvement
|
8
|
+
text: "Bump required version to the minimum officially supported Ruby version."
|
9
|
+
- date: 2023-11-23
|
10
|
+
version: v5.3.2
|
11
|
+
changes:
|
12
|
+
- type: improvement
|
13
|
+
text: "Return source event data when a client configured with crypto is unable to decrypt it (can be not encrypted data or encrypted with different options)."
|
4
14
|
- date: 2023-11-03
|
5
15
|
version: v5.3.1
|
6
16
|
changes:
|
@@ -69,389 +79,276 @@ changelog:
|
|
69
79
|
changes:
|
70
80
|
- type: feature
|
71
81
|
text: "Grant_token allows generation of signed token with permissions for channels, channel groups and uuids."
|
72
|
-
-
|
73
|
-
|
74
|
-
-
|
75
|
-
text: "Add new `sdks` section to `.pubnub.yml` with information about available artifacts and distribution variants."
|
82
|
+
- changes:
|
83
|
+
- text: "Add new `sdks` section to `.pubnub.yml` with information about available artifacts and distribution variants."
|
76
84
|
type: improvement
|
77
85
|
date: 2021-06-09
|
78
86
|
version: v4.6.2
|
79
|
-
-
|
80
|
-
|
81
|
-
-
|
82
|
-
text: "Exclude `spec` and `fixtures` from built gem file."
|
87
|
+
- changes:
|
88
|
+
- text: "Exclude `spec` and `fixtures` from built gem file."
|
83
89
|
type: improvement
|
84
|
-
-
|
85
|
-
text: "Fix Ruby SDK repository location under `sdks` section in `.pubnub.yml`."
|
90
|
+
- text: "Fix Ruby SDK repository location under `sdks` section in `.pubnub.yml`."
|
86
91
|
type: improvement
|
87
|
-
-
|
88
|
-
text: "Add new section to `.pubnub.yml` file with information about SDK and destribution types."
|
92
|
+
- text: "Add new section to `.pubnub.yml` file with information about SDK and destribution types."
|
89
93
|
type: improvement
|
90
94
|
date: 2021-05-19
|
91
95
|
version: v4.6.1
|
92
|
-
-
|
93
|
-
|
94
|
-
-
|
95
|
-
text: "BREAKING CHANGE: Add randomized initialization vector usage by default for data encryption / decryption in publish / subscribe / history API calls."
|
96
|
+
- changes:
|
97
|
+
- text: "BREAKING CHANGE: Add randomized initialization vector usage by default for data encryption / decryption in publish / subscribe / history API calls."
|
96
98
|
type: feature
|
97
|
-
-
|
98
|
-
text: "Fix issue which caused Object request body encryption when `cipher_key` is set."
|
99
|
+
- text: "Fix issue which caused Object request body encryption when `cipher_key` is set."
|
99
100
|
type: bug
|
100
101
|
date: 2021-03-08
|
101
102
|
version: v4.6.0
|
102
|
-
-
|
103
|
-
|
104
|
-
-
|
105
|
-
text: "Add support for APNS2 device/channel management."
|
103
|
+
- changes:
|
104
|
+
- text: "Add support for APNS2 device/channel management."
|
106
105
|
type: feature
|
107
|
-
-
|
108
|
-
text: "Resolved issue with multiple timetokens in message counts endpoint"
|
106
|
+
- text: "Resolved issue with multiple timetokens in message counts endpoint"
|
109
107
|
type: bug
|
110
108
|
date: 2020-12-03
|
111
109
|
version: v4.5.0
|
112
|
-
-
|
113
|
-
|
114
|
-
-
|
115
|
-
text: "Add simplified Objects API support with UUID and Channel metadata / membership management."
|
110
|
+
- changes:
|
111
|
+
- text: "Add simplified Objects API support with UUID and Channel metadata / membership management."
|
116
112
|
type: feature
|
117
|
-
-
|
118
|
-
text: "Add uuid and parameter to Grant API along with new Objects permissions: `get`, `update` and `join`."
|
113
|
+
- text: "Add uuid and parameter to Grant API along with new Objects permissions: `get`, `update` and `join`."
|
119
114
|
type: feature
|
120
115
|
date: 2020-10-21
|
121
116
|
version: v4.4.0
|
122
|
-
-
|
123
|
-
|
124
|
-
-
|
125
|
-
text: "Add `delete` permission for `channel` to Grant."
|
117
|
+
- changes:
|
118
|
+
- text: "Add `delete` permission for `channel` to Grant."
|
126
119
|
type: feature
|
127
120
|
date: 2020-10-18
|
128
121
|
version: v4.3.0
|
129
|
-
-
|
130
|
-
|
131
|
-
-
|
132
|
-
text: "Don't suppress runtime errors."
|
122
|
+
- changes:
|
123
|
+
- text: "Don't suppress runtime errors."
|
133
124
|
type: bug
|
134
125
|
date: 2020-09-14
|
135
126
|
version: v4.2.7
|
136
|
-
-
|
137
|
-
|
138
|
-
-
|
139
|
-
text: "History can now respond with message meta information."
|
127
|
+
- changes:
|
128
|
+
- text: "History can now respond with message meta information."
|
140
129
|
type: feature
|
141
|
-
-
|
142
|
-
text: "Added official support for Ruby 2.7.X"
|
130
|
+
- text: "Added official support for Ruby 2.7.X"
|
143
131
|
type: feature
|
144
|
-
-
|
145
|
-
text: "History properly decrypts messages when using the \"include_token\" parameter."
|
132
|
+
- text: "History properly decrypts messages when using the \"include_token\" parameter."
|
146
133
|
type: bug
|
147
134
|
date: 2020-08-25
|
148
135
|
version: v4.2.6
|
149
|
-
-
|
150
|
-
|
151
|
-
-
|
152
|
-
text: "Fixed Message Counts channel timetokens by disabling alphabetic sorting of the channels list."
|
136
|
+
- changes:
|
137
|
+
- text: "Fixed Message Counts channel timetokens by disabling alphabetic sorting of the channels list."
|
153
138
|
type: bug
|
154
139
|
date: 2020-06-02
|
155
140
|
version: v4.2.5
|
156
|
-
-
|
157
|
-
|
158
|
-
-
|
159
|
-
text: "Replace event name with full endpoint path in PAM signatures, for compatibility with PAM v2 signatures."
|
141
|
+
- changes:
|
142
|
+
- text: "Replace event name with full endpoint path in PAM signatures, for compatibility with PAM v2 signatures."
|
160
143
|
type: bug
|
161
|
-
-
|
162
|
-
text: "Change paths for PAM endpoints from v1 to v2."
|
144
|
+
- text: "Change paths for PAM endpoints from v1 to v2."
|
163
145
|
type: bug
|
164
|
-
-
|
165
|
-
text: "Update PAM signature generator to correctly sort the query string parameters based on key instead of combined key and value."
|
146
|
+
- text: "Update PAM signature generator to correctly sort the query string parameters based on key instead of combined key and value."
|
166
147
|
type: bug
|
167
148
|
date: 2020-05-22
|
168
149
|
version: v4.2.4
|
169
|
-
-
|
170
|
-
|
171
|
-
-
|
172
|
-
text: "Resolved issue with multiple timetokens in message counts endpoint"
|
150
|
+
- changes:
|
151
|
+
- text: "Resolved issue with multiple timetokens in message counts endpoint"
|
173
152
|
type: bug
|
174
153
|
date: 2019-11-11
|
175
154
|
version: "4.2.2"
|
176
|
-
-
|
177
|
-
|
178
|
-
-
|
179
|
-
text: "Updated listener methods"
|
155
|
+
- changes:
|
156
|
+
- text: "Updated listener methods"
|
180
157
|
type: feature
|
181
158
|
date: 2019-10-25
|
182
159
|
version: "4.2.1"
|
183
|
-
-
|
184
|
-
|
185
|
-
-
|
186
|
-
text: "Added objects feature"
|
160
|
+
- changes:
|
161
|
+
- text: "Added objects feature"
|
187
162
|
type: feature
|
188
163
|
date: 2019-10-11
|
189
164
|
version: "4.2.0"
|
190
|
-
-
|
191
|
-
|
192
|
-
-
|
193
|
-
text: "Added signal feature"
|
165
|
+
- changes:
|
166
|
+
- text: "Added signal feature"
|
194
167
|
type: feature
|
195
168
|
date: 2019-08-21
|
196
169
|
version: "4.1.6"
|
197
|
-
-
|
198
|
-
|
199
|
-
-
|
200
|
-
text: "Updated dependencies"
|
170
|
+
- changes:
|
171
|
+
- text: "Updated dependencies"
|
201
172
|
type: improvement
|
202
173
|
date: 2019-07-29
|
203
174
|
version: "4.1.5"
|
204
|
-
-
|
205
|
-
|
206
|
-
-
|
207
|
-
text: "Added push API"
|
175
|
+
- changes:
|
176
|
+
- text: "Added push API"
|
208
177
|
type: feature
|
209
178
|
date: 2019-04-08
|
210
179
|
version: "4.1.1"
|
211
|
-
-
|
212
|
-
|
213
|
-
-
|
214
|
-
text: "Added 'message_count' API endpoint"
|
180
|
+
- changes:
|
181
|
+
- text: "Added 'message_count' API endpoint"
|
215
182
|
type: feature
|
216
183
|
date: 2019-02-28
|
217
184
|
version: "4.1.0"
|
218
|
-
-
|
219
|
-
|
220
|
-
-
|
221
|
-
text: "Switch from Celluloid to concurrent-ruby."
|
185
|
+
- changes:
|
186
|
+
- text: "Switch from Celluloid to concurrent-ruby."
|
222
187
|
type: bug
|
223
188
|
date: 2018-08-28
|
224
189
|
version: "4.0.28"
|
225
|
-
-
|
226
|
-
|
227
|
-
-
|
228
|
-
text: "Fixed telemetry issues."
|
190
|
+
- changes:
|
191
|
+
- text: "Fixed telemetry issues."
|
229
192
|
type: bug
|
230
193
|
date: 2017-11-17
|
231
194
|
version: "4.0.27"
|
232
|
-
-
|
233
|
-
|
234
|
-
-
|
235
|
-
text: "Secured telemetry call. Fixed crash when an app was exiting."
|
195
|
+
- changes:
|
196
|
+
- text: "Secured telemetry call. Fixed crash when an app was exiting."
|
236
197
|
type: bug
|
237
198
|
date: 2017-10-23
|
238
199
|
version: "4.0.26"
|
239
|
-
-
|
240
|
-
|
241
|
-
-
|
242
|
-
text: "Added telemetry"
|
200
|
+
- changes:
|
201
|
+
- text: "Added telemetry"
|
243
202
|
type: feature
|
244
203
|
date: 2017-09-12
|
245
204
|
version: "4.0.25"
|
246
|
-
-
|
247
|
-
|
248
|
-
-
|
249
|
-
text: "Added #delete_messages method"
|
205
|
+
- changes:
|
206
|
+
- text: "Added #delete_messages method"
|
250
207
|
type: feature
|
251
|
-
-
|
252
|
-
text: "Improved timeout error handling (thanks @f1sherman)"
|
208
|
+
- text: "Improved timeout error handling (thanks @f1sherman)"
|
253
209
|
type: improvement
|
254
210
|
date: 2017-08-29
|
255
211
|
version: "4.0.24"
|
256
|
-
-
|
257
|
-
|
258
|
-
-
|
259
|
-
text: "Fixed HereNow envelope generation"
|
212
|
+
- changes:
|
213
|
+
- text: "Fixed HereNow envelope generation"
|
260
214
|
type: bug
|
261
215
|
date: 2017-07-26
|
262
216
|
version: "4.0.23"
|
263
|
-
-
|
264
|
-
|
265
|
-
-
|
266
|
-
text: "Fixed signature generation and channel name escaping"
|
217
|
+
- changes:
|
218
|
+
- text: "Fixed signature generation and channel name escaping"
|
267
219
|
type: bug
|
268
220
|
date: 2017-05-31
|
269
221
|
version: "4.0.22"
|
270
|
-
-
|
271
|
-
|
272
|
-
-
|
273
|
-
text: "Fixed signature generation"
|
222
|
+
- changes:
|
223
|
+
- text: "Fixed signature generation"
|
274
224
|
type: bug
|
275
225
|
date: 2017-04-18
|
276
226
|
version: "4.0.21"
|
277
|
-
-
|
278
|
-
|
279
|
-
-
|
280
|
-
text: "origin can now be set in initialized client"
|
227
|
+
- changes:
|
228
|
+
- text: "origin can now be set in initialized client"
|
281
229
|
type: improvement
|
282
|
-
-
|
283
|
-
text: "presence interval support"
|
230
|
+
- text: "presence interval support"
|
284
231
|
type: improvement
|
285
|
-
-
|
286
|
-
text: "allows using multiple cipher keys"
|
232
|
+
- text: "allows using multiple cipher keys"
|
287
233
|
type: improvement
|
288
234
|
date: 2017-04-11
|
289
235
|
version: "4.0.20"
|
290
|
-
-
|
291
|
-
|
292
|
-
-
|
293
|
-
text: "Fixed sync subscribe not terminating actors"
|
236
|
+
- changes:
|
237
|
+
- text: "Fixed sync subscribe not terminating actors"
|
294
238
|
type: bug
|
295
239
|
date: 2017-03-02
|
296
240
|
version: v4.0.18
|
297
|
-
-
|
298
|
-
|
299
|
-
-
|
300
|
-
text: "Added a bit more debug logging"
|
241
|
+
- changes:
|
242
|
+
- text: "Added a bit more debug logging"
|
301
243
|
type: improvement
|
302
|
-
-
|
303
|
-
text: "Updated default origin"
|
244
|
+
- text: "Updated default origin"
|
304
245
|
type: improvement
|
305
246
|
date: 2016-12-21
|
306
247
|
version: v4.0.17
|
307
|
-
-
|
308
|
-
|
309
|
-
-
|
310
|
-
text: "Fixed missing channel group parameter in leave event"
|
248
|
+
- changes:
|
249
|
+
- text: "Fixed missing channel group parameter in leave event"
|
311
250
|
type: bug
|
312
251
|
date: 2016-11-23
|
313
252
|
version: v4.0.16
|
314
|
-
-
|
315
|
-
|
316
|
-
-
|
317
|
-
text: "Fixed PAM signature when some special characters are present"
|
253
|
+
- changes:
|
254
|
+
- text: "Fixed PAM signature when some special characters are present"
|
318
255
|
type: bug
|
319
256
|
date: 2016-11-21
|
320
257
|
version: v4.0.15
|
321
|
-
-
|
322
|
-
|
323
|
-
-
|
324
|
-
text: "Added ttl parameter for publish"
|
258
|
+
- changes:
|
259
|
+
- text: "Added ttl parameter for publish"
|
325
260
|
type: improvement
|
326
261
|
date: 2016-11-04
|
327
262
|
version: v4.0.14
|
328
|
-
-
|
329
|
-
|
330
|
-
-
|
331
|
-
text: "Changed init message log level to debug"
|
263
|
+
- changes:
|
264
|
+
- text: "Changed init message log level to debug"
|
332
265
|
type: improvement
|
333
266
|
date: 2016-11-04
|
334
267
|
version: v4.0.13
|
335
|
-
-
|
336
|
-
|
337
|
-
-
|
338
|
-
text: "Added alert on catchup failure (REQUEST_MESSAGE_COUNT_EXCEEDED)"
|
268
|
+
- changes:
|
269
|
+
- text: "Added alert on catchup failure (REQUEST_MESSAGE_COUNT_EXCEEDED)"
|
339
270
|
type: improvement
|
340
271
|
date: 2016-10-31
|
341
272
|
version: v4.0.12
|
342
|
-
-
|
343
|
-
|
344
|
-
-
|
345
|
-
text: "Added super admin mode (Enabled when secret key is set on Pubnub::Client init)"
|
273
|
+
- changes:
|
274
|
+
- text: "Added super admin mode (Enabled when secret key is set on Pubnub::Client init)"
|
346
275
|
type: improvement
|
347
276
|
date: 2016-10-31
|
348
277
|
version: v4.0.11
|
349
|
-
-
|
350
|
-
|
351
|
-
-
|
352
|
-
text: "Better single events timeout handling"
|
278
|
+
- changes:
|
279
|
+
- text: "Better single events timeout handling"
|
353
280
|
type: improvement
|
354
|
-
-
|
355
|
-
text: "DRYed envelope formatting a bit"
|
281
|
+
- text: "DRYed envelope formatting a bit"
|
356
282
|
type: improvement
|
357
283
|
date: 2016-10-31
|
358
284
|
version: v4.0.10
|
359
|
-
-
|
360
|
-
|
361
|
-
-
|
362
|
-
text: "Removed json dependency"
|
285
|
+
- changes:
|
286
|
+
- text: "Removed json dependency"
|
363
287
|
type: improvement
|
364
|
-
-
|
365
|
-
text: "Updated dependecies"
|
288
|
+
- text: "Updated dependecies"
|
366
289
|
type: improvement
|
367
290
|
date: 2016-10-31
|
368
291
|
version: v4.0.9
|
369
|
-
-
|
370
|
-
|
371
|
-
-
|
372
|
-
text: "Updated dry-validation."
|
292
|
+
- changes:
|
293
|
+
- text: "Updated dry-validation."
|
373
294
|
type: improvement
|
374
|
-
-
|
375
|
-
text: "Dropped support for ruby 2.0."
|
295
|
+
- text: "Dropped support for ruby 2.0."
|
376
296
|
type: improvement
|
377
297
|
date: 2016-10-31
|
378
298
|
version: v4.0.8
|
379
|
-
-
|
380
|
-
|
381
|
-
-
|
382
|
-
text: "Added message decrypting in history."
|
299
|
+
- changes:
|
300
|
+
- text: "Added message decrypting in history."
|
383
301
|
type: improvement
|
384
302
|
date: 2016-08-23
|
385
303
|
version: v4.0.7
|
386
|
-
-
|
387
|
-
|
388
|
-
-
|
389
|
-
text: "channel and channels are the same argument."
|
304
|
+
- changes:
|
305
|
+
- text: "channel and channels are the same argument."
|
390
306
|
type: improvement
|
391
|
-
-
|
392
|
-
text: "channel_group and channel_groups are the same argument."
|
307
|
+
- text: "channel_group and channel_groups are the same argument."
|
393
308
|
type: improvement
|
394
|
-
-
|
395
|
-
text: "added `with_presence` flag for subscribe, default false."
|
309
|
+
- text: "added `with_presence` flag for subscribe, default false."
|
396
310
|
type: improvement
|
397
311
|
date: 2016-08-17
|
398
312
|
version: v4.0.6
|
399
|
-
-
|
400
|
-
|
401
|
-
-
|
402
|
-
text: "Required CGI."
|
313
|
+
- changes:
|
314
|
+
- text: "Required CGI."
|
403
315
|
type: improvement
|
404
316
|
date: 2016-08-17
|
405
317
|
version: v4.0.5
|
406
|
-
-
|
407
|
-
|
408
|
-
-
|
409
|
-
text: "Added #subscribe_filter for client"
|
318
|
+
- changes:
|
319
|
+
- text: "Added #subscribe_filter for client"
|
410
320
|
type: feature
|
411
321
|
date: 2016-08-17
|
412
322
|
version: v4.0.2
|
413
|
-
-
|
414
|
-
|
415
|
-
-
|
416
|
-
text: "Updated dry-validation and EnvelopeSchema."
|
323
|
+
- changes:
|
324
|
+
- text: "Updated dry-validation and EnvelopeSchema."
|
417
325
|
type: improvement
|
418
326
|
date: 2016-08-17
|
419
327
|
version: v4.0.1
|
420
|
-
-
|
421
|
-
|
422
|
-
-
|
423
|
-
text: "Removed auth_key and uuid setters (#set_auth_key,"
|
328
|
+
- changes:
|
329
|
+
- text: "Removed auth_key and uuid setters (#set_auth_key,"
|
424
330
|
type: feature
|
425
|
-
-
|
426
|
-
text: Added
|
331
|
+
- text: Added
|
427
332
|
type: improvement
|
428
333
|
date: 2016-08-17
|
429
334
|
version: v4.0.0
|
430
|
-
-
|
431
|
-
|
432
|
-
-
|
433
|
-
text: "Restored auth_key and uuid setters. Important notice: they will be removed"
|
335
|
+
- changes:
|
336
|
+
- text: "Restored auth_key and uuid setters. Important notice: they will be removed"
|
434
337
|
type: improvement
|
435
338
|
date: 2016-08-17
|
436
339
|
version: v3.8.3
|
437
|
-
-
|
438
|
-
|
439
|
-
-
|
440
|
-
text: "Added :include_token parameter to history call."
|
340
|
+
- changes:
|
341
|
+
- text: "Added :include_token parameter to history call."
|
441
342
|
type: feature
|
442
343
|
date: 2016-08-17
|
443
344
|
version: v3.8.2
|
444
|
-
-
|
445
|
-
|
446
|
-
-
|
447
|
-
text: "Updated celluloid dependency."
|
345
|
+
- changes:
|
346
|
+
- text: "Updated celluloid dependency."
|
448
347
|
type: improvement
|
449
348
|
date: 2016-08-17
|
450
349
|
version: v3.8.1
|
451
|
-
-
|
452
|
-
|
453
|
-
-
|
454
|
-
text: "Release of celluloid version of pubnub gem. It's complete rewrite but public API doesn't change."
|
350
|
+
- changes:
|
351
|
+
- text: "Release of celluloid version of pubnub gem. It's complete rewrite but public API doesn't change."
|
455
352
|
type: improvement
|
456
353
|
date: 2017-08-17
|
457
354
|
version: v3.8.0
|
@@ -543,11 +440,10 @@ name: ruby
|
|
543
440
|
schema: 1
|
544
441
|
scm: github.com/pubnub/ruby
|
545
442
|
supported-platforms:
|
546
|
-
-
|
547
|
-
|
548
|
-
- "ruby
|
549
|
-
- "ruby
|
550
|
-
- "ruby 2.4"
|
443
|
+
- editors:
|
444
|
+
- "ruby 3.2"
|
445
|
+
- "ruby 3.1"
|
446
|
+
- "ruby 3.0"
|
551
447
|
platforms:
|
552
448
|
- "FreeBSD 8-STABLE or later, amd64, 386"
|
553
449
|
- "Linux 2.6 or later, amd64, 386"
|
@@ -575,7 +471,7 @@ sdks:
|
|
575
471
|
requires:
|
576
472
|
- name: addressable
|
577
473
|
min-version: 2.0.0
|
578
|
-
max-version: 2.
|
474
|
+
max-version: 2.8.6
|
579
475
|
location: https://rubygems.org/gems/addressable
|
580
476
|
license: Apache License 2.0
|
581
477
|
license-url: https://github.com/sporkmonger/addressable/blob/main/LICENSE.txt
|
@@ -583,7 +479,7 @@ sdks:
|
|
583
479
|
notes: Will be installed along with SDK
|
584
480
|
- name: concurrent-ruby
|
585
481
|
min-version: 1.1.5
|
586
|
-
max-version: 1.1.
|
482
|
+
max-version: 1.1.10
|
587
483
|
location: https://rubygems.org/gems/concurrent-ruby
|
588
484
|
license: MIT License
|
589
485
|
license-url: https://github.com/ruby-concurrency/concurrent-ruby/blob/master/LICENSE.txt
|
@@ -599,7 +495,7 @@ sdks:
|
|
599
495
|
notes: Will be installed along with SDK
|
600
496
|
- name: dry-validation
|
601
497
|
min-version: 1.0.0
|
602
|
-
max-version: 1.
|
498
|
+
max-version: 1.10.0
|
603
499
|
location: https://rubygems.org/gems/dry-validation
|
604
500
|
license: MIT License
|
605
501
|
license-url: https://github.com/dry-rb/dry-validation/blob/master/LICENSE
|
@@ -615,7 +511,7 @@ sdks:
|
|
615
511
|
notes: Will be installed along with SDK
|
616
512
|
- name: json
|
617
513
|
min-version: 2.2.0
|
618
|
-
max-version: 2.
|
514
|
+
max-version: 2.7.1
|
619
515
|
location: https://rubygems.org/gems/json
|
620
516
|
license: Ruby License
|
621
517
|
license-url: https://github.com/flori/json/blob/master/LICENSE
|
@@ -623,7 +519,7 @@ sdks:
|
|
623
519
|
notes: Will be installed along with SDK
|
624
520
|
- name: timers
|
625
521
|
min-version: 4.3.0
|
626
|
-
max-version: 4.3.
|
522
|
+
max-version: 4.3.5
|
627
523
|
location: https://rubygems.org/gems/timers
|
628
524
|
license: MIT License
|
629
525
|
license-url: https://github.com/socketry/timers#license
|
@@ -633,10 +529,10 @@ sdks:
|
|
633
529
|
supported-operating-systems:
|
634
530
|
macOS:
|
635
531
|
runtime-version:
|
636
|
-
- Ruby
|
637
|
-
- Ruby
|
638
|
-
- Ruby 2.
|
639
|
-
- Ruby
|
532
|
+
- Ruby 3.0.x
|
533
|
+
- Ruby 3.1.x
|
534
|
+
- Ruby 3.2.x
|
535
|
+
- Ruby 3.3.x
|
640
536
|
minimum-os-version:
|
641
537
|
- OS X 10.10
|
642
538
|
maximum-os-version:
|
@@ -646,10 +542,10 @@ sdks:
|
|
646
542
|
- x86-64
|
647
543
|
Windows:
|
648
544
|
runtime-version:
|
649
|
-
- Ruby
|
650
|
-
- Ruby
|
651
|
-
- Ruby 2.
|
652
|
-
- Ruby
|
545
|
+
- Ruby 3.0.x
|
546
|
+
- Ruby 3.1.x
|
547
|
+
- Ruby 3.2.x
|
548
|
+
- Ruby 3.3.x
|
653
549
|
minimum-os-version:
|
654
550
|
- Windows 7 Professional
|
655
551
|
- Windows 7 Enterprise
|
@@ -662,10 +558,10 @@ sdks:
|
|
662
558
|
- x86-64
|
663
559
|
Linux:
|
664
560
|
runtime-version:
|
665
|
-
- Ruby
|
666
|
-
- Ruby
|
667
|
-
- Ruby 2.
|
668
|
-
- Ruby
|
561
|
+
- Ruby 3.0.x
|
562
|
+
- Ruby 3.1.x
|
563
|
+
- Ruby 3.2.x
|
564
|
+
- Ruby 3.3.x
|
669
565
|
minimum-os-version:
|
670
566
|
- Ubuntu 16.04 LTS
|
671
567
|
maximum-os-version:
|
@@ -675,12 +571,12 @@ sdks:
|
|
675
571
|
- x86-64
|
676
572
|
- distribution-type: package
|
677
573
|
distribution-repository: RubyGems
|
678
|
-
package-name: pubnub-5.3.
|
574
|
+
package-name: pubnub-5.3.3.gem
|
679
575
|
location: https://rubygems.org/gems/pubnub
|
680
576
|
requires:
|
681
577
|
- name: addressable
|
682
578
|
min-version: 2.0.0
|
683
|
-
max-version: 2.
|
579
|
+
max-version: 2.8.6
|
684
580
|
location: https://rubygems.org/gems/addressable
|
685
581
|
license: Apache License 2.0
|
686
582
|
license-url: https://github.com/sporkmonger/addressable/blob/main/LICENSE.txt
|
@@ -688,7 +584,7 @@ sdks:
|
|
688
584
|
notes: Will be installed along with SDK
|
689
585
|
- name: concurrent-ruby
|
690
586
|
min-version: 1.1.5
|
691
|
-
max-version: 1.1.
|
587
|
+
max-version: 1.1.10
|
692
588
|
location: https://rubygems.org/gems/concurrent-ruby
|
693
589
|
license: MIT License
|
694
590
|
license-url: https://github.com/ruby-concurrency/concurrent-ruby/blob/master/LICENSE.txt
|
@@ -704,7 +600,7 @@ sdks:
|
|
704
600
|
notes: Will be installed along with SDK
|
705
601
|
- name: dry-validation
|
706
602
|
min-version: 1.0.0
|
707
|
-
max-version: 1.
|
603
|
+
max-version: 1.10.0
|
708
604
|
location: https://rubygems.org/gems/dry-validation
|
709
605
|
license: MIT License
|
710
606
|
license-url: https://github.com/dry-rb/dry-validation/blob/master/LICENSE
|
@@ -720,7 +616,7 @@ sdks:
|
|
720
616
|
notes: Will be installed along with SDK
|
721
617
|
- name: json
|
722
618
|
min-version: 2.2.0
|
723
|
-
max-version: 2.
|
619
|
+
max-version: 2.7.1
|
724
620
|
location: https://rubygems.org/gems/json
|
725
621
|
license: Ruby License
|
726
622
|
license-url: https://github.com/flori/json/blob/master/LICENSE
|
@@ -728,7 +624,7 @@ sdks:
|
|
728
624
|
notes: Will be installed along with SDK
|
729
625
|
- name: timers
|
730
626
|
min-version: 4.3.0
|
731
|
-
max-version: 4.3.
|
627
|
+
max-version: 4.3.5
|
732
628
|
location: https://rubygems.org/gems/timers
|
733
629
|
license: MIT License
|
734
630
|
license-url: https://github.com/socketry/timers#license
|
@@ -738,10 +634,10 @@ sdks:
|
|
738
634
|
supported-operating-systems:
|
739
635
|
macOS:
|
740
636
|
runtime-version:
|
741
|
-
- Ruby
|
742
|
-
- Ruby
|
743
|
-
- Ruby 2.
|
744
|
-
- Ruby
|
637
|
+
- Ruby 3.0.x
|
638
|
+
- Ruby 3.1.x
|
639
|
+
- Ruby 3.2.x
|
640
|
+
- Ruby 3.3.x
|
745
641
|
minimum-os-version:
|
746
642
|
- OS X 10.10
|
747
643
|
maximum-os-version:
|
@@ -751,10 +647,10 @@ sdks:
|
|
751
647
|
- x86-64
|
752
648
|
Windows:
|
753
649
|
runtime-version:
|
754
|
-
- Ruby
|
755
|
-
- Ruby
|
756
|
-
- Ruby 2.
|
757
|
-
- Ruby
|
650
|
+
- Ruby 3.0.x
|
651
|
+
- Ruby 3.1.x
|
652
|
+
- Ruby 3.2.x
|
653
|
+
- Ruby 3.3.x
|
758
654
|
minimum-os-version:
|
759
655
|
- Windows 7 Professional
|
760
656
|
- Windows 7 Enterprise
|
@@ -767,10 +663,10 @@ sdks:
|
|
767
663
|
- x86-64
|
768
664
|
Linux:
|
769
665
|
runtime-version:
|
770
|
-
- Ruby
|
771
|
-
- Ruby
|
772
|
-
- Ruby 2.
|
773
|
-
- Ruby
|
666
|
+
- Ruby 3.0.x
|
667
|
+
- Ruby 3.1.x
|
668
|
+
- Ruby 3.2.x
|
669
|
+
- Ruby 3.3.x
|
774
670
|
minimum-os-version:
|
775
671
|
- Ubuntu 16.04 LTS
|
776
672
|
maximum-os-version:
|
@@ -780,19 +676,19 @@ sdks:
|
|
780
676
|
- x86-64
|
781
677
|
- distribution-type: library
|
782
678
|
distribution-repository: GitHub release
|
783
|
-
package-name: pubnub-5.3.
|
784
|
-
location: https://github.com/pubnub/ruby/releases/download/v5.3.
|
679
|
+
package-name: pubnub-5.3.3.gem
|
680
|
+
location: https://github.com/pubnub/ruby/releases/download/v5.3.3/pubnub-5.3.3.gem
|
785
681
|
requires:
|
786
682
|
- name: addressable
|
787
683
|
min-version: 2.0.0
|
788
|
-
max-version: 2.
|
684
|
+
max-version: 2.8.6
|
789
685
|
location: https://rubygems.org/gems/addressable
|
790
686
|
license: Apache License 2.0
|
791
687
|
license-url: https://github.com/sporkmonger/addressable/blob/main/LICENSE.txt
|
792
688
|
is-required: Required
|
793
689
|
- name: concurrent-ruby
|
794
690
|
min-version: 1.1.5
|
795
|
-
max-version: 1.1.
|
691
|
+
max-version: 1.1.10
|
796
692
|
location: https://rubygems.org/gems/concurrent-ruby
|
797
693
|
license: MIT License
|
798
694
|
license-url: https://github.com/ruby-concurrency/concurrent-ruby/blob/master/LICENSE.txt
|
@@ -806,7 +702,7 @@ sdks:
|
|
806
702
|
is-required: Required
|
807
703
|
- name: dry-validation
|
808
704
|
min-version: 1.0.0
|
809
|
-
max-version: 1.
|
705
|
+
max-version: 1.10.0
|
810
706
|
location: https://rubygems.org/gems/dry-validation
|
811
707
|
license: MIT License
|
812
708
|
license-url: https://github.com/dry-rb/dry-validation/blob/master/LICENSE
|
@@ -820,14 +716,14 @@ sdks:
|
|
820
716
|
is-required: Required
|
821
717
|
- name: json
|
822
718
|
min-version: 2.2.0
|
823
|
-
max-version: 2.
|
719
|
+
max-version: 2.7.1
|
824
720
|
location: https://rubygems.org/gems/json
|
825
721
|
license: Ruby License
|
826
722
|
license-url: https://github.com/flori/json/blob/master/LICENSE
|
827
723
|
is-required: Required
|
828
724
|
- name: timers
|
829
725
|
min-version: 4.3.0
|
830
|
-
max-version: 4.3.
|
726
|
+
max-version: 4.3.5
|
831
727
|
location: https://rubygems.org/gems/timers
|
832
728
|
license: MIT License
|
833
729
|
license-url: https://github.com/socketry/timers#license
|
@@ -836,10 +732,10 @@ sdks:
|
|
836
732
|
supported-operating-systems:
|
837
733
|
macOS:
|
838
734
|
runtime-version:
|
839
|
-
- Ruby
|
840
|
-
- Ruby
|
841
|
-
- Ruby 2.
|
842
|
-
- Ruby
|
735
|
+
- Ruby 3.0.x
|
736
|
+
- Ruby 3.1.x
|
737
|
+
- Ruby 3.2.x
|
738
|
+
- Ruby 3.3.x
|
843
739
|
minimum-os-version:
|
844
740
|
- OS X 10.10
|
845
741
|
maximum-os-version:
|
@@ -849,10 +745,10 @@ sdks:
|
|
849
745
|
- x86-64
|
850
746
|
Windows:
|
851
747
|
runtime-version:
|
852
|
-
- Ruby
|
853
|
-
- Ruby
|
854
|
-
- Ruby 2.
|
855
|
-
- Ruby
|
748
|
+
- Ruby 3.0.x
|
749
|
+
- Ruby 3.1.x
|
750
|
+
- Ruby 3.2.x
|
751
|
+
- Ruby 3.3.x
|
856
752
|
minimum-os-version:
|
857
753
|
- Windows 7 Professional
|
858
754
|
- Windows 7 Enterprise
|
@@ -865,10 +761,10 @@ sdks:
|
|
865
761
|
- x86-64
|
866
762
|
Linux:
|
867
763
|
runtime-version:
|
868
|
-
- Ruby
|
869
|
-
- Ruby
|
870
|
-
- Ruby 2.
|
871
|
-
- Ruby
|
764
|
+
- Ruby 3.0.x
|
765
|
+
- Ruby 3.1.x
|
766
|
+
- Ruby 3.2.x
|
767
|
+
- Ruby 3.3.x
|
872
768
|
minimum-os-version:
|
873
769
|
- Ubuntu 16.04 LTS
|
874
770
|
maximum-os-version:
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## v5.3.3
|
2
|
+
January 29 2024
|
3
|
+
|
4
|
+
#### Modified
|
5
|
+
- Bump required version to the minimum officially supported Ruby version.
|
6
|
+
|
7
|
+
## v5.3.2
|
8
|
+
November 23 2023
|
9
|
+
|
10
|
+
#### Modified
|
11
|
+
- Return source event data when a client configured with crypto is unable to decrypt it (can be not encrypted data or encrypted with different options).
|
12
|
+
|
1
13
|
## v5.3.1
|
2
14
|
November 03 2023
|
3
15
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pubnub (5.3.
|
4
|
+
pubnub (5.3.3)
|
5
5
|
addressable (>= 2.0.0)
|
6
6
|
concurrent-ruby (~> 1.1.5)
|
7
7
|
concurrent-ruby-edge (~> 0.5.0)
|
@@ -13,174 +13,157 @@ PATH
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
addressable (2.
|
17
|
-
public_suffix (>= 2.0.2, <
|
18
|
-
ast (2.4.
|
19
|
-
awesome_print (1.
|
20
|
-
|
16
|
+
addressable (2.8.6)
|
17
|
+
public_suffix (>= 2.0.2, < 6.0)
|
18
|
+
ast (2.4.2)
|
19
|
+
awesome_print (1.9.2)
|
20
|
+
bigdecimal (3.1.6)
|
21
|
+
binding_of_caller (1.0.0)
|
21
22
|
debug_inspector (>= 0.0.1)
|
22
23
|
builder (3.2.4)
|
23
24
|
codacy-coverage (2.2.1)
|
24
25
|
simplecov
|
25
26
|
coderay (1.1.3)
|
26
|
-
concurrent-ruby (1.1.
|
27
|
+
concurrent-ruby (1.1.10)
|
27
28
|
concurrent-ruby-edge (0.5.0)
|
28
29
|
concurrent-ruby (~> 1.1.5)
|
29
|
-
crack (0.4.
|
30
|
-
|
31
|
-
cucumber (
|
30
|
+
crack (0.4.5)
|
31
|
+
rexml
|
32
|
+
cucumber (9.1.2)
|
32
33
|
builder (~> 3.2, >= 3.2.4)
|
33
|
-
cucumber-
|
34
|
-
cucumber-
|
35
|
-
cucumber-cucumber-expressions (~>
|
36
|
-
cucumber-gherkin (
|
37
|
-
cucumber-html-formatter (
|
38
|
-
cucumber-messages (
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
cucumber-core (
|
45
|
-
cucumber-gherkin (
|
46
|
-
cucumber-messages (
|
47
|
-
cucumber-tag-expressions (~>
|
48
|
-
cucumber-
|
49
|
-
|
50
|
-
|
51
|
-
cucumber-
|
52
|
-
|
53
|
-
|
54
|
-
cucumber-
|
55
|
-
|
56
|
-
|
57
|
-
cucumber-tag-expressions (3.0.1)
|
58
|
-
cucumber-wire (6.1.1)
|
59
|
-
cucumber-core (~> 10.0, >= 10.0.1)
|
60
|
-
cucumber-cucumber-expressions (~> 12.1, >= 12.1.2)
|
61
|
-
cucumber-messages (~> 17.0, >= 17.0.1)
|
62
|
-
debug_inspector (0.0.3)
|
63
|
-
diff-lcs (1.4.4)
|
34
|
+
cucumber-ci-environment (~> 9.2, >= 9.2.0)
|
35
|
+
cucumber-core (~> 12.0)
|
36
|
+
cucumber-cucumber-expressions (~> 17.0)
|
37
|
+
cucumber-gherkin (> 24, < 27)
|
38
|
+
cucumber-html-formatter (> 20.3, < 22)
|
39
|
+
cucumber-messages (> 19, < 25)
|
40
|
+
diff-lcs (~> 1.5)
|
41
|
+
mini_mime (~> 1.1, >= 1.1.5)
|
42
|
+
multi_test (~> 1.1, >= 1.1.0)
|
43
|
+
sys-uname (~> 1.2, >= 1.2.3)
|
44
|
+
cucumber-ci-environment (9.2.0)
|
45
|
+
cucumber-core (12.0.0)
|
46
|
+
cucumber-gherkin (>= 25, < 27)
|
47
|
+
cucumber-messages (>= 20, < 23)
|
48
|
+
cucumber-tag-expressions (~> 5.0, >= 5.0.4)
|
49
|
+
cucumber-cucumber-expressions (17.0.1)
|
50
|
+
cucumber-gherkin (26.2.0)
|
51
|
+
cucumber-messages (>= 19.1.4, < 22.1)
|
52
|
+
cucumber-html-formatter (21.2.0)
|
53
|
+
cucumber-messages (> 19, < 25)
|
54
|
+
cucumber-messages (22.0.0)
|
55
|
+
cucumber-tag-expressions (5.0.6)
|
56
|
+
debug_inspector (1.2.0)
|
57
|
+
diff-lcs (1.5.0)
|
64
58
|
docile (1.4.0)
|
65
|
-
dry-configurable (
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
dry-container (0.7.2)
|
70
|
-
concurrent-ruby (~> 1.0)
|
71
|
-
dry-configurable (~> 0.1, >= 0.1.3)
|
72
|
-
dry-core (0.4.9)
|
59
|
+
dry-configurable (1.1.0)
|
60
|
+
dry-core (~> 1.0, < 2)
|
61
|
+
zeitwerk (~> 2.6)
|
62
|
+
dry-core (1.0.1)
|
73
63
|
concurrent-ruby (~> 1.0)
|
74
|
-
|
75
|
-
dry-inflector (0.
|
76
|
-
dry-initializer (3.
|
77
|
-
dry-logic (1.0
|
64
|
+
zeitwerk (~> 2.6)
|
65
|
+
dry-inflector (1.0.0)
|
66
|
+
dry-initializer (3.1.1)
|
67
|
+
dry-logic (1.5.0)
|
78
68
|
concurrent-ruby (~> 1.0)
|
79
|
-
dry-core (~> 0
|
80
|
-
|
81
|
-
dry-schema (1.
|
69
|
+
dry-core (~> 1.0, < 2)
|
70
|
+
zeitwerk (~> 2.6)
|
71
|
+
dry-schema (1.13.3)
|
82
72
|
concurrent-ruby (~> 1.0)
|
83
|
-
dry-configurable (~> 0
|
84
|
-
dry-core (~> 0
|
85
|
-
dry-equalizer (~> 0.2)
|
73
|
+
dry-configurable (~> 1.0, >= 1.0.1)
|
74
|
+
dry-core (~> 1.0, < 2)
|
86
75
|
dry-initializer (~> 3.0)
|
87
|
-
dry-logic (
|
88
|
-
dry-types (
|
89
|
-
|
76
|
+
dry-logic (>= 1.4, < 2)
|
77
|
+
dry-types (>= 1.7, < 2)
|
78
|
+
zeitwerk (~> 2.6)
|
79
|
+
dry-types (1.7.2)
|
80
|
+
bigdecimal (~> 3.0)
|
90
81
|
concurrent-ruby (~> 1.0)
|
91
|
-
dry-
|
92
|
-
dry-
|
93
|
-
dry-
|
94
|
-
|
95
|
-
|
96
|
-
dry-validation (1.5.3)
|
82
|
+
dry-core (~> 1.0)
|
83
|
+
dry-inflector (~> 1.0)
|
84
|
+
dry-logic (~> 1.4)
|
85
|
+
zeitwerk (~> 2.6)
|
86
|
+
dry-validation (1.10.0)
|
97
87
|
concurrent-ruby (~> 1.0)
|
98
|
-
dry-
|
99
|
-
dry-core (~> 0.4)
|
100
|
-
dry-equalizer (~> 0.2)
|
88
|
+
dry-core (~> 1.0, < 2)
|
101
89
|
dry-initializer (~> 3.0)
|
102
|
-
dry-schema (
|
103
|
-
|
104
|
-
ffi (1.16.
|
105
|
-
hashdiff (1.0
|
90
|
+
dry-schema (>= 1.12, < 2)
|
91
|
+
zeitwerk (~> 2.6)
|
92
|
+
ffi (1.16.3)
|
93
|
+
hashdiff (1.1.0)
|
106
94
|
httpclient (2.8.3)
|
107
95
|
interception (0.5)
|
108
|
-
json (2.
|
109
|
-
|
96
|
+
json (2.7.1)
|
97
|
+
language_server-protocol (3.17.0.3)
|
110
98
|
method_source (1.0.0)
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
parallel (1.19.2)
|
116
|
-
parser (2.7.1.4)
|
99
|
+
mini_mime (1.1.5)
|
100
|
+
multi_test (1.1.0)
|
101
|
+
parallel (1.24.0)
|
102
|
+
parser (3.3.0.5)
|
117
103
|
ast (~> 2.4.1)
|
104
|
+
racc
|
118
105
|
pry (0.14.2)
|
119
106
|
coderay (~> 1.1)
|
120
107
|
method_source (~> 1.0)
|
121
|
-
pry (
|
122
|
-
coderay (~> 1.1)
|
123
|
-
method_source (~> 1.0)
|
124
|
-
spoon (~> 0.0)
|
125
|
-
pry-rescue (1.5.2)
|
108
|
+
pry-rescue (1.6.0)
|
126
109
|
interception (>= 0.5)
|
127
110
|
pry (>= 0.12.0)
|
128
|
-
pry-stack_explorer (0.
|
129
|
-
binding_of_caller (~> 0
|
111
|
+
pry-stack_explorer (0.6.1)
|
112
|
+
binding_of_caller (~> 1.0)
|
130
113
|
pry (~> 0.13)
|
131
|
-
public_suffix (
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
rspec-
|
139
|
-
rspec-
|
140
|
-
|
141
|
-
|
142
|
-
|
114
|
+
public_suffix (5.0.4)
|
115
|
+
racc (1.7.3)
|
116
|
+
rainbow (3.1.1)
|
117
|
+
regexp_parser (2.9.0)
|
118
|
+
rexml (3.2.6)
|
119
|
+
rr (3.1.0)
|
120
|
+
rspec (3.12.0)
|
121
|
+
rspec-core (~> 3.12.0)
|
122
|
+
rspec-expectations (~> 3.12.0)
|
123
|
+
rspec-mocks (~> 3.12.0)
|
124
|
+
rspec-core (3.12.2)
|
125
|
+
rspec-support (~> 3.12.0)
|
126
|
+
rspec-expectations (3.12.3)
|
143
127
|
diff-lcs (>= 1.2.0, < 2.0)
|
144
|
-
rspec-support (~> 3.
|
145
|
-
rspec-mocks (3.
|
128
|
+
rspec-support (~> 3.12.0)
|
129
|
+
rspec-mocks (3.12.6)
|
146
130
|
diff-lcs (>= 1.2.0, < 2.0)
|
147
|
-
rspec-support (~> 3.
|
131
|
+
rspec-support (~> 3.12.0)
|
148
132
|
rspec-retry (0.6.2)
|
149
133
|
rspec-core (> 3.3)
|
150
|
-
rspec-support (3.
|
151
|
-
rubocop (
|
134
|
+
rspec-support (3.12.1)
|
135
|
+
rubocop (1.60.2)
|
136
|
+
json (~> 2.3)
|
137
|
+
language_server-protocol (>= 3.17.0)
|
152
138
|
parallel (~> 1.10)
|
153
|
-
parser (>=
|
139
|
+
parser (>= 3.3.0.2)
|
154
140
|
rainbow (>= 2.2.2, < 4.0)
|
155
|
-
regexp_parser (>= 1.
|
156
|
-
rexml
|
157
|
-
rubocop-ast (>=
|
141
|
+
regexp_parser (>= 1.8, < 3.0)
|
142
|
+
rexml (>= 3.2.5, < 4.0)
|
143
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
158
144
|
ruby-progressbar (~> 1.7)
|
159
|
-
unicode-display_width (>=
|
160
|
-
rubocop-ast (
|
161
|
-
parser (>= 2.
|
162
|
-
ruby-progressbar (1.
|
163
|
-
|
164
|
-
simplecov (0.21.2)
|
145
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
146
|
+
rubocop-ast (1.30.0)
|
147
|
+
parser (>= 3.2.1.0)
|
148
|
+
ruby-progressbar (1.13.0)
|
149
|
+
simplecov (0.22.0)
|
165
150
|
docile (~> 1.1)
|
166
151
|
simplecov-html (~> 0.11)
|
167
152
|
simplecov_json_formatter (~> 0.1)
|
168
153
|
simplecov-html (0.12.3)
|
169
154
|
simplecov_json_formatter (0.1.4)
|
170
|
-
|
171
|
-
ffi
|
172
|
-
sys-uname (1.2.2)
|
155
|
+
sys-uname (1.2.3)
|
173
156
|
ffi (~> 1.1)
|
174
|
-
timers (4.3.
|
175
|
-
unicode-display_width (
|
176
|
-
vcr (6.
|
177
|
-
webmock (3.
|
178
|
-
addressable (>= 2.
|
157
|
+
timers (4.3.5)
|
158
|
+
unicode-display_width (2.5.0)
|
159
|
+
vcr (6.2.0)
|
160
|
+
webmock (3.19.1)
|
161
|
+
addressable (>= 2.8.0)
|
179
162
|
crack (>= 0.3.2)
|
180
163
|
hashdiff (>= 0.4.0, < 2.0.0)
|
164
|
+
zeitwerk (2.6.12)
|
181
165
|
|
182
166
|
PLATFORMS
|
183
|
-
java
|
184
167
|
ruby
|
185
168
|
|
186
169
|
DEPENDENCIES
|
@@ -201,4 +184,4 @@ DEPENDENCIES
|
|
201
184
|
webmock
|
202
185
|
|
203
186
|
BUNDLED WITH
|
204
|
-
2.
|
187
|
+
2.4.20
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# PubNub Ruby SDK
|
2
2
|
|
3
|
-
|
4
|
-
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/b744287bb0324e2883f95525b12cf19f)](https://www.codacy.com/app/blazeroot/ruby?utm_source=github.com&utm_medium=referral&utm_content=pubnub/ruby&utm_campaign=Badge_Coverage)
|
5
|
-
[![Build Status](https://travis-ci.org/pubnub/ruby.svg?branch=master)](https://travis-ci.org/pubnub/ruby)
|
3
|
+
![Tests Status](https://github.com/pubnub/ruby/actions/workflows/run-tests.yml/badge.svg)
|
6
4
|
|
7
5
|
This is the official PubNub Ruby SDK repository.
|
8
6
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.3.
|
1
|
+
5.3.3
|
@@ -68,30 +68,26 @@ module Pubnub
|
|
68
68
|
|
69
69
|
def decrypt_history(message, crypto)
|
70
70
|
if @include_token || @include_meta
|
71
|
-
encrypted_message = Base64.
|
71
|
+
encrypted_message = Base64.strict_decode64(message['message'])
|
72
72
|
message['message'] = JSON.parse(crypto.decrypt(encrypted_message), quirks_mode: true)
|
73
|
-
|
74
73
|
message
|
75
74
|
else
|
76
|
-
encrypted_message = Base64.
|
75
|
+
encrypted_message = Base64.strict_decode64(message)
|
77
76
|
JSON.parse(crypto.decrypt(encrypted_message), quirks_mode: true)
|
78
77
|
end
|
78
|
+
rescue StandardError => e
|
79
|
+
puts "Pubnub :: DECRYPTION ERROR: #{e}"
|
80
|
+
message['decrypt_error'] = true if @include_token || @include_meta
|
81
|
+
message
|
79
82
|
end
|
80
83
|
|
81
84
|
def valid_envelope(parsed_response, req_res_objects)
|
82
85
|
messages = parsed_response[0]
|
83
86
|
|
84
|
-
# TODO: Uncomment code below when cryptor implementations will be added.
|
85
87
|
if crypto_module && messages
|
86
88
|
crypto = crypto_module
|
87
89
|
messages = messages.map { |message| decrypt_history(message, crypto) }
|
88
90
|
end
|
89
|
-
# if (@cipher_key || @app.env[:cipher_key] || @cipher_key_selector || @app.env[:cipher_key_selector]) && messages
|
90
|
-
# cipher_key = compute_cipher_key(parsed_response)
|
91
|
-
# random_iv = compute_random_iv(parsed_response)
|
92
|
-
# crypto = Crypto.new(cipher_key, random_iv)
|
93
|
-
# messages = messages.map { |message| decrypt_history(message, crypto) }
|
94
|
-
# end
|
95
91
|
|
96
92
|
start = parsed_response[1]
|
97
93
|
finish = parsed_response[2]
|
data/lib/pubnub/formatter.rb
CHANGED
@@ -33,10 +33,9 @@ module Pubnub
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def decipher_payload(message)
|
36
|
-
# TODO: Uncomment code below when cryptor implementations will be added.
|
37
36
|
return message[:payload] if message[:channel].end_with?('-pnpres') || crypto_module.nil?
|
38
37
|
|
39
|
-
encrypted_message = Base64.
|
38
|
+
encrypted_message = Base64.strict_decode64(message[:payload])
|
40
39
|
JSON.parse(crypto_module.decrypt(encrypted_message), quirks_mode: true)
|
41
40
|
rescue StandardError, UnknownCryptorError
|
42
41
|
message[:payload]
|
data/lib/pubnub/version.rb
CHANGED
data/pubnub.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.executables = spec.files.grep(%r{^bin\/}) { |f| File.basename(f) }
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)\/})
|
18
18
|
spec.require_paths = ['lib']
|
19
|
-
spec.required_ruby_version = '>=
|
19
|
+
spec.required_ruby_version = '>= 3.0.0'
|
20
20
|
|
21
21
|
spec.add_dependency 'addressable', '>= 2.0.0'
|
22
22
|
spec.add_dependency 'concurrent-ruby', '~> 1.1.5'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pubnub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PubNub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -301,7 +301,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
301
301
|
requirements:
|
302
302
|
- - ">="
|
303
303
|
- !ruby/object:Gem::Version
|
304
|
-
version:
|
304
|
+
version: 3.0.0
|
305
305
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
306
306
|
requirements:
|
307
307
|
- - ">="
|