pubnub 5.3.2 → 5.3.4
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 +11 -2
- data/.pubnub.yml +182 -286
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +110 -127
- data/VERSION +1 -1
- data/lib/pubnub/event/signature.rb +5 -4
- data/lib/pubnub/formatter.rb +4 -3
- 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: 1213c034b2eeee79fc88cb7b95d77def64665c4f863395bce507b04d3bbe49d5
|
4
|
+
data.tar.gz: 3442430e58dde62d0565c0ec1f66a03116b3ac84e4d0b8289f00e4f2003d2813
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 210c6d30c24c741531cd62314907b748185d59db786db62acdbdb46cf529cf7e5d0ca83e147f2a4c7a99087abec4bc62c7d91ccd3a5a0c421a841e001a3e69f4
|
7
|
+
data.tar.gz: 44c6bf35f3e3b5c6e82dd10418a60a16c7ed19c39400f872f2d300941cea2dbb83808f2c340bf0713b09164cbe99fefe439430b02938a35da3cc4543a1422b0c
|
@@ -9,16 +9,25 @@ concurrency:
|
|
9
9
|
defaults:
|
10
10
|
run:
|
11
11
|
shell: bash
|
12
|
+
env:
|
13
|
+
SDK_PAM_SUB_KEY: ${{ secrets.SDK_PAM_SUB_KEY }}
|
14
|
+
SDK_PAM_PUB_KEY: ${{ secrets.SDK_PAM_PUB_KEY }}
|
15
|
+
SDK_PAM_SEC_KEY: ${{ secrets.SDK_PAM_SEC_KEY }}
|
16
|
+
SDK_SUB_KEY: ${{ secrets.SDK_SUB_KEY }}
|
17
|
+
SDK_PUB_KEY: ${{ secrets.SDK_PUB_KEY }}
|
18
|
+
|
12
19
|
|
13
20
|
|
14
21
|
jobs:
|
15
22
|
tests:
|
16
23
|
name: Integration and Unit tests
|
17
24
|
runs-on: ubuntu-latest
|
25
|
+
env:
|
26
|
+
NO_COVERAGE: true
|
18
27
|
strategy:
|
19
28
|
fail-fast: true
|
20
29
|
matrix:
|
21
|
-
ruby: [
|
30
|
+
ruby: [ 3.0.6, 3.1.4, 3.2.3 ]
|
22
31
|
steps:
|
23
32
|
- name: Checkout repository
|
24
33
|
uses: actions/checkout@v3
|
@@ -89,7 +98,7 @@ jobs:
|
|
89
98
|
all-tests:
|
90
99
|
name: Tests
|
91
100
|
runs-on: ubuntu-latest
|
92
|
-
needs: [tests, acceptance-tests]
|
101
|
+
needs: [ tests, acceptance-tests ]
|
93
102
|
steps:
|
94
103
|
- name: Tests summary
|
95
104
|
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.4"
|
3
3
|
changelog:
|
4
|
+
- date: 2024-04-29
|
5
|
+
version: v5.3.4
|
6
|
+
changes:
|
7
|
+
- type: bug
|
8
|
+
text: "Fix issue because of which client didn't encode App Context get all event `filter` query value."
|
9
|
+
- date: 2024-01-29
|
10
|
+
version: v5.3.3
|
11
|
+
changes:
|
12
|
+
- type: improvement
|
13
|
+
text: "Bump required version to the minimum officially supported Ruby version."
|
4
14
|
- date: 2023-11-23
|
5
15
|
version: v5.3.2
|
6
16
|
changes:
|
@@ -74,389 +84,276 @@ changelog:
|
|
74
84
|
changes:
|
75
85
|
- type: feature
|
76
86
|
text: "Grant_token allows generation of signed token with permissions for channels, channel groups and uuids."
|
77
|
-
-
|
78
|
-
|
79
|
-
-
|
80
|
-
text: "Add new `sdks` section to `.pubnub.yml` with information about available artifacts and distribution variants."
|
87
|
+
- changes:
|
88
|
+
- text: "Add new `sdks` section to `.pubnub.yml` with information about available artifacts and distribution variants."
|
81
89
|
type: improvement
|
82
90
|
date: 2021-06-09
|
83
91
|
version: v4.6.2
|
84
|
-
-
|
85
|
-
|
86
|
-
-
|
87
|
-
text: "Exclude `spec` and `fixtures` from built gem file."
|
92
|
+
- changes:
|
93
|
+
- text: "Exclude `spec` and `fixtures` from built gem file."
|
88
94
|
type: improvement
|
89
|
-
-
|
90
|
-
text: "Fix Ruby SDK repository location under `sdks` section in `.pubnub.yml`."
|
95
|
+
- text: "Fix Ruby SDK repository location under `sdks` section in `.pubnub.yml`."
|
91
96
|
type: improvement
|
92
|
-
-
|
93
|
-
text: "Add new section to `.pubnub.yml` file with information about SDK and destribution types."
|
97
|
+
- text: "Add new section to `.pubnub.yml` file with information about SDK and destribution types."
|
94
98
|
type: improvement
|
95
99
|
date: 2021-05-19
|
96
100
|
version: v4.6.1
|
97
|
-
-
|
98
|
-
|
99
|
-
-
|
100
|
-
text: "BREAKING CHANGE: Add randomized initialization vector usage by default for data encryption / decryption in publish / subscribe / history API calls."
|
101
|
+
- changes:
|
102
|
+
- text: "BREAKING CHANGE: Add randomized initialization vector usage by default for data encryption / decryption in publish / subscribe / history API calls."
|
101
103
|
type: feature
|
102
|
-
-
|
103
|
-
text: "Fix issue which caused Object request body encryption when `cipher_key` is set."
|
104
|
+
- text: "Fix issue which caused Object request body encryption when `cipher_key` is set."
|
104
105
|
type: bug
|
105
106
|
date: 2021-03-08
|
106
107
|
version: v4.6.0
|
107
|
-
-
|
108
|
-
|
109
|
-
-
|
110
|
-
text: "Add support for APNS2 device/channel management."
|
108
|
+
- changes:
|
109
|
+
- text: "Add support for APNS2 device/channel management."
|
111
110
|
type: feature
|
112
|
-
-
|
113
|
-
text: "Resolved issue with multiple timetokens in message counts endpoint"
|
111
|
+
- text: "Resolved issue with multiple timetokens in message counts endpoint"
|
114
112
|
type: bug
|
115
113
|
date: 2020-12-03
|
116
114
|
version: v4.5.0
|
117
|
-
-
|
118
|
-
|
119
|
-
-
|
120
|
-
text: "Add simplified Objects API support with UUID and Channel metadata / membership management."
|
115
|
+
- changes:
|
116
|
+
- text: "Add simplified Objects API support with UUID and Channel metadata / membership management."
|
121
117
|
type: feature
|
122
|
-
-
|
123
|
-
text: "Add uuid and parameter to Grant API along with new Objects permissions: `get`, `update` and `join`."
|
118
|
+
- text: "Add uuid and parameter to Grant API along with new Objects permissions: `get`, `update` and `join`."
|
124
119
|
type: feature
|
125
120
|
date: 2020-10-21
|
126
121
|
version: v4.4.0
|
127
|
-
-
|
128
|
-
|
129
|
-
-
|
130
|
-
text: "Add `delete` permission for `channel` to Grant."
|
122
|
+
- changes:
|
123
|
+
- text: "Add `delete` permission for `channel` to Grant."
|
131
124
|
type: feature
|
132
125
|
date: 2020-10-18
|
133
126
|
version: v4.3.0
|
134
|
-
-
|
135
|
-
|
136
|
-
-
|
137
|
-
text: "Don't suppress runtime errors."
|
127
|
+
- changes:
|
128
|
+
- text: "Don't suppress runtime errors."
|
138
129
|
type: bug
|
139
130
|
date: 2020-09-14
|
140
131
|
version: v4.2.7
|
141
|
-
-
|
142
|
-
|
143
|
-
-
|
144
|
-
text: "History can now respond with message meta information."
|
132
|
+
- changes:
|
133
|
+
- text: "History can now respond with message meta information."
|
145
134
|
type: feature
|
146
|
-
-
|
147
|
-
text: "Added official support for Ruby 2.7.X"
|
135
|
+
- text: "Added official support for Ruby 2.7.X"
|
148
136
|
type: feature
|
149
|
-
-
|
150
|
-
text: "History properly decrypts messages when using the \"include_token\" parameter."
|
137
|
+
- text: "History properly decrypts messages when using the \"include_token\" parameter."
|
151
138
|
type: bug
|
152
139
|
date: 2020-08-25
|
153
140
|
version: v4.2.6
|
154
|
-
-
|
155
|
-
|
156
|
-
-
|
157
|
-
text: "Fixed Message Counts channel timetokens by disabling alphabetic sorting of the channels list."
|
141
|
+
- changes:
|
142
|
+
- text: "Fixed Message Counts channel timetokens by disabling alphabetic sorting of the channels list."
|
158
143
|
type: bug
|
159
144
|
date: 2020-06-02
|
160
145
|
version: v4.2.5
|
161
|
-
-
|
162
|
-
|
163
|
-
-
|
164
|
-
text: "Replace event name with full endpoint path in PAM signatures, for compatibility with PAM v2 signatures."
|
146
|
+
- changes:
|
147
|
+
- text: "Replace event name with full endpoint path in PAM signatures, for compatibility with PAM v2 signatures."
|
165
148
|
type: bug
|
166
|
-
-
|
167
|
-
text: "Change paths for PAM endpoints from v1 to v2."
|
149
|
+
- text: "Change paths for PAM endpoints from v1 to v2."
|
168
150
|
type: bug
|
169
|
-
-
|
170
|
-
text: "Update PAM signature generator to correctly sort the query string parameters based on key instead of combined key and value."
|
151
|
+
- text: "Update PAM signature generator to correctly sort the query string parameters based on key instead of combined key and value."
|
171
152
|
type: bug
|
172
153
|
date: 2020-05-22
|
173
154
|
version: v4.2.4
|
174
|
-
-
|
175
|
-
|
176
|
-
-
|
177
|
-
text: "Resolved issue with multiple timetokens in message counts endpoint"
|
155
|
+
- changes:
|
156
|
+
- text: "Resolved issue with multiple timetokens in message counts endpoint"
|
178
157
|
type: bug
|
179
158
|
date: 2019-11-11
|
180
159
|
version: "4.2.2"
|
181
|
-
-
|
182
|
-
|
183
|
-
-
|
184
|
-
text: "Updated listener methods"
|
160
|
+
- changes:
|
161
|
+
- text: "Updated listener methods"
|
185
162
|
type: feature
|
186
163
|
date: 2019-10-25
|
187
164
|
version: "4.2.1"
|
188
|
-
-
|
189
|
-
|
190
|
-
-
|
191
|
-
text: "Added objects feature"
|
165
|
+
- changes:
|
166
|
+
- text: "Added objects feature"
|
192
167
|
type: feature
|
193
168
|
date: 2019-10-11
|
194
169
|
version: "4.2.0"
|
195
|
-
-
|
196
|
-
|
197
|
-
-
|
198
|
-
text: "Added signal feature"
|
170
|
+
- changes:
|
171
|
+
- text: "Added signal feature"
|
199
172
|
type: feature
|
200
173
|
date: 2019-08-21
|
201
174
|
version: "4.1.6"
|
202
|
-
-
|
203
|
-
|
204
|
-
-
|
205
|
-
text: "Updated dependencies"
|
175
|
+
- changes:
|
176
|
+
- text: "Updated dependencies"
|
206
177
|
type: improvement
|
207
178
|
date: 2019-07-29
|
208
179
|
version: "4.1.5"
|
209
|
-
-
|
210
|
-
|
211
|
-
-
|
212
|
-
text: "Added push API"
|
180
|
+
- changes:
|
181
|
+
- text: "Added push API"
|
213
182
|
type: feature
|
214
183
|
date: 2019-04-08
|
215
184
|
version: "4.1.1"
|
216
|
-
-
|
217
|
-
|
218
|
-
-
|
219
|
-
text: "Added 'message_count' API endpoint"
|
185
|
+
- changes:
|
186
|
+
- text: "Added 'message_count' API endpoint"
|
220
187
|
type: feature
|
221
188
|
date: 2019-02-28
|
222
189
|
version: "4.1.0"
|
223
|
-
-
|
224
|
-
|
225
|
-
-
|
226
|
-
text: "Switch from Celluloid to concurrent-ruby."
|
190
|
+
- changes:
|
191
|
+
- text: "Switch from Celluloid to concurrent-ruby."
|
227
192
|
type: bug
|
228
193
|
date: 2018-08-28
|
229
194
|
version: "4.0.28"
|
230
|
-
-
|
231
|
-
|
232
|
-
-
|
233
|
-
text: "Fixed telemetry issues."
|
195
|
+
- changes:
|
196
|
+
- text: "Fixed telemetry issues."
|
234
197
|
type: bug
|
235
198
|
date: 2017-11-17
|
236
199
|
version: "4.0.27"
|
237
|
-
-
|
238
|
-
|
239
|
-
-
|
240
|
-
text: "Secured telemetry call. Fixed crash when an app was exiting."
|
200
|
+
- changes:
|
201
|
+
- text: "Secured telemetry call. Fixed crash when an app was exiting."
|
241
202
|
type: bug
|
242
203
|
date: 2017-10-23
|
243
204
|
version: "4.0.26"
|
244
|
-
-
|
245
|
-
|
246
|
-
-
|
247
|
-
text: "Added telemetry"
|
205
|
+
- changes:
|
206
|
+
- text: "Added telemetry"
|
248
207
|
type: feature
|
249
208
|
date: 2017-09-12
|
250
209
|
version: "4.0.25"
|
251
|
-
-
|
252
|
-
|
253
|
-
-
|
254
|
-
text: "Added #delete_messages method"
|
210
|
+
- changes:
|
211
|
+
- text: "Added #delete_messages method"
|
255
212
|
type: feature
|
256
|
-
-
|
257
|
-
text: "Improved timeout error handling (thanks @f1sherman)"
|
213
|
+
- text: "Improved timeout error handling (thanks @f1sherman)"
|
258
214
|
type: improvement
|
259
215
|
date: 2017-08-29
|
260
216
|
version: "4.0.24"
|
261
|
-
-
|
262
|
-
|
263
|
-
-
|
264
|
-
text: "Fixed HereNow envelope generation"
|
217
|
+
- changes:
|
218
|
+
- text: "Fixed HereNow envelope generation"
|
265
219
|
type: bug
|
266
220
|
date: 2017-07-26
|
267
221
|
version: "4.0.23"
|
268
|
-
-
|
269
|
-
|
270
|
-
-
|
271
|
-
text: "Fixed signature generation and channel name escaping"
|
222
|
+
- changes:
|
223
|
+
- text: "Fixed signature generation and channel name escaping"
|
272
224
|
type: bug
|
273
225
|
date: 2017-05-31
|
274
226
|
version: "4.0.22"
|
275
|
-
-
|
276
|
-
|
277
|
-
-
|
278
|
-
text: "Fixed signature generation"
|
227
|
+
- changes:
|
228
|
+
- text: "Fixed signature generation"
|
279
229
|
type: bug
|
280
230
|
date: 2017-04-18
|
281
231
|
version: "4.0.21"
|
282
|
-
-
|
283
|
-
|
284
|
-
-
|
285
|
-
text: "origin can now be set in initialized client"
|
232
|
+
- changes:
|
233
|
+
- text: "origin can now be set in initialized client"
|
286
234
|
type: improvement
|
287
|
-
-
|
288
|
-
text: "presence interval support"
|
235
|
+
- text: "presence interval support"
|
289
236
|
type: improvement
|
290
|
-
-
|
291
|
-
text: "allows using multiple cipher keys"
|
237
|
+
- text: "allows using multiple cipher keys"
|
292
238
|
type: improvement
|
293
239
|
date: 2017-04-11
|
294
240
|
version: "4.0.20"
|
295
|
-
-
|
296
|
-
|
297
|
-
-
|
298
|
-
text: "Fixed sync subscribe not terminating actors"
|
241
|
+
- changes:
|
242
|
+
- text: "Fixed sync subscribe not terminating actors"
|
299
243
|
type: bug
|
300
244
|
date: 2017-03-02
|
301
245
|
version: v4.0.18
|
302
|
-
-
|
303
|
-
|
304
|
-
-
|
305
|
-
text: "Added a bit more debug logging"
|
246
|
+
- changes:
|
247
|
+
- text: "Added a bit more debug logging"
|
306
248
|
type: improvement
|
307
|
-
-
|
308
|
-
text: "Updated default origin"
|
249
|
+
- text: "Updated default origin"
|
309
250
|
type: improvement
|
310
251
|
date: 2016-12-21
|
311
252
|
version: v4.0.17
|
312
|
-
-
|
313
|
-
|
314
|
-
-
|
315
|
-
text: "Fixed missing channel group parameter in leave event"
|
253
|
+
- changes:
|
254
|
+
- text: "Fixed missing channel group parameter in leave event"
|
316
255
|
type: bug
|
317
256
|
date: 2016-11-23
|
318
257
|
version: v4.0.16
|
319
|
-
-
|
320
|
-
|
321
|
-
-
|
322
|
-
text: "Fixed PAM signature when some special characters are present"
|
258
|
+
- changes:
|
259
|
+
- text: "Fixed PAM signature when some special characters are present"
|
323
260
|
type: bug
|
324
261
|
date: 2016-11-21
|
325
262
|
version: v4.0.15
|
326
|
-
-
|
327
|
-
|
328
|
-
-
|
329
|
-
text: "Added ttl parameter for publish"
|
263
|
+
- changes:
|
264
|
+
- text: "Added ttl parameter for publish"
|
330
265
|
type: improvement
|
331
266
|
date: 2016-11-04
|
332
267
|
version: v4.0.14
|
333
|
-
-
|
334
|
-
|
335
|
-
-
|
336
|
-
text: "Changed init message log level to debug"
|
268
|
+
- changes:
|
269
|
+
- text: "Changed init message log level to debug"
|
337
270
|
type: improvement
|
338
271
|
date: 2016-11-04
|
339
272
|
version: v4.0.13
|
340
|
-
-
|
341
|
-
|
342
|
-
-
|
343
|
-
text: "Added alert on catchup failure (REQUEST_MESSAGE_COUNT_EXCEEDED)"
|
273
|
+
- changes:
|
274
|
+
- text: "Added alert on catchup failure (REQUEST_MESSAGE_COUNT_EXCEEDED)"
|
344
275
|
type: improvement
|
345
276
|
date: 2016-10-31
|
346
277
|
version: v4.0.12
|
347
|
-
-
|
348
|
-
|
349
|
-
-
|
350
|
-
text: "Added super admin mode (Enabled when secret key is set on Pubnub::Client init)"
|
278
|
+
- changes:
|
279
|
+
- text: "Added super admin mode (Enabled when secret key is set on Pubnub::Client init)"
|
351
280
|
type: improvement
|
352
281
|
date: 2016-10-31
|
353
282
|
version: v4.0.11
|
354
|
-
-
|
355
|
-
|
356
|
-
-
|
357
|
-
text: "Better single events timeout handling"
|
283
|
+
- changes:
|
284
|
+
- text: "Better single events timeout handling"
|
358
285
|
type: improvement
|
359
|
-
-
|
360
|
-
text: "DRYed envelope formatting a bit"
|
286
|
+
- text: "DRYed envelope formatting a bit"
|
361
287
|
type: improvement
|
362
288
|
date: 2016-10-31
|
363
289
|
version: v4.0.10
|
364
|
-
-
|
365
|
-
|
366
|
-
-
|
367
|
-
text: "Removed json dependency"
|
290
|
+
- changes:
|
291
|
+
- text: "Removed json dependency"
|
368
292
|
type: improvement
|
369
|
-
-
|
370
|
-
text: "Updated dependecies"
|
293
|
+
- text: "Updated dependecies"
|
371
294
|
type: improvement
|
372
295
|
date: 2016-10-31
|
373
296
|
version: v4.0.9
|
374
|
-
-
|
375
|
-
|
376
|
-
-
|
377
|
-
text: "Updated dry-validation."
|
297
|
+
- changes:
|
298
|
+
- text: "Updated dry-validation."
|
378
299
|
type: improvement
|
379
|
-
-
|
380
|
-
text: "Dropped support for ruby 2.0."
|
300
|
+
- text: "Dropped support for ruby 2.0."
|
381
301
|
type: improvement
|
382
302
|
date: 2016-10-31
|
383
303
|
version: v4.0.8
|
384
|
-
-
|
385
|
-
|
386
|
-
-
|
387
|
-
text: "Added message decrypting in history."
|
304
|
+
- changes:
|
305
|
+
- text: "Added message decrypting in history."
|
388
306
|
type: improvement
|
389
307
|
date: 2016-08-23
|
390
308
|
version: v4.0.7
|
391
|
-
-
|
392
|
-
|
393
|
-
-
|
394
|
-
text: "channel and channels are the same argument."
|
309
|
+
- changes:
|
310
|
+
- text: "channel and channels are the same argument."
|
395
311
|
type: improvement
|
396
|
-
-
|
397
|
-
text: "channel_group and channel_groups are the same argument."
|
312
|
+
- text: "channel_group and channel_groups are the same argument."
|
398
313
|
type: improvement
|
399
|
-
-
|
400
|
-
text: "added `with_presence` flag for subscribe, default false."
|
314
|
+
- text: "added `with_presence` flag for subscribe, default false."
|
401
315
|
type: improvement
|
402
316
|
date: 2016-08-17
|
403
317
|
version: v4.0.6
|
404
|
-
-
|
405
|
-
|
406
|
-
-
|
407
|
-
text: "Required CGI."
|
318
|
+
- changes:
|
319
|
+
- text: "Required CGI."
|
408
320
|
type: improvement
|
409
321
|
date: 2016-08-17
|
410
322
|
version: v4.0.5
|
411
|
-
-
|
412
|
-
|
413
|
-
-
|
414
|
-
text: "Added #subscribe_filter for client"
|
323
|
+
- changes:
|
324
|
+
- text: "Added #subscribe_filter for client"
|
415
325
|
type: feature
|
416
326
|
date: 2016-08-17
|
417
327
|
version: v4.0.2
|
418
|
-
-
|
419
|
-
|
420
|
-
-
|
421
|
-
text: "Updated dry-validation and EnvelopeSchema."
|
328
|
+
- changes:
|
329
|
+
- text: "Updated dry-validation and EnvelopeSchema."
|
422
330
|
type: improvement
|
423
331
|
date: 2016-08-17
|
424
332
|
version: v4.0.1
|
425
|
-
-
|
426
|
-
|
427
|
-
-
|
428
|
-
text: "Removed auth_key and uuid setters (#set_auth_key,"
|
333
|
+
- changes:
|
334
|
+
- text: "Removed auth_key and uuid setters (#set_auth_key,"
|
429
335
|
type: feature
|
430
|
-
-
|
431
|
-
text: Added
|
336
|
+
- text: Added
|
432
337
|
type: improvement
|
433
338
|
date: 2016-08-17
|
434
339
|
version: v4.0.0
|
435
|
-
-
|
436
|
-
|
437
|
-
-
|
438
|
-
text: "Restored auth_key and uuid setters. Important notice: they will be removed"
|
340
|
+
- changes:
|
341
|
+
- text: "Restored auth_key and uuid setters. Important notice: they will be removed"
|
439
342
|
type: improvement
|
440
343
|
date: 2016-08-17
|
441
344
|
version: v3.8.3
|
442
|
-
-
|
443
|
-
|
444
|
-
-
|
445
|
-
text: "Added :include_token parameter to history call."
|
345
|
+
- changes:
|
346
|
+
- text: "Added :include_token parameter to history call."
|
446
347
|
type: feature
|
447
348
|
date: 2016-08-17
|
448
349
|
version: v3.8.2
|
449
|
-
-
|
450
|
-
|
451
|
-
-
|
452
|
-
text: "Updated celluloid dependency."
|
350
|
+
- changes:
|
351
|
+
- text: "Updated celluloid dependency."
|
453
352
|
type: improvement
|
454
353
|
date: 2016-08-17
|
455
354
|
version: v3.8.1
|
456
|
-
-
|
457
|
-
|
458
|
-
-
|
459
|
-
text: "Release of celluloid version of pubnub gem. It's complete rewrite but public API doesn't change."
|
355
|
+
- changes:
|
356
|
+
- text: "Release of celluloid version of pubnub gem. It's complete rewrite but public API doesn't change."
|
460
357
|
type: improvement
|
461
358
|
date: 2017-08-17
|
462
359
|
version: v3.8.0
|
@@ -548,11 +445,10 @@ name: ruby
|
|
548
445
|
schema: 1
|
549
446
|
scm: github.com/pubnub/ruby
|
550
447
|
supported-platforms:
|
551
|
-
-
|
552
|
-
|
553
|
-
- "ruby
|
554
|
-
- "ruby
|
555
|
-
- "ruby 2.4"
|
448
|
+
- editors:
|
449
|
+
- "ruby 3.2"
|
450
|
+
- "ruby 3.1"
|
451
|
+
- "ruby 3.0"
|
556
452
|
platforms:
|
557
453
|
- "FreeBSD 8-STABLE or later, amd64, 386"
|
558
454
|
- "Linux 2.6 or later, amd64, 386"
|
@@ -580,7 +476,7 @@ sdks:
|
|
580
476
|
requires:
|
581
477
|
- name: addressable
|
582
478
|
min-version: 2.0.0
|
583
|
-
max-version: 2.
|
479
|
+
max-version: 2.8.6
|
584
480
|
location: https://rubygems.org/gems/addressable
|
585
481
|
license: Apache License 2.0
|
586
482
|
license-url: https://github.com/sporkmonger/addressable/blob/main/LICENSE.txt
|
@@ -588,7 +484,7 @@ sdks:
|
|
588
484
|
notes: Will be installed along with SDK
|
589
485
|
- name: concurrent-ruby
|
590
486
|
min-version: 1.1.5
|
591
|
-
max-version: 1.1.
|
487
|
+
max-version: 1.1.10
|
592
488
|
location: https://rubygems.org/gems/concurrent-ruby
|
593
489
|
license: MIT License
|
594
490
|
license-url: https://github.com/ruby-concurrency/concurrent-ruby/blob/master/LICENSE.txt
|
@@ -604,7 +500,7 @@ sdks:
|
|
604
500
|
notes: Will be installed along with SDK
|
605
501
|
- name: dry-validation
|
606
502
|
min-version: 1.0.0
|
607
|
-
max-version: 1.
|
503
|
+
max-version: 1.10.0
|
608
504
|
location: https://rubygems.org/gems/dry-validation
|
609
505
|
license: MIT License
|
610
506
|
license-url: https://github.com/dry-rb/dry-validation/blob/master/LICENSE
|
@@ -620,7 +516,7 @@ sdks:
|
|
620
516
|
notes: Will be installed along with SDK
|
621
517
|
- name: json
|
622
518
|
min-version: 2.2.0
|
623
|
-
max-version: 2.
|
519
|
+
max-version: 2.7.1
|
624
520
|
location: https://rubygems.org/gems/json
|
625
521
|
license: Ruby License
|
626
522
|
license-url: https://github.com/flori/json/blob/master/LICENSE
|
@@ -628,7 +524,7 @@ sdks:
|
|
628
524
|
notes: Will be installed along with SDK
|
629
525
|
- name: timers
|
630
526
|
min-version: 4.3.0
|
631
|
-
max-version: 4.3.
|
527
|
+
max-version: 4.3.5
|
632
528
|
location: https://rubygems.org/gems/timers
|
633
529
|
license: MIT License
|
634
530
|
license-url: https://github.com/socketry/timers#license
|
@@ -638,10 +534,10 @@ sdks:
|
|
638
534
|
supported-operating-systems:
|
639
535
|
macOS:
|
640
536
|
runtime-version:
|
641
|
-
- Ruby
|
642
|
-
- Ruby
|
643
|
-
- Ruby 2.
|
644
|
-
- Ruby
|
537
|
+
- Ruby 3.0.x
|
538
|
+
- Ruby 3.1.x
|
539
|
+
- Ruby 3.2.x
|
540
|
+
- Ruby 3.3.x
|
645
541
|
minimum-os-version:
|
646
542
|
- OS X 10.10
|
647
543
|
maximum-os-version:
|
@@ -651,10 +547,10 @@ sdks:
|
|
651
547
|
- x86-64
|
652
548
|
Windows:
|
653
549
|
runtime-version:
|
654
|
-
- Ruby
|
655
|
-
- Ruby
|
656
|
-
- Ruby 2.
|
657
|
-
- Ruby
|
550
|
+
- Ruby 3.0.x
|
551
|
+
- Ruby 3.1.x
|
552
|
+
- Ruby 3.2.x
|
553
|
+
- Ruby 3.3.x
|
658
554
|
minimum-os-version:
|
659
555
|
- Windows 7 Professional
|
660
556
|
- Windows 7 Enterprise
|
@@ -667,10 +563,10 @@ sdks:
|
|
667
563
|
- x86-64
|
668
564
|
Linux:
|
669
565
|
runtime-version:
|
670
|
-
- Ruby
|
671
|
-
- Ruby
|
672
|
-
- Ruby 2.
|
673
|
-
- Ruby
|
566
|
+
- Ruby 3.0.x
|
567
|
+
- Ruby 3.1.x
|
568
|
+
- Ruby 3.2.x
|
569
|
+
- Ruby 3.3.x
|
674
570
|
minimum-os-version:
|
675
571
|
- Ubuntu 16.04 LTS
|
676
572
|
maximum-os-version:
|
@@ -680,12 +576,12 @@ sdks:
|
|
680
576
|
- x86-64
|
681
577
|
- distribution-type: package
|
682
578
|
distribution-repository: RubyGems
|
683
|
-
package-name: pubnub-5.3.
|
579
|
+
package-name: pubnub-5.3.4.gem
|
684
580
|
location: https://rubygems.org/gems/pubnub
|
685
581
|
requires:
|
686
582
|
- name: addressable
|
687
583
|
min-version: 2.0.0
|
688
|
-
max-version: 2.
|
584
|
+
max-version: 2.8.6
|
689
585
|
location: https://rubygems.org/gems/addressable
|
690
586
|
license: Apache License 2.0
|
691
587
|
license-url: https://github.com/sporkmonger/addressable/blob/main/LICENSE.txt
|
@@ -693,7 +589,7 @@ sdks:
|
|
693
589
|
notes: Will be installed along with SDK
|
694
590
|
- name: concurrent-ruby
|
695
591
|
min-version: 1.1.5
|
696
|
-
max-version: 1.1.
|
592
|
+
max-version: 1.1.10
|
697
593
|
location: https://rubygems.org/gems/concurrent-ruby
|
698
594
|
license: MIT License
|
699
595
|
license-url: https://github.com/ruby-concurrency/concurrent-ruby/blob/master/LICENSE.txt
|
@@ -709,7 +605,7 @@ sdks:
|
|
709
605
|
notes: Will be installed along with SDK
|
710
606
|
- name: dry-validation
|
711
607
|
min-version: 1.0.0
|
712
|
-
max-version: 1.
|
608
|
+
max-version: 1.10.0
|
713
609
|
location: https://rubygems.org/gems/dry-validation
|
714
610
|
license: MIT License
|
715
611
|
license-url: https://github.com/dry-rb/dry-validation/blob/master/LICENSE
|
@@ -725,7 +621,7 @@ sdks:
|
|
725
621
|
notes: Will be installed along with SDK
|
726
622
|
- name: json
|
727
623
|
min-version: 2.2.0
|
728
|
-
max-version: 2.
|
624
|
+
max-version: 2.7.1
|
729
625
|
location: https://rubygems.org/gems/json
|
730
626
|
license: Ruby License
|
731
627
|
license-url: https://github.com/flori/json/blob/master/LICENSE
|
@@ -733,7 +629,7 @@ sdks:
|
|
733
629
|
notes: Will be installed along with SDK
|
734
630
|
- name: timers
|
735
631
|
min-version: 4.3.0
|
736
|
-
max-version: 4.3.
|
632
|
+
max-version: 4.3.5
|
737
633
|
location: https://rubygems.org/gems/timers
|
738
634
|
license: MIT License
|
739
635
|
license-url: https://github.com/socketry/timers#license
|
@@ -743,10 +639,10 @@ sdks:
|
|
743
639
|
supported-operating-systems:
|
744
640
|
macOS:
|
745
641
|
runtime-version:
|
746
|
-
- Ruby
|
747
|
-
- Ruby
|
748
|
-
- Ruby 2.
|
749
|
-
- Ruby
|
642
|
+
- Ruby 3.0.x
|
643
|
+
- Ruby 3.1.x
|
644
|
+
- Ruby 3.2.x
|
645
|
+
- Ruby 3.3.x
|
750
646
|
minimum-os-version:
|
751
647
|
- OS X 10.10
|
752
648
|
maximum-os-version:
|
@@ -756,10 +652,10 @@ sdks:
|
|
756
652
|
- x86-64
|
757
653
|
Windows:
|
758
654
|
runtime-version:
|
759
|
-
- Ruby
|
760
|
-
- Ruby
|
761
|
-
- Ruby 2.
|
762
|
-
- Ruby
|
655
|
+
- Ruby 3.0.x
|
656
|
+
- Ruby 3.1.x
|
657
|
+
- Ruby 3.2.x
|
658
|
+
- Ruby 3.3.x
|
763
659
|
minimum-os-version:
|
764
660
|
- Windows 7 Professional
|
765
661
|
- Windows 7 Enterprise
|
@@ -772,10 +668,10 @@ sdks:
|
|
772
668
|
- x86-64
|
773
669
|
Linux:
|
774
670
|
runtime-version:
|
775
|
-
- Ruby
|
776
|
-
- Ruby
|
777
|
-
- Ruby 2.
|
778
|
-
- Ruby
|
671
|
+
- Ruby 3.0.x
|
672
|
+
- Ruby 3.1.x
|
673
|
+
- Ruby 3.2.x
|
674
|
+
- Ruby 3.3.x
|
779
675
|
minimum-os-version:
|
780
676
|
- Ubuntu 16.04 LTS
|
781
677
|
maximum-os-version:
|
@@ -785,19 +681,19 @@ sdks:
|
|
785
681
|
- x86-64
|
786
682
|
- distribution-type: library
|
787
683
|
distribution-repository: GitHub release
|
788
|
-
package-name: pubnub-5.3.
|
789
|
-
location: https://github.com/pubnub/ruby/releases/download/v5.3.
|
684
|
+
package-name: pubnub-5.3.4.gem
|
685
|
+
location: https://github.com/pubnub/ruby/releases/download/v5.3.4/pubnub-5.3.4.gem
|
790
686
|
requires:
|
791
687
|
- name: addressable
|
792
688
|
min-version: 2.0.0
|
793
|
-
max-version: 2.
|
689
|
+
max-version: 2.8.6
|
794
690
|
location: https://rubygems.org/gems/addressable
|
795
691
|
license: Apache License 2.0
|
796
692
|
license-url: https://github.com/sporkmonger/addressable/blob/main/LICENSE.txt
|
797
693
|
is-required: Required
|
798
694
|
- name: concurrent-ruby
|
799
695
|
min-version: 1.1.5
|
800
|
-
max-version: 1.1.
|
696
|
+
max-version: 1.1.10
|
801
697
|
location: https://rubygems.org/gems/concurrent-ruby
|
802
698
|
license: MIT License
|
803
699
|
license-url: https://github.com/ruby-concurrency/concurrent-ruby/blob/master/LICENSE.txt
|
@@ -811,7 +707,7 @@ sdks:
|
|
811
707
|
is-required: Required
|
812
708
|
- name: dry-validation
|
813
709
|
min-version: 1.0.0
|
814
|
-
max-version: 1.
|
710
|
+
max-version: 1.10.0
|
815
711
|
location: https://rubygems.org/gems/dry-validation
|
816
712
|
license: MIT License
|
817
713
|
license-url: https://github.com/dry-rb/dry-validation/blob/master/LICENSE
|
@@ -825,14 +721,14 @@ sdks:
|
|
825
721
|
is-required: Required
|
826
722
|
- name: json
|
827
723
|
min-version: 2.2.0
|
828
|
-
max-version: 2.
|
724
|
+
max-version: 2.7.1
|
829
725
|
location: https://rubygems.org/gems/json
|
830
726
|
license: Ruby License
|
831
727
|
license-url: https://github.com/flori/json/blob/master/LICENSE
|
832
728
|
is-required: Required
|
833
729
|
- name: timers
|
834
730
|
min-version: 4.3.0
|
835
|
-
max-version: 4.3.
|
731
|
+
max-version: 4.3.5
|
836
732
|
location: https://rubygems.org/gems/timers
|
837
733
|
license: MIT License
|
838
734
|
license-url: https://github.com/socketry/timers#license
|
@@ -841,10 +737,10 @@ sdks:
|
|
841
737
|
supported-operating-systems:
|
842
738
|
macOS:
|
843
739
|
runtime-version:
|
844
|
-
- Ruby
|
845
|
-
- Ruby
|
846
|
-
- Ruby 2.
|
847
|
-
- Ruby
|
740
|
+
- Ruby 3.0.x
|
741
|
+
- Ruby 3.1.x
|
742
|
+
- Ruby 3.2.x
|
743
|
+
- Ruby 3.3.x
|
848
744
|
minimum-os-version:
|
849
745
|
- OS X 10.10
|
850
746
|
maximum-os-version:
|
@@ -854,10 +750,10 @@ sdks:
|
|
854
750
|
- x86-64
|
855
751
|
Windows:
|
856
752
|
runtime-version:
|
857
|
-
- Ruby
|
858
|
-
- Ruby
|
859
|
-
- Ruby 2.
|
860
|
-
- Ruby
|
753
|
+
- Ruby 3.0.x
|
754
|
+
- Ruby 3.1.x
|
755
|
+
- Ruby 3.2.x
|
756
|
+
- Ruby 3.3.x
|
861
757
|
minimum-os-version:
|
862
758
|
- Windows 7 Professional
|
863
759
|
- Windows 7 Enterprise
|
@@ -870,10 +766,10 @@ sdks:
|
|
870
766
|
- x86-64
|
871
767
|
Linux:
|
872
768
|
runtime-version:
|
873
|
-
- Ruby
|
874
|
-
- Ruby
|
875
|
-
- Ruby 2.
|
876
|
-
- Ruby
|
769
|
+
- Ruby 3.0.x
|
770
|
+
- Ruby 3.1.x
|
771
|
+
- Ruby 3.2.x
|
772
|
+
- Ruby 3.3.x
|
877
773
|
minimum-os-version:
|
878
774
|
- Ubuntu 16.04 LTS
|
879
775
|
maximum-os-version:
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## v5.3.4
|
2
|
+
April 29 2024
|
3
|
+
|
4
|
+
#### Fixed
|
5
|
+
- Fix issue because of which client didn't encode App Context get all event `filter` query value.
|
6
|
+
|
7
|
+
## v5.3.3
|
8
|
+
January 29 2024
|
9
|
+
|
10
|
+
#### Modified
|
11
|
+
- Bump required version to the minimum officially supported Ruby version.
|
12
|
+
|
1
13
|
## v5.3.2
|
2
14
|
November 23 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.4)
|
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/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.3.
|
1
|
+
5.3.4
|
@@ -39,12 +39,13 @@ module Pubnub
|
|
39
39
|
|
40
40
|
def variables_for_signature
|
41
41
|
unsorted_params = parameters(true)
|
42
|
-
sorted_keys = unsorted_params.sort_by {|k, v| k.to_s}
|
42
|
+
sorted_keys = unsorted_params.sort_by { |k, v| k.to_s }
|
43
43
|
sorted_keys.map do |k, v|
|
44
|
-
if %w[meta ortt].include?(k.to_s)
|
45
|
-
|
44
|
+
if %w[meta ortt filter].include?(k.to_s)
|
45
|
+
value_for_encoding = v.is_a?(String) ? v : v.to_json
|
46
|
+
encoded_value = URI.encode_www_form_component(value_for_encoding).gsub('+', '%20')
|
46
47
|
"#{k}=#{encoded_value}"
|
47
|
-
elsif %w[t state filter-expr sort
|
48
|
+
elsif %w[t state filter-expr sort].include?(k.to_s)
|
48
49
|
"#{k}=#{v}"
|
49
50
|
else
|
50
51
|
"#{k}=#{URI.encode_www_form_component(v.to_s).gsub('+', '%20')}"
|
data/lib/pubnub/formatter.rb
CHANGED
@@ -118,10 +118,11 @@ module Pubnub
|
|
118
118
|
def params_hash_to_url_params(hash)
|
119
119
|
params = ''
|
120
120
|
hash.sort_by { |k, _v| k.to_s }.to_h.each do |key, value|
|
121
|
-
if %w[meta ortt].include?(key.to_s)
|
122
|
-
|
121
|
+
if %w[meta ortt filter].include?(key.to_s)
|
122
|
+
value_for_encoding = value.is_a?(String) ? value : value.to_json
|
123
|
+
encoded_value = URI.encode_www_form_component(value_for_encoding).gsub('+', '%20')
|
123
124
|
params << "#{key}=#{encoded_value}&"
|
124
|
-
elsif %w[t state filter
|
125
|
+
elsif %w[t state filter-expr].include?(key.to_s)
|
125
126
|
params << "#{key}=#{value}&"
|
126
127
|
else
|
127
128
|
params << "#{key}=#{URI.encode_www_form_component(value).gsub('+', '%20')}&"
|
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.4
|
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-04-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
|
- - ">="
|