pubnub 4.2.5 → 4.5.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.

Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/.github/CODEOWNERS +1 -0
  3. data/.pubnub.yml +168 -117
  4. data/.travis.yml +13 -9
  5. data/CHANGELOG.md +31 -8
  6. data/Gemfile.lock +67 -64
  7. data/README.md +56 -17
  8. data/VERSION +1 -1
  9. data/fixtures/vcr_cassettes/examples/add_channels_to_push/001.yml +45 -0
  10. data/fixtures/vcr_cassettes/examples/add_channels_to_push/002.yml +45 -0
  11. data/fixtures/vcr_cassettes/examples/add_channels_to_push/003.yml +45 -0
  12. data/fixtures/vcr_cassettes/examples/add_channels_to_push/004.yml +45 -0
  13. data/fixtures/vcr_cassettes/examples/grant/1913.yml +1 -1
  14. data/fixtures/vcr_cassettes/examples/grant/1944.yml +8 -9
  15. data/fixtures/vcr_cassettes/examples/grant/1945.yml +359 -9
  16. data/fixtures/vcr_cassettes/examples/grant/1946.yml +8 -9
  17. data/fixtures/vcr_cassettes/examples/grant/1947.yml +8 -9
  18. data/fixtures/vcr_cassettes/examples/grant/1948.yml +8 -9
  19. data/fixtures/vcr_cassettes/examples/history/100.yml +46 -0
  20. data/fixtures/vcr_cassettes/examples/history/include_meta__encrypted.yml +46 -0
  21. data/fixtures/vcr_cassettes/examples/history/include_token__encrypted.yml +45 -0
  22. data/fixtures/vcr_cassettes/examples/history/no_includes__encrypted.yml +45 -0
  23. data/fixtures/vcr_cassettes/examples/list_push_provisions/001.yml +46 -0
  24. data/fixtures/vcr_cassettes/examples/list_push_provisions/002.yml +45 -0
  25. data/fixtures/vcr_cassettes/examples/list_push_provisions/003.yml +45 -0
  26. data/fixtures/vcr_cassettes/examples/remove_channels_from_push/001.yml +45 -0
  27. data/fixtures/vcr_cassettes/examples/remove_channels_from_push/002.yml +45 -0
  28. data/fixtures/vcr_cassettes/examples/remove_channels_from_push/003.yml +45 -0
  29. data/fixtures/vcr_cassettes/examples/remove_device_from_push/001.yml +45 -0
  30. data/fixtures/vcr_cassettes/examples/remove_device_from_push/002.yml +45 -0
  31. data/fixtures/vcr_cassettes/examples/remove_device_from_push/003.yml +45 -0
  32. data/fixtures/vcr_cassettes/lib/events/get_all_channels_metadata.yml +39 -0
  33. data/fixtures/vcr_cassettes/lib/events/get_all_uuid_metadata.yml +76 -0
  34. data/fixtures/vcr_cassettes/lib/events/get_channel_members.yml +37 -0
  35. data/fixtures/vcr_cassettes/lib/events/get_channel_metadata.yml +37 -0
  36. data/fixtures/vcr_cassettes/lib/events/get_memberships1.yml +37 -0
  37. data/fixtures/vcr_cassettes/lib/events/get_memberships2.yml +37 -0
  38. data/fixtures/vcr_cassettes/lib/events/get_uuid_metadata1.yml +76 -0
  39. data/fixtures/vcr_cassettes/lib/events/get_uuid_metadata2.yml +76 -0
  40. data/fixtures/vcr_cassettes/lib/events/grant-error.yml +2 -2
  41. data/fixtures/vcr_cassettes/lib/events/grant.yml +10 -11
  42. data/fixtures/vcr_cassettes/lib/events/remove_channel_members.yml +78 -0
  43. data/fixtures/vcr_cassettes/lib/events/{delete_space.yml → remove_channel_metadata.yml} +5 -6
  44. data/fixtures/vcr_cassettes/lib/events/{manage_memberships_remove.yml → remove_memberships1.yml} +8 -9
  45. data/fixtures/vcr_cassettes/lib/events/{manage_members_add.yml → remove_memberships2.yml} +8 -9
  46. data/fixtures/vcr_cassettes/lib/events/remove_uuid_metadata1.yml +76 -0
  47. data/fixtures/vcr_cassettes/lib/events/remove_uuid_metadata2.yml +76 -0
  48. data/fixtures/vcr_cassettes/lib/events/set_channel_members.yml +39 -0
  49. data/fixtures/vcr_cassettes/lib/events/set_channel_metadata.yml +39 -0
  50. data/fixtures/vcr_cassettes/lib/events/{manage_memberships_add.yml → set_memberships1.yml} +8 -9
  51. data/fixtures/vcr_cassettes/lib/events/set_memberships2.yml +39 -0
  52. data/fixtures/vcr_cassettes/lib/events/set_uuid_metadata1.yml +78 -0
  53. data/fixtures/vcr_cassettes/lib/events/set_uuid_metadata2.yml +78 -0
  54. data/fixtures/vcr_cassettes/lib/events/{subscribe-space-delete-async.yml → subscribe-channel-metadata-remove-sync.yml} +12 -14
  55. data/fixtures/vcr_cassettes/lib/events/subscribe-channel-metadata-set-async.yml +75 -0
  56. data/fixtures/vcr_cassettes/lib/events/{subscribe-member-remove-async.yml → subscribe-member-remove-sync.yml} +12 -14
  57. data/fixtures/vcr_cassettes/lib/events/subscribe-member-set-async.yml +75 -0
  58. data/fixtures/vcr_cassettes/lib/events/subscribe-membership-remove-async.yml +12 -14
  59. data/fixtures/vcr_cassettes/lib/events/{subscribe-user-update-async.yml → subscribe-membership-set-async.yml} +12 -14
  60. data/fixtures/vcr_cassettes/lib/events/{subscribe-user-delete-async.yml → subscribe-uuid-metadata-remove-sync.yml} +12 -14
  61. data/fixtures/vcr_cassettes/lib/events/subscribe-uuid-metadata-set-async.yml +75 -0
  62. data/lib/pubnub/client.rb +18 -15
  63. data/lib/pubnub/client/events.rb +4 -2
  64. data/lib/pubnub/client/paged_history.rb +1 -1
  65. data/lib/pubnub/constants.rb +19 -18
  66. data/lib/pubnub/event.rb +32 -16
  67. data/lib/pubnub/event/formatter.rb +4 -0
  68. data/lib/pubnub/event/signature.rb +22 -7
  69. data/lib/pubnub/events/add_channels_to_push.rb +29 -13
  70. data/lib/pubnub/events/get_all_channels_metadata.rb +104 -0
  71. data/lib/pubnub/events/get_all_uuid_metadata.rb +104 -0
  72. data/lib/pubnub/events/get_channel_members.rb +120 -0
  73. data/lib/pubnub/events/{update_space.rb → get_channel_metadata.rb} +27 -27
  74. data/lib/pubnub/events/get_memberships.rb +120 -0
  75. data/lib/pubnub/events/{create_space.rb → get_uuid_metadata.rb} +27 -25
  76. data/lib/pubnub/events/grant.rb +10 -1
  77. data/lib/pubnub/events/history.rb +17 -2
  78. data/lib/pubnub/events/list_push_provisions.rb +29 -12
  79. data/lib/pubnub/events/remove_channel_members.rb +137 -0
  80. data/lib/pubnub/events/{delete_space.rb → remove_channel_metadata.rb} +12 -12
  81. data/lib/pubnub/events/remove_channels_from_push.rb +29 -13
  82. data/lib/pubnub/events/remove_device_from_push.rb +30 -14
  83. data/lib/pubnub/events/remove_memberships.rb +137 -0
  84. data/lib/pubnub/events/{delete_user.rb → remove_uuid_metadata.rb} +12 -12
  85. data/lib/pubnub/events/set_channel_members.rb +140 -0
  86. data/lib/pubnub/events/{manage_members.rb → set_channel_metadata.rb} +32 -38
  87. data/lib/pubnub/events/set_memberships.rb +140 -0
  88. data/lib/pubnub/events/{create_user.rb → set_uuid_metadata.rb} +33 -17
  89. data/lib/pubnub/formatter.rb +30 -3
  90. data/lib/pubnub/pam.rb +2 -11
  91. data/lib/pubnub/subscribe_callback.rb +1 -3
  92. data/lib/pubnub/subscribe_event/formatter.rb +26 -17
  93. data/lib/pubnub/subscriber.rb +5 -6
  94. data/lib/pubnub/validators/add_channels_to_push.rb +52 -0
  95. data/lib/pubnub/validators/get_all_channels_metadata.rb +29 -0
  96. data/lib/pubnub/validators/get_all_uuid_metadata.rb +29 -0
  97. data/lib/pubnub/validators/get_channel_members.rb +39 -0
  98. data/lib/pubnub/validators/get_channel_metadata.rb +39 -0
  99. data/lib/pubnub/validators/get_memberships.rb +39 -0
  100. data/lib/pubnub/validators/get_uuid_metadata.rb +39 -0
  101. data/lib/pubnub/validators/grant.rb +37 -2
  102. data/lib/pubnub/validators/list_push_provisions.rb +43 -0
  103. data/lib/pubnub/validators/remove_channel_members.rb +52 -0
  104. data/lib/pubnub/validators/remove_channel_metadata.rb +39 -0
  105. data/lib/pubnub/validators/remove_channels_from_push.rb +52 -0
  106. data/lib/pubnub/validators/remove_device_from_push.rb +43 -0
  107. data/lib/pubnub/validators/remove_memberships.rb +52 -0
  108. data/lib/pubnub/validators/remove_uuid_metadata.rb +39 -0
  109. data/lib/pubnub/validators/set_channel_members.rb +78 -0
  110. data/lib/pubnub/validators/set_channel_metadata.rb +62 -0
  111. data/lib/pubnub/validators/set_memberships.rb +78 -0
  112. data/lib/pubnub/validators/set_uuid_metadata.rb +62 -0
  113. data/lib/pubnub/version.rb +1 -1
  114. data/pubnub.gemspec +1 -1
  115. data/spec/examples/add_channels_to_push_spec.rb +178 -0
  116. data/spec/examples/{grant_examples_spec.rb → grant_examples_1_spec.rb} +0 -8973
  117. data/spec/examples/grant_examples_2_spec.rb +9107 -0
  118. data/spec/examples/history_examples_spec.rb +85 -0
  119. data/spec/examples/list_push_provisions_spec.rb +164 -0
  120. data/spec/examples/presence_examples_spec.rb +222 -186
  121. data/spec/examples/remove_channels_from_push_spec.rb +164 -0
  122. data/spec/examples/remove_device_from_push_spec.rb +164 -0
  123. data/spec/examples/revoke_examples_1_spec.rb +27013 -0
  124. data/spec/examples/revoke_examples_2_spec.rb +27012 -0
  125. data/spec/examples/revoke_examples_3_spec.rb +17967 -0
  126. data/spec/examples/status_request_message_count_exceeded_spec.rb +4 -1
  127. data/spec/examples/subscribe_examples_1_spec.rb +26972 -0
  128. data/spec/examples/subscribe_examples_2_spec.rb +19575 -0
  129. data/spec/lib/connection_callback_spec.rb +4 -3
  130. data/spec/lib/event/formatter_spec.rb +22 -0
  131. data/spec/lib/events/channel_metadata_spec.rb +58 -0
  132. data/spec/lib/events/grant_spec.rb +3 -2
  133. data/spec/lib/events/membership_spec.rb +51 -21
  134. data/spec/lib/events/presence_delta_spec.rb +9 -6
  135. data/spec/lib/events/presence_spec.rb +13 -7
  136. data/spec/lib/events/subscribe_spec.rb +102 -65
  137. data/spec/lib/events/uuid_metadata_spec.rb +86 -0
  138. data/spec/lib/subscribe_event/formatter_spec.rb +22 -0
  139. data/spec/lib/super_admin_spec.rb +8 -4
  140. data/spec/spec_helper.rb +24 -8
  141. metadata +124 -79
  142. data/fixtures/vcr_cassettes/lib/events/create_space.yml +0 -40
  143. data/fixtures/vcr_cassettes/lib/events/create_user.yml +0 -40
  144. data/fixtures/vcr_cassettes/lib/events/delete_user.yml +0 -38
  145. data/fixtures/vcr_cassettes/lib/events/get_members.yml +0 -38
  146. data/fixtures/vcr_cassettes/lib/events/get_space.yml +0 -38
  147. data/fixtures/vcr_cassettes/lib/events/get_space_memberships.yml +0 -38
  148. data/fixtures/vcr_cassettes/lib/events/get_spaces.yml +0 -40
  149. data/fixtures/vcr_cassettes/lib/events/get_user.yml +0 -38
  150. data/fixtures/vcr_cassettes/lib/events/get_users.yml +0 -40
  151. data/fixtures/vcr_cassettes/lib/events/manage_members_remove.yml +0 -83
  152. data/fixtures/vcr_cassettes/lib/events/subscribe-member-add-async.yml +0 -77
  153. data/fixtures/vcr_cassettes/lib/events/subscribe-membership-add-async.yml +0 -77
  154. data/fixtures/vcr_cassettes/lib/events/subscribe-space-update-async.yml +0 -77
  155. data/fixtures/vcr_cassettes/lib/events/update_space.yml +0 -40
  156. data/fixtures/vcr_cassettes/lib/events/update_user.yml +0 -40
  157. data/lib/pubnub/events/get_members.rb +0 -93
  158. data/lib/pubnub/events/get_space.rb +0 -74
  159. data/lib/pubnub/events/get_space_memberships.rb +0 -93
  160. data/lib/pubnub/events/get_spaces.rb +0 -90
  161. data/lib/pubnub/events/get_user.rb +0 -74
  162. data/lib/pubnub/events/get_users.rb +0 -90
  163. data/lib/pubnub/events/manage_memberships.rb +0 -105
  164. data/lib/pubnub/events/update_user.rb +0 -86
  165. data/lib/pubnub/validators/create_space.rb +0 -44
  166. data/lib/pubnub/validators/create_user.rb +0 -44
  167. data/lib/pubnub/validators/delete_space.rb +0 -32
  168. data/lib/pubnub/validators/delete_user.rb +0 -32
  169. data/lib/pubnub/validators/get_members.rb +0 -32
  170. data/lib/pubnub/validators/get_space.rb +0 -32
  171. data/lib/pubnub/validators/get_space_memberships.rb +0 -32
  172. data/lib/pubnub/validators/get_spaces.rb +0 -16
  173. data/lib/pubnub/validators/get_user.rb +0 -32
  174. data/lib/pubnub/validators/get_users.rb +0 -16
  175. data/lib/pubnub/validators/manage_members.rb +0 -45
  176. data/lib/pubnub/validators/manage_memberships.rb +0 -45
  177. data/lib/pubnub/validators/push.rb +0 -43
  178. data/lib/pubnub/validators/update_space.rb +0 -45
  179. data/lib/pubnub/validators/update_user.rb +0 -45
  180. data/spec/examples/revoke_examples_spec.rb +0 -71950
  181. data/spec/examples/subscribe_examples_spec.rb +0 -45184
  182. data/spec/lib/events/space_spec.rb +0 -75
  183. data/spec/lib/events/user_spec.rb +0 -75
@@ -0,0 +1,86 @@
1
+ require "spec_helper"
2
+
3
+ describe Pubnub::SetUuidMetadata do
4
+ it_behaves_like "an event"
5
+
6
+ context "given basic parameters" do
7
+ before :each do
8
+ @pubnub = Pubnub::Client.new(
9
+ subscribe_key: "sub-a-mock-key",
10
+ publish_key: "pub-a-mock-key",
11
+ auth_key: "ruby-test-auth",
12
+ uuid: "ruby-test-uuid",
13
+ )
14
+ end
15
+
16
+ it "set_uuid_metadata_works_1" do
17
+ VCR.use_cassette("lib/events/set_uuid_metadata1", record: :once) do
18
+ envelope = @pubnub.set_uuid_metadata(
19
+ uuid: "mg",
20
+ metadata: { name: "magnum", custom: { XXX: "YYYY" } },
21
+ include: { custom: true }
22
+ ).value
23
+
24
+ expect(envelope.result).to satisfies_schema Pubnub::Schemas::Envelope::ResultSchema.new
25
+ expect(envelope.status).to satisfies_schema Pubnub::Schemas::Envelope::StatusSchema.new
26
+ end
27
+ end
28
+
29
+ it "set_uuid_metadata_works_2" do
30
+ VCR.use_cassette("lib/events/set_uuid_metadata2", record: :once) do
31
+ envelope = @pubnub.set_uuid_metadata(
32
+ metadata: { name: "magnum", custom: { XXX: "YYYY" } },
33
+ include: { custom: true }
34
+ ).value
35
+
36
+ expect(envelope.result).to satisfies_schema Pubnub::Schemas::Envelope::ResultSchema.new
37
+ expect(envelope.status).to satisfies_schema Pubnub::Schemas::Envelope::StatusSchema.new
38
+ end
39
+ end
40
+
41
+ it "get_uuid_metadata_works_1" do
42
+ VCR.use_cassette("lib/events/get_uuid_metadata1", record: :once) do
43
+ envelope = @pubnub.get_uuid_metadata(uuid: "mg", include: { custom: true }).value
44
+
45
+ expect(envelope.result).to satisfies_schema Pubnub::Schemas::Envelope::ResultSchema.new
46
+ expect(envelope.status).to satisfies_schema Pubnub::Schemas::Envelope::StatusSchema.new
47
+ end
48
+ end
49
+
50
+ it "get_uuid_metadata_works_2" do
51
+ VCR.use_cassette("lib/events/get_uuid_metadata2", record: :once) do
52
+ envelope = @pubnub.get_uuid_metadata(include: { custom: true }).value
53
+
54
+ expect(envelope.result).to satisfies_schema Pubnub::Schemas::Envelope::ResultSchema.new
55
+ expect(envelope.status).to satisfies_schema Pubnub::Schemas::Envelope::StatusSchema.new
56
+ end
57
+ end
58
+
59
+ it "get_all_uuid_metadata_works" do
60
+ VCR.use_cassette("lib/events/get_all_uuid_metadata", record: :once) do
61
+ envelope = @pubnub.get_all_uuid_metadata(limit: 5, include: { custom: true }).value
62
+
63
+ expect(envelope.result).to satisfies_schema Pubnub::Schemas::Envelope::ResultSchema.new
64
+ expect(envelope.status).to satisfies_schema Pubnub::Schemas::Envelope::StatusSchema.new
65
+ end
66
+ end
67
+
68
+ it "remove_uuid_metadata_works_1" do
69
+ VCR.use_cassette("lib/events/remove_uuid_metadata1", record: :once) do
70
+ envelope = @pubnub.remove_uuid_metadata(uuid: "mg").value
71
+
72
+ expect(envelope.result).to satisfies_schema Pubnub::Schemas::Envelope::ResultSchema.new
73
+ expect(envelope.status).to satisfies_schema Pubnub::Schemas::Envelope::StatusSchema.new
74
+ end
75
+ end
76
+
77
+ it "remove_uuid_metadata_works_2" do
78
+ VCR.use_cassette("lib/events/remove_uuid_metadata2", record: :once) do
79
+ envelope = @pubnub.remove_uuid_metadata.value
80
+
81
+ expect(envelope.result).to satisfies_schema Pubnub::Schemas::Envelope::ResultSchema.new
82
+ expect(envelope.status).to satisfies_schema Pubnub::Schemas::Envelope::StatusSchema.new
83
+ end
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,22 @@
1
+ require "spec_helper"
2
+
3
+ describe "formatter" do
4
+ around :each do |example|
5
+ example.run_with_retry retry: 10
6
+ end
7
+
8
+ it "does not hide errors when formatting" do
9
+ class MockFormatter
10
+ include Pubnub::SubscribeEvent::Formatter
11
+ end
12
+
13
+ class TestError < StandardError
14
+ def message
15
+ "This is a test"
16
+ end
17
+ end
18
+
19
+ # ensure the correct error is raised instead of -> NoMethodError: undefined method `body'
20
+ expect { MockFormatter.new.send(:format_envelopes, TestError.new('error'), nil) }.to raise_error(TestError)
21
+ end
22
+ end
@@ -86,8 +86,10 @@ describe "Super admin mode" do
86
86
  @pubnub.presence(channel: :demo)
87
87
 
88
88
  eventually do
89
- envelope = @presences.first
90
- expect(envelope.status[:client_request].to_s.index("&signature=")).to be_truthy
89
+ if @presences.length > 0
90
+ expect(@presences.first.status[:client_request].to_s.index("&signature=")).to be_truthy
91
+ true
92
+ end
91
93
  end
92
94
  end
93
95
  end
@@ -128,8 +130,10 @@ describe "Super admin mode" do
128
130
  @pubnub.subscribe(channel: :demo)
129
131
 
130
132
  eventually do
131
- envelope = @messages.first
132
- expect(envelope.status[:client_request].to_s.index("&signature=")).to be_truthy
133
+ if @messages.length > 0
134
+ expect(@messages.first.status[:client_request].to_s.index("&signature=")).to be_truthy
135
+ true
136
+ end
133
137
  end
134
138
  end
135
139
  end
@@ -9,13 +9,20 @@ require "concurrent"
9
9
  require "concurrent-edge"
10
10
  require "rspec/retry"
11
11
  require "simplecov"
12
- SimpleCov.start do
13
- add_filter "/spec/"
12
+
13
+ if ENV['NO_COVERAGE'] != 'true'
14
+ puts "Gather Code Coverage"
15
+
16
+ SimpleCov.start do
17
+ add_filter "/spec/"
18
+ end
19
+ else
20
+ puts "Skip Code Coverage"
14
21
  end
15
22
 
16
23
  require "pubnub"
17
24
  Pubnub::Constants::DEFAULT_RECONNECT_INTERVAL = 0
18
- if ENV["CI"] == "true"
25
+ if ENV["CI"] == "true" && ENV['NO_COVERAGE'] != 'true'
19
26
  require "codacy-coverage"
20
27
  Codacy::Reporter.start
21
28
  end
@@ -34,13 +41,22 @@ module AsyncHelper
34
41
  def loop_it(interval, time_limit)
35
42
  loop do
36
43
  begin
37
- yield
44
+ check_called = yield
45
+ check_called = false if check_called.nil?
38
46
  rescue => error
39
47
  cought_error = error
40
48
  end
41
- return if cought_error.nil?
42
- fail cought_error if Time.now >= time_limit
43
- sleep interval
49
+
50
+ # Check whether test code in block has been called or not.
51
+ if (check_called.nil? || !check_called) && Time.now >= time_limit
52
+ cought_error = 'Eventual condition not met' if cought_error.nil?
53
+ fail cought_error
54
+ break
55
+ elsif !check_called.nil? && check_called
56
+ break
57
+ end
58
+
59
+ sleep(interval)
44
60
  end
45
61
  end
46
62
  end
@@ -67,7 +83,7 @@ end
67
83
 
68
84
  VCR.configure do |c|
69
85
  ignored_params = [
70
- :pnsdk, :uuid, :ortt, :seqn, :t, :l_pres, :l_pub, :l_pres, :l_hist, :l_cg, :l_time, :signature ]
86
+ :pnsdk, :uuid, :ortt, :seqn, :t, :l_pres, :l_pub, :l_pres, :l_hist, :l_cg, :l_time, :signature, :timestamp ]
71
87
  c.cassette_library_dir = "fixtures/vcr_cassettes"
72
88
  c.hook_into :webmock
73
89
  c.allow_http_connections_when_no_cassette = false
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubnub
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.5
4
+ version: 4.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PubNub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-02 00:00:00.000000000 Z
11
+ date: 2020-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: addressable
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 2.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 2.0.0
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: concurrent-ruby
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -106,20 +120,6 @@ dependencies:
106
120
  - - ">="
107
121
  - !ruby/object:Gem::Version
108
122
  version: 4.3.0
109
- - !ruby/object:Gem::Dependency
110
- name: bundler
111
- requirement: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - "~>"
114
- - !ruby/object:Gem::Version
115
- version: '1.7'
116
- type: :development
117
- prerelease: false
118
- version_requirements: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: '1.7'
123
123
  description: Ruby anywhere in the world in 250ms with PubNub!
124
124
  email:
125
125
  - support@pubnub.com
@@ -129,6 +129,7 @@ extra_rdoc_files: []
129
129
  files:
130
130
  - ".bundle/config"
131
131
  - ".codeclimate.yml"
132
+ - ".github/CODEOWNERS"
132
133
  - ".gitignore"
133
134
  - ".pubnub.yml"
134
135
  - ".rubocop.yml"
@@ -146,6 +147,10 @@ files:
146
147
  - fixtures/vcr_cassettes/client/connection_callbacks_0.yml
147
148
  - fixtures/vcr_cassettes/client/connection_callbacks_1.yml
148
149
  - fixtures/vcr_cassettes/client/connection_callbacks_2.yml
150
+ - fixtures/vcr_cassettes/examples/add_channels_to_push/001.yml
151
+ - fixtures/vcr_cassettes/examples/add_channels_to_push/002.yml
152
+ - fixtures/vcr_cassettes/examples/add_channels_to_push/003.yml
153
+ - fixtures/vcr_cassettes/examples/add_channels_to_push/004.yml
149
154
  - fixtures/vcr_cassettes/examples/audit/0.yml
150
155
  - fixtures/vcr_cassettes/examples/audit/1.yml
151
156
  - fixtures/vcr_cassettes/examples/audit/10.yml
@@ -3759,6 +3764,7 @@ files:
3759
3764
  - fixtures/vcr_cassettes/examples/history/0.yml
3760
3765
  - fixtures/vcr_cassettes/examples/history/1.yml
3761
3766
  - fixtures/vcr_cassettes/examples/history/10.yml
3767
+ - fixtures/vcr_cassettes/examples/history/100.yml
3762
3768
  - fixtures/vcr_cassettes/examples/history/11.yml
3763
3769
  - fixtures/vcr_cassettes/examples/history/12.yml
3764
3770
  - fixtures/vcr_cassettes/examples/history/13.yml
@@ -3828,6 +3834,9 @@ files:
3828
3834
  - fixtures/vcr_cassettes/examples/history/71.yml
3829
3835
  - fixtures/vcr_cassettes/examples/history/8.yml
3830
3836
  - fixtures/vcr_cassettes/examples/history/9.yml
3837
+ - fixtures/vcr_cassettes/examples/history/include_meta__encrypted.yml
3838
+ - fixtures/vcr_cassettes/examples/history/include_token__encrypted.yml
3839
+ - fixtures/vcr_cassettes/examples/history/no_includes__encrypted.yml
3831
3840
  - fixtures/vcr_cassettes/examples/leave/0.yml
3832
3841
  - fixtures/vcr_cassettes/examples/leave/1.yml
3833
3842
  - fixtures/vcr_cassettes/examples/leave/10.yml
@@ -3864,6 +3873,9 @@ files:
3864
3873
  - fixtures/vcr_cassettes/examples/leave/7.yml
3865
3874
  - fixtures/vcr_cassettes/examples/leave/8.yml
3866
3875
  - fixtures/vcr_cassettes/examples/leave/9.yml
3876
+ - fixtures/vcr_cassettes/examples/list_push_provisions/001.yml
3877
+ - fixtures/vcr_cassettes/examples/list_push_provisions/002.yml
3878
+ - fixtures/vcr_cassettes/examples/list_push_provisions/003.yml
3867
3879
  - fixtures/vcr_cassettes/examples/message_counts/1.yml
3868
3880
  - fixtures/vcr_cassettes/examples/message_counts/2.yml
3869
3881
  - fixtures/vcr_cassettes/examples/message_counts/3.yml
@@ -5610,6 +5622,12 @@ files:
5610
5622
  - fixtures/vcr_cassettes/examples/publish/ffc6c709128ad67ed02ac9c192136720ee9b5c5a2ef814e1bbc8d77968fe48c9.yml
5611
5623
  - fixtures/vcr_cassettes/examples/publish/ffe9018a2ccae28f73245463ce661257f9958dfa51d13eb07fb8d21d7451f17e.yml
5612
5624
  - fixtures/vcr_cassettes/examples/publish/ffeab4633db247026476a0139d5c49c97f15c02c9e3da1b434b9e38b587a9972.yml
5625
+ - fixtures/vcr_cassettes/examples/remove_channels_from_push/001.yml
5626
+ - fixtures/vcr_cassettes/examples/remove_channels_from_push/002.yml
5627
+ - fixtures/vcr_cassettes/examples/remove_channels_from_push/003.yml
5628
+ - fixtures/vcr_cassettes/examples/remove_device_from_push/001.yml
5629
+ - fixtures/vcr_cassettes/examples/remove_device_from_push/002.yml
5630
+ - fixtures/vcr_cassettes/examples/remove_device_from_push/003.yml
5613
5631
  - fixtures/vcr_cassettes/examples/revoke/0.yml
5614
5632
  - fixtures/vcr_cassettes/examples/revoke/1.yml
5615
5633
  - fixtures/vcr_cassettes/examples/revoke/10.yml
@@ -10488,18 +10506,16 @@ files:
10488
10506
  - fixtures/vcr_cassettes/lib/events/audit-works.yml
10489
10507
  - fixtures/vcr_cassettes/lib/events/channel-registration-error.yml
10490
10508
  - fixtures/vcr_cassettes/lib/events/channel-registration.yml
10491
- - fixtures/vcr_cassettes/lib/events/create_space.yml
10492
- - fixtures/vcr_cassettes/lib/events/create_user.yml
10493
10509
  - fixtures/vcr_cassettes/lib/events/delete_messages-error.yml
10494
10510
  - fixtures/vcr_cassettes/lib/events/delete_messages.yml
10495
- - fixtures/vcr_cassettes/lib/events/delete_space.yml
10496
- - fixtures/vcr_cassettes/lib/events/delete_user.yml
10497
- - fixtures/vcr_cassettes/lib/events/get_members.yml
10498
- - fixtures/vcr_cassettes/lib/events/get_space.yml
10499
- - fixtures/vcr_cassettes/lib/events/get_space_memberships.yml
10500
- - fixtures/vcr_cassettes/lib/events/get_spaces.yml
10501
- - fixtures/vcr_cassettes/lib/events/get_user.yml
10502
- - fixtures/vcr_cassettes/lib/events/get_users.yml
10511
+ - fixtures/vcr_cassettes/lib/events/get_all_channels_metadata.yml
10512
+ - fixtures/vcr_cassettes/lib/events/get_all_uuid_metadata.yml
10513
+ - fixtures/vcr_cassettes/lib/events/get_channel_members.yml
10514
+ - fixtures/vcr_cassettes/lib/events/get_channel_metadata.yml
10515
+ - fixtures/vcr_cassettes/lib/events/get_memberships1.yml
10516
+ - fixtures/vcr_cassettes/lib/events/get_memberships2.yml
10517
+ - fixtures/vcr_cassettes/lib/events/get_uuid_metadata1.yml
10518
+ - fixtures/vcr_cassettes/lib/events/get_uuid_metadata2.yml
10503
10519
  - fixtures/vcr_cassettes/lib/events/grant-error.yml
10504
10520
  - fixtures/vcr_cassettes/lib/events/grant.yml
10505
10521
  - fixtures/vcr_cassettes/lib/events/heartbeat-error.yml
@@ -10511,10 +10527,6 @@ files:
10511
10527
  - fixtures/vcr_cassettes/lib/events/history.yml
10512
10528
  - fixtures/vcr_cassettes/lib/events/leave-error.yml
10513
10529
  - fixtures/vcr_cassettes/lib/events/leave.yml
10514
- - fixtures/vcr_cassettes/lib/events/manage_members_add.yml
10515
- - fixtures/vcr_cassettes/lib/events/manage_members_remove.yml
10516
- - fixtures/vcr_cassettes/lib/events/manage_memberships_add.yml
10517
- - fixtures/vcr_cassettes/lib/events/manage_memberships_remove.yml
10518
10530
  - fixtures/vcr_cassettes/lib/events/presence-async-error.yml
10519
10531
  - fixtures/vcr_cassettes/lib/events/presence-async.yml
10520
10532
  - fixtures/vcr_cassettes/lib/events/presence-sync-error.yml
@@ -10522,8 +10534,20 @@ files:
10522
10534
  - fixtures/vcr_cassettes/lib/events/presence_delta.yml
10523
10535
  - fixtures/vcr_cassettes/lib/events/publish-error.yml
10524
10536
  - fixtures/vcr_cassettes/lib/events/publish.yml
10537
+ - fixtures/vcr_cassettes/lib/events/remove_channel_members.yml
10538
+ - fixtures/vcr_cassettes/lib/events/remove_channel_metadata.yml
10539
+ - fixtures/vcr_cassettes/lib/events/remove_memberships1.yml
10540
+ - fixtures/vcr_cassettes/lib/events/remove_memberships2.yml
10541
+ - fixtures/vcr_cassettes/lib/events/remove_uuid_metadata1.yml
10542
+ - fixtures/vcr_cassettes/lib/events/remove_uuid_metadata2.yml
10525
10543
  - fixtures/vcr_cassettes/lib/events/revoke-error.yml
10526
10544
  - fixtures/vcr_cassettes/lib/events/revoke.yml
10545
+ - fixtures/vcr_cassettes/lib/events/set_channel_members.yml
10546
+ - fixtures/vcr_cassettes/lib/events/set_channel_metadata.yml
10547
+ - fixtures/vcr_cassettes/lib/events/set_memberships1.yml
10548
+ - fixtures/vcr_cassettes/lib/events/set_memberships2.yml
10549
+ - fixtures/vcr_cassettes/lib/events/set_uuid_metadata1.yml
10550
+ - fixtures/vcr_cassettes/lib/events/set_uuid_metadata2.yml
10527
10551
  - fixtures/vcr_cassettes/lib/events/signal-error.yml
10528
10552
  - fixtures/vcr_cassettes/lib/events/signal.yml
10529
10553
  - fixtures/vcr_cassettes/lib/events/state-error.yml
@@ -10531,23 +10555,21 @@ files:
10531
10555
  - fixtures/vcr_cassettes/lib/events/subscribe-async-error.yml
10532
10556
  - fixtures/vcr_cassettes/lib/events/subscribe-async.yml
10533
10557
  - fixtures/vcr_cassettes/lib/events/subscribe-channel-groups.yml
10558
+ - fixtures/vcr_cassettes/lib/events/subscribe-channel-metadata-remove-sync.yml
10559
+ - fixtures/vcr_cassettes/lib/events/subscribe-channel-metadata-set-async.yml
10534
10560
  - fixtures/vcr_cassettes/lib/events/subscribe-cipher-async.yml
10535
- - fixtures/vcr_cassettes/lib/events/subscribe-member-add-async.yml
10536
- - fixtures/vcr_cassettes/lib/events/subscribe-member-remove-async.yml
10537
- - fixtures/vcr_cassettes/lib/events/subscribe-membership-add-async.yml
10561
+ - fixtures/vcr_cassettes/lib/events/subscribe-member-remove-sync.yml
10562
+ - fixtures/vcr_cassettes/lib/events/subscribe-member-set-async.yml
10538
10563
  - fixtures/vcr_cassettes/lib/events/subscribe-membership-remove-async.yml
10564
+ - fixtures/vcr_cassettes/lib/events/subscribe-membership-set-async.yml
10539
10565
  - fixtures/vcr_cassettes/lib/events/subscribe-playing-async.yml
10540
- - fixtures/vcr_cassettes/lib/events/subscribe-space-delete-async.yml
10541
- - fixtures/vcr_cassettes/lib/events/subscribe-space-update-async.yml
10542
10566
  - fixtures/vcr_cassettes/lib/events/subscribe-sync-error.yml
10543
10567
  - fixtures/vcr_cassettes/lib/events/subscribe-sync.yml
10544
- - fixtures/vcr_cassettes/lib/events/subscribe-user-delete-async.yml
10545
- - fixtures/vcr_cassettes/lib/events/subscribe-user-update-async.yml
10568
+ - fixtures/vcr_cassettes/lib/events/subscribe-uuid-metadata-remove-sync.yml
10569
+ - fixtures/vcr_cassettes/lib/events/subscribe-uuid-metadata-set-async.yml
10546
10570
  - fixtures/vcr_cassettes/lib/events/subscribe-with-presence.yml
10547
10571
  - fixtures/vcr_cassettes/lib/events/time-error.yml
10548
10572
  - fixtures/vcr_cassettes/lib/events/time.yml
10549
- - fixtures/vcr_cassettes/lib/events/update_space.yml
10550
- - fixtures/vcr_cassettes/lib/events/update_user.yml
10551
10573
  - fixtures/vcr_cassettes/lib/events/where-now-error.yml
10552
10574
  - fixtures/vcr_cassettes/lib/events/where-now.yml
10553
10575
  - fixtures/vcr_cassettes/lib/multiple_ciphers.yml
@@ -10603,38 +10625,38 @@ files:
10603
10625
  - lib/pubnub/events/add_channels_to_push.rb
10604
10626
  - lib/pubnub/events/audit.rb
10605
10627
  - lib/pubnub/events/channel_registration.rb
10606
- - lib/pubnub/events/create_space.rb
10607
- - lib/pubnub/events/create_user.rb
10608
10628
  - lib/pubnub/events/delete_messages.rb
10609
- - lib/pubnub/events/delete_space.rb
10610
- - lib/pubnub/events/delete_user.rb
10611
- - lib/pubnub/events/get_members.rb
10612
- - lib/pubnub/events/get_space.rb
10613
- - lib/pubnub/events/get_space_memberships.rb
10614
- - lib/pubnub/events/get_spaces.rb
10615
- - lib/pubnub/events/get_user.rb
10616
- - lib/pubnub/events/get_users.rb
10629
+ - lib/pubnub/events/get_all_channels_metadata.rb
10630
+ - lib/pubnub/events/get_all_uuid_metadata.rb
10631
+ - lib/pubnub/events/get_channel_members.rb
10632
+ - lib/pubnub/events/get_channel_metadata.rb
10633
+ - lib/pubnub/events/get_memberships.rb
10634
+ - lib/pubnub/events/get_uuid_metadata.rb
10617
10635
  - lib/pubnub/events/grant.rb
10618
10636
  - lib/pubnub/events/heartbeat.rb
10619
10637
  - lib/pubnub/events/here_now.rb
10620
10638
  - lib/pubnub/events/history.rb
10621
10639
  - lib/pubnub/events/leave.rb
10622
10640
  - lib/pubnub/events/list_push_provisions.rb
10623
- - lib/pubnub/events/manage_members.rb
10624
- - lib/pubnub/events/manage_memberships.rb
10625
10641
  - lib/pubnub/events/message_counts.rb
10626
10642
  - lib/pubnub/events/presence.rb
10627
10643
  - lib/pubnub/events/publish.rb
10644
+ - lib/pubnub/events/remove_channel_members.rb
10645
+ - lib/pubnub/events/remove_channel_metadata.rb
10628
10646
  - lib/pubnub/events/remove_channels_from_push.rb
10629
10647
  - lib/pubnub/events/remove_device_from_push.rb
10648
+ - lib/pubnub/events/remove_memberships.rb
10649
+ - lib/pubnub/events/remove_uuid_metadata.rb
10630
10650
  - lib/pubnub/events/revoke.rb
10651
+ - lib/pubnub/events/set_channel_members.rb
10652
+ - lib/pubnub/events/set_channel_metadata.rb
10653
+ - lib/pubnub/events/set_memberships.rb
10631
10654
  - lib/pubnub/events/set_state.rb
10655
+ - lib/pubnub/events/set_uuid_metadata.rb
10632
10656
  - lib/pubnub/events/signal.rb
10633
10657
  - lib/pubnub/events/state.rb
10634
10658
  - lib/pubnub/events/subscribe.rb
10635
10659
  - lib/pubnub/events/time.rb
10636
- - lib/pubnub/events/update_space.rb
10637
- - lib/pubnub/events/update_user.rb
10638
10660
  - lib/pubnub/events/where_now.rb
10639
10661
  - lib/pubnub/format.rb
10640
10662
  - lib/pubnub/formatter.rb
@@ -10653,66 +10675,79 @@ files:
10653
10675
  - lib/pubnub/subscriber.rb
10654
10676
  - lib/pubnub/telemetry.rb
10655
10677
  - lib/pubnub/uuid.rb
10678
+ - lib/pubnub/validators/add_channels_to_push.rb
10656
10679
  - lib/pubnub/validators/audit.rb
10657
10680
  - lib/pubnub/validators/channel_registration.rb
10658
10681
  - lib/pubnub/validators/client.rb
10659
10682
  - lib/pubnub/validators/common_validator.rb
10660
- - lib/pubnub/validators/create_space.rb
10661
- - lib/pubnub/validators/create_user.rb
10662
10683
  - lib/pubnub/validators/delete.rb
10663
- - lib/pubnub/validators/delete_space.rb
10664
- - lib/pubnub/validators/delete_user.rb
10665
- - lib/pubnub/validators/get_members.rb
10666
- - lib/pubnub/validators/get_space.rb
10667
- - lib/pubnub/validators/get_space_memberships.rb
10668
- - lib/pubnub/validators/get_spaces.rb
10669
- - lib/pubnub/validators/get_user.rb
10670
- - lib/pubnub/validators/get_users.rb
10684
+ - lib/pubnub/validators/get_all_channels_metadata.rb
10685
+ - lib/pubnub/validators/get_all_uuid_metadata.rb
10686
+ - lib/pubnub/validators/get_channel_members.rb
10687
+ - lib/pubnub/validators/get_channel_metadata.rb
10688
+ - lib/pubnub/validators/get_memberships.rb
10689
+ - lib/pubnub/validators/get_uuid_metadata.rb
10671
10690
  - lib/pubnub/validators/grant.rb
10672
10691
  - lib/pubnub/validators/heartbeat.rb
10673
10692
  - lib/pubnub/validators/here_now.rb
10674
10693
  - lib/pubnub/validators/history.rb
10675
10694
  - lib/pubnub/validators/leave.rb
10676
- - lib/pubnub/validators/manage_members.rb
10677
- - lib/pubnub/validators/manage_memberships.rb
10695
+ - lib/pubnub/validators/list_push_provisions.rb
10678
10696
  - lib/pubnub/validators/message_counts.rb
10679
10697
  - lib/pubnub/validators/presence.rb
10680
10698
  - lib/pubnub/validators/publish.rb
10681
- - lib/pubnub/validators/push.rb
10699
+ - lib/pubnub/validators/remove_channel_members.rb
10700
+ - lib/pubnub/validators/remove_channel_metadata.rb
10701
+ - lib/pubnub/validators/remove_channels_from_push.rb
10702
+ - lib/pubnub/validators/remove_device_from_push.rb
10703
+ - lib/pubnub/validators/remove_memberships.rb
10704
+ - lib/pubnub/validators/remove_uuid_metadata.rb
10682
10705
  - lib/pubnub/validators/revoke.rb
10706
+ - lib/pubnub/validators/set_channel_members.rb
10707
+ - lib/pubnub/validators/set_channel_metadata.rb
10708
+ - lib/pubnub/validators/set_memberships.rb
10683
10709
  - lib/pubnub/validators/set_state.rb
10710
+ - lib/pubnub/validators/set_uuid_metadata.rb
10684
10711
  - lib/pubnub/validators/signal.rb
10685
10712
  - lib/pubnub/validators/state.rb
10686
10713
  - lib/pubnub/validators/subscribe.rb
10687
10714
  - lib/pubnub/validators/time.rb
10688
- - lib/pubnub/validators/update_space.rb
10689
- - lib/pubnub/validators/update_user.rb
10690
10715
  - lib/pubnub/validators/where_now.rb
10691
10716
  - lib/pubnub/version.rb
10692
10717
  - pubnub.gemspec
10718
+ - spec/examples/add_channels_to_push_spec.rb
10693
10719
  - spec/examples/audit_examples_spec.rb
10694
10720
  - spec/examples/channel_registration_examples_spec.rb
10695
10721
  - spec/examples/delete_messages_examples_spec.rb
10696
- - spec/examples/grant_examples_spec.rb
10722
+ - spec/examples/grant_examples_1_spec.rb
10723
+ - spec/examples/grant_examples_2_spec.rb
10697
10724
  - spec/examples/heartbeat_examples_spec.rb
10698
10725
  - spec/examples/here_now_examples_spec.rb
10699
10726
  - spec/examples/history_examples_spec.rb
10700
10727
  - spec/examples/leave_examples_spec.rb
10728
+ - spec/examples/list_push_provisions_spec.rb
10701
10729
  - spec/examples/presence_examples_spec.rb
10702
10730
  - spec/examples/publish_examples_spec.rb
10703
10731
  - spec/examples/publish_with_ttl_spec.rb
10704
- - spec/examples/revoke_examples_spec.rb
10732
+ - spec/examples/remove_channels_from_push_spec.rb
10733
+ - spec/examples/remove_device_from_push_spec.rb
10734
+ - spec/examples/revoke_examples_1_spec.rb
10735
+ - spec/examples/revoke_examples_2_spec.rb
10736
+ - spec/examples/revoke_examples_3_spec.rb
10705
10737
  - spec/examples/set_state_examples_spec.rb
10706
10738
  - spec/examples/state_examples_spec.rb
10707
10739
  - spec/examples/status_request_message_count_exceeded_spec.rb
