pubnub 3.5.1 → 3.5.3
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/CHANGELOG +6 -0
- data/README.md +11 -0
- data/VERSION +1 -1
- data/examples/demo_console.rb +0 -1
- data/fixtures/vcr_cassettes/auth_key_flow_auth_publish.yml +45 -0
- data/fixtures/vcr_cassettes/auth_key_flow_empty_auth_audit.yml +44 -0
- data/fixtures/vcr_cassettes/auth_key_flow_instead_auth_audit.yml +44 -0
- data/fixtures/vcr_cassettes/auth_key_flow_no_auth_publish.yml +45 -0
- data/fixtures/vcr_cassettes/auth_key_flow_non_auth_audit.yml +44 -0
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-array.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-hash.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-integer.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-mix.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-multi-mix.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-string.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-array.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-hash.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-integer.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-mix.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-string.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-array.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-hash.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-integer.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-mix.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-multi-mix.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-string.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-array.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-hash.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-integer.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-mix.yml +2 -2
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-string.yml +2 -2
- data/fixtures/vcr_cassettes/heartbeat-non200.yml +519 -0
- data/fixtures/vcr_cassettes/heartbeat-test.yml +91 -0
- data/fixtures/vcr_cassettes/heartbeated-subscribe.yml +136 -0
- data/fixtures/vcr_cassettes/here_now_global-nonssl-block-invalid-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-nonssl-block-invalid-non-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-nonssl-block-valid-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-nonssl-block-valid-non-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-nonssl-parameter-invalid-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-nonssl-parameter-invalid-non-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-nonssl-parameter-valid-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-nonssl-parameter-valid-non-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-ssl-block-invalid-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-ssl-block-invalid-non-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-ssl-block-valid-200-async.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-ssl-block-valid-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-ssl-block-valid-non-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-ssl-parameter-invalid-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-ssl-parameter-invalid-non-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-ssl-parameter-valid-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/here_now_global-ssl-parameter-valid-non-200-sync.yml +49 -0
- data/fixtures/vcr_cassettes/new_ones/multiplexed_subscribe.yml +854 -0
- data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-array-of-hashes.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-http-200-invalid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-http-200-valid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-http-non200-invalid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-http-non200-valid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-https-200-invalid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-https-200-valid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-https-non200-invalid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-https-non200-valid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-http-200-invalid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-http-200-valid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-http-non200-invalid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-http-non200-valid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-https-200-invalid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-https-200-valid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-https-non200-invalid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-https-non200-valid.yml +1 -1
- data/fixtures/vcr_cassettes/new_ones/publish/publish-plain-array-of-hashes.yml +1 -1
- data/fixtures/vcr_cassettes/non-heartbeated-subscribe.yml +44 -0
- data/fixtures/vcr_cassettes/pam20.yml +1 -1
- data/fixtures/vcr_cassettes/single-event-invalid-json.yml +15 -138
- data/fixtures/vcr_cassettes/v3-presence-nonssl-block-invalid-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-block-invalid-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-block-invalid-non-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-block-invalid-non-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-block-valid-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-block-valid-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-block-valid-non-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-block-valid-non-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-parameter-invalid-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-parameter-invalid-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-parameter-invalid-non-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-parameter-invalid-non-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-parameter-valid-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-parameter-valid-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-parameter-valid-non-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-nonssl-parameter-valid-non-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-block-invalid-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-block-invalid-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-block-invalid-non-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-block-invalid-non-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-block-valid-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-block-valid-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-block-valid-non-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-block-valid-non-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-parameter-invalid-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-parameter-invalid-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-parameter-invalid-non-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-parameter-invalid-non-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-parameter-valid-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-parameter-valid-200-sync.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-parameter-valid-non-200-async.yml +86 -0
- data/fixtures/vcr_cassettes/v3-presence-ssl-parameter-valid-non-200-sync.yml +86 -0
- data/lib/pubnub/client.rb +57 -31
- data/lib/pubnub/crypto.rb +6 -6
- data/lib/pubnub/event.rb +64 -45
- data/lib/pubnub/events/heartbeat.rb +59 -0
- data/lib/pubnub/events/here_now.rb +19 -10
- data/lib/pubnub/events/leave.rb +17 -9
- data/lib/pubnub/exceptions.rb +1 -1
- data/lib/pubnub/formatter.rb +1 -0
- data/lib/pubnub/pam.rb +5 -0
- data/lib/version.rb +1 -1
- data/pubnub.gemspec +2 -2
- data/spec/lib/auth_key_flow_spec.rb +60 -0
- data/spec/lib/heartbeat_spec.rb +110 -0
- data/spec/lib/integration/global_here_now_spec.rb +541 -0
- data/spec/lib/integration/multiplexed_subscribe_flow_spec.rb +44 -0
- data/spec/lib/integration/publish_spec.rb +1699 -373
- data/spec/lib/integration/publish_spec_old.rb +541 -0
- data/spec/lib/integration/v3_presence_spec.rb +557 -0
- metadata +68 -4
- data/examples/demo_console.rb~ +0 -307
- data/spec/lib/new_integration/publish_spec.rb +0 -1867
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=820f718a-1506-40e8-8fef-cc520bd29b28
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Sat, 01 Feb 2014 03:52:14 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13912267342736934?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13912267342736934?pnsdk=PubNub-Ruby/3.5.0beta&uuid=820f718a-1506-40e8-8fef-cc520bd29b28
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=9ee6f89b-d44c-45d1-9e74-5421c4d1d4cc
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Sat, 01 Feb 2014 03:51:45 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13912266660915532?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13912266660915532?pnsdk=PubNub-Ruby/3.5.0beta&uuid=9ee6f89b-d44c-45d1-9e74-5421c4d1d4cc
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-array.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=a13db158-00a5-426e-88ef-20c2903bc727
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Sat, 01 Feb 2014 03:39:29 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912259700970380?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912259700970380?pnsdk=PubNub-Ruby/3.5.0beta&uuid=a13db158-00a5-426e-88ef-20c2903bc727
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-hash.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=699cf3a5-e62f-4558-ae90-642696da9617
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Sat, 01 Feb 2014 03:39:35 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912259759369660?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912259759369660?pnsdk=PubNub-Ruby/3.5.0beta&uuid=699cf3a5-e62f-4558-ae90-642696da9617
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=dfef0497-b40e-40c6-b719-a0dff120a08f
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Sat, 01 Feb 2014 03:39:27 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912259675885906?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912259675885906?pnsdk=PubNub-Ruby/3.5.0beta&uuid=dfef0497-b40e-40c6-b719-a0dff120a08f
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-mix.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=136ad6b2-e85f-46e8-b36b-f26907316b74
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Sat, 01 Feb 2014 03:39:38 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912259790484788?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912259790484788?pnsdk=PubNub-Ruby/3.5.0beta&uuid=136ad6b2-e85f-46e8-b36b-f26907316b74
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=e4beae50-2450-45cc-beea-3bbba54962c7
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Sat, 01 Feb 2014 03:50:45 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912264696143676?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912264696143676?pnsdk=PubNub-Ruby/3.5.0beta&uuid=e4beae50-2450-45cc-beea-3bbba54962c7
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-string.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=2273ee2e-0a39-438b-8a02-e211071a2bc5
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Sat, 01 Feb 2014 03:39:14 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912241821864252?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one,test_channel_two/0/13912241821864252?pnsdk=PubNub-Ruby/3.5.0beta&uuid=2273ee2e-0a39-438b-8a02-e211071a2bc5
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-array.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=dd51f97a-b645-49ed-93c8-add06b603d9d
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Fri, 31 Jan 2014 02:44:32 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13911362720788404?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13911362720788404?pnsdk=PubNub-Ruby/3.5.0beta&uuid=dd51f97a-b645-49ed-93c8-add06b603d9d
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-hash.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=5d02798a-98b7-4308-8ce4-eb683bf10939
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Fri, 31 Jan 2014 02:44:38 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13911362782947852?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13911362782947852?pnsdk=PubNub-Ruby/3.5.0beta&uuid=5d02798a-98b7-4308-8ce4-eb683bf10939
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-integer.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=6c62fe8a-e864-43d3-870f-9100299a6abc
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Fri, 31 Jan 2014 02:44:28 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13911362684114864?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13911362684114864?pnsdk=PubNub-Ruby/3.5.0beta&uuid=6c62fe8a-e864-43d3-870f-9100299a6abc
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-mix.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=7119825e-f10e-4e7d-8617-1e8d8b661167
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Fri, 31 Jan 2014 02:49:38 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13911365472271872?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13911365472271872?pnsdk=PubNub-Ruby/3.5.0beta&uuid=7119825e-f10e-4e7d-8617-1e8d8b661167
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-string.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/0?pnsdk=PubNub-Ruby/3.5.0beta&uuid=82d007dd-36c1-42f3-a6b5-cb47209c84fb
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -45,7 +45,7 @@ http_interactions:
|
|
45
45
|
recorded_at: Fri, 31 Jan 2014 02:44:17 GMT
|
46
46
|
- request:
|
47
47
|
method: get
|
48
|
-
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13911353712951844?
|
48
|
+
uri: http://pubsub.pubnub.com/subscribe/demo/test_channel_one/0/13911353712951844?pnsdk=PubNub-Ruby/3.5.0beta&uuid=82d007dd-36c1-42f3-a6b5-cb47209c84fb
|
49
49
|
body:
|
50
50
|
encoding: US-ASCII
|
51
51
|
string: ''
|
@@ -0,0 +1,519 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/13962834724662579?heartbeat=4&pnsdk=PubNub-Ruby/3.5.1&uuid=5978a0b7-5c8c-45f8-b5d4-618bd36eaf82
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Connection:
|
17
|
+
- keep-alive
|
18
|
+
Keep-Alive:
|
19
|
+
- 30
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Date:
|
26
|
+
- Mon, 31 Mar 2014 16:31:13 GMT
|
27
|
+
Content-Type:
|
28
|
+
- text/javascript; charset="UTF-8"
|
29
|
+
Content-Length:
|
30
|
+
- '38'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Cache-Control:
|
34
|
+
- no-cache
|
35
|
+
Access-Control-Allow-Origin:
|
36
|
+
- "*"
|
37
|
+
Access-Control-Allow-Methods:
|
38
|
+
- GET
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '[[{"text":"hey"}],"13962834735397816"]'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Mon, 31 Mar 2014 16:31:14 GMT
|
44
|
+
- request:
|
45
|
+
method: get
|
46
|
+
uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/13962834735397816?heartbeat=4&pnsdk=PubNub-Ruby/3.5.1&uuid=5978a0b7-5c8c-45f8-b5d4-618bd36eaf82
|
47
|
+
body:
|
48
|
+
encoding: US-ASCII
|
49
|
+
string: ''
|
50
|
+
headers:
|
51
|
+
Accept-Encoding:
|
52
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
|
+
Accept:
|
54
|
+
- "*/*"
|
55
|
+
User-Agent:
|
56
|
+
- Ruby
|
57
|
+
Connection:
|
58
|
+
- keep-alive
|
59
|
+
Keep-Alive:
|
60
|
+
- 30
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 200
|
64
|
+
message: OK
|
65
|
+
headers:
|
66
|
+
Date:
|
67
|
+
- Mon, 31 Mar 2014 16:31:13 GMT
|
68
|
+
Content-Type:
|
69
|
+
- text/javascript; charset="UTF-8"
|
70
|
+
Content-Length:
|
71
|
+
- '38'
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
Cache-Control:
|
75
|
+
- no-cache
|
76
|
+
Access-Control-Allow-Origin:
|
77
|
+
- "*"
|
78
|
+
Access-Control-Allow-Methods:
|
79
|
+
- GET
|
80
|
+
body:
|
81
|
+
encoding: UTF-8
|
82
|
+
string: '[[{"text":"hey"}],"13962834738227474"]'
|
83
|
+
http_version:
|
84
|
+
recorded_at: Mon, 31 Mar 2014 16:31:14 GMT
|
85
|
+
- request:
|
86
|
+
method: get
|
87
|
+
uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/13962834738227474?heartbeat=4&pnsdk=PubNub-Ruby/3.5.1&uuid=5978a0b7-5c8c-45f8-b5d4-618bd36eaf82
|
88
|
+
body:
|
89
|
+
encoding: US-ASCII
|
90
|
+
string: ''
|
91
|
+
headers:
|
92
|
+
Accept-Encoding:
|
93
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
94
|
+
Accept:
|
95
|
+
- "*/*"
|
96
|
+
User-Agent:
|
97
|
+
- Ruby
|
98
|
+
Connection:
|
99
|
+
- keep-alive
|
100
|
+
Keep-Alive:
|
101
|
+
- 30
|
102
|
+
response:
|
103
|
+
status:
|
104
|
+
code: 200
|
105
|
+
message: OK
|
106
|
+
headers:
|
107
|
+
Date:
|
108
|
+
- Mon, 31 Mar 2014 16:31:13 GMT
|
109
|
+
Content-Type:
|
110
|
+
- text/javascript; charset="UTF-8"
|
111
|
+
Content-Length:
|
112
|
+
- '38'
|
113
|
+
Connection:
|
114
|
+
- keep-alive
|
115
|
+
Cache-Control:
|
116
|
+
- no-cache
|
117
|
+
Access-Control-Allow-Origin:
|
118
|
+
- "*"
|
119
|
+
Access-Control-Allow-Methods:
|
120
|
+
- GET
|
121
|
+
body:
|
122
|
+
encoding: UTF-8
|
123
|
+
string: '[[{"text":"hey"}],"13962834739552478"]'
|
124
|
+
http_version:
|
125
|
+
recorded_at: Mon, 31 Mar 2014 16:31:14 GMT
|
126
|
+
- request:
|
127
|
+
method: get
|
128
|
+
uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/13962834739552478?heartbeat=4&pnsdk=PubNub-Ruby/3.5.1&uuid=5978a0b7-5c8c-45f8-b5d4-618bd36eaf82
|
129
|
+
body:
|
130
|
+
encoding: US-ASCII
|
131
|
+
string: ''
|
132
|
+
headers:
|
133
|
+
Accept-Encoding:
|
134
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
135
|
+
Accept:
|
136
|
+
- "*/*"
|
137
|
+
User-Agent:
|
138
|
+
- Ruby
|
139
|
+
Connection:
|
140
|
+
- keep-alive
|
141
|
+
Keep-Alive:
|
142
|
+
- 30
|
143
|
+
response:
|
144
|
+
status:
|
145
|
+
code: 200
|
146
|
+
message: OK
|
147
|
+
headers:
|
148
|
+
Date:
|
149
|
+
- Mon, 31 Mar 2014 16:31:14 GMT
|
150
|
+
Content-Type:
|
151
|
+
- text/javascript; charset="UTF-8"
|
152
|
+
Content-Length:
|
153
|
+
- '38'
|
154
|
+
Connection:
|
155
|
+
- keep-alive
|
156
|
+
Cache-Control:
|
157
|
+
- no-cache
|
158
|
+
Access-Control-Allow-Origin:
|
159
|
+
- "*"
|
160
|
+
Access-Control-Allow-Methods:
|
161
|
+
- GET
|
162
|
+
body:
|
163
|
+
encoding: UTF-8
|
164
|
+
string: '[[{"text":"hey"}],"13962834741853632"]'
|
165
|
+
http_version:
|
166
|
+
recorded_at: Mon, 31 Mar 2014 16:31:14 GMT
|
167
|
+
- request:
|
168
|
+
method: get
|
169
|
+
uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/0?heartbeat=4&pnsdk=PubNub-Ruby/3.5.1&uuid=a3191078-9099-4b86-a36c-c03b03568b89
|
170
|
+
body:
|
171
|
+
encoding: US-ASCII
|
172
|
+
string: ''
|
173
|
+
headers:
|
174
|
+
Accept-Encoding:
|
175
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
176
|
+
Accept:
|
177
|
+
- "*/*"
|
178
|
+
User-Agent:
|
179
|
+
- Ruby
|
180
|
+
Connection:
|
181
|
+
- keep-alive
|
182
|
+
Keep-Alive:
|
183
|
+
- 30
|
184
|
+
response:
|
185
|
+
status:
|
186
|
+
code: 200
|
187
|
+
message: OK
|
188
|
+
headers:
|
189
|
+
Date:
|
190
|
+
- Mon, 31 Mar 2014 16:44:26 GMT
|
191
|
+
Content-Type:
|
192
|
+
- text/javascript; charset="UTF-8"
|
193
|
+
Content-Length:
|
194
|
+
- '24'
|
195
|
+
Connection:
|
196
|
+
- keep-alive
|
197
|
+
Cache-Control:
|
198
|
+
- no-cache
|
199
|
+
Access-Control-Allow-Origin:
|
200
|
+
- "*"
|
201
|
+
Access-Control-Allow-Methods:
|
202
|
+
- GET
|
203
|
+
body:
|
204
|
+
encoding: UTF-8
|
205
|
+
string: '[[],"13962834750580997"]'
|
206
|
+
http_version:
|
207
|
+
recorded_at: Mon, 31 Mar 2014 16:44:26 GMT
|
208
|
+
- request:
|
209
|
+
method: get
|
210
|
+
uri: http://pubsub.pubnub.com/v2/presence/sub-key/demo-36/channel/rubyheartbeatdemo/heartbeat?pnsdk=PubNub-Ruby/3.5.1&state=%7B%7D&uuid=a3191078-9099-4b86-a36c-c03b03568b89
|
211
|
+
body:
|
212
|
+
encoding: US-ASCII
|
213
|
+
string: ''
|
214
|
+
headers:
|
215
|
+
Accept-Encoding:
|
216
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
217
|
+
Accept:
|
218
|
+
- "*/*"
|
219
|
+
User-Agent:
|
220
|
+
- Ruby
|
221
|
+
Connection:
|
222
|
+
- keep-alive
|
223
|
+
Keep-Alive:
|
224
|
+
- 30
|
225
|
+
response:
|
226
|
+
status:
|
227
|
+
code: 400
|
228
|
+
message: OK
|
229
|
+
headers:
|
230
|
+
Date:
|
231
|
+
- Mon, 31 Mar 2014 16:44:26 GMT
|
232
|
+
Content-Type:
|
233
|
+
- application/json
|
234
|
+
Content-Length:
|
235
|
+
- '55'
|
236
|
+
Connection:
|
237
|
+
- keep-alive
|
238
|
+
Access-Control-Allow-Origin:
|
239
|
+
- "*"
|
240
|
+
Access-Control-Allow-Methods:
|
241
|
+
- GET
|
242
|
+
Cache-Control:
|
243
|
+
- no-cache
|
244
|
+
Accept-Ranges:
|
245
|
+
- bytes
|
246
|
+
Age:
|
247
|
+
- '0'
|
248
|
+
Server:
|
249
|
+
- Pubnub Presence
|
250
|
+
body:
|
251
|
+
encoding: UTF-8
|
252
|
+
string: '{"status": 200, "message": "OK", "service": "Presence"}'
|
253
|
+
http_version:
|
254
|
+
recorded_at: Mon, 31 Mar 2014 16:44:27 GMT
|
255
|
+
- request:
|
256
|
+
method: get
|
257
|
+
uri: http://pubsub.pubnub.com/v2/presence/sub-key/demo-36/channel/rubyheartbeatdemo/heartbeat?pnsdk=PubNub-Ruby/3.5.1&state=%7B%7D&uuid=a3191078-9099-4b86-a36c-c03b03568b89
|
258
|
+
body:
|
259
|
+
encoding: US-ASCII
|
260
|
+
string: ''
|
261
|
+
headers:
|
262
|
+
Accept-Encoding:
|
263
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
264
|
+
Accept:
|
265
|
+
- "*/*"
|
266
|
+
User-Agent:
|
267
|
+
- Ruby
|
268
|
+
Connection:
|
269
|
+
- keep-alive
|
270
|
+
Keep-Alive:
|
271
|
+
- 30
|
272
|
+
response:
|
273
|
+
status:
|
274
|
+
code: 400
|
275
|
+
message: OK
|
276
|
+
headers:
|
277
|
+
Date:
|
278
|
+
- Mon, 31 Mar 2014 16:44:27 GMT
|
279
|
+
Content-Type:
|
280
|
+
- application/json
|
281
|
+
Content-Length:
|
282
|
+
- '55'
|
283
|
+
Connection:
|
284
|
+
- keep-alive
|
285
|
+
Access-Control-Allow-Origin:
|
286
|
+
- "*"
|
287
|
+
Access-Control-Allow-Methods:
|
288
|
+
- GET
|
289
|
+
Cache-Control:
|
290
|
+
- no-cache
|
291
|
+
Accept-Ranges:
|
292
|
+
- bytes
|
293
|
+
Age:
|
294
|
+
- '0'
|
295
|
+
Server:
|
296
|
+
- Pubnub Presence
|
297
|
+
body:
|
298
|
+
encoding: UTF-8
|
299
|
+
string: '{"status": 200, "message": "OK", "service": "Presence"}'
|
300
|
+
http_version:
|
301
|
+
recorded_at: Mon, 31 Mar 2014 16:44:28 GMT
|
302
|
+
- request:
|
303
|
+
method: get
|
304
|
+
uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/0?heartbeat=12&pnsdk=PubNub-Ruby/3.5.1&uuid=a74c5a27-76e7-4095-8f57-ebe1e4084ea0
|
305
|
+
body:
|
306
|
+
encoding: US-ASCII
|
307
|
+
string: ''
|
308
|
+
headers:
|
309
|
+
Accept-Encoding:
|
310
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
311
|
+
Accept:
|
312
|
+
- "*/*"
|
313
|
+
User-Agent:
|
314
|
+
- Ruby
|
315
|
+
Connection:
|
316
|
+
- keep-alive
|
317
|
+
Keep-Alive:
|
318
|
+
- 30
|
319
|
+
response:
|
320
|
+
status:
|
321
|
+
code: 200
|
322
|
+
message: OK
|
323
|
+
headers:
|
324
|
+
Date:
|
325
|
+
- Mon, 31 Mar 2014 16:55:04 GMT
|
326
|
+
Content-Type:
|
327
|
+
- text/javascript; charset="UTF-8"
|
328
|
+
Content-Length:
|
329
|
+
- '24'
|
330
|
+
Connection:
|
331
|
+
- keep-alive
|
332
|
+
Cache-Control:
|
333
|
+
- no-cache
|
334
|
+
Access-Control-Allow-Origin:
|
335
|
+
- "*"
|
336
|
+
Access-Control-Allow-Methods:
|
337
|
+
- GET
|
338
|
+
body:
|
339
|
+
encoding: UTF-8
|
340
|
+
string: '[[],"13962834750580997"]'
|
341
|
+
http_version:
|
342
|
+
recorded_at: Mon, 31 Mar 2014 16:55:05 GMT
|
343
|
+
- request:
|
344
|
+
method: get
|
345
|
+
uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/0?heartbeat=4&pnsdk=PubNub-Ruby/3.5.2&uuid=19befa34-c27a-4903-b2c3-bc02812d3c79
|
346
|
+
body:
|
347
|
+
encoding: US-ASCII
|
348
|
+
string: ''
|
349
|
+
headers:
|
350
|
+
Accept-Encoding:
|
351
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
352
|
+
Accept:
|
353
|
+
- "*/*"
|
354
|
+
User-Agent:
|
355
|
+
- Ruby
|
356
|
+
Connection:
|
357
|
+
- keep-alive
|
358
|
+
Keep-Alive:
|
359
|
+
- 30
|
360
|
+
response:
|
361
|
+
status:
|
362
|
+
code: 200
|
363
|
+
message: OK
|
364
|
+
headers:
|
365
|
+
Date:
|
366
|
+
- Thu, 10 Apr 2014 10:54:41 GMT
|
367
|
+
Content-Type:
|
368
|
+
- text/javascript; charset="UTF-8"
|
369
|
+
Content-Length:
|
370
|
+
- '24'
|
371
|
+
Connection:
|
372
|
+
- keep-alive
|
373
|
+
Cache-Control:
|
374
|
+
- no-cache
|
375
|
+
Access-Control-Allow-Origin:
|
376
|
+
- "*"
|
377
|
+
Access-Control-Allow-Methods:
|
378
|
+
- GET
|
379
|
+
body:
|
380
|
+
encoding: UTF-8
|
381
|
+
string: '[[],"13971272816618646"]'
|
382
|
+
http_version:
|
383
|
+
recorded_at: Thu, 10 Apr 2014 10:54:43 GMT
|
384
|
+
- request:
|
385
|
+
method: get
|
386
|
+
uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/0?heartbeat=12&pnsdk=PubNub-Ruby/3.5.2&uuid=c2564912-7b58-4f82-9088-08d8a77c0d99
|
387
|
+
body:
|
388
|
+
encoding: US-ASCII
|
389
|
+
string: ''
|
390
|
+
headers:
|
391
|
+
Accept-Encoding:
|
392
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
393
|
+
Accept:
|
394
|
+
- "*/*"
|
395
|
+
User-Agent:
|
396
|
+
- Ruby
|
397
|
+
Connection:
|
398
|
+
- keep-alive
|
399
|
+
Keep-Alive:
|
400
|
+
- 30
|
401
|
+
response:
|
402
|
+
status:
|
403
|
+
code: 200
|
404
|
+
message: OK
|
405
|
+
headers:
|
406
|
+
Date:
|
407
|
+
- Thu, 10 Apr 2014 10:54:41 GMT
|
408
|
+
Content-Type:
|
409
|
+
- text/javascript; charset="UTF-8"
|
410
|
+
Content-Length:
|
411
|
+
- '24'
|
412
|
+
Connection:
|
413
|
+
- keep-alive
|
414
|
+
Cache-Control:
|
415
|
+
- no-cache
|
416
|
+
Access-Control-Allow-Origin:
|
417
|
+
- "*"
|
418
|
+
Access-Control-Allow-Methods:
|
419
|
+
- GET
|
420
|
+
body:
|
421
|
+
encoding: UTF-8
|
422
|
+
string: '[[],"13971272816630114"]'
|
423
|
+
http_version:
|
424
|
+
recorded_at: Thu, 10 Apr 2014 10:54:43 GMT
|
425
|
+
- request:
|
426
|
+
method: get
|
427
|
+
uri: http://pubsub.pubnub.com/v2/presence/sub-key/demo-36/channel/rubyheartbeatdemo/heartbeat?pnsdk=PubNub-Ruby/3.5.2&state=%7B%7D&uuid=19befa34-c27a-4903-b2c3-bc02812d3c79
|
428
|
+
body:
|
429
|
+
encoding: US-ASCII
|
430
|
+
string: ''
|
431
|
+
headers:
|
432
|
+
Accept-Encoding:
|
433
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
434
|
+
Accept:
|
435
|
+
- "*/*"
|
436
|
+
User-Agent:
|
437
|
+
- Ruby
|
438
|
+
Connection:
|
439
|
+
- keep-alive
|
440
|
+
Keep-Alive:
|
441
|
+
- 30
|
442
|
+
response:
|
443
|
+
status:
|
444
|
+
code: 200
|
445
|
+
message: OK
|
446
|
+
headers:
|
447
|
+
Date:
|
448
|
+
- Thu, 10 Apr 2014 10:54:42 GMT
|
449
|
+
Content-Type:
|
450
|
+
- application/json
|
451
|
+
Content-Length:
|
452
|
+
- '55'
|
453
|
+
Connection:
|
454
|
+
- keep-alive
|
455
|
+
Access-Control-Allow-Origin:
|
456
|
+
- "*"
|
457
|
+
Access-Control-Allow-Methods:
|
458
|
+
- GET
|
459
|
+
Cache-Control:
|
460
|
+
- no-cache
|
461
|
+
Accept-Ranges:
|
462
|
+
- bytes
|
463
|
+
Age:
|
464
|
+
- '0'
|
465
|
+
Server:
|
466
|
+
- Pubnub Presence
|
467
|
+
body:
|
468
|
+
encoding: UTF-8
|
469
|
+
string: '{"status": 200, "message": "OK", "service": "Presence"}'
|
470
|
+
http_version:
|
471
|
+
recorded_at: Thu, 10 Apr 2014 10:54:44 GMT
|
472
|
+
- request:
|
473
|
+
method: get
|
474
|
+
uri: http://pubsub.pubnub.com/v2/presence/sub-key/demo-36/channel/rubyheartbeatdemo/heartbeat?pnsdk=PubNub-Ruby/3.5.2&state=%7B%7D&uuid=19befa34-c27a-4903-b2c3-bc02812d3c79
|
475
|
+
body:
|
476
|
+
encoding: US-ASCII
|
477
|
+
string: ''
|
478
|
+
headers:
|
479
|
+
Accept-Encoding:
|
480
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
481
|
+
Accept:
|
482
|
+
- "*/*"
|
483
|
+
User-Agent:
|
484
|
+
- Ruby
|
485
|
+
Connection:
|
486
|
+
- keep-alive
|
487
|
+
Keep-Alive:
|
488
|
+
- 30
|
489
|
+
response:
|
490
|
+
status:
|
491
|
+
code: 200
|
492
|
+
message: OK
|
493
|
+
headers:
|
494
|
+
Date:
|
495
|
+
- Thu, 10 Apr 2014 10:54:43 GMT
|
496
|
+
Content-Type:
|
497
|
+
- application/json
|
498
|
+
Content-Length:
|
499
|
+
- '55'
|
500
|
+
Connection:
|
501
|
+
- keep-alive
|
502
|
+
Access-Control-Allow-Origin:
|
503
|
+
- "*"
|
504
|
+
Access-Control-Allow-Methods:
|
505
|
+
- GET
|
506
|
+
Cache-Control:
|
507
|
+
- no-cache
|
508
|
+
Accept-Ranges:
|
509
|
+
- bytes
|
510
|
+
Age:
|
511
|
+
- '1'
|
512
|
+
Server:
|
513
|
+
- Pubnub Presence
|
514
|
+
body:
|
515
|
+
encoding: UTF-8
|
516
|
+
string: '{"status": 200, "message": "OK", "service": "Presence"}'
|
517
|
+
http_version:
|
518
|
+
recorded_at: Thu, 10 Apr 2014 10:54:45 GMT
|
519
|
+
recorded_with: VCR 2.9.0
|