pubnub 3.7.9 → 3.7.10

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 (57) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.txt +4 -0
  3. data/README.md +1 -1
  4. data/VERSION +1 -1
  5. data/fixtures/vcr_cassettes/auth_key_flow_auth_publish.yml +1 -1
  6. data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-http-auth_key-200-invalid.yml +1 -1
  7. data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-http-auth_key-200-valid.yml +1 -1
  8. data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-http-auth_key-non200-invalid.yml +1 -1
  9. data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-http-auth_key-non200-valid.yml +1 -1
  10. data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-https-auth_key-200-invalid.yml +1 -1
  11. data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-https-auth_key-200-valid.yml +1 -1
  12. data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-https-auth_key-non200-invalid.yml +1 -1
  13. data/fixtures/vcr_cassettes/new_ones/publish/publish-encrypted-https-auth_key-non200-valid.yml +1 -1
  14. data/fixtures/vcr_cassettes/new_ones/publish/publish-http-auth_key-200-invalid.yml +1 -1
  15. data/fixtures/vcr_cassettes/new_ones/publish/publish-http-auth_key-200-valid.yml +1 -1
  16. data/fixtures/vcr_cassettes/new_ones/publish/publish-http-auth_key-non200-invalid.yml +1 -1
  17. data/fixtures/vcr_cassettes/new_ones/publish/publish-http-auth_key-non200-valid.yml +1 -1
  18. data/fixtures/vcr_cassettes/new_ones/publish/publish-https-auth_key-200-invalid.yml +1 -1
  19. data/fixtures/vcr_cassettes/new_ones/publish/publish-https-auth_key-200-valid.yml +1 -1
  20. data/fixtures/vcr_cassettes/new_ones/publish/publish-https-auth_key-non200-invalid.yml +1 -1
  21. data/fixtures/vcr_cassettes/new_ones/publish/publish-https-auth_key-non200-valid.yml +1 -1
  22. data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-200-async.yml +1 -1
  23. data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-200-sync.yml +1 -1
  24. data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-non-200-async.yml +1 -1
  25. data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-non-200-sync.yml +1 -1
  26. data/fixtures/vcr_cassettes/publish-nonssl-block-valid-200-async.yml +1 -1
  27. data/fixtures/vcr_cassettes/publish-nonssl-block-valid-200-sync.yml +1 -1
  28. data/fixtures/vcr_cassettes/publish-nonssl-block-valid-non-200-async.yml +1 -1
  29. data/fixtures/vcr_cassettes/publish-nonssl-block-valid-non-200-sync.yml +1 -1
  30. data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-200-async.yml +1 -1
  31. data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-200-sync.yml +1 -1
  32. data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-non-200-async.yml +1 -1
  33. data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-non-200-sync.yml +1 -1
  34. data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-200-async.yml +1 -1
  35. data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-200-sync.yml +1 -1
  36. data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-non-200-async.yml +1 -1
  37. data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-non-200-sync.yml +1 -1
  38. data/fixtures/vcr_cassettes/publish-ssl-block-invalid-200-async.yml +1 -1
  39. data/fixtures/vcr_cassettes/publish-ssl-block-invalid-200-sync.yml +1 -1
  40. data/fixtures/vcr_cassettes/publish-ssl-block-invalid-non-200-async.yml +1 -1
  41. data/fixtures/vcr_cassettes/publish-ssl-block-invalid-non-200-sync.yml +1 -1
  42. data/fixtures/vcr_cassettes/publish-ssl-block-valid-200-async.yml +1 -1
  43. data/fixtures/vcr_cassettes/publish-ssl-block-valid-200-sync.yml +1 -1
  44. data/fixtures/vcr_cassettes/publish-ssl-block-valid-non-200-async.yml +1 -1
  45. data/fixtures/vcr_cassettes/publish-ssl-block-valid-non-200-sync.yml +1 -1
  46. data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-200-async.yml +1 -1
  47. data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-200-sync.yml +1 -1
  48. data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-non-200-async.yml +1 -1
  49. data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-non-200-sync.yml +1 -1
  50. data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-200-async.yml +1 -1
  51. data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-200-sync.yml +1 -1
  52. data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-non-200-async.yml +1 -1
  53. data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-non-200-sync.yml +1 -1
  54. data/lib/pubnub/event.rb +1 -1
  55. data/lib/pubnub/events/publish.rb +1 -1
  56. data/lib/pubnub/version.rb +1 -1
  57. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62193ab10214d59518c9062bc59e8c3c8d2f1734
4
- data.tar.gz: 853adb652e08e97ae375053f4c946820ee6af4f4
3
+ metadata.gz: a218de800719597ce791597b7c4c184008cd68ea
4
+ data.tar.gz: 8f1541271ac3fa6778a870db57e4442349e064b1
5
5
  SHA512:
6
- metadata.gz: 1fb7d4e826de2989190dc60ba0e04eba377ab46300cc13f1ab506e4eca0bb825fb06a04caa412384df76716a950429adadbe8480b10b336c51c2b7c6acca8eaa
7
- data.tar.gz: 9b137577a94359da14c6e044e0cba58fe06300fc1938826ef5c2dc811ca8e55d394eb959a2d356d5b120e3cdd4a71b87cf47c30580a01a3bb117731f501abe21
6
+ metadata.gz: ca38ee4c7faa130bc04e7e450215ba4a9df966e2374898179fac259a5ab21f9f103ec89311daf148973d4c6325cc9b2e7e25f82a4753f8fda2515293fffd2c55
7
+ data.tar.gz: a2cea3cd95a4579b6a24bcae2199163d5c0384b5ced40098dc9ce7729e8e2e213107a0612309ee2e020be252d7b6c8a0ccc88c992f10bf693fb6ed2bed666542
data/CHANGELOG.txt CHANGED
@@ -1,3 +1,7 @@
1
+ 3.7.10 Release
2
+ . Updated publish URI
3
+ . Fixed value returned by Event#start_event. Thanks @ramshenai
4
+
1
5
  3.7.9 Release
2
6
  . Secured calling callbacks
3
7
  . Reestablishing subscription improved
data/README.md CHANGED
@@ -6,7 +6,7 @@ Give it a try and share with us your thoughts!
6
6
 
7
7
  # Please direct all Support Questions and Concerns to Support@PubNub.com
8
8
 
9
- ## PubNub Gem version 3.7.9
9
+ ## PubNub Gem version 3.7.10
10
10
 
11
11
  ##### YOU MUST HAVE A PUBNUB ACCOUNT TO USE THE API.
12
12
  ##### http://www.pubnub.com/account
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.7.9
1
+ 3.7.10
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/pub-c-a2650a22-deb1-44f5-aa87-1517049411d5/sub-c-a478dd2a-c33d-11e2-883f-02ee2ddab7fe/sec-c-YjFmNzYzMGMtYmI3NC00NzJkLTlkYzYtY2MwMzI4YTJhNDVh/ruby_test/0/%22whatever%22?auth=ruby_client_123&pnsdk=PubNub-Ruby/3.5.2&uuid=323f51ab-4896-46f2-9437-f2bfa94a02e1
5
+ uri: http://pubsub.pubnub.com/publish/pub-c-a2650a22-deb1-44f5-aa87-1517049411d5/sub-c-a478dd2a-c33d-11e2-883f-02ee2ddab7fe/0/ruby_test/0/%22whatever%22?auth=ruby_client_123&pnsdk=PubNub-Ruby/3.5.2&uuid=323f51ab-4896-46f2-9437-f2bfa94a02e1
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%22hd8OLBDLVT2mMGXL8HYWKntt4wFNNmS49OX+tHwIoFk=%22?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/ruby_demo_channel/0/%7B%22text%22:%22sometext%22%7D?auth=demoish_authkey&pnsdk=PubNub-Ruby/3.5.0beta&uuid=tester
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: http://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://pubsub.pubnub.com/publish/demo/demo/some_secret_key/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
5
+ uri: https://pubsub.pubnub.com/publish/demo/demo/0/demo/0/%7B%22text%22:%22hey%22%7D?auth=demoish_authkey&uuid=rubytests
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
data/lib/pubnub/event.rb CHANGED
@@ -84,8 +84,8 @@ module Pubnub
84
84
  Pubnub.logger.error(:pubnub){"Aborting #{self.class} event due to network errors and reaching max retries"}
85
85
  app.env[:subscribe_railgun].cancel if app.env[:subscribe_railgun]
86
86
  app.env[:subscribe_railgun] = nil
87
+ false
87
88
  end
88
- false
89
89
  end
90
90
  end
91
91
 
@@ -35,7 +35,7 @@ module Pubnub
35
35
  'publish',
36
36
  @publish_key,
37
37
  @subscribe_key,
38
- if !@auth_key.blank? then @secret_key else '0' end,
38
+ '0',
39
39
  @channel,
40
40
  '0',
41
41
  format_message(@message)
@@ -1,3 +1,3 @@
1
1
  module Pubnub
2
- VERSION = '3.7.9'
2
+ VERSION = '3.7.10'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubnub
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.9
4
+ version: 3.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - PubNub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-28 00:00:00.000000000 Z
11
+ date: 2016-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine