pubnub 4.2.4 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pubnub might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +1 -0
- data/.pubnub.yml +160 -118
- data/.travis.yml +9 -20
- data/CHANGELOG.md +29 -5
- data/Gemfile.lock +62 -68
- data/README.md +1 -1
- data/VERSION +1 -1
- data/fixtures/vcr_cassettes/examples/grant/1913.yml +1 -1
- data/fixtures/vcr_cassettes/examples/grant/1944.yml +8 -9
- data/fixtures/vcr_cassettes/examples/grant/1945.yml +359 -9
- data/fixtures/vcr_cassettes/examples/history/100.yml +46 -0
- data/fixtures/vcr_cassettes/examples/history/include_meta__encrypted.yml +46 -0
- data/fixtures/vcr_cassettes/examples/history/include_token__encrypted.yml +45 -0
- data/fixtures/vcr_cassettes/examples/history/no_includes__encrypted.yml +45 -0
- data/fixtures/vcr_cassettes/examples/subscribe/0.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/1.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/10.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/100.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/101.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/102.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/103.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/104.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/105.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/106.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/107.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/11.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/12.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/13.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/14.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/15.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/16.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/17.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/18.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/180.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/181.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/182.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/183.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/184.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/185.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/186.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/187.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/188.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/189.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/19.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/190.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/191.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/192.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/193.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/194.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/195.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/196.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/197.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/2.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/20.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/21.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/22.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/23.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/24.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/25.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/26.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/27.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/270.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/271.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/272.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/273.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/274.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/275.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/276.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/277.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/278.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/279.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/28.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/280.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/281.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/282.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/283.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/284.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/285.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/286.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/287.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/29.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/3.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/30.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/31.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/32.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/33.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/34.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/35.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/36.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/360.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/361.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/362.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/363.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/364.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/365.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/366.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/367.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/368.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/369.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/37.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/370.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/371.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/372.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/373.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/374.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/375.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/376.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/377.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/38.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/39.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/4.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/40.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/41.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/42.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/43.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/44.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/45.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/46.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/47.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/48.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/49.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/5.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/50.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/51.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/52.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/53.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/54.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/55.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/56.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/57.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/58.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/59.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/6.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/60.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/61.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/62.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/63.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/64.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/65.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/66.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/67.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/68.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/69.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/7.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/70.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/71.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/72.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/73.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/74.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/75.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/76.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/77.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/78.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/79.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/8.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/80.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/81.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/82.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/83.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/84.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/85.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/86.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/87.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/88.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/89.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/9.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/90.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/91.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/92.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/93.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/94.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/95.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/96.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/97.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/98.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/99.yml +2 -2
- data/fixtures/vcr_cassettes/lib/events/get_all_channels_metadata.yml +39 -0
- data/fixtures/vcr_cassettes/lib/events/get_all_uuid_metadata.yml +76 -0
- data/fixtures/vcr_cassettes/lib/events/{get_space_memberships.yml → get_channel_members.yml} +5 -6
- data/fixtures/vcr_cassettes/lib/events/get_channel_metadata.yml +37 -0
- data/fixtures/vcr_cassettes/lib/events/{get_members.yml → get_memberships.yml} +10 -11
- data/fixtures/vcr_cassettes/lib/events/get_uuid_metadata.yml +76 -0
- data/fixtures/vcr_cassettes/lib/events/grant-error.yml +2 -2
- data/fixtures/vcr_cassettes/lib/events/grant.yml +10 -11
- data/fixtures/vcr_cassettes/lib/events/remove_channel_members.yml +78 -0
- data/fixtures/vcr_cassettes/lib/events/{delete_space.yml → remove_channel_metadata.yml} +5 -6
- data/fixtures/vcr_cassettes/lib/events/{manage_memberships_remove.yml → remove_memberships.yml} +8 -9
- data/fixtures/vcr_cassettes/lib/events/remove_uuid_metadata.yml +76 -0
- data/fixtures/vcr_cassettes/lib/events/set_channel_members.yml +39 -0
- data/fixtures/vcr_cassettes/lib/events/set_channel_metadata.yml +39 -0
- data/fixtures/vcr_cassettes/lib/events/{manage_members_add.yml → set_memberships.yml} +8 -9
- data/fixtures/vcr_cassettes/lib/events/set_uuid_metadata.yml +78 -0
- data/fixtures/vcr_cassettes/lib/events/{subscribe-space-delete-async.yml → subscribe-channel-metadata-remove-sync.yml} +12 -14
- data/fixtures/vcr_cassettes/lib/events/subscribe-channel-metadata-set-async.yml +75 -0
- data/fixtures/vcr_cassettes/lib/events/{subscribe-member-remove-async.yml → subscribe-member-remove-sync.yml} +12 -14
- data/fixtures/vcr_cassettes/lib/events/subscribe-member-set-async.yml +75 -0
- data/fixtures/vcr_cassettes/lib/events/subscribe-membership-remove-async.yml +12 -14
- data/fixtures/vcr_cassettes/lib/events/{subscribe-user-update-async.yml → subscribe-membership-set-async.yml} +12 -14
- data/fixtures/vcr_cassettes/lib/events/{subscribe-user-delete-async.yml → subscribe-uuid-metadata-remove-sync.yml} +12 -14
- data/fixtures/vcr_cassettes/lib/events/subscribe-uuid-metadata-set-async.yml +75 -0
- data/fixtures/vcr_cassettes/lib/events/subscribe-with-presence.yml +2 -2
- data/lib/pubnub/client.rb +14 -14
- data/lib/pubnub/client/events.rb +4 -2
- data/lib/pubnub/client/paged_history.rb +1 -1
- data/lib/pubnub/constants.rb +19 -18
- data/lib/pubnub/event.rb +30 -16
- data/lib/pubnub/event/formatter.rb +4 -0
- data/lib/pubnub/event/signature.rb +22 -7
- data/lib/pubnub/events/get_all_channels_metadata.rb +92 -0
- data/lib/pubnub/events/get_all_uuid_metadata.rb +92 -0
- data/lib/pubnub/events/get_channel_members.rb +100 -0
- data/lib/pubnub/events/{get_user.rb → get_channel_metadata.rb} +22 -15
- data/lib/pubnub/events/get_memberships.rb +100 -0
- data/lib/pubnub/events/{get_space.rb → get_uuid_metadata.rb} +22 -15
- data/lib/pubnub/events/grant.rb +10 -1
- data/lib/pubnub/events/history.rb +17 -2
- data/lib/pubnub/events/remove_channel_members.rb +117 -0
- data/lib/pubnub/events/{delete_space.rb → remove_channel_metadata.rb} +12 -12
- data/lib/pubnub/events/remove_memberships.rb +117 -0
- data/lib/pubnub/events/{delete_user.rb → remove_uuid_metadata.rb} +12 -12
- data/lib/pubnub/events/set_channel_members.rb +120 -0
- data/lib/pubnub/events/{create_space.rb → set_channel_metadata.rb} +26 -16
- data/lib/pubnub/events/set_memberships.rb +120 -0
- data/lib/pubnub/events/{update_space.rb → set_uuid_metadata.rb} +27 -18
- data/lib/pubnub/formatter.rb +3 -3
- data/lib/pubnub/pam.rb +2 -11
- data/lib/pubnub/subscribe_callback.rb +1 -3
- data/lib/pubnub/subscribe_event/formatter.rb +26 -17
- data/lib/pubnub/subscriber.rb +5 -6
- data/lib/pubnub/validators/get_all_channels_metadata.rb +29 -0
- data/lib/pubnub/validators/get_all_uuid_metadata.rb +29 -0
- data/lib/pubnub/validators/get_channel_members.rb +39 -0
- data/lib/pubnub/validators/get_channel_metadata.rb +39 -0
- data/lib/pubnub/validators/get_memberships.rb +39 -0
- data/lib/pubnub/validators/get_uuid_metadata.rb +39 -0
- data/lib/pubnub/validators/grant.rb +37 -2
- data/lib/pubnub/validators/remove_channel_members.rb +52 -0
- data/lib/pubnub/validators/remove_channel_metadata.rb +39 -0
- data/lib/pubnub/validators/remove_memberships.rb +52 -0
- data/lib/pubnub/validators/remove_uuid_metadata.rb +39 -0
- data/lib/pubnub/validators/set_channel_members.rb +78 -0
- data/lib/pubnub/validators/set_channel_metadata.rb +62 -0
- data/lib/pubnub/validators/set_memberships.rb +78 -0
- data/lib/pubnub/validators/set_uuid_metadata.rb +62 -0
- data/lib/pubnub/version.rb +1 -1
- data/pubnub.gemspec +1 -1
- data/spec/examples/grant_examples_spec.rb +36 -0
- data/spec/examples/history_examples_spec.rb +85 -0
- data/spec/lib/event/formatter_spec.rb +22 -0
- data/spec/lib/events/channel_metadata_spec.rb +58 -0
- data/spec/lib/events/grant_spec.rb +3 -2
- data/spec/lib/events/membership_spec.rb +25 -22
- data/spec/lib/events/subscribe_spec.rb +58 -45
- data/spec/lib/events/uuid_metadata_spec.rb +56 -0
- data/spec/lib/subscribe_event/formatter_spec.rb +22 -0
- data/spec/spec_helper.rb +1 -1
- metadata +79 -72
- data/fixtures/vcr_cassettes/lib/events/create_space.yml +0 -40
- data/fixtures/vcr_cassettes/lib/events/create_user.yml +0 -40
- data/fixtures/vcr_cassettes/lib/events/delete_user.yml +0 -38
- data/fixtures/vcr_cassettes/lib/events/get_space.yml +0 -38
- data/fixtures/vcr_cassettes/lib/events/get_spaces.yml +0 -40
- data/fixtures/vcr_cassettes/lib/events/get_user.yml +0 -38
- data/fixtures/vcr_cassettes/lib/events/get_users.yml +0 -40
- data/fixtures/vcr_cassettes/lib/events/manage_members_remove.yml +0 -83
- data/fixtures/vcr_cassettes/lib/events/manage_memberships_add.yml +0 -40
- data/fixtures/vcr_cassettes/lib/events/subscribe-member-add-async.yml +0 -77
- data/fixtures/vcr_cassettes/lib/events/subscribe-membership-add-async.yml +0 -77
- data/fixtures/vcr_cassettes/lib/events/subscribe-space-update-async.yml +0 -77
- data/fixtures/vcr_cassettes/lib/events/update_space.yml +0 -40
- data/fixtures/vcr_cassettes/lib/events/update_user.yml +0 -40
- data/lib/pubnub/events/create_user.rb +0 -84
- data/lib/pubnub/events/get_members.rb +0 -93
- data/lib/pubnub/events/get_space_memberships.rb +0 -93
- data/lib/pubnub/events/get_spaces.rb +0 -90
- data/lib/pubnub/events/get_users.rb +0 -90
- data/lib/pubnub/events/manage_members.rb +0 -105
- data/lib/pubnub/events/manage_memberships.rb +0 -105
- data/lib/pubnub/events/update_user.rb +0 -86
- data/lib/pubnub/validators/create_space.rb +0 -44
- data/lib/pubnub/validators/create_user.rb +0 -44
- data/lib/pubnub/validators/delete_space.rb +0 -32
- data/lib/pubnub/validators/delete_user.rb +0 -32
- data/lib/pubnub/validators/get_members.rb +0 -32
- data/lib/pubnub/validators/get_space.rb +0 -32
- data/lib/pubnub/validators/get_space_memberships.rb +0 -32
- data/lib/pubnub/validators/get_spaces.rb +0 -16
- data/lib/pubnub/validators/get_user.rb +0 -32
- data/lib/pubnub/validators/get_users.rb +0 -16
- data/lib/pubnub/validators/manage_members.rb +0 -45
- data/lib/pubnub/validators/manage_memberships.rb +0 -45
- data/lib/pubnub/validators/update_space.rb +0 -45
- data/lib/pubnub/validators/update_user.rb +0 -45
- data/spec/lib/events/space_spec.rb +0 -75
- data/spec/lib/events/user_spec.rb +0 -75
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f8b275c721b9de530bc31977a8ce13bc80f09ddbdab4b86aa95290e356efb69
|
4
|
+
data.tar.gz: e1a95809c417d251ca1cf4845d1b0afe4a8542aed89e7770955eb6c7f4ded259
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 520398c604c98552438102a972bda7a32bb597550bf91fcf2980990dd99d9e655b0b150a098191ad6a39ee0c9fcb893f2967ad551dd317138db78d8bc9586acf
|
7
|
+
data.tar.gz: d39f1d0d61e7c090eb59ad061d9b194e2e94b73e7abf60c72772f4542208c2be081a1a096cc030ecfa75b88e3ee2d2a541416a12d8c21afaf4581ef25c823c4a
|
data/.github/CODEOWNERS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* @parfeon @CraigLn
|
data/.pubnub.yml
CHANGED
@@ -1,6 +1,50 @@
|
|
1
1
|
---
|
2
|
-
version: "4.
|
2
|
+
version: "4.4.0"
|
3
3
|
changelog:
|
4
|
+
-
|
5
|
+
changes:
|
6
|
+
-
|
7
|
+
text: "Add simplified Objects API support with UUID and Channel metadata / membership management."
|
8
|
+
type: feature
|
9
|
+
-
|
10
|
+
text: "Add uuid and parameter to Grant API along with new Objects permissions: `get`, `update` and `join`."
|
11
|
+
type: feature
|
12
|
+
date: 21-10-2020
|
13
|
+
version: v4.4.0
|
14
|
+
-
|
15
|
+
changes:
|
16
|
+
-
|
17
|
+
text: "Add `delete` permission for `channel` to Grant."
|
18
|
+
type: feature
|
19
|
+
date: 18-10-2020
|
20
|
+
version: v4.3.0
|
21
|
+
-
|
22
|
+
changes:
|
23
|
+
-
|
24
|
+
text: "Don't suppress runtime errors."
|
25
|
+
type: bug
|
26
|
+
date: 14-09-2020
|
27
|
+
version: v4.2.7
|
28
|
+
-
|
29
|
+
changes:
|
30
|
+
-
|
31
|
+
text: "History can now respond with message meta information."
|
32
|
+
type: feature
|
33
|
+
-
|
34
|
+
text: "Added official support for Ruby 2.7.X"
|
35
|
+
type: feature
|
36
|
+
-
|
37
|
+
text: "History properly decrypts messages when using the \"include_token\" parameter."
|
38
|
+
type: bug
|
39
|
+
date: 25-08-2020
|
40
|
+
version: v4.2.6
|
41
|
+
-
|
42
|
+
changes:
|
43
|
+
-
|
44
|
+
text: "Fixed Message Counts channel timetokens by disabling alphabetic sorting of the channels list."
|
45
|
+
type: bug
|
46
|
+
date: 02-06-2020
|
47
|
+
version: v4.2.5
|
4
48
|
-
|
5
49
|
changes:
|
6
50
|
-
|
@@ -12,7 +56,7 @@ changelog:
|
|
12
56
|
-
|
13
57
|
text: "Update PAM signature generator to correctly sort the query string parameters based on key instead of combined key and value."
|
14
58
|
type: bug
|
15
|
-
date: 05
|
59
|
+
date: 22-05-2020
|
16
60
|
version: v4.2.4
|
17
61
|
-
|
18
62
|
changes:
|
@@ -20,7 +64,7 @@ changelog:
|
|
20
64
|
text: "Resolved issue with subscribe loop where the connection was reinitiated after receiving a 4xx error code from the server"
|
21
65
|
type: bugfix
|
22
66
|
date: 14-02-2020
|
23
|
-
version: "4.
|
67
|
+
version: "4.4.0"
|
24
68
|
-
|
25
69
|
changes:
|
26
70
|
-
|
@@ -116,210 +160,210 @@ changelog:
|
|
116
160
|
date: 26-07-2017
|
117
161
|
version: "4.0.23"
|
118
162
|
-
|
119
|
-
changes:
|
120
|
-
-
|
163
|
+
changes:
|
164
|
+
-
|
121
165
|
text: "Fixed signature generation and channel name escaping"
|
122
166
|
type: bug
|
123
167
|
date: 31-05-2017
|
124
168
|
version: "4.0.22"
|
125
|
-
-
|
126
|
-
changes:
|
127
|
-
-
|
169
|
+
-
|
170
|
+
changes:
|
171
|
+
-
|
128
172
|
text: "Fixed signature generation"
|
129
173
|
type: bug
|
130
174
|
date: 18-04-2017
|
131
175
|
version: "4.0.21"
|
132
|
-
-
|
133
|
-
changes:
|
134
|
-
-
|
176
|
+
-
|
177
|
+
changes:
|
178
|
+
-
|
135
179
|
text: "origin can now be set in initialized client"
|
136
180
|
type: improvement
|
137
|
-
-
|
181
|
+
-
|
138
182
|
text: "presence interval support"
|
139
183
|
type: improvement
|
140
|
-
-
|
184
|
+
-
|
141
185
|
text: "allows using multiple cipher keys"
|
142
186
|
type: improvement
|
143
187
|
date: 11-04-2017
|
144
188
|
version: "4.0.20"
|
145
|
-
-
|
146
|
-
changes:
|
147
|
-
-
|
189
|
+
-
|
190
|
+
changes:
|
191
|
+
-
|
148
192
|
text: "Fixed sync subscribe not terminating actors"
|
149
193
|
type: bug
|
150
194
|
date: 02-03-2017
|
151
195
|
version: v4.0.18
|
152
|
-
-
|
153
|
-
changes:
|
154
|
-
-
|
196
|
+
-
|
197
|
+
changes:
|
198
|
+
-
|
155
199
|
text: "Added a bit more debug logging"
|
156
200
|
type: improvement
|
157
|
-
-
|
201
|
+
-
|
158
202
|
text: "Updated default origin"
|
159
203
|
type: improvement
|
160
204
|
date: 21-12-2016
|
161
205
|
version: v4.0.17
|
162
|
-
-
|
163
|
-
changes:
|
164
|
-
-
|
206
|
+
-
|
207
|
+
changes:
|
208
|
+
-
|
165
209
|
text: "Fixed missing channel group parameter in leave event"
|
166
210
|
type: bug
|
167
211
|
date: ~
|
168
212
|
version: v4.0.16
|
169
|
-
-
|
170
|
-
changes:
|
171
|
-
-
|
213
|
+
-
|
214
|
+
changes:
|
215
|
+
-
|
172
216
|
text: "Fixed PAM signature when some special characters are present"
|
173
217
|
type: bug
|
174
218
|
date: ~
|
175
219
|
version: v4.0.15
|
176
|
-
-
|
177
|
-
changes:
|
178
|
-
-
|
220
|
+
-
|
221
|
+
changes:
|
222
|
+
-
|
179
223
|
text: "Added ttl parameter for publish"
|
180
224
|
type: improvement
|
181
225
|
date: ~
|
182
226
|
version: v4.0.14
|
183
|
-
-
|
184
|
-
changes:
|
185
|
-
-
|
227
|
+
-
|
228
|
+
changes:
|
229
|
+
-
|
186
230
|
text: "Changed init message log level to debug"
|
187
231
|
type: improvement
|
188
232
|
date: ~
|
189
233
|
version: v4.0.13
|
190
|
-
-
|
191
|
-
changes:
|
192
|
-
-
|
234
|
+
-
|
235
|
+
changes:
|
236
|
+
-
|
193
237
|
text: "Added alert on catchup failure (REQUEST_MESSAGE_COUNT_EXCEEDED)"
|
194
238
|
type: improvement
|
195
239
|
date: ~
|
196
240
|
version: v4.0.12
|
197
|
-
-
|
198
|
-
changes:
|
199
|
-
-
|
241
|
+
-
|
242
|
+
changes:
|
243
|
+
-
|
200
244
|
text: "Added super admin mode (Enabled when secret key is set on Pubnub::Client init)"
|
201
245
|
type: improvement
|
202
246
|
date: ~
|
203
247
|
version: v4.0.11
|
204
|
-
-
|
205
|
-
changes:
|
206
|
-
-
|
248
|
+
-
|
249
|
+
changes:
|
250
|
+
-
|
207
251
|
text: "Better single events timeout handling"
|
208
252
|
type: improvement
|
209
|
-
-
|
253
|
+
-
|
210
254
|
text: "DRYed envelope formatting a bit"
|
211
255
|
type: improvement
|
212
256
|
date: ~
|
213
257
|
version: v4.0.10
|
214
|
-
-
|
215
|
-
changes:
|
216
|
-
-
|
258
|
+
-
|
259
|
+
changes:
|
260
|
+
-
|
217
261
|
text: "Removed json dependency"
|
218
262
|
type: improvement
|
219
|
-
-
|
263
|
+
-
|
220
264
|
text: "Updated dependecies"
|
221
265
|
type: improvement
|
222
266
|
date: ~
|
223
267
|
version: v4.0.9
|
224
|
-
-
|
225
|
-
changes:
|
226
|
-
-
|
268
|
+
-
|
269
|
+
changes:
|
270
|
+
-
|
227
271
|
text: "Updated dry-validation."
|
228
272
|
type: improvement
|
229
|
-
-
|
273
|
+
-
|
230
274
|
text: "Dropped support for ruby 2.0."
|
231
275
|
type: improvement
|
232
276
|
date: ~
|
233
277
|
version: v4.0.8
|
234
|
-
-
|
235
|
-
changes:
|
236
|
-
-
|
278
|
+
-
|
279
|
+
changes:
|
280
|
+
-
|
237
281
|
text: "Added message decrypting in history."
|
238
282
|
type: improvement
|
239
283
|
date: ~
|
240
284
|
version: v4.0.7
|
241
|
-
-
|
242
|
-
changes:
|
243
|
-
-
|
285
|
+
-
|
286
|
+
changes:
|
287
|
+
-
|
244
288
|
text: "channel and channels are the same argument."
|
245
289
|
type: improvement
|
246
|
-
-
|
290
|
+
-
|
247
291
|
text: "channel_group and channel_groups are the same argument."
|
248
292
|
type: improvement
|
249
|
-
-
|
293
|
+
-
|
250
294
|
text: "added `with_presence` flag for subscribe, default false."
|
251
295
|
type: improvement
|
252
296
|
date: ~
|
253
297
|
version: v4.0.6
|
254
|
-
-
|
255
|
-
changes:
|
256
|
-
-
|
298
|
+
-
|
299
|
+
changes:
|
300
|
+
-
|
257
301
|
text: "Required CGI."
|
258
302
|
type: improvement
|
259
303
|
version: v4.0.5
|
260
|
-
-
|
261
|
-
changes:
|
262
|
-
-
|
304
|
+
-
|
305
|
+
changes:
|
306
|
+
-
|
263
307
|
text: Added
|
264
308
|
type: feature
|
265
309
|
version: v4.0.2
|
266
|
-
-
|
267
|
-
changes:
|
268
|
-
-
|
310
|
+
-
|
311
|
+
changes:
|
312
|
+
-
|
269
313
|
text: "Updated dry-validation and EnvelopeSchema."
|
270
314
|
type: improvement
|
271
315
|
version: v4.0.1
|
272
|
-
-
|
273
|
-
changes:
|
274
|
-
-
|
316
|
+
-
|
317
|
+
changes:
|
318
|
+
-
|
275
319
|
text: "Removed auth_key and uuid setters (#set_auth_key,"
|
276
320
|
type: feature
|
277
|
-
-
|
321
|
+
-
|
278
322
|
text: Added
|
279
323
|
type: improvement
|
280
324
|
version: v4.0.0
|
281
|
-
-
|
282
|
-
changes:
|
283
|
-
-
|
325
|
+
-
|
326
|
+
changes:
|
327
|
+
-
|
284
328
|
text: "Restored auth_key and uuid setters. Important notice: they will be removed"
|
285
329
|
type: improvement
|
286
330
|
version: v3.8.3
|
287
|
-
-
|
288
|
-
changes:
|
289
|
-
-
|
331
|
+
-
|
332
|
+
changes:
|
333
|
+
-
|
290
334
|
text: "Added :include_token parameter to history call."
|
291
335
|
type: feature
|
292
336
|
version: v3.8.2
|
293
|
-
-
|
294
|
-
changes:
|
295
|
-
-
|
337
|
+
-
|
338
|
+
changes:
|
339
|
+
-
|
296
340
|
text: "Updated celluloid dependency."
|
297
341
|
type: improvement
|
298
342
|
version: v3.8.1
|
299
|
-
-
|
300
|
-
changes:
|
301
|
-
-
|
343
|
+
-
|
344
|
+
changes:
|
345
|
+
-
|
302
346
|
text: "Release of celluloid version of pubnub gem. It's complete rewrite but public API doesn't change."
|
303
347
|
type: improvement
|
304
348
|
version: v3.8.0
|
305
|
-
features:
|
306
|
-
access:
|
349
|
+
features:
|
350
|
+
access:
|
307
351
|
- ACCESS-GRANT
|
308
352
|
- ACCESS-SECRET-KEY-ALL-ACCESS
|
309
|
-
channel-groups:
|
353
|
+
channel-groups:
|
310
354
|
- CHANNEL-GROUPS-ADD-CHANNELS
|
311
355
|
- CHANNEL-GROUPS-REMOVE-CHANNELS
|
312
356
|
- CHANNEL-GROUPS-REMOVE-GROUPS
|
313
357
|
- CHANNEL-GROUPS-LIST-CHANNELS-IN-GROUP
|
314
|
-
notify:
|
358
|
+
notify:
|
315
359
|
- REQUEST-MESSAGE-COUNT-EXCEEDED
|
316
|
-
presence:
|
360
|
+
presence:
|
317
361
|
- PRESENCE-HERE-NOW
|
318
362
|
- PRESENCE-WHERE-NOW
|
319
363
|
- PRESENCE-SET-STATE
|
320
364
|
- PRESENCE-GET-STATE
|
321
365
|
- PRESENCE-HEARTBEAT
|
322
|
-
publish:
|
366
|
+
publish:
|
323
367
|
- PUBLISH-STORE-FLAG
|
324
368
|
- PUBLISH-RAW-JSON
|
325
369
|
- PUBLISH-WITH-METADATA
|
@@ -328,14 +372,14 @@ features:
|
|
328
372
|
- PUBLISH-SYNC
|
329
373
|
- PUBLISH-ASYNC
|
330
374
|
- PUBLISH-MESSAGE-TTL
|
331
|
-
storage:
|
375
|
+
storage:
|
332
376
|
- STORAGE-REVERSE
|
333
377
|
- STORAGE-INCLUDE-TIMETOKEN
|
334
378
|
- STORAGE-START-END
|
335
379
|
- STORAGE-COUNT
|
336
380
|
- STORAGE-DELETE-MESSAGES
|
337
381
|
- STORAGE-MESSAGE-COUNT
|
338
|
-
subscribe:
|
382
|
+
subscribe:
|
339
383
|
- SUBSCRIBE-CHANNELS
|
340
384
|
- SUBSCRIBE-CHANNEL-GROUPS
|
341
385
|
- SUBSCRIBE-PRESENCE-CHANNELS
|
@@ -345,43 +389,41 @@ features:
|
|
345
389
|
- SUBSCRIBE-FILTER-EXPRESSION
|
346
390
|
- SUBSCRIBE-SIGNAL-LISTENER
|
347
391
|
- SUBSCRIBE-MEMBERSHIP-LISTENER
|
348
|
-
- SUBSCRIBE-
|
349
|
-
- SUBSCRIBE-
|
392
|
+
- SUBSCRIBE-OBJECTS-CHANNEL-LISTENER
|
393
|
+
- SUBSCRIBE-OBJECTS-UUID-LISTENER
|
350
394
|
signal:
|
351
395
|
- SIGNAL-SEND
|
352
396
|
objects:
|
353
|
-
- OBJECTS-GET-
|
354
|
-
- OBJECTS-GET-
|
355
|
-
- OBJECTS-
|
356
|
-
- OBJECTS-
|
357
|
-
- OBJECTS-
|
358
|
-
- OBJECTS-GET-
|
359
|
-
- OBJECTS-
|
360
|
-
- OBJECTS-
|
361
|
-
- OBJECTS-
|
362
|
-
- OBJECTS-
|
363
|
-
- OBJECTS-
|
364
|
-
- OBJECTS-MANAGE-MEMBERSHIPS
|
365
|
-
- OBJECTS-GET-MEMBERS
|
366
|
-
- OBJECTS-
|
367
|
-
- OBJECTS-
|
368
|
-
- OBJECTS-
|
369
|
-
- OBJECTS-
|
370
|
-
- OBJECTS-
|
371
|
-
|
372
|
-
- OBJECTS-UPDATE-MEMBERS
|
373
|
-
time:
|
397
|
+
- OBJECTS-GET-ALL-UUID-METADATA
|
398
|
+
- OBJECTS-GET-UUID-METADATA
|
399
|
+
- OBJECTS-SET-UUID-METADATA
|
400
|
+
- OBJECTS-REMOVE-UUID-METADATA
|
401
|
+
- OBJECTS-GET-ALL-CHANNEL-METADATA
|
402
|
+
- OBJECTS-GET-CHANNEL-METADATA
|
403
|
+
- OBJECTS-SET-CHANNEL-METADATA
|
404
|
+
- OBJECTS-REMOVE-CHANNEL-METADATA
|
405
|
+
- OBJECTS-GET-MEMBERSHIPS-V2
|
406
|
+
- OBJECTS-SET-MEMBERSHIPS-V2
|
407
|
+
- OBJECTS-REMOVE-MEMBERSHIPS-V2
|
408
|
+
- OBJECTS-MANAGE-MEMBERSHIPS-V2
|
409
|
+
- OBJECTS-GET-CHANNEL-MEMBERS-V2
|
410
|
+
- OBJECTS-SET-CHANNEL-MEMBERS-V2
|
411
|
+
- OBJECTS-REMOVE-CHANNEL-MEMBERS-V2
|
412
|
+
- OBJECTS-MANAGE-CHANNEL-MEMBERS-V2
|
413
|
+
- OBJECTS-FILTERING
|
414
|
+
- OBJECTS-SORTING
|
415
|
+
time:
|
374
416
|
- TIME-TIME
|
375
417
|
name: ruby
|
376
418
|
schema: 1
|
377
419
|
scm: github.com/pubnub/ruby
|
378
|
-
supported-platforms:
|
379
|
-
-
|
380
|
-
editors:
|
420
|
+
supported-platforms:
|
421
|
+
-
|
422
|
+
editors:
|
381
423
|
- "ruby 2.6"
|
382
424
|
- "ruby 2.5"
|
383
425
|
- "ruby 2.4"
|
384
|
-
platforms:
|
426
|
+
platforms:
|
385
427
|
- "FreeBSD 8-STABLE or later, amd64, 386"
|
386
428
|
- "Linux 2.6 or later, amd64, 386"
|
387
429
|
- "macOS 10.8 or later, amd64"
|