10708
- - spec/examples/subscribe_examples_spec.rb
10740
+ - spec/examples/subscribe_examples_1_spec.rb
10741
+ - spec/examples/subscribe_examples_2_spec.rb
10709
10742
  - spec/examples/time_examples_spec.rb
10710
10743
  - spec/examples/where_now_examples_spec.rb
10711
10744
  - spec/lib/client_spec.rb
10712
10745
  - spec/lib/connection_callback_spec.rb
10713
10746
  - spec/lib/custom_retries_examples_spec.rb
10747
+ - spec/lib/event/formatter_spec.rb
10714
10748
  - spec/lib/event_spec.rb
10715
10749
  - spec/lib/events/audit_spec.rb
10750
+ - spec/lib/events/channel_metadata_spec.rb
10716
10751
  - spec/lib/events/channel_registration_spec.rb
10717
10752
  - spec/lib/events/delete_messages_spec.rb
10718
10753
  - spec/lib/events/grant_spec.rb
@@ -10727,18 +10762,18 @@ files:
10727
10762
  - spec/lib/events/publish_spec.rb
10728
10763
  - spec/lib/events/revoke_spec.rb
10729
10764
  - spec/lib/events/signal_spec.rb
10730
- - spec/lib/events/space_spec.rb
10731
10765
  - spec/lib/events/state_spec.rb
10732
10766
  - spec/lib/events/subscribe_spec.rb
10733
10767
  - spec/lib/events/time_spec.rb
10734
10768
  - spec/lib/events/timeout_handling_spec.rb
10735
- - spec/lib/events/user_spec.rb
10769
+ - spec/lib/events/uuid_metadata_spec.rb
10736
10770
  - spec/lib/events/where_now_spec.rb
10737
10771
  - spec/lib/keep_alive_spec.rb
10738
10772
  - spec/lib/multiple_ciphers_spec.rb
10739
10773
  - spec/lib/pubnub_spec.rb
10740
10774
  - spec/lib/signatures_spec.rb
10741
10775
  - spec/lib/ssl_error_spec.rb
10776
+ - spec/lib/subscribe_event/formatter_spec.rb
10742
10777
  - spec/lib/super_admin_spec.rb
10743
10778
  - spec/lib/uuid_spec.rb
10744
10779
  - spec/spec_expectations.rb
@@ -10762,34 +10797,44 @@ required_rubygems_version: !ruby/object:Gem::Requirement
10762
10797
  - !ruby/object:Gem::Version
10763
10798
  version: '0'
10764
10799
  requirements: []
10765
- rubygems_version: 3.1.3
10800
+ rubygems_version: 3.1.4
10766
10801
  signing_key:
10767
10802
  specification_version: 4
10768
10803
  summary: PubNub Official Ruby gem.
10769
10804
  test_files:
10805
+ - spec/examples/add_channels_to_push_spec.rb
10770
10806
  - spec/examples/audit_examples_spec.rb
10771
10807
  - spec/examples/channel_registration_examples_spec.rb
10772
10808
  - spec/examples/delete_messages_examples_spec.rb
10773
- - spec/examples/grant_examples_spec.rb
10809
+ - spec/examples/grant_examples_1_spec.rb
10810
+ - spec/examples/grant_examples_2_spec.rb
10774
10811
  - spec/examples/heartbeat_examples_spec.rb
10775
10812
  - spec/examples/here_now_examples_spec.rb
10776
10813
  - spec/examples/history_examples_spec.rb
10777
10814
  - spec/examples/leave_examples_spec.rb
10815
+ - spec/examples/list_push_provisions_spec.rb
10778
10816
  - spec/examples/presence_examples_spec.rb
10779
10817
  - spec/examples/publish_examples_spec.rb
10780
10818
  - spec/examples/publish_with_ttl_spec.rb
10781
- - spec/examples/revoke_examples_spec.rb
10819
+ - spec/examples/remove_channels_from_push_spec.rb
10820
+ - spec/examples/remove_device_from_push_spec.rb
10821
+ - spec/examples/revoke_examples_1_spec.rb
10822
+ - spec/examples/revoke_examples_2_spec.rb
10823
+ - spec/examples/revoke_examples_3_spec.rb
10782
10824
  - spec/examples/set_state_examples_spec.rb
10783
10825
  - spec/examples/state_examples_spec.rb
10784
10826
  - spec/examples/status_request_message_count_exceeded_spec.rb
10785
- - spec/examples/subscribe_examples_spec.rb
10827
+ - spec/examples/subscribe_examples_1_spec.rb
10828
+ - spec/examples/subscribe_examples_2_spec.rb
10786
10829
  - spec/examples/time_examples_spec.rb
10787
10830
  - spec/examples/where_now_examples_spec.rb
10788
10831
  - spec/lib/client_spec.rb
10789
10832
  - spec/lib/connection_callback_spec.rb
10790
10833
  - spec/lib/custom_retries_examples_spec.rb
10834
+ - spec/lib/event/formatter_spec.rb
10791
10835
  - spec/lib/event_spec.rb
10792
10836
  - spec/lib/events/audit_spec.rb
10837
+ - spec/lib/events/channel_metadata_spec.rb
10793
10838
  - spec/lib/events/channel_registration_spec.rb
10794
10839
  - spec/lib/events/delete_messages_spec.rb
10795
10840
  - spec/lib/events/grant_spec.rb
@@ -10804,18 +10849,18 @@ test_files:
10804
10849
  - spec/lib/events/publish_spec.rb
10805
10850
  - spec/lib/events/revoke_spec.rb
10806
10851
  - spec/lib/events/signal_spec.rb
10807
- - spec/lib/events/space_spec.rb
10808
10852
  - spec/lib/events/state_spec.rb
10809
10853
  - spec/lib/events/subscribe_spec.rb
10810
10854
  - spec/lib/events/time_spec.rb
10811
10855
  - spec/lib/events/timeout_handling_spec.rb
10812
- - spec/lib/events/user_spec.rb
10856
+ - spec/lib/events/uuid_metadata_spec.rb
10813
10857
  - spec/lib/events/where_now_spec.rb
10814
10858
  - spec/lib/keep_alive_spec.rb
10815
10859
  - spec/lib/multiple_ciphers_spec.rb
10816
10860
  - spec/lib/pubnub_spec.rb
10817
10861
  - spec/lib/signatures_spec.rb
10818
10862
  - spec/lib/ssl_error_spec.rb
10863
+ - spec/lib/subscribe_event/formatter_spec.rb
10819
10864
  - spec/lib/super_admin_spec.rb
10820
10865
  - spec/lib/uuid_spec.rb
10821
10866
  - spec/spec_expectations.rb