pubnub 3.7.12 → 3.8.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 (2036) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +15 -0
  3. data/.rubocop.yml +16 -0
  4. data/.travis.yml +16 -3
  5. data/.yardoc/checksums +43 -0
  6. data/.yardoc/object_types +0 -0
  7. data/.yardoc/objects/root.dat +0 -0
  8. data/.yardoc/proxy_types +0 -0
  9. data/.yardopts +2 -0
  10. data/CHANGELOG.md +2 -0
  11. data/Gemfile +10 -6
  12. data/Gemfile.lock +105 -25
  13. data/LICENSE.txt +2 -0
  14. data/README.md +131 -204
  15. data/Rakefile +0 -1
  16. data/VERSION +1 -1
  17. data/doc/Object.html +287 -0
  18. data/doc/Pubnub.html +367 -0
  19. data/doc/Pubnub/ArgumentError.html +147 -0
  20. data/doc/Pubnub/Audit.html +256 -0
  21. data/doc/Pubnub/ChannelRegistration.html +245 -0
  22. data/doc/Pubnub/Client.html +1145 -0
  23. data/doc/Pubnub/Client/Connections.html +211 -0
  24. data/doc/Pubnub/Client/Events.html +132 -0
  25. data/doc/Pubnub/Client/PagedHistory.html +264 -0
  26. data/doc/Pubnub/Configuration.html +221 -0
  27. data/doc/Pubnub/Crypto.html +364 -0
  28. data/doc/Pubnub/Envelope.html +1962 -0
  29. data/doc/Pubnub/Error.html +386 -0
  30. data/doc/Pubnub/ErrorEnvelope.html +312 -0
  31. data/doc/Pubnub/Event.html +1163 -0
  32. data/doc/Pubnub/Formatter.html +868 -0
  33. data/doc/Pubnub/Grant.html +258 -0
  34. data/doc/Pubnub/Heart.html +355 -0
  35. data/doc/Pubnub/Heartbeat.html +254 -0
  36. data/doc/Pubnub/HereNow.html +245 -0
  37. data/doc/Pubnub/History.html +243 -0
  38. data/doc/Pubnub/InitializationError.html +147 -0
  39. data/doc/Pubnub/JSONParseError.html +147 -0
  40. data/doc/Pubnub/Leave.html +305 -0
  41. data/doc/Pubnub/Message.html +125 -0
  42. data/doc/Pubnub/Message/AddSubscription.html +298 -0
  43. data/doc/Pubnub/Message/Done.html +298 -0
  44. data/doc/Pubnub/Message/InternalMessage.html +124 -0
  45. data/doc/Pubnub/Message/RemoveSubscription.html +298 -0
  46. data/doc/Pubnub/Message/Stop.html +298 -0
  47. data/doc/Pubnub/OriginManager.html +583 -0
  48. data/doc/Pubnub/PAM.html +642 -0
  49. data/doc/Pubnub/Presence.html +353 -0
  50. data/doc/Pubnub/Publish.html +243 -0
  51. data/doc/Pubnub/RequestDispatcher.html +291 -0
  52. data/doc/Pubnub/RequestError.html +147 -0
  53. data/doc/Pubnub/ResponseError.html +147 -0
  54. data/doc/Pubnub/Revoke.html +258 -0
  55. data/doc/Pubnub/SingleEvent.html +158 -0
  56. data/doc/Pubnub/State.html +161 -0
  57. data/doc/Pubnub/Subscribe.html +293 -0
  58. data/doc/Pubnub/SubscribeEvent.html +559 -0
  59. data/doc/Pubnub/SubscribeEvent/Adding.html +316 -0
  60. data/doc/Pubnub/SubscribeEvent/Formatter.html +115 -0
  61. data/doc/Pubnub/SubscribeEvent/Heartbeat.html +119 -0
  62. data/doc/Pubnub/SubscribeEvent/Removing.html +324 -0
  63. data/doc/Pubnub/Time.html +243 -0
  64. data/doc/Pubnub/UUID.html +190 -0
  65. data/doc/Pubnub/Validator.html +127 -0
  66. data/doc/Pubnub/Validator/Client.html +203 -0
  67. data/doc/Pubnub/Validator/CommonValidator.html +381 -0
  68. data/doc/Pubnub/Validator/Publish.html +197 -0
  69. data/doc/Pubnub/Validator/Subscribe.html +197 -0
  70. data/doc/Pubnub/WhereNow.html +247 -0
  71. data/doc/_index.html +629 -0
  72. data/doc/class_list.html +58 -0
  73. data/doc/css/common.css +1 -0
  74. data/doc/css/full_list.css +57 -0
  75. data/doc/css/style.css +339 -0
  76. data/doc/file.README.html +772 -0
  77. data/doc/file_list.html +60 -0
  78. data/doc/frames.html +26 -0
  79. data/doc/index.html +772 -0
  80. data/doc/js/app.js +219 -0
  81. data/doc/js/full_list.js +181 -0
  82. data/doc/js/jquery.js +4 -0
  83. data/doc/method_list.html +885 -0
  84. data/doc/top-level-namespace.html +114 -0
  85. data/fixtures/vcr_cassettes/client/connection-for-non-subscribe.yml +44 -0
  86. data/fixtures/vcr_cassettes/client/connection-for-subscribe.yml +44 -0
  87. data/fixtures/vcr_cassettes/client/connection_callbacks_0.yml +40 -0
  88. data/fixtures/vcr_cassettes/client/connection_callbacks_1.yml +40 -0
  89. data/fixtures/vcr_cassettes/client/connection_callbacks_2.yml +40 -0
  90. data/fixtures/vcr_cassettes/{audit-nonssl-block-invalid-200-async.yml → integration/audit/audit-nonssl-block-invalid-200-async.yml} +0 -0
  91. data/fixtures/vcr_cassettes/{audit-nonssl-block-invalid-200-sync.yml → integration/audit/audit-nonssl-block-invalid-200-sync.yml} +0 -0
  92. data/fixtures/vcr_cassettes/{audit-nonssl-block-invalid-non-200-async.yml → integration/audit/audit-nonssl-block-invalid-non-200-async.yml} +0 -0
  93. data/fixtures/vcr_cassettes/{audit-nonssl-block-invalid-non-200-sync.yml → integration/audit/audit-nonssl-block-invalid-non-200-sync.yml} +0 -0
  94. data/fixtures/vcr_cassettes/{audit-nonssl-block-valid-200-async.yml → integration/audit/audit-nonssl-block-valid-200-async.yml} +0 -0
  95. data/fixtures/vcr_cassettes/{audit-nonssl-block-valid-200-sync.yml → integration/audit/audit-nonssl-block-valid-200-sync.yml} +0 -0
  96. data/fixtures/vcr_cassettes/{audit-nonssl-block-valid-non-200-async.yml → integration/audit/audit-nonssl-block-valid-non-200-async.yml} +0 -0
  97. data/fixtures/vcr_cassettes/{audit-nonssl-block-valid-non-200-sync.yml → integration/audit/audit-nonssl-block-valid-non-200-sync.yml} +0 -0
  98. data/fixtures/vcr_cassettes/{audit-nonssl-parameter-invalid-200-async.yml → integration/audit/audit-nonssl-parameter-invalid-200-async.yml} +0 -0
  99. data/fixtures/vcr_cassettes/{audit-nonssl-parameter-invalid-200-sync.yml → integration/audit/audit-nonssl-parameter-invalid-200-sync.yml} +0 -0
  100. data/fixtures/vcr_cassettes/{audit-nonssl-parameter-invalid-non-200-async.yml → integration/audit/audit-nonssl-parameter-invalid-non-200-async.yml} +0 -0
  101. data/fixtures/vcr_cassettes/{audit-nonssl-parameter-invalid-non-200-sync.yml → integration/audit/audit-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
  102. data/fixtures/vcr_cassettes/{audit-nonssl-parameter-valid-200-async.yml → integration/audit/audit-nonssl-parameter-valid-200-async.yml} +0 -0
  103. data/fixtures/vcr_cassettes/{audit-nonssl-parameter-valid-200-sync.yml → integration/audit/audit-nonssl-parameter-valid-200-sync.yml} +0 -0
  104. data/fixtures/vcr_cassettes/{audit-nonssl-parameter-valid-non-200-async.yml → integration/audit/audit-nonssl-parameter-valid-non-200-async.yml} +0 -0
  105. data/fixtures/vcr_cassettes/{audit-nonssl-parameter-valid-non-200-sync.yml → integration/audit/audit-nonssl-parameter-valid-non-200-sync.yml} +0 -0
  106. data/fixtures/vcr_cassettes/{audit-ssl-block-invalid-200-async.yml → integration/audit/audit-ssl-block-invalid-200-async.yml} +0 -0
  107. data/fixtures/vcr_cassettes/{audit-ssl-block-invalid-200-sync.yml → integration/audit/audit-ssl-block-invalid-200-sync.yml} +0 -0
  108. data/fixtures/vcr_cassettes/{audit-ssl-block-invalid-non-200-async.yml → integration/audit/audit-ssl-block-invalid-non-200-async.yml} +0 -0
  109. data/fixtures/vcr_cassettes/{audit-ssl-block-invalid-non-200-sync.yml → integration/audit/audit-ssl-block-invalid-non-200-sync.yml} +0 -0
  110. data/fixtures/vcr_cassettes/{audit-ssl-block-valid-200-async.yml → integration/audit/audit-ssl-block-valid-200-async.yml} +0 -0
  111. data/fixtures/vcr_cassettes/{audit-ssl-block-valid-200-sync.yml → integration/audit/audit-ssl-block-valid-200-sync.yml} +0 -0
  112. data/fixtures/vcr_cassettes/{audit-ssl-block-valid-non-200-async.yml → integration/audit/audit-ssl-block-valid-non-200-async.yml} +0 -0
  113. data/fixtures/vcr_cassettes/{audit-ssl-block-valid-non-200-sync.yml → integration/audit/audit-ssl-block-valid-non-200-sync.yml} +0 -0
  114. data/fixtures/vcr_cassettes/{audit-ssl-parameter-invalid-200-async.yml → integration/audit/audit-ssl-parameter-invalid-200-async.yml} +0 -0
  115. data/fixtures/vcr_cassettes/{audit-ssl-parameter-invalid-200-sync.yml → integration/audit/audit-ssl-parameter-invalid-200-sync.yml} +0 -0
  116. data/fixtures/vcr_cassettes/{audit-ssl-parameter-invalid-non-200-async.yml → integration/audit/audit-ssl-parameter-invalid-non-200-async.yml} +0 -0
  117. data/fixtures/vcr_cassettes/{audit-ssl-parameter-invalid-non-200-sync.yml → integration/audit/audit-ssl-parameter-invalid-non-200-sync.yml} +0 -0
  118. data/fixtures/vcr_cassettes/{audit-ssl-parameter-valid-200-async.yml → integration/audit/audit-ssl-parameter-valid-200-async.yml} +0 -0
  119. data/fixtures/vcr_cassettes/{audit-ssl-parameter-valid-200-sync.yml → integration/audit/audit-ssl-parameter-valid-200-sync.yml} +0 -0
  120. data/fixtures/vcr_cassettes/{audit-ssl-parameter-valid-non-200-async.yml → integration/audit/audit-ssl-parameter-valid-non-200-async.yml} +0 -0
  121. data/fixtures/vcr_cassettes/{audit-ssl-parameter-valid-non-200-sync.yml → integration/audit/audit-ssl-parameter-valid-non-200-sync.yml} +0 -0
  122. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/add-c-as-array.yml +0 -0
  123. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/add-c-as-csv.yml +0 -0
  124. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/add-c-as-string.yml +0 -0
  125. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/add-c-as-symbol.yml +0 -0
  126. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/audit-cg.yml +0 -0
  127. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/audit-ns.yml +0 -0
  128. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/grant-cg.yml +0 -0
  129. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/grant-ns.yml +0 -0
  130. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/here_now-cg.yml +0 -0
  131. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/leave-cg-c.yml +0 -0
  132. data/fixtures/vcr_cassettes/integration/channel_groups/leave-cg.yml +175 -0
  133. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/list-all-c-in-in-ns-cg.yml +0 -0
  134. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/list-all-c-in-non-ns-cg.yml +0 -0
  135. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/list-all-cg-in-ns.yml +0 -0
  136. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/list-all-namespaces.yml +0 -0
  137. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/list-all-non-namespaced-cg.yml +0 -0
  138. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-c-as-array.yml +0 -0
  139. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-c-as-csv.yml +0 -0
  140. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-c-as-string.yml +0 -0
  141. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-c-as-symbol.yml +0 -0
  142. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-cg-from-ns-csv.yml +0 -0
  143. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-ns-csv.yml +0 -0
  144. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/subscribe-cg-and-channel.yml +0 -0
  145. data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/subscribe-cg-only.yml +0 -0
  146. data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-array.yml +51 -0
  147. data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-csv.yml +51 -0
  148. data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-string.yml +51 -0
  149. data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-symbol.yml +51 -0
  150. data/fixtures/vcr_cassettes/integration/channel_registration/audit-cg.yml +44 -0
  151. data/fixtures/vcr_cassettes/integration/channel_registration/audit-ns.yml +44 -0
  152. data/fixtures/vcr_cassettes/integration/channel_registration/grant-cg.yml +44 -0
  153. data/fixtures/vcr_cassettes/integration/channel_registration/grant-ns.yml +44 -0
  154. data/fixtures/vcr_cassettes/integration/channel_registration/here_now-cg.yml +51 -0
  155. data/fixtures/vcr_cassettes/integration/channel_registration/leave-cg-c.yml +132 -0
  156. data/fixtures/vcr_cassettes/{cg → integration/channel_registration}/leave-cg.yml +0 -0
  157. data/fixtures/vcr_cassettes/integration/channel_registration/list-all-c-in-in-ns-cg.yml +50 -0
  158. data/fixtures/vcr_cassettes/integration/channel_registration/list-all-c-in-non-ns-cg.yml +51 -0
  159. data/fixtures/vcr_cassettes/integration/channel_registration/list-all-cg-in-ns.yml +51 -0
  160. data/fixtures/vcr_cassettes/integration/channel_registration/list-all-namespaces.yml +50 -0
  161. data/fixtures/vcr_cassettes/integration/channel_registration/list-all-non-namespaced-cg.yml +49 -0
  162. data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-array.yml +51 -0
  163. data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-csv.yml +51 -0
  164. data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-string.yml +51 -0
  165. data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-symbol.yml +51 -0
  166. data/fixtures/vcr_cassettes/integration/channel_registration/remove-cg-from-ns-csv.yml +51 -0
  167. data/fixtures/vcr_cassettes/integration/channel_registration/remove-ns-csv.yml +51 -0
  168. data/fixtures/vcr_cassettes/integration/channel_registration/subscribe-cg-and-channel.yml +85 -0
  169. data/fixtures/vcr_cassettes/integration/channel_registration/subscribe-cg-only.yml +85 -0
  170. data/fixtures/vcr_cassettes/integration/grant/grant-application-level.yml +44 -0
  171. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-1.yml +44 -0
  172. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-2.yml +44 -0
  173. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-3.yml +44 -0
  174. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-4.yml +44 -0
  175. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence.yml +44 -0
  176. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels.yml +45 -0
  177. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-200-async.yml +44 -0
  178. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-200-sync.yml +44 -0
  179. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-non-200-async.yml +44 -0
  180. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-non-200-sync.yml +44 -0
  181. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-200-async.yml +45 -0
  182. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-200-sync.yml +45 -0
  183. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-non-200-async.yml +45 -0
  184. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-non-200-sync.yml +45 -0
  185. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-200-async.yml +44 -0
  186. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-200-sync.yml +44 -0
  187. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-non-200-async.yml +44 -0
  188. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-non-200-sync.yml +44 -0
  189. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-200-async.yml +45 -0
  190. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-200-sync.yml +45 -0
  191. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-non-200-async.yml +45 -0
  192. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-non-200-sync.yml +45 -0
  193. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-200-async.yml +44 -0
  194. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-200-sync.yml +44 -0
  195. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-non-200-async.yml +44 -0
  196. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-non-200-sync.yml +44 -0
  197. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-200-async.yml +45 -0
  198. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-200-sync.yml +45 -0
  199. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-non-200-async.yml +45 -0
  200. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-non-200-sync.yml +45 -0
  201. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-200-async.yml +44 -0
  202. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-200-sync.yml +44 -0
  203. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-non-200-async.yml +44 -0
  204. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-non-200-sync.yml +44 -0
  205. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-200-async.yml +45 -0
  206. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-200-sync.yml +45 -0
  207. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-non-200-async.yml +45 -0
  208. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-non-200-sync.yml +45 -0
  209. data/fixtures/vcr_cassettes/{here_now-nonssl-block-invalid-200-async.yml → integration/here_now/here_now-nonssl-block-invalid-200-async.yml} +0 -0
  210. data/fixtures/vcr_cassettes/{here_now-nonssl-block-invalid-200-sync.yml → integration/here_now/here_now-nonssl-block-invalid-200-sync.yml} +0 -0
  211. data/fixtures/vcr_cassettes/{here_now-nonssl-block-invalid-non-200-async.yml → integration/here_now/here_now-nonssl-block-invalid-non-200-async.yml} +0 -0
  212. data/fixtures/vcr_cassettes/{here_now-nonssl-block-invalid-non-200-sync.yml → integration/here_now/here_now-nonssl-block-invalid-non-200-sync.yml} +0 -0
  213. data/fixtures/vcr_cassettes/{here_now-nonssl-block-valid-200-async.yml → integration/here_now/here_now-nonssl-block-valid-200-async.yml} +0 -0
  214. data/fixtures/vcr_cassettes/{here_now-nonssl-block-valid-200-sync.yml → integration/here_now/here_now-nonssl-block-valid-200-sync.yml} +0 -0
  215. data/fixtures/vcr_cassettes/{here_now-nonssl-block-valid-non-200-async.yml → integration/here_now/here_now-nonssl-block-valid-non-200-async.yml} +0 -0
  216. data/fixtures/vcr_cassettes/{here_now-nonssl-block-valid-non-200-sync.yml → integration/here_now/here_now-nonssl-block-valid-non-200-sync.yml} +0 -0
  217. data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-invalid-200-async.yml → integration/here_now/here_now-nonssl-parameter-invalid-200-async.yml} +0 -0
  218. data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-invalid-200-sync.yml → integration/here_now/here_now-nonssl-parameter-invalid-200-sync.yml} +0 -0
  219. data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-invalid-non-200-async.yml → integration/here_now/here_now-nonssl-parameter-invalid-non-200-async.yml} +0 -0
  220. data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-invalid-non-200-sync.yml → integration/here_now/here_now-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
  221. data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-valid-200-async.yml → integration/here_now/here_now-nonssl-parameter-valid-200-async.yml} +0 -0
  222. data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-valid-200-sync.yml → integration/here_now/here_now-nonssl-parameter-valid-200-sync.yml} +0 -0
  223. data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-valid-non-200-async.yml → integration/here_now/here_now-nonssl-parameter-valid-non-200-async.yml} +0 -0
  224. data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-valid-non-200-sync.yml → integration/here_now/here_now-nonssl-parameter-valid-non-200-sync.yml} +0 -0
  225. data/fixtures/vcr_cassettes/{here_now-ssl-block-invalid-200-async.yml → integration/here_now/here_now-ssl-block-invalid-200-async.yml} +0 -0
  226. data/fixtures/vcr_cassettes/{here_now-ssl-block-invalid-200-sync.yml → integration/here_now/here_now-ssl-block-invalid-200-sync.yml} +0 -0
  227. data/fixtures/vcr_cassettes/{here_now-ssl-block-invalid-non-200-async.yml → integration/here_now/here_now-ssl-block-invalid-non-200-async.yml} +0 -0
  228. data/fixtures/vcr_cassettes/{here_now-ssl-block-invalid-non-200-sync.yml → integration/here_now/here_now-ssl-block-invalid-non-200-sync.yml} +0 -0
  229. data/fixtures/vcr_cassettes/{here_now-ssl-block-valid-200-async.yml → integration/here_now/here_now-ssl-block-valid-200-async.yml} +0 -0
  230. data/fixtures/vcr_cassettes/{here_now-ssl-block-valid-200-sync.yml → integration/here_now/here_now-ssl-block-valid-200-sync.yml} +0 -0
  231. data/fixtures/vcr_cassettes/{here_now-ssl-block-valid-non-200-async.yml → integration/here_now/here_now-ssl-block-valid-non-200-async.yml} +0 -0
  232. data/fixtures/vcr_cassettes/{here_now-ssl-block-valid-non-200-sync.yml → integration/here_now/here_now-ssl-block-valid-non-200-sync.yml} +0 -0
  233. data/fixtures/vcr_cassettes/{here_now-ssl-parameter-invalid-200-async.yml → integration/here_now/here_now-ssl-parameter-invalid-200-async.yml} +0 -0
  234. data/fixtures/vcr_cassettes/{here_now-ssl-parameter-invalid-200-sync.yml → integration/here_now/here_now-ssl-parameter-invalid-200-sync.yml} +0 -0
  235. data/fixtures/vcr_cassettes/{here_now-ssl-parameter-invalid-non-200-async.yml → integration/here_now/here_now-ssl-parameter-invalid-non-200-async.yml} +0 -0
  236. data/fixtures/vcr_cassettes/{here_now-ssl-parameter-invalid-non-200-sync.yml → integration/here_now/here_now-ssl-parameter-invalid-non-200-sync.yml} +0 -0
  237. data/fixtures/vcr_cassettes/{here_now-ssl-parameter-valid-200-async.yml → integration/here_now/here_now-ssl-parameter-valid-200-async.yml} +0 -0
  238. data/fixtures/vcr_cassettes/{here_now-ssl-parameter-valid-200-sync.yml → integration/here_now/here_now-ssl-parameter-valid-200-sync.yml} +0 -0
  239. data/fixtures/vcr_cassettes/{here_now-ssl-parameter-valid-non-200-async.yml → integration/here_now/here_now-ssl-parameter-valid-non-200-async.yml} +0 -0
  240. data/fixtures/vcr_cassettes/{here_now-ssl-parameter-valid-non-200-sync.yml → integration/here_now/here_now-ssl-parameter-valid-non-200-sync.yml} +0 -0
  241. data/fixtures/vcr_cassettes/{here_now_global-nonssl-block-invalid-200-sync.yml → integration/here_now/here_now_global-nonssl-block-invalid-200-sync.yml} +0 -0
  242. data/fixtures/vcr_cassettes/{here_now_global-nonssl-block-invalid-non-200-sync.yml → integration/here_now/here_now_global-nonssl-block-invalid-non-200-sync.yml} +0 -0
  243. data/fixtures/vcr_cassettes/{here_now_global-nonssl-block-valid-200-sync.yml → integration/here_now/here_now_global-nonssl-block-valid-200-sync.yml} +0 -0
  244. data/fixtures/vcr_cassettes/{here_now_global-nonssl-block-valid-non-200-sync.yml → integration/here_now/here_now_global-nonssl-block-valid-non-200-sync.yml} +0 -0
  245. data/fixtures/vcr_cassettes/{here_now_global-nonssl-parameter-invalid-200-sync.yml → integration/here_now/here_now_global-nonssl-parameter-invalid-200-sync.yml} +0 -0
  246. data/fixtures/vcr_cassettes/{here_now_global-nonssl-parameter-invalid-non-200-sync.yml → integration/here_now/here_now_global-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
  247. data/fixtures/vcr_cassettes/{here_now_global-nonssl-parameter-valid-200-sync.yml → integration/here_now/here_now_global-nonssl-parameter-valid-200-sync.yml} +0 -0
  248. data/fixtures/vcr_cassettes/{here_now_global-nonssl-parameter-valid-non-200-sync.yml → integration/here_now/here_now_global-nonssl-parameter-valid-non-200-sync.yml} +0 -0
  249. data/fixtures/vcr_cassettes/{here_now_global-ssl-block-invalid-200-sync.yml → integration/here_now/here_now_global-ssl-block-invalid-200-sync.yml} +0 -0
  250. data/fixtures/vcr_cassettes/{here_now_global-ssl-block-invalid-non-200-sync.yml → integration/here_now/here_now_global-ssl-block-invalid-non-200-sync.yml} +0 -0
  251. data/fixtures/vcr_cassettes/{here_now_global-ssl-block-valid-200-async.yml → integration/here_now/here_now_global-ssl-block-valid-200-async.yml} +0 -0
  252. data/fixtures/vcr_cassettes/{here_now_global-ssl-block-valid-200-sync.yml → integration/here_now/here_now_global-ssl-block-valid-200-sync.yml} +0 -0
  253. data/fixtures/vcr_cassettes/{here_now_global-ssl-block-valid-non-200-sync.yml → integration/here_now/here_now_global-ssl-block-valid-non-200-sync.yml} +0 -0
  254. data/fixtures/vcr_cassettes/{here_now_global-ssl-parameter-invalid-200-sync.yml → integration/here_now/here_now_global-ssl-parameter-invalid-200-sync.yml} +0 -0
  255. data/fixtures/vcr_cassettes/{here_now_global-ssl-parameter-invalid-non-200-sync.yml → integration/here_now/here_now_global-ssl-parameter-invalid-non-200-sync.yml} +0 -0
  256. data/fixtures/vcr_cassettes/{here_now_global-ssl-parameter-valid-200-sync.yml → integration/here_now/here_now_global-ssl-parameter-valid-200-sync.yml} +0 -0
  257. data/fixtures/vcr_cassettes/{here_now_global-ssl-parameter-valid-non-200-sync.yml → integration/here_now/here_now_global-ssl-parameter-valid-non-200-sync.yml} +0 -0
  258. data/fixtures/vcr_cassettes/{history-nonssl-block-invalid-200-async.yml → integration/history/history-nonssl-block-invalid-200-async.yml} +0 -0
  259. data/fixtures/vcr_cassettes/{history-nonssl-block-invalid-200-sync.yml → integration/history/history-nonssl-block-invalid-200-sync.yml} +0 -0
  260. data/fixtures/vcr_cassettes/{history-nonssl-block-invalid-non-200-async.yml → integration/history/history-nonssl-block-invalid-non-200-async.yml} +0 -0
  261. data/fixtures/vcr_cassettes/{history-nonssl-block-invalid-non-200-sync.yml → integration/history/history-nonssl-block-invalid-non-200-sync.yml} +0 -0
  262. data/fixtures/vcr_cassettes/{history-nonssl-block-valid-200-async.yml → integration/history/history-nonssl-block-valid-200-async.yml} +0 -0
  263. data/fixtures/vcr_cassettes/{history-nonssl-block-valid-200-sync.yml → integration/history/history-nonssl-block-valid-200-sync.yml} +0 -0
  264. data/fixtures/vcr_cassettes/{history-nonssl-block-valid-non-200-async.yml → integration/history/history-nonssl-block-valid-non-200-async.yml} +0 -0
  265. data/fixtures/vcr_cassettes/{history-nonssl-block-valid-non-200-sync.yml → integration/history/history-nonssl-block-valid-non-200-sync.yml} +0 -0
  266. data/fixtures/vcr_cassettes/{history-nonssl-parameter-invalid-200-async.yml → integration/history/history-nonssl-parameter-invalid-200-async.yml} +0 -0
  267. data/fixtures/vcr_cassettes/{history-nonssl-parameter-invalid-200-sync.yml → integration/history/history-nonssl-parameter-invalid-200-sync.yml} +0 -0
  268. data/fixtures/vcr_cassettes/{history-nonssl-parameter-invalid-non-200-async.yml → integration/history/history-nonssl-parameter-invalid-non-200-async.yml} +0 -0
  269. data/fixtures/vcr_cassettes/{history-nonssl-parameter-invalid-non-200-sync.yml → integration/history/history-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
  270. data/fixtures/vcr_cassettes/{history-nonssl-parameter-valid-200-async.yml → integration/history/history-nonssl-parameter-valid-200-async.yml} +0 -0
  271. data/fixtures/vcr_cassettes/{history-nonssl-parameter-valid-200-sync.yml → integration/history/history-nonssl-parameter-valid-200-sync.yml} +0 -0
  272. data/fixtures/vcr_cassettes/{history-nonssl-parameter-valid-non-200-async.yml → integration/history/history-nonssl-parameter-valid-non-200-async.yml} +0 -0
  273. data/fixtures/vcr_cassettes/{history-nonssl-parameter-valid-non-200-sync.yml → integration/history/history-nonssl-parameter-valid-non-200-sync.yml} +0 -0
  274. data/fixtures/vcr_cassettes/{history-ssl-block-invalid-200-async.yml → integration/history/history-ssl-block-invalid-200-async.yml} +0 -0
  275. data/fixtures/vcr_cassettes/{history-ssl-block-invalid-200-sync.yml → integration/history/history-ssl-block-invalid-200-sync.yml} +0 -0
  276. data/fixtures/vcr_cassettes/{history-ssl-block-invalid-non-200-async.yml → integration/history/history-ssl-block-invalid-non-200-async.yml} +0 -0
  277. data/fixtures/vcr_cassettes/{history-ssl-block-invalid-non-200-sync.yml → integration/history/history-ssl-block-invalid-non-200-sync.yml} +0 -0
  278. data/fixtures/vcr_cassettes/{history-ssl-block-valid-200-async.yml → integration/history/history-ssl-block-valid-200-async.yml} +0 -0
  279. data/fixtures/vcr_cassettes/{history-ssl-block-valid-200-sync.yml → integration/history/history-ssl-block-valid-200-sync.yml} +0 -0
  280. data/fixtures/vcr_cassettes/{history-ssl-block-valid-non-200-async.yml → integration/history/history-ssl-block-valid-non-200-async.yml} +0 -0
  281. data/fixtures/vcr_cassettes/{history-ssl-block-valid-non-200-sync.yml → integration/history/history-ssl-block-valid-non-200-sync.yml} +0 -0
  282. data/fixtures/vcr_cassettes/{history-ssl-parameter-invalid-200-async.yml → integration/history/history-ssl-parameter-invalid-200-async.yml} +0 -0
  283. data/fixtures/vcr_cassettes/{history-ssl-parameter-invalid-200-sync.yml → integration/history/history-ssl-parameter-invalid-200-sync.yml} +0 -0
  284. data/fixtures/vcr_cassettes/{history-ssl-parameter-invalid-non-200-async.yml → integration/history/history-ssl-parameter-invalid-non-200-async.yml} +0 -0
  285. data/fixtures/vcr_cassettes/{history-ssl-parameter-invalid-non-200-sync.yml → integration/history/history-ssl-parameter-invalid-non-200-sync.yml} +0 -0
  286. data/fixtures/vcr_cassettes/{history-ssl-parameter-valid-200-async.yml → integration/history/history-ssl-parameter-valid-200-async.yml} +0 -0
  287. data/fixtures/vcr_cassettes/{history-ssl-parameter-valid-200-sync.yml → integration/history/history-ssl-parameter-valid-200-sync.yml} +0 -0
  288. data/fixtures/vcr_cassettes/{history-ssl-parameter-valid-non-200-async.yml → integration/history/history-ssl-parameter-valid-non-200-async.yml} +0 -0
  289. data/fixtures/vcr_cassettes/{history-ssl-parameter-valid-non-200-sync.yml → integration/history/history-ssl-parameter-valid-non-200-sync.yml} +0 -0
  290. data/fixtures/vcr_cassettes/{leave-nonssl-block-invalid-200-async.yml → integration/leave/leave-nonssl-block-invalid-200-async.yml} +0 -0
  291. data/fixtures/vcr_cassettes/{leave-nonssl-block-invalid-200-sync.yml → integration/leave/leave-nonssl-block-invalid-200-sync.yml} +0 -0
  292. data/fixtures/vcr_cassettes/{leave-nonssl-block-invalid-non-200-async.yml → integration/leave/leave-nonssl-block-invalid-non-200-async.yml} +0 -0
  293. data/fixtures/vcr_cassettes/{leave-nonssl-block-invalid-non-200-sync.yml → integration/leave/leave-nonssl-block-invalid-non-200-sync.yml} +0 -0
  294. data/fixtures/vcr_cassettes/{leave-nonssl-block-valid-200-async.yml → integration/leave/leave-nonssl-block-valid-200-async.yml} +0 -0
  295. data/fixtures/vcr_cassettes/{leave-nonssl-block-valid-200-sync.yml → integration/leave/leave-nonssl-block-valid-200-sync.yml} +0 -0
  296. data/fixtures/vcr_cassettes/{leave-nonssl-block-valid-non-200-async.yml → integration/leave/leave-nonssl-block-valid-non-200-async.yml} +0 -0
  297. data/fixtures/vcr_cassettes/{leave-nonssl-block-valid-non-200-sync.yml → integration/leave/leave-nonssl-block-valid-non-200-sync.yml} +0 -0
  298. data/fixtures/vcr_cassettes/{leave-nonssl-parameter-invalid-200-async.yml → integration/leave/leave-nonssl-parameter-invalid-200-async.yml} +0 -0
  299. data/fixtures/vcr_cassettes/{leave-nonssl-parameter-invalid-200-sync.yml → integration/leave/leave-nonssl-parameter-invalid-200-sync.yml} +0 -0
  300. data/fixtures/vcr_cassettes/{leave-nonssl-parameter-invalid-non-200-async.yml → integration/leave/leave-nonssl-parameter-invalid-non-200-async.yml} +0 -0
  301. data/fixtures/vcr_cassettes/{leave-nonssl-parameter-invalid-non-200-sync.yml → integration/leave/leave-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
  302. data/fixtures/vcr_cassettes/{leave-nonssl-parameter-valid-200-async.yml → integration/leave/leave-nonssl-parameter-valid-200-async.yml} +0 -0
  303. data/fixtures/vcr_cassettes/{leave-nonssl-parameter-valid-200-sync.yml → integration/leave/leave-nonssl-parameter-valid-200-sync.yml} +0 -0
  304. data/fixtures/vcr_cassettes/{leave-nonssl-parameter-valid-non-200-async.yml → integration/leave/leave-nonssl-parameter-valid-non-200-async.yml} +0 -0
  305. data/fixtures/vcr_cassettes/{leave-nonssl-parameter-valid-non-200-sync.yml → integration/leave/leave-nonssl-parameter-valid-non-200-sync.yml} +0 -0
  306. data/fixtures/vcr_cassettes/{leave-ssl-block-invalid-200-async.yml → integration/leave/leave-ssl-block-invalid-200-async.yml} +0 -0
  307. data/fixtures/vcr_cassettes/{leave-ssl-block-invalid-200-sync.yml → integration/leave/leave-ssl-block-invalid-200-sync.yml} +0 -0
  308. data/fixtures/vcr_cassettes/{leave-ssl-block-invalid-non-200-async.yml → integration/leave/leave-ssl-block-invalid-non-200-async.yml} +0 -0
  309. data/fixtures/vcr_cassettes/{leave-ssl-block-invalid-non-200-sync.yml → integration/leave/leave-ssl-block-invalid-non-200-sync.yml} +0 -0
  310. data/fixtures/vcr_cassettes/{leave-ssl-block-valid-200-async.yml → integration/leave/leave-ssl-block-valid-200-async.yml} +0 -0
  311. data/fixtures/vcr_cassettes/{leave-ssl-block-valid-200-sync.yml → integration/leave/leave-ssl-block-valid-200-sync.yml} +0 -0
  312. data/fixtures/vcr_cassettes/{leave-ssl-block-valid-non-200-async.yml → integration/leave/leave-ssl-block-valid-non-200-async.yml} +0 -0
  313. data/fixtures/vcr_cassettes/{leave-ssl-block-valid-non-200-sync.yml → integration/leave/leave-ssl-block-valid-non-200-sync.yml} +0 -0
  314. data/fixtures/vcr_cassettes/{leave-ssl-parameter-invalid-200-async.yml → integration/leave/leave-ssl-parameter-invalid-200-async.yml} +0 -0
  315. data/fixtures/vcr_cassettes/{leave-ssl-parameter-invalid-200-sync.yml → integration/leave/leave-ssl-parameter-invalid-200-sync.yml} +0 -0
  316. data/fixtures/vcr_cassettes/{leave-ssl-parameter-invalid-non-200-async.yml → integration/leave/leave-ssl-parameter-invalid-non-200-async.yml} +0 -0
  317. data/fixtures/vcr_cassettes/{leave-ssl-parameter-invalid-non-200-sync.yml → integration/leave/leave-ssl-parameter-invalid-non-200-sync.yml} +0 -0
  318. data/fixtures/vcr_cassettes/{leave-ssl-parameter-valid-200-async.yml → integration/leave/leave-ssl-parameter-valid-200-async.yml} +0 -0
  319. data/fixtures/vcr_cassettes/{leave-ssl-parameter-valid-200-sync.yml → integration/leave/leave-ssl-parameter-valid-200-sync.yml} +0 -0
  320. data/fixtures/vcr_cassettes/{leave-ssl-parameter-valid-non-200-async.yml → integration/leave/leave-ssl-parameter-valid-non-200-async.yml} +0 -0
  321. data/fixtures/vcr_cassettes/{leave-ssl-parameter-valid-non-200-sync.yml → integration/leave/leave-ssl-parameter-valid-non-200-sync.yml} +0 -0
  322. data/fixtures/vcr_cassettes/{presence-nonssl-block-invalid-200-async.yml → integration/presence/presence-nonssl-block-invalid-200-async.yml} +0 -0
  323. data/fixtures/vcr_cassettes/{presence-nonssl-block-invalid-200-sync.yml → integration/presence/presence-nonssl-block-invalid-200-sync.yml} +0 -0
  324. data/fixtures/vcr_cassettes/{presence-nonssl-block-invalid-non-200-async.yml → integration/presence/presence-nonssl-block-invalid-non-200-async.yml} +0 -0
  325. data/fixtures/vcr_cassettes/{presence-nonssl-block-invalid-non-200-sync.yml → integration/presence/presence-nonssl-block-invalid-non-200-sync.yml} +0 -0
  326. data/fixtures/vcr_cassettes/{presence-nonssl-block-valid-200-async.yml → integration/presence/presence-nonssl-block-valid-200-async.yml} +0 -0
  327. data/fixtures/vcr_cassettes/{presence-nonssl-block-valid-200-sync.yml → integration/presence/presence-nonssl-block-valid-200-sync.yml} +0 -0
  328. data/fixtures/vcr_cassettes/{presence-nonssl-block-valid-non-200-async.yml → integration/presence/presence-nonssl-block-valid-non-200-async.yml} +0 -0
  329. data/fixtures/vcr_cassettes/{presence-nonssl-block-valid-non-200-sync.yml → integration/presence/presence-nonssl-block-valid-non-200-sync.yml} +0 -0
  330. data/fixtures/vcr_cassettes/{presence-nonssl-parameter-invalid-200-async.yml → integration/presence/presence-nonssl-parameter-invalid-200-async.yml} +0 -0
  331. data/fixtures/vcr_cassettes/{presence-nonssl-parameter-invalid-200-sync.yml → integration/presence/presence-nonssl-parameter-invalid-200-sync.yml} +0 -0
  332. data/fixtures/vcr_cassettes/{presence-nonssl-parameter-invalid-non-200-async.yml → integration/presence/presence-nonssl-parameter-invalid-non-200-async.yml} +0 -0
  333. data/fixtures/vcr_cassettes/{presence-nonssl-parameter-invalid-non-200-sync.yml → integration/presence/presence-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
  334. data/fixtures/vcr_cassettes/{presence-nonssl-parameter-valid-200-async.yml → integration/presence/presence-nonssl-parameter-valid-200-async.yml} +0 -0
  335. data/fixtures/vcr_cassettes/{presence-nonssl-parameter-valid-200-sync.yml → integration/presence/presence-nonssl-parameter-valid-200-sync.yml} +0 -0
  336. data/fixtures/vcr_cassettes/{presence-nonssl-parameter-valid-non-200-async.yml → integration/presence/presence-nonssl-parameter-valid-non-200-async.yml} +0 -0
  337. data/fixtures/vcr_cassettes/{presence-nonssl-parameter-valid-non-200-sync.yml → integration/presence/presence-nonssl-parameter-valid-non-200-sync.yml} +0 -0
  338. data/fixtures/vcr_cassettes/{presence-ssl-block-invalid-200-async.yml → integration/presence/presence-ssl-block-invalid-200-async.yml} +0 -0
  339. data/fixtures/vcr_cassettes/{presence-ssl-block-invalid-200-sync.yml → integration/presence/presence-ssl-block-invalid-200-sync.yml} +0 -0
  340. data/fixtures/vcr_cassettes/{presence-ssl-block-invalid-non-200-async.yml → integration/presence/presence-ssl-block-invalid-non-200-async.yml} +0 -0
  341. data/fixtures/vcr_cassettes/{presence-ssl-block-invalid-non-200-sync.yml → integration/presence/presence-ssl-block-invalid-non-200-sync.yml} +0 -0
  342. data/fixtures/vcr_cassettes/{presence-ssl-block-valid-200-async.yml → integration/presence/presence-ssl-block-valid-200-async.yml} +0 -0
  343. data/fixtures/vcr_cassettes/{presence-ssl-block-valid-200-sync-new.yml → integration/presence/presence-ssl-block-valid-200-sync-new.yml} +0 -0
  344. data/fixtures/vcr_cassettes/{presence-ssl-block-valid-200-sync.yml → integration/presence/presence-ssl-block-valid-200-sync.yml} +0 -0
  345. data/fixtures/vcr_cassettes/{presence-ssl-block-valid-non-200-async.yml → integration/presence/presence-ssl-block-valid-non-200-async.yml} +0 -0
  346. data/fixtures/vcr_cassettes/{presence-ssl-block-valid-non-200-sync.yml → integration/presence/presence-ssl-block-valid-non-200-sync.yml} +0 -0
  347. data/fixtures/vcr_cassettes/{presence-ssl-parameter-invalid-200-async.yml → integration/presence/presence-ssl-parameter-invalid-200-async.yml} +0 -0
  348. data/fixtures/vcr_cassettes/{presence-ssl-parameter-invalid-200-sync.yml → integration/presence/presence-ssl-parameter-invalid-200-sync.yml} +0 -0
  349. data/fixtures/vcr_cassettes/{presence-ssl-parameter-invalid-non-200-async.yml → integration/presence/presence-ssl-parameter-invalid-non-200-async.yml} +0 -0
  350. data/fixtures/vcr_cassettes/{presence-ssl-parameter-invalid-non-200-sync.yml → integration/presence/presence-ssl-parameter-invalid-non-200-sync.yml} +0 -0
  351. data/fixtures/vcr_cassettes/{presence-ssl-parameter-valid-200-async.yml → integration/presence/presence-ssl-parameter-valid-200-async.yml} +0 -0
  352. data/fixtures/vcr_cassettes/{presence-ssl-parameter-valid-200-sync.yml → integration/presence/presence-ssl-parameter-valid-200-sync.yml} +0 -0
  353. data/fixtures/vcr_cassettes/{presence-ssl-parameter-valid-non-200-async.yml → integration/presence/presence-ssl-parameter-valid-non-200-async.yml} +0 -0
  354. data/fixtures/vcr_cassettes/{presence-ssl-parameter-valid-non-200-sync.yml → integration/presence/presence-ssl-parameter-valid-non-200-sync.yml} +0 -0
  355. data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-invalid-200-async.yml → integration/presence/v3-presence-nonssl-block-invalid-200-async.yml} +0 -0
  356. data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-invalid-200-sync.yml → integration/presence/v3-presence-nonssl-block-invalid-200-sync.yml} +0 -0
  357. data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-invalid-non-200-async.yml → integration/presence/v3-presence-nonssl-block-invalid-non-200-async.yml} +0 -0
  358. data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-invalid-non-200-sync.yml → integration/presence/v3-presence-nonssl-block-invalid-non-200-sync.yml} +0 -0
  359. data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-valid-200-async.yml → integration/presence/v3-presence-nonssl-block-valid-200-async.yml} +0 -0
  360. data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-valid-200-sync.yml → integration/presence/v3-presence-nonssl-block-valid-200-sync.yml} +0 -0
  361. data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-valid-non-200-async.yml → integration/presence/v3-presence-nonssl-block-valid-non-200-async.yml} +0 -0
  362. data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-valid-non-200-sync.yml → integration/presence/v3-presence-nonssl-block-valid-non-200-sync.yml} +0 -0
  363. data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-invalid-200-async.yml → integration/presence/v3-presence-nonssl-parameter-invalid-200-async.yml} +0 -0
  364. data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-invalid-200-sync.yml → integration/presence/v3-presence-nonssl-parameter-invalid-200-sync.yml} +0 -0
  365. data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-invalid-non-200-async.yml → integration/presence/v3-presence-nonssl-parameter-invalid-non-200-async.yml} +0 -0
  366. data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-invalid-non-200-sync.yml → integration/presence/v3-presence-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
  367. data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-valid-200-async.yml → integration/presence/v3-presence-nonssl-parameter-valid-200-async.yml} +0 -0
  368. data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-valid-200-sync.yml → integration/presence/v3-presence-nonssl-parameter-valid-200-sync.yml} +0 -0
  369. data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-valid-non-200-async.yml → integration/presence/v3-presence-nonssl-parameter-valid-non-200-async.yml} +0 -0
  370. data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-valid-non-200-sync.yml → integration/presence/v3-presence-nonssl-parameter-valid-non-200-sync.yml} +0 -0
  371. data/fixtures/vcr_cassettes/{v3-presence-ssl-block-invalid-200-async.yml → integration/presence/v3-presence-ssl-block-invalid-200-async.yml} +0 -0
  372. data/fixtures/vcr_cassettes/{v3-presence-ssl-block-invalid-200-sync.yml → integration/presence/v3-presence-ssl-block-invalid-200-sync.yml} +0 -0
  373. data/fixtures/vcr_cassettes/{v3-presence-ssl-block-invalid-non-200-async.yml → integration/presence/v3-presence-ssl-block-invalid-non-200-async.yml} +0 -0
  374. data/fixtures/vcr_cassettes/{v3-presence-ssl-block-invalid-non-200-sync.yml → integration/presence/v3-presence-ssl-block-invalid-non-200-sync.yml} +0 -0
  375. data/fixtures/vcr_cassettes/{v3-presence-ssl-block-valid-200-async.yml → integration/presence/v3-presence-ssl-block-valid-200-async.yml} +0 -0
  376. data/fixtures/vcr_cassettes/{v3-presence-ssl-block-valid-200-sync.yml → integration/presence/v3-presence-ssl-block-valid-200-sync.yml} +0 -0
  377. data/fixtures/vcr_cassettes/{v3-presence-ssl-block-valid-non-200-async.yml → integration/presence/v3-presence-ssl-block-valid-non-200-async.yml} +0 -0
  378. data/fixtures/vcr_cassettes/{v3-presence-ssl-block-valid-non-200-sync.yml → integration/presence/v3-presence-ssl-block-valid-non-200-sync.yml} +0 -0
  379. data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-invalid-200-async.yml → integration/presence/v3-presence-ssl-parameter-invalid-200-async.yml} +0 -0
  380. data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-invalid-200-sync.yml → integration/presence/v3-presence-ssl-parameter-invalid-200-sync.yml} +0 -0
  381. data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-invalid-non-200-async.yml → integration/presence/v3-presence-ssl-parameter-invalid-non-200-async.yml} +0 -0
  382. data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-invalid-non-200-sync.yml → integration/presence/v3-presence-ssl-parameter-invalid-non-200-sync.yml} +0 -0
  383. data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-valid-200-async.yml → integration/presence/v3-presence-ssl-parameter-valid-200-async.yml} +0 -0
  384. data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-valid-200-sync.yml → integration/presence/v3-presence-ssl-parameter-valid-200-sync.yml} +0 -0
  385. data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-valid-non-200-async.yml → integration/presence/v3-presence-ssl-parameter-valid-non-200-async.yml} +0 -0
  386. data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-valid-non-200-sync.yml → integration/presence/v3-presence-ssl-parameter-valid-non-200-sync.yml} +0 -0
  387. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-array-of-hashes.yml +0 -0
  388. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-200-invalid.yml +0 -0
  389. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-200-valid.yml +0 -0
  390. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-auth_key-200-invalid.yml +0 -0
  391. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-auth_key-200-valid.yml +0 -0
  392. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-auth_key-non200-invalid.yml +0 -0
  393. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-auth_key-non200-valid.yml +0 -0
  394. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-non200-invalid.yml +0 -0
  395. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-non200-valid.yml +0 -0
  396. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-200-invalid.yml +0 -0
  397. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-200-valid.yml +0 -0
  398. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-auth_key-200-invalid.yml +0 -0
  399. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-auth_key-200-valid.yml +0 -0
  400. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-auth_key-non200-invalid.yml +0 -0
  401. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-auth_key-non200-valid.yml +0 -0
  402. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-non200-invalid.yml +0 -0
  403. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-non200-valid.yml +0 -0
  404. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-200-invalid.yml +0 -0
  405. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-200-valid.yml +0 -0
  406. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-auth_key-200-invalid.yml +0 -0
  407. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-auth_key-200-valid.yml +0 -0
  408. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-auth_key-non200-invalid.yml +0 -0
  409. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-auth_key-non200-valid.yml +0 -0
  410. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-non200-invalid.yml +0 -0
  411. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-non200-valid.yml +0 -0
  412. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-200-invalid.yml +0 -0
  413. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-200-valid.yml +0 -0
  414. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-auth_key-200-invalid.yml +0 -0
  415. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-auth_key-200-valid.yml +0 -0
  416. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-auth_key-non200-invalid.yml +0 -0
  417. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-auth_key-non200-valid.yml +0 -0
  418. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-non200-invalid.yml +0 -0
  419. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-non200-valid.yml +0 -0
  420. data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-plain-array-of-hashes.yml +0 -0
  421. data/fixtures/vcr_cassettes/{revoke-application-level.yml → integration/revoke/revoke-application-level.yml} +0 -0
  422. data/fixtures/vcr_cassettes/{revoke-nonssl-block-invalid-200-async.yml → integration/revoke/revoke-nonssl-block-invalid-200-async.yml} +0 -0
  423. data/fixtures/vcr_cassettes/{revoke-nonssl-block-invalid-200-sync.yml → integration/revoke/revoke-nonssl-block-invalid-200-sync.yml} +0 -0
  424. data/fixtures/vcr_cassettes/{revoke-nonssl-block-invalid-non-200-async.yml → integration/revoke/revoke-nonssl-block-invalid-non-200-async.yml} +0 -0
  425. data/fixtures/vcr_cassettes/{revoke-nonssl-block-invalid-non-200-sync.yml → integration/revoke/revoke-nonssl-block-invalid-non-200-sync.yml} +0 -0
  426. data/fixtures/vcr_cassettes/{revoke-nonssl-block-valid-200-async.yml → integration/revoke/revoke-nonssl-block-valid-200-async.yml} +0 -0
  427. data/fixtures/vcr_cassettes/{revoke-nonssl-block-valid-200-sync.yml → integration/revoke/revoke-nonssl-block-valid-200-sync.yml} +0 -0
  428. data/fixtures/vcr_cassettes/{revoke-nonssl-block-valid-non-200-async.yml → integration/revoke/revoke-nonssl-block-valid-non-200-async.yml} +0 -0
  429. data/fixtures/vcr_cassettes/{revoke-nonssl-block-valid-non-200-sync.yml → integration/revoke/revoke-nonssl-block-valid-non-200-sync.yml} +0 -0
  430. data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-invalid-200-async.yml → integration/revoke/revoke-nonssl-parameter-invalid-200-async.yml} +0 -0
  431. data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-invalid-200-sync.yml → integration/revoke/revoke-nonssl-parameter-invalid-200-sync.yml} +0 -0
  432. data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-invalid-non-200-async.yml → integration/revoke/revoke-nonssl-parameter-invalid-non-200-async.yml} +0 -0
  433. data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-invalid-non-200-sync.yml → integration/revoke/revoke-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
  434. data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-valid-200-async.yml → integration/revoke/revoke-nonssl-parameter-valid-200-async.yml} +0 -0
  435. data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-valid-200-sync.yml → integration/revoke/revoke-nonssl-parameter-valid-200-sync.yml} +0 -0
  436. data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-valid-non-200-async.yml → integration/revoke/revoke-nonssl-parameter-valid-non-200-async.yml} +0 -0
  437. data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-valid-non-200-sync.yml → integration/revoke/revoke-nonssl-parameter-valid-non-200-sync.yml} +0 -0
  438. data/fixtures/vcr_cassettes/{revoke-ssl-block-invalid-200-async.yml → integration/revoke/revoke-ssl-block-invalid-200-async.yml} +0 -0
  439. data/fixtures/vcr_cassettes/{revoke-ssl-block-invalid-200-sync.yml → integration/revoke/revoke-ssl-block-invalid-200-sync.yml} +0 -0
  440. data/fixtures/vcr_cassettes/{revoke-ssl-block-invalid-non-200-async.yml → integration/revoke/revoke-ssl-block-invalid-non-200-async.yml} +0 -0
  441. data/fixtures/vcr_cassettes/{revoke-ssl-block-invalid-non-200-sync.yml → integration/revoke/revoke-ssl-block-invalid-non-200-sync.yml} +0 -0
  442. data/fixtures/vcr_cassettes/{revoke-ssl-block-valid-200-async.yml → integration/revoke/revoke-ssl-block-valid-200-async.yml} +0 -0
  443. data/fixtures/vcr_cassettes/{revoke-ssl-block-valid-200-sync.yml → integration/revoke/revoke-ssl-block-valid-200-sync.yml} +0 -0
  444. data/fixtures/vcr_cassettes/{revoke-ssl-block-valid-non-200-async.yml → integration/revoke/revoke-ssl-block-valid-non-200-async.yml} +0 -0
  445. data/fixtures/vcr_cassettes/{revoke-ssl-block-valid-non-200-sync.yml → integration/revoke/revoke-ssl-block-valid-non-200-sync.yml} +0 -0
  446. data/fixtures/vcr_cassettes/{revoke-ssl-parameter-invalid-200-async.yml → integration/revoke/revoke-ssl-parameter-invalid-200-async.yml} +0 -0
  447. data/fixtures/vcr_cassettes/{revoke-ssl-parameter-invalid-200-sync.yml → integration/revoke/revoke-ssl-parameter-invalid-200-sync.yml} +0 -0
  448. data/fixtures/vcr_cassettes/{revoke-ssl-parameter-invalid-non-200-async.yml → integration/revoke/revoke-ssl-parameter-invalid-non-200-async.yml} +0 -0
  449. data/fixtures/vcr_cassettes/{revoke-ssl-parameter-invalid-non-200-sync.yml → integration/revoke/revoke-ssl-parameter-invalid-non-200-sync.yml} +0 -0
  450. data/fixtures/vcr_cassettes/{revoke-ssl-parameter-valid-200-async.yml → integration/revoke/revoke-ssl-parameter-valid-200-async.yml} +0 -0
  451. data/fixtures/vcr_cassettes/{revoke-ssl-parameter-valid-200-sync.yml → integration/revoke/revoke-ssl-parameter-valid-200-sync.yml} +0 -0
  452. data/fixtures/vcr_cassettes/{revoke-ssl-parameter-valid-non-200-async.yml → integration/revoke/revoke-ssl-parameter-valid-non-200-async.yml} +0 -0
  453. data/fixtures/vcr_cassettes/{revoke-ssl-parameter-valid-non-200-sync.yml → integration/revoke/revoke-ssl-parameter-valid-non-200-sync.yml} +0 -0
  454. data/fixtures/vcr_cassettes/integration/set_state/1.yml +47 -0
  455. data/fixtures/vcr_cassettes/integration/set_state/11.yml +84 -0
  456. data/fixtures/vcr_cassettes/integration/set_state/12.yml +121 -0
  457. data/fixtures/vcr_cassettes/integration/set_state/13.yml +128 -0
  458. data/fixtures/vcr_cassettes/integration/set_state/2.yml +91 -0
  459. data/fixtures/vcr_cassettes/integration/set_state/3.yml +84 -0
  460. data/fixtures/vcr_cassettes/{subscribe-nonssl-block-invalid-200-async.yml → integration/subscribe/subscribe-nonssl-block-invalid-200-async.yml} +0 -0
  461. data/fixtures/vcr_cassettes/{subscribe-nonssl-block-invalid-200-sync.yml → integration/subscribe/subscribe-nonssl-block-invalid-200-sync.yml} +0 -0
  462. data/fixtures/vcr_cassettes/{subscribe-nonssl-block-invalid-non-200-async.yml → integration/subscribe/subscribe-nonssl-block-invalid-non-200-async.yml} +0 -0
  463. data/fixtures/vcr_cassettes/{subscribe-nonssl-block-invalid-non-200-sync.yml → integration/subscribe/subscribe-nonssl-block-invalid-non-200-sync.yml} +0 -0
  464. data/fixtures/vcr_cassettes/{subscribe-nonssl-block-valid-200-async.yml → integration/subscribe/subscribe-nonssl-block-valid-200-async.yml} +0 -0
  465. data/fixtures/vcr_cassettes/{subscribe-nonssl-block-valid-200-sync.yml → integration/subscribe/subscribe-nonssl-block-valid-200-sync.yml} +0 -0
  466. data/fixtures/vcr_cassettes/{subscribe-nonssl-block-valid-non-200-async.yml → integration/subscribe/subscribe-nonssl-block-valid-non-200-async.yml} +0 -0
  467. data/fixtures/vcr_cassettes/{subscribe-nonssl-block-valid-non-200-sync.yml → integration/subscribe/subscribe-nonssl-block-valid-non-200-sync.yml} +0 -0
  468. data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-invalid-200-async.yml → integration/subscribe/subscribe-nonssl-parameter-invalid-200-async.yml} +0 -0
  469. data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-invalid-200-sync.yml → integration/subscribe/subscribe-nonssl-parameter-invalid-200-sync.yml} +0 -0
  470. data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-invalid-non-200-async.yml → integration/subscribe/subscribe-nonssl-parameter-invalid-non-200-async.yml} +0 -0
  471. data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-invalid-non-200-sync.yml → integration/subscribe/subscribe-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
  472. data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-valid-200-async.yml → integration/subscribe/subscribe-nonssl-parameter-valid-200-async.yml} +0 -0
  473. data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-valid-200-sync.yml → integration/subscribe/subscribe-nonssl-parameter-valid-200-sync.yml} +0 -0
  474. data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-valid-non-200-async.yml → integration/subscribe/subscribe-nonssl-parameter-valid-non-200-async.yml} +0 -0
  475. data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-valid-non-200-sync.yml → integration/subscribe/subscribe-nonssl-parameter-valid-non-200-sync.yml} +0 -0
  476. data/fixtures/vcr_cassettes/{subscribe-ssl-block-invalid-200-async.yml → integration/subscribe/subscribe-ssl-block-invalid-200-async.yml} +0 -0
  477. data/fixtures/vcr_cassettes/{subscribe-ssl-block-invalid-200-sync.yml → integration/subscribe/subscribe-ssl-block-invalid-200-sync.yml} +0 -0
  478. data/fixtures/vcr_cassettes/{subscribe-ssl-block-invalid-non-200-async.yml → integration/subscribe/subscribe-ssl-block-invalid-non-200-async.yml} +0 -0
  479. data/fixtures/vcr_cassettes/{subscribe-ssl-block-invalid-non-200-sync.yml → integration/subscribe/subscribe-ssl-block-invalid-non-200-sync.yml} +0 -0
  480. data/fixtures/vcr_cassettes/{subscribe-ssl-block-valid-200-async.yml → integration/subscribe/subscribe-ssl-block-valid-200-async.yml} +0 -0
  481. data/fixtures/vcr_cassettes/{subscribe-ssl-block-valid-200-sync.yml → integration/subscribe/subscribe-ssl-block-valid-200-sync.yml} +0 -0
  482. data/fixtures/vcr_cassettes/{subscribe-ssl-block-valid-non-200-async.yml → integration/subscribe/subscribe-ssl-block-valid-non-200-async.yml} +0 -0
  483. data/fixtures/vcr_cassettes/{subscribe-ssl-block-valid-non-200-sync.yml → integration/subscribe/subscribe-ssl-block-valid-non-200-sync.yml} +0 -0
  484. data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-invalid-200-async.yml → integration/subscribe/subscribe-ssl-parameter-invalid-200-async.yml} +0 -0
  485. data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-invalid-200-sync.yml → integration/subscribe/subscribe-ssl-parameter-invalid-200-sync.yml} +0 -0
  486. data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-invalid-non-200-async.yml → integration/subscribe/subscribe-ssl-parameter-invalid-non-200-async.yml} +0 -0
  487. data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-invalid-non-200-sync.yml → integration/subscribe/subscribe-ssl-parameter-invalid-non-200-sync.yml} +0 -0
  488. data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-valid-200-async.yml → integration/subscribe/subscribe-ssl-parameter-valid-200-async.yml} +0 -0
  489. data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-valid-200-sync.yml → integration/subscribe/subscribe-ssl-parameter-valid-200-sync.yml} +0 -0
  490. data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-valid-non-200-async.yml → integration/subscribe/subscribe-ssl-parameter-valid-non-200-async.yml} +0 -0
  491. data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-valid-non-200-sync.yml → integration/subscribe/subscribe-ssl-parameter-valid-non-200-sync.yml} +0 -0
  492. data/fixtures/vcr_cassettes/{subscription-event-invalid-json.yml → integration/subscribe/subscription-event-invalid-json.yml} +0 -0
  493. data/fixtures/vcr_cassettes/{subscription-event-non200.yml → integration/subscribe/subscription-event-non200.yml} +0 -0
  494. data/fixtures/vcr_cassettes/{time-nonssl-block-invalid-200-async.yml → integration/time/time-nonssl-block-invalid-200-async.yml} +0 -0
  495. data/fixtures/vcr_cassettes/{time-nonssl-block-invalid-200-sync.yml → integration/time/time-nonssl-block-invalid-200-sync.yml} +0 -0
  496. data/fixtures/vcr_cassettes/{time-nonssl-block-invalid-non-200-async.yml → integration/time/time-nonssl-block-invalid-non-200-async.yml} +0 -0
  497. data/fixtures/vcr_cassettes/{time-nonssl-block-invalid-non-200-sync.yml → integration/time/time-nonssl-block-invalid-non-200-sync.yml} +0 -0
  498. data/fixtures/vcr_cassettes/{time-nonssl-block-valid-200-async.yml → integration/time/time-nonssl-block-valid-200-async.yml} +0 -0
  499. data/fixtures/vcr_cassettes/{time-nonssl-block-valid-200-sync.yml → integration/time/time-nonssl-block-valid-200-sync.yml} +0 -0
  500. data/fixtures/vcr_cassettes/{time-nonssl-block-valid-non-200-async.yml → integration/time/time-nonssl-block-valid-non-200-async.yml} +0 -0
  501. data/fixtures/vcr_cassettes/{time-nonssl-block-valid-non-200-sync.yml → integration/time/time-nonssl-block-valid-non-200-sync.yml} +0 -0
  502. data/fixtures/vcr_cassettes/{time-nonssl-parameter-invalid-200-async.yml → integration/time/time-nonssl-parameter-invalid-200-async.yml} +0 -0
  503. data/fixtures/vcr_cassettes/{time-nonssl-parameter-invalid-200-sync.yml → integration/time/time-nonssl-parameter-invalid-200-sync.yml} +0 -0
  504. data/fixtures/vcr_cassettes/{time-nonssl-parameter-invalid-non-200-async.yml → integration/time/time-nonssl-parameter-invalid-non-200-async.yml} +0 -0
  505. data/fixtures/vcr_cassettes/{time-nonssl-parameter-invalid-non-200-sync.yml → integration/time/time-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
  506. data/fixtures/vcr_cassettes/{time-nonssl-parameter-valid-200-async.yml → integration/time/time-nonssl-parameter-valid-200-async.yml} +0 -0
  507. data/fixtures/vcr_cassettes/{time-nonssl-parameter-valid-200-sync.yml → integration/time/time-nonssl-parameter-valid-200-sync.yml} +0 -0
  508. data/fixtures/vcr_cassettes/{time-nonssl-parameter-valid-non-200-async.yml → integration/time/time-nonssl-parameter-valid-non-200-async.yml} +0 -0
  509. data/fixtures/vcr_cassettes/{time-nonssl-parameter-valid-non-200-sync.yml → integration/time/time-nonssl-parameter-valid-non-200-sync.yml} +0 -0
  510. data/fixtures/vcr_cassettes/{time-ssl-block-invalid-200-async.yml → integration/time/time-ssl-block-invalid-200-async.yml} +0 -0
  511. data/fixtures/vcr_cassettes/{time-ssl-block-invalid-200-sync.yml → integration/time/time-ssl-block-invalid-200-sync.yml} +0 -0
  512. data/fixtures/vcr_cassettes/{time-ssl-block-invalid-non-200-async.yml → integration/time/time-ssl-block-invalid-non-200-async.yml} +0 -0
  513. data/fixtures/vcr_cassettes/{time-ssl-block-invalid-non-200-sync.yml → integration/time/time-ssl-block-invalid-non-200-sync.yml} +0 -0
  514. data/fixtures/vcr_cassettes/{time-ssl-block-valid-200-async.yml → integration/time/time-ssl-block-valid-200-async.yml} +0 -0
  515. data/fixtures/vcr_cassettes/{time-ssl-block-valid-200-sync.yml → integration/time/time-ssl-block-valid-200-sync.yml} +0 -0
  516. data/fixtures/vcr_cassettes/{time-ssl-block-valid-non-200-async.yml → integration/time/time-ssl-block-valid-non-200-async.yml} +0 -0
  517. data/fixtures/vcr_cassettes/{time-ssl-block-valid-non-200-sync.yml → integration/time/time-ssl-block-valid-non-200-sync.yml} +0 -0
  518. data/fixtures/vcr_cassettes/{time-ssl-parameter-invalid-200-async.yml → integration/time/time-ssl-parameter-invalid-200-async.yml} +0 -0
  519. data/fixtures/vcr_cassettes/{time-ssl-parameter-invalid-200-sync.yml → integration/time/time-ssl-parameter-invalid-200-sync.yml} +0 -0
  520. data/fixtures/vcr_cassettes/{time-ssl-parameter-invalid-non-200-async.yml → integration/time/time-ssl-parameter-invalid-non-200-async.yml} +0 -0
  521. data/fixtures/vcr_cassettes/{time-ssl-parameter-invalid-non-200-sync.yml → integration/time/time-ssl-parameter-invalid-non-200-sync.yml} +0 -0
  522. data/fixtures/vcr_cassettes/{time-ssl-parameter-valid-200-async.yml → integration/time/time-ssl-parameter-valid-200-async.yml} +0 -0
  523. data/fixtures/vcr_cassettes/{time-ssl-parameter-valid-200-sync.yml → integration/time/time-ssl-parameter-valid-200-sync.yml} +0 -0
  524. data/fixtures/vcr_cassettes/{time-ssl-parameter-valid-non-200-async.yml → integration/time/time-ssl-parameter-valid-non-200-async.yml} +0 -0
  525. data/fixtures/vcr_cassettes/{time-ssl-parameter-valid-non-200-sync.yml → integration/time/time-ssl-parameter-valid-non-200-sync.yml} +0 -0
  526. data/fixtures/vcr_cassettes/{where_now-ssl-block-invalid-200-async.yml → integration/where_now/where_now-ssl-block-invalid-200-async.yml} +0 -0
  527. data/fixtures/vcr_cassettes/{where_now-ssl-block-invalid-200-sync.yml → integration/where_now/where_now-ssl-block-invalid-200-sync.yml} +0 -0
  528. data/fixtures/vcr_cassettes/{where_now-ssl-block-invalid-non-200-async.yml → integration/where_now/where_now-ssl-block-invalid-non-200-async.yml} +0 -0
  529. data/fixtures/vcr_cassettes/{where_now-ssl-block-invalid-non-200-sync.yml → integration/where_now/where_now-ssl-block-invalid-non-200-sync.yml} +0 -0
  530. data/fixtures/vcr_cassettes/{where_now-ssl-block-valid-200-async.yml → integration/where_now/where_now-ssl-block-valid-200-async.yml} +0 -0
  531. data/fixtures/vcr_cassettes/{where_now-ssl-block-valid-200-sync.yml → integration/where_now/where_now-ssl-block-valid-200-sync.yml} +0 -0
  532. data/fixtures/vcr_cassettes/{where_now-ssl-block-valid-non-200-async.yml → integration/where_now/where_now-ssl-block-valid-non-200-async.yml} +0 -0
  533. data/fixtures/vcr_cassettes/{where_now-ssl-block-valid-non-200-sync.yml → integration/where_now/where_now-ssl-block-valid-non-200-sync.yml} +0 -0
  534. data/fixtures/vcr_cassettes/{where_now-ssl-parameter-invalid-200-async.yml → integration/where_now/where_now-ssl-parameter-invalid-200-async.yml} +0 -0
  535. data/fixtures/vcr_cassettes/{where_now-ssl-parameter-invalid-200-sync.yml → integration/where_now/where_now-ssl-parameter-invalid-200-sync.yml} +0 -0
  536. data/fixtures/vcr_cassettes/{where_now-ssl-parameter-invalid-non-200-async.yml → integration/where_now/where_now-ssl-parameter-invalid-non-200-async.yml} +0 -0
  537. data/fixtures/vcr_cassettes/{where_now-ssl-parameter-invalid-non-200-sync.yml → integration/where_now/where_now-ssl-parameter-invalid-non-200-sync.yml} +0 -0
  538. data/fixtures/vcr_cassettes/{where_now-ssl-parameter-valid-200-async.yml → integration/where_now/where_now-ssl-parameter-valid-200-async.yml} +0 -0
  539. data/fixtures/vcr_cassettes/{where_now-ssl-parameter-valid-200-sync.yml → integration/where_now/where_now-ssl-parameter-valid-200-sync.yml} +0 -0
  540. data/fixtures/vcr_cassettes/{where_now-ssl-parameter-valid-non-200-async.yml → integration/where_now/where_now-ssl-parameter-valid-non-200-async.yml} +0 -0
  541. data/fixtures/vcr_cassettes/{where_now-ssl-parameter-valid-non-200-sync.yml → integration/where_now/where_now-ssl-parameter-valid-non-200-sync.yml} +0 -0
  542. data/fixtures/vcr_cassettes/new_ones/multiplexed_subscribe.yml +8 -822
  543. data/fixtures/vcr_cassettes/publish/auth_key-no-secret_key.yml +44 -0
  544. data/fixtures/vcr_cassettes/publish/auth_key.yml +44 -0
  545. data/fixtures/vcr_cassettes/publish/basic-ssl.yml +44 -0
  546. data/fixtures/vcr_cassettes/publish/basic.yml +44 -0
  547. data/fixtures/vcr_cassettes/publish/cipher_key.yml +44 -0
  548. data/fixtures/vcr_cassettes/test_examples/1000000.yml +46 -0
  549. data/fixtures/vcr_cassettes/test_examples/1000001.yml +46 -0
  550. data/fixtures/vcr_cassettes/test_examples/1000002.yml +46 -0
  551. data/fixtures/vcr_cassettes/test_examples/1000003.yml +46 -0
  552. data/fixtures/vcr_cassettes/test_examples/1000004.yml +46 -0
  553. data/fixtures/vcr_cassettes/test_examples/1000005.yml +46 -0
  554. data/fixtures/vcr_cassettes/test_examples/1000006.yml +46 -0
  555. data/fixtures/vcr_cassettes/test_examples/1000007.yml +46 -0
  556. data/fixtures/vcr_cassettes/test_examples/1000008.yml +46 -0
  557. data/fixtures/vcr_cassettes/test_examples/1000009.yml +46 -0
  558. data/fixtures/vcr_cassettes/test_examples/1000010.yml +46 -0
  559. data/fixtures/vcr_cassettes/test_examples/1000011.yml +46 -0
  560. data/fixtures/vcr_cassettes/test_examples/1000012.yml +46 -0
  561. data/fixtures/vcr_cassettes/test_examples/1000013.yml +46 -0
  562. data/fixtures/vcr_cassettes/test_examples/1000014.yml +46 -0
  563. data/fixtures/vcr_cassettes/test_examples/1000015.yml +46 -0
  564. data/fixtures/vcr_cassettes/test_examples/1000016.yml +46 -0
  565. data/fixtures/vcr_cassettes/test_examples/1000017.yml +46 -0
  566. data/fixtures/vcr_cassettes/test_examples/1000018.yml +46 -0
  567. data/fixtures/vcr_cassettes/test_examples/1000019.yml +46 -0
  568. data/fixtures/vcr_cassettes/test_examples/1000020.yml +46 -0
  569. data/fixtures/vcr_cassettes/test_examples/1000021.yml +46 -0
  570. data/fixtures/vcr_cassettes/test_examples/1000022.yml +46 -0
  571. data/fixtures/vcr_cassettes/test_examples/1000023.yml +46 -0
  572. data/fixtures/vcr_cassettes/test_examples/1000024.yml +51 -0
  573. data/fixtures/vcr_cassettes/test_examples/1000025.yml +51 -0
  574. data/fixtures/vcr_cassettes/test_examples/1000026.yml +51 -0
  575. data/fixtures/vcr_cassettes/test_examples/1000027.yml +51 -0
  576. data/fixtures/vcr_cassettes/test_examples/1000028.yml +51 -0
  577. data/fixtures/vcr_cassettes/test_examples/1000029.yml +51 -0
  578. data/fixtures/vcr_cassettes/test_examples/1000030.yml +51 -0
  579. data/fixtures/vcr_cassettes/test_examples/1000031.yml +51 -0
  580. data/fixtures/vcr_cassettes/test_examples/1000032.yml +51 -0
  581. data/fixtures/vcr_cassettes/test_examples/1000033.yml +51 -0
  582. data/fixtures/vcr_cassettes/test_examples/1000034.yml +51 -0
  583. data/fixtures/vcr_cassettes/test_examples/1000035.yml +51 -0
  584. data/fixtures/vcr_cassettes/test_examples/1000036.yml +51 -0
  585. data/fixtures/vcr_cassettes/test_examples/1000037.yml +51 -0
  586. data/fixtures/vcr_cassettes/test_examples/1000038.yml +51 -0
  587. data/fixtures/vcr_cassettes/test_examples/1000039.yml +51 -0
  588. data/fixtures/vcr_cassettes/test_examples/1000040.yml +51 -0
  589. data/fixtures/vcr_cassettes/test_examples/1000041.yml +51 -0
  590. data/fixtures/vcr_cassettes/test_examples/1000042.yml +51 -0
  591. data/fixtures/vcr_cassettes/test_examples/1000043.yml +51 -0
  592. data/fixtures/vcr_cassettes/test_examples/1000044.yml +51 -0
  593. data/fixtures/vcr_cassettes/test_examples/1000045.yml +51 -0
  594. data/fixtures/vcr_cassettes/test_examples/1000046.yml +51 -0
  595. data/fixtures/vcr_cassettes/test_examples/1000047.yml +51 -0
  596. data/fixtures/vcr_cassettes/test_examples/1000048.yml +51 -0
  597. data/fixtures/vcr_cassettes/test_examples/1000049.yml +51 -0
  598. data/fixtures/vcr_cassettes/test_examples/1000050.yml +51 -0
  599. data/fixtures/vcr_cassettes/test_examples/1000051.yml +51 -0
  600. data/fixtures/vcr_cassettes/test_examples/1000052.yml +51 -0
  601. data/fixtures/vcr_cassettes/test_examples/1000053.yml +51 -0
  602. data/fixtures/vcr_cassettes/test_examples/1000054.yml +51 -0
  603. data/fixtures/vcr_cassettes/test_examples/1000055.yml +51 -0
  604. data/fixtures/vcr_cassettes/test_examples/1000056.yml +51 -0
  605. data/fixtures/vcr_cassettes/test_examples/1000057.yml +51 -0
  606. data/fixtures/vcr_cassettes/test_examples/1000058.yml +51 -0
  607. data/fixtures/vcr_cassettes/test_examples/1000059.yml +51 -0
  608. data/fixtures/vcr_cassettes/test_examples/1000060.yml +51 -0
  609. data/fixtures/vcr_cassettes/test_examples/1000061.yml +51 -0
  610. data/fixtures/vcr_cassettes/test_examples/1000062.yml +51 -0
  611. data/fixtures/vcr_cassettes/test_examples/1000063.yml +51 -0
  612. data/fixtures/vcr_cassettes/test_examples/1000064.yml +51 -0
  613. data/fixtures/vcr_cassettes/test_examples/1000065.yml +51 -0
  614. data/fixtures/vcr_cassettes/test_examples/1000066.yml +51 -0
  615. data/fixtures/vcr_cassettes/test_examples/1000067.yml +51 -0
  616. data/fixtures/vcr_cassettes/test_examples/1000068.yml +51 -0
  617. data/fixtures/vcr_cassettes/test_examples/1000069.yml +51 -0
  618. data/fixtures/vcr_cassettes/test_examples/1000070.yml +51 -0
  619. data/fixtures/vcr_cassettes/test_examples/1000071.yml +51 -0
  620. data/fixtures/vcr_cassettes/test_examples/1000072.yml +51 -0
  621. data/fixtures/vcr_cassettes/test_examples/1000073.yml +51 -0
  622. data/fixtures/vcr_cassettes/test_examples/1000074.yml +51 -0
  623. data/fixtures/vcr_cassettes/test_examples/1000075.yml +51 -0
  624. data/fixtures/vcr_cassettes/test_examples/1000076.yml +51 -0
  625. data/fixtures/vcr_cassettes/test_examples/1000077.yml +51 -0
  626. data/fixtures/vcr_cassettes/test_examples/1000078.yml +51 -0
  627. data/fixtures/vcr_cassettes/test_examples/1000079.yml +51 -0
  628. data/fixtures/vcr_cassettes/test_examples/1000080.yml +51 -0
  629. data/fixtures/vcr_cassettes/test_examples/1000081.yml +51 -0
  630. data/fixtures/vcr_cassettes/test_examples/1000082.yml +51 -0
  631. data/fixtures/vcr_cassettes/test_examples/1000083.yml +51 -0
  632. data/fixtures/vcr_cassettes/test_examples/1000084.yml +51 -0
  633. data/fixtures/vcr_cassettes/test_examples/1000085.yml +51 -0
  634. data/fixtures/vcr_cassettes/test_examples/1000086.yml +51 -0
  635. data/fixtures/vcr_cassettes/test_examples/1000087.yml +51 -0
  636. data/fixtures/vcr_cassettes/test_examples/1000088.yml +51 -0
  637. data/fixtures/vcr_cassettes/test_examples/1000089.yml +51 -0
  638. data/fixtures/vcr_cassettes/test_examples/1000090.yml +51 -0
  639. data/fixtures/vcr_cassettes/test_examples/1000091.yml +51 -0
  640. data/fixtures/vcr_cassettes/test_examples/1000092.yml +51 -0
  641. data/fixtures/vcr_cassettes/test_examples/1000093.yml +51 -0
  642. data/fixtures/vcr_cassettes/test_examples/1000094.yml +51 -0
  643. data/fixtures/vcr_cassettes/test_examples/1000095.yml +51 -0
  644. data/fixtures/vcr_cassettes/test_examples/1000096.yml +51 -0
  645. data/fixtures/vcr_cassettes/test_examples/1000097.yml +51 -0
  646. data/fixtures/vcr_cassettes/test_examples/1000098.yml +51 -0
  647. data/fixtures/vcr_cassettes/test_examples/1000099.yml +51 -0
  648. data/fixtures/vcr_cassettes/test_examples/1000100.yml +51 -0
  649. data/fixtures/vcr_cassettes/test_examples/1000101.yml +51 -0
  650. data/fixtures/vcr_cassettes/test_examples/1000102.yml +51 -0
  651. data/fixtures/vcr_cassettes/test_examples/1000103.yml +51 -0
  652. data/fixtures/vcr_cassettes/test_examples/1000104.yml +51 -0
  653. data/fixtures/vcr_cassettes/test_examples/1000105.yml +51 -0
  654. data/fixtures/vcr_cassettes/test_examples/1000106.yml +51 -0
  655. data/fixtures/vcr_cassettes/test_examples/1000107.yml +51 -0
  656. data/fixtures/vcr_cassettes/test_examples/1000108.yml +51 -0
  657. data/fixtures/vcr_cassettes/test_examples/1000109.yml +51 -0
  658. data/fixtures/vcr_cassettes/test_examples/1000110.yml +51 -0
  659. data/fixtures/vcr_cassettes/test_examples/1000111.yml +51 -0
  660. data/fixtures/vcr_cassettes/test_examples/1000112.yml +51 -0
  661. data/fixtures/vcr_cassettes/test_examples/1000113.yml +51 -0
  662. data/fixtures/vcr_cassettes/test_examples/1000114.yml +51 -0
  663. data/fixtures/vcr_cassettes/test_examples/1000115.yml +51 -0
  664. data/fixtures/vcr_cassettes/test_examples/1000116.yml +51 -0
  665. data/fixtures/vcr_cassettes/test_examples/1000117.yml +51 -0
  666. data/fixtures/vcr_cassettes/test_examples/1000118.yml +51 -0
  667. data/fixtures/vcr_cassettes/test_examples/1000119.yml +51 -0
  668. data/fixtures/vcr_cassettes/test_examples/1000120.yml +51 -0
  669. data/fixtures/vcr_cassettes/test_examples/1000121.yml +51 -0
  670. data/fixtures/vcr_cassettes/test_examples/1000122.yml +51 -0
  671. data/fixtures/vcr_cassettes/test_examples/1000123.yml +51 -0
  672. data/fixtures/vcr_cassettes/test_examples/1000124.yml +51 -0
  673. data/fixtures/vcr_cassettes/test_examples/1000125.yml +51 -0
  674. data/fixtures/vcr_cassettes/test_examples/1000126.yml +51 -0
  675. data/fixtures/vcr_cassettes/test_examples/1000127.yml +51 -0
  676. data/fixtures/vcr_cassettes/test_examples/1000128.yml +51 -0
  677. data/fixtures/vcr_cassettes/test_examples/1000129.yml +51 -0
  678. data/fixtures/vcr_cassettes/test_examples/1000130.yml +51 -0
  679. data/fixtures/vcr_cassettes/test_examples/1000131.yml +51 -0
  680. data/fixtures/vcr_cassettes/test_examples/1000132.yml +51 -0
  681. data/fixtures/vcr_cassettes/test_examples/1000133.yml +51 -0
  682. data/fixtures/vcr_cassettes/test_examples/1000134.yml +51 -0
  683. data/fixtures/vcr_cassettes/test_examples/1000135.yml +51 -0
  684. data/fixtures/vcr_cassettes/test_examples/1000136.yml +46 -0
  685. data/fixtures/vcr_cassettes/test_examples/1000137.yml +46 -0
  686. data/fixtures/vcr_cassettes/test_examples/1000138.yml +46 -0
  687. data/fixtures/vcr_cassettes/test_examples/1000139.yml +46 -0
  688. data/fixtures/vcr_cassettes/test_examples/1000140.yml +46 -0
  689. data/fixtures/vcr_cassettes/test_examples/1000141.yml +46 -0
  690. data/fixtures/vcr_cassettes/test_examples/1000142.yml +46 -0
  691. data/fixtures/vcr_cassettes/test_examples/1000143.yml +46 -0
  692. data/fixtures/vcr_cassettes/test_examples/1000144.yml +46 -0
  693. data/fixtures/vcr_cassettes/test_examples/1000145.yml +46 -0
  694. data/fixtures/vcr_cassettes/test_examples/1000146.yml +46 -0
  695. data/fixtures/vcr_cassettes/test_examples/1000147.yml +46 -0
  696. data/fixtures/vcr_cassettes/test_examples/1000148.yml +46 -0
  697. data/fixtures/vcr_cassettes/test_examples/1000149.yml +46 -0
  698. data/fixtures/vcr_cassettes/test_examples/1000150.yml +46 -0
  699. data/fixtures/vcr_cassettes/test_examples/1000151.yml +46 -0
  700. data/fixtures/vcr_cassettes/test_examples/1000152.yml +46 -0
  701. data/fixtures/vcr_cassettes/test_examples/1000153.yml +46 -0
  702. data/fixtures/vcr_cassettes/test_examples/1000154.yml +46 -0
  703. data/fixtures/vcr_cassettes/test_examples/1000155.yml +46 -0
  704. data/fixtures/vcr_cassettes/test_examples/1000156.yml +46 -0
  705. data/fixtures/vcr_cassettes/test_examples/1000157.yml +46 -0
  706. data/fixtures/vcr_cassettes/test_examples/1000158.yml +46 -0
  707. data/fixtures/vcr_cassettes/test_examples/1000159.yml +46 -0
  708. data/fixtures/vcr_cassettes/test_examples/1000160.yml +46 -0
  709. data/fixtures/vcr_cassettes/test_examples/1000161.yml +46 -0
  710. data/fixtures/vcr_cassettes/test_examples/1000162.yml +46 -0
  711. data/fixtures/vcr_cassettes/test_examples/1000163.yml +46 -0
  712. data/fixtures/vcr_cassettes/test_examples/1000164.yml +46 -0
  713. data/fixtures/vcr_cassettes/test_examples/1000165.yml +46 -0
  714. data/fixtures/vcr_cassettes/test_examples/1000166.yml +46 -0
  715. data/fixtures/vcr_cassettes/test_examples/1000167.yml +46 -0
  716. data/fixtures/vcr_cassettes/test_examples/1000168.yml +46 -0
  717. data/fixtures/vcr_cassettes/test_examples/1000169.yml +46 -0
  718. data/fixtures/vcr_cassettes/test_examples/1000170.yml +46 -0
  719. data/fixtures/vcr_cassettes/test_examples/1000171.yml +46 -0
  720. data/fixtures/vcr_cassettes/test_examples/1000172.yml +46 -0
  721. data/fixtures/vcr_cassettes/test_examples/1000173.yml +46 -0
  722. data/fixtures/vcr_cassettes/test_examples/1000174.yml +46 -0
  723. data/fixtures/vcr_cassettes/test_examples/1000175.yml +46 -0
  724. data/fixtures/vcr_cassettes/test_examples/1000176.yml +46 -0
  725. data/fixtures/vcr_cassettes/test_examples/1000177.yml +46 -0
  726. data/fixtures/vcr_cassettes/test_examples/1000178.yml +46 -0
  727. data/fixtures/vcr_cassettes/test_examples/1000179.yml +46 -0
  728. data/fixtures/vcr_cassettes/test_examples/1000180.yml +46 -0
  729. data/fixtures/vcr_cassettes/test_examples/1000181.yml +46 -0
  730. data/fixtures/vcr_cassettes/test_examples/1000182.yml +46 -0
  731. data/fixtures/vcr_cassettes/test_examples/1000183.yml +46 -0
  732. data/fixtures/vcr_cassettes/test_examples/1000184.yml +46 -0
  733. data/fixtures/vcr_cassettes/test_examples/1000185.yml +46 -0
  734. data/fixtures/vcr_cassettes/test_examples/1000186.yml +46 -0
  735. data/fixtures/vcr_cassettes/test_examples/1000187.yml +46 -0
  736. data/fixtures/vcr_cassettes/test_examples/1000188.yml +46 -0
  737. data/fixtures/vcr_cassettes/test_examples/1000189.yml +46 -0
  738. data/fixtures/vcr_cassettes/test_examples/1000190.yml +46 -0
  739. data/fixtures/vcr_cassettes/test_examples/1000191.yml +46 -0
  740. data/fixtures/vcr_cassettes/test_examples/1000192.yml +46 -0
  741. data/fixtures/vcr_cassettes/test_examples/1000193.yml +46 -0
  742. data/fixtures/vcr_cassettes/test_examples/1000194.yml +46 -0
  743. data/fixtures/vcr_cassettes/test_examples/1000195.yml +46 -0
  744. data/fixtures/vcr_cassettes/test_examples/1000196.yml +46 -0
  745. data/fixtures/vcr_cassettes/test_examples/1000197.yml +46 -0
  746. data/fixtures/vcr_cassettes/test_examples/1000198.yml +46 -0
  747. data/fixtures/vcr_cassettes/test_examples/1000199.yml +46 -0
  748. data/fixtures/vcr_cassettes/test_examples/1000200.yml +46 -0
  749. data/fixtures/vcr_cassettes/test_examples/1000201.yml +46 -0
  750. data/fixtures/vcr_cassettes/test_examples/1000202.yml +46 -0
  751. data/fixtures/vcr_cassettes/test_examples/1000203.yml +46 -0
  752. data/fixtures/vcr_cassettes/test_examples/1000204.yml +46 -0
  753. data/fixtures/vcr_cassettes/test_examples/1000205.yml +46 -0
  754. data/fixtures/vcr_cassettes/test_examples/1000206.yml +46 -0
  755. data/fixtures/vcr_cassettes/test_examples/1000207.yml +46 -0
  756. data/fixtures/vcr_cassettes/test_examples/1000208.yml +46 -0
  757. data/fixtures/vcr_cassettes/test_examples/1000209.yml +46 -0
  758. data/fixtures/vcr_cassettes/test_examples/1000210.yml +46 -0
  759. data/fixtures/vcr_cassettes/test_examples/1000211.yml +46 -0
  760. data/fixtures/vcr_cassettes/test_examples/1000212.yml +46 -0
  761. data/fixtures/vcr_cassettes/test_examples/1000213.yml +46 -0
  762. data/fixtures/vcr_cassettes/test_examples/1000214.yml +46 -0
  763. data/fixtures/vcr_cassettes/test_examples/1000215.yml +46 -0
  764. data/fixtures/vcr_cassettes/test_examples/1000216.yml +46 -0
  765. data/fixtures/vcr_cassettes/test_examples/1000217.yml +46 -0
  766. data/fixtures/vcr_cassettes/test_examples/1000218.yml +46 -0
  767. data/fixtures/vcr_cassettes/test_examples/1000219.yml +46 -0
  768. data/fixtures/vcr_cassettes/test_examples/1000220.yml +46 -0
  769. data/fixtures/vcr_cassettes/test_examples/1000221.yml +46 -0
  770. data/fixtures/vcr_cassettes/test_examples/1000222.yml +46 -0
  771. data/fixtures/vcr_cassettes/test_examples/1000223.yml +46 -0
  772. data/fixtures/vcr_cassettes/test_examples/1000224.yml +46 -0
  773. data/fixtures/vcr_cassettes/test_examples/1000225.yml +46 -0
  774. data/fixtures/vcr_cassettes/test_examples/1000226.yml +46 -0
  775. data/fixtures/vcr_cassettes/test_examples/1000227.yml +46 -0
  776. data/fixtures/vcr_cassettes/test_examples/1000228.yml +46 -0
  777. data/fixtures/vcr_cassettes/test_examples/1000229.yml +46 -0
  778. data/fixtures/vcr_cassettes/test_examples/1000230.yml +46 -0
  779. data/fixtures/vcr_cassettes/test_examples/1000231.yml +46 -0
  780. data/fixtures/vcr_cassettes/test_examples/1000232.yml +46 -0
  781. data/fixtures/vcr_cassettes/test_examples/1000233.yml +46 -0
  782. data/fixtures/vcr_cassettes/test_examples/1000234.yml +46 -0
  783. data/fixtures/vcr_cassettes/test_examples/1000235.yml +46 -0
  784. data/fixtures/vcr_cassettes/test_examples/1000236.yml +46 -0
  785. data/fixtures/vcr_cassettes/test_examples/1000237.yml +46 -0
  786. data/fixtures/vcr_cassettes/test_examples/1000238.yml +46 -0
  787. data/fixtures/vcr_cassettes/test_examples/1000239.yml +46 -0
  788. data/fixtures/vcr_cassettes/test_examples/1000240.yml +46 -0
  789. data/fixtures/vcr_cassettes/test_examples/1000241.yml +46 -0
  790. data/fixtures/vcr_cassettes/test_examples/1000242.yml +46 -0
  791. data/fixtures/vcr_cassettes/test_examples/1000243.yml +46 -0
  792. data/fixtures/vcr_cassettes/test_examples/1000244.yml +51 -0
  793. data/fixtures/vcr_cassettes/test_examples/1000245.yml +51 -0
  794. data/fixtures/vcr_cassettes/test_examples/1000246.yml +51 -0
  795. data/fixtures/vcr_cassettes/test_examples/1000247.yml +51 -0
  796. data/fixtures/vcr_cassettes/test_examples/1000248.yml +51 -0
  797. data/fixtures/vcr_cassettes/test_examples/1000249.yml +51 -0
  798. data/fixtures/vcr_cassettes/test_examples/1000250.yml +51 -0
  799. data/fixtures/vcr_cassettes/test_examples/1000251.yml +51 -0
  800. data/fixtures/vcr_cassettes/test_examples/1000252.yml +51 -0
  801. data/fixtures/vcr_cassettes/test_examples/1000253.yml +51 -0
  802. data/fixtures/vcr_cassettes/test_examples/1000254.yml +51 -0
  803. data/fixtures/vcr_cassettes/test_examples/1000255.yml +51 -0
  804. data/fixtures/vcr_cassettes/test_examples/1000256.yml +50 -0
  805. data/fixtures/vcr_cassettes/test_examples/1000257.yml +50 -0
  806. data/fixtures/vcr_cassettes/test_examples/1000258.yml +50 -0
  807. data/fixtures/vcr_cassettes/test_examples/1000259.yml +50 -0
  808. data/fixtures/vcr_cassettes/test_examples/1000260.yml +50 -0
  809. data/fixtures/vcr_cassettes/test_examples/1000261.yml +50 -0
  810. data/fixtures/vcr_cassettes/test_examples/1000262.yml +50 -0
  811. data/fixtures/vcr_cassettes/test_examples/1000263.yml +50 -0
  812. data/fixtures/vcr_cassettes/test_examples/1000264.yml +50 -0
  813. data/fixtures/vcr_cassettes/test_examples/1000265.yml +50 -0
  814. data/fixtures/vcr_cassettes/test_examples/1000266.yml +50 -0
  815. data/fixtures/vcr_cassettes/test_examples/1000267.yml +50 -0
  816. data/fixtures/vcr_cassettes/test_examples/1000268.yml +50 -0
  817. data/fixtures/vcr_cassettes/test_examples/1000269.yml +50 -0
  818. data/fixtures/vcr_cassettes/test_examples/1000270.yml +50 -0
  819. data/fixtures/vcr_cassettes/test_examples/1000271.yml +50 -0
  820. data/fixtures/vcr_cassettes/test_examples/1000272.yml +50 -0
  821. data/fixtures/vcr_cassettes/test_examples/1000273.yml +50 -0
  822. data/fixtures/vcr_cassettes/test_examples/1000274.yml +50 -0
  823. data/fixtures/vcr_cassettes/test_examples/1000275.yml +50 -0
  824. data/fixtures/vcr_cassettes/test_examples/1000276.yml +50 -0
  825. data/fixtures/vcr_cassettes/test_examples/1000277.yml +50 -0
  826. data/fixtures/vcr_cassettes/test_examples/1000278.yml +50 -0
  827. data/fixtures/vcr_cassettes/test_examples/1000279.yml +50 -0
  828. data/fixtures/vcr_cassettes/test_examples/1000280.yml +50 -0
  829. data/fixtures/vcr_cassettes/test_examples/1000281.yml +50 -0
  830. data/fixtures/vcr_cassettes/test_examples/1000282.yml +50 -0
  831. data/fixtures/vcr_cassettes/test_examples/1000283.yml +50 -0
  832. data/fixtures/vcr_cassettes/test_examples/1000284.yml +50 -0
  833. data/fixtures/vcr_cassettes/test_examples/1000285.yml +50 -0
  834. data/fixtures/vcr_cassettes/test_examples/1000286.yml +50 -0
  835. data/fixtures/vcr_cassettes/test_examples/1000287.yml +50 -0
  836. data/fixtures/vcr_cassettes/test_examples/1000288.yml +50 -0
  837. data/fixtures/vcr_cassettes/test_examples/1000289.yml +50 -0
  838. data/fixtures/vcr_cassettes/test_examples/1000290.yml +50 -0
  839. data/fixtures/vcr_cassettes/test_examples/1000291.yml +50 -0
  840. data/fixtures/vcr_cassettes/test_examples/1000292.yml +50 -0
  841. data/fixtures/vcr_cassettes/test_examples/1000293.yml +50 -0
  842. data/fixtures/vcr_cassettes/test_examples/1000294.yml +50 -0
  843. data/fixtures/vcr_cassettes/test_examples/1000295.yml +50 -0
  844. data/fixtures/vcr_cassettes/test_examples/1000296.yml +50 -0
  845. data/fixtures/vcr_cassettes/test_examples/1000297.yml +50 -0
  846. data/fixtures/vcr_cassettes/test_examples/1000298.yml +50 -0
  847. data/fixtures/vcr_cassettes/test_examples/1000299.yml +50 -0
  848. data/fixtures/vcr_cassettes/test_examples/1000300.yml +50 -0
  849. data/fixtures/vcr_cassettes/test_examples/1000301.yml +50 -0
  850. data/fixtures/vcr_cassettes/test_examples/1000302.yml +50 -0
  851. data/fixtures/vcr_cassettes/test_examples/1000303.yml +50 -0
  852. data/fixtures/vcr_cassettes/test_examples/1000304.yml +50 -0
  853. data/fixtures/vcr_cassettes/test_examples/1000305.yml +50 -0
  854. data/fixtures/vcr_cassettes/test_examples/1000306.yml +50 -0
  855. data/fixtures/vcr_cassettes/test_examples/1000307.yml +50 -0
  856. data/fixtures/vcr_cassettes/test_examples/1000308.yml +50 -0
  857. data/fixtures/vcr_cassettes/test_examples/1000309.yml +50 -0
  858. data/fixtures/vcr_cassettes/test_examples/1000310.yml +50 -0
  859. data/fixtures/vcr_cassettes/test_examples/1000311.yml +50 -0
  860. data/fixtures/vcr_cassettes/test_examples/1000312.yml +50 -0
  861. data/fixtures/vcr_cassettes/test_examples/1000313.yml +50 -0
  862. data/fixtures/vcr_cassettes/test_examples/1000314.yml +50 -0
  863. data/fixtures/vcr_cassettes/test_examples/1000315.yml +50 -0
  864. data/fixtures/vcr_cassettes/test_examples/1000316.yml +50 -0
  865. data/fixtures/vcr_cassettes/test_examples/1000317.yml +50 -0
  866. data/fixtures/vcr_cassettes/test_examples/1000318.yml +50 -0
  867. data/fixtures/vcr_cassettes/test_examples/1000319.yml +50 -0
  868. data/fixtures/vcr_cassettes/test_examples/1000320.yml +50 -0
  869. data/fixtures/vcr_cassettes/test_examples/1000321.yml +50 -0
  870. data/fixtures/vcr_cassettes/test_examples/1000322.yml +50 -0
  871. data/fixtures/vcr_cassettes/test_examples/1000323.yml +50 -0
  872. data/fixtures/vcr_cassettes/test_examples/1000324.yml +50 -0
  873. data/fixtures/vcr_cassettes/test_examples/1000325.yml +50 -0
  874. data/fixtures/vcr_cassettes/test_examples/1000326.yml +50 -0
  875. data/fixtures/vcr_cassettes/test_examples/1000327.yml +50 -0
  876. data/fixtures/vcr_cassettes/test_examples/1000328.yml +50 -0
  877. data/fixtures/vcr_cassettes/test_examples/1000329.yml +50 -0
  878. data/fixtures/vcr_cassettes/test_examples/1000330.yml +50 -0
  879. data/fixtures/vcr_cassettes/test_examples/1000331.yml +50 -0
  880. data/fixtures/vcr_cassettes/test_examples/1000332.yml +50 -0
  881. data/fixtures/vcr_cassettes/test_examples/1000333.yml +50 -0
  882. data/fixtures/vcr_cassettes/test_examples/1000334.yml +50 -0
  883. data/fixtures/vcr_cassettes/test_examples/1000335.yml +50 -0
  884. data/fixtures/vcr_cassettes/test_examples/1000336.yml +50 -0
  885. data/fixtures/vcr_cassettes/test_examples/1000337.yml +50 -0
  886. data/fixtures/vcr_cassettes/test_examples/1000338.yml +50 -0
  887. data/fixtures/vcr_cassettes/test_examples/1000339.yml +50 -0
  888. data/fixtures/vcr_cassettes/test_examples/1000340.yml +50 -0
  889. data/fixtures/vcr_cassettes/test_examples/1000341.yml +50 -0
  890. data/fixtures/vcr_cassettes/test_examples/1000342.yml +50 -0
  891. data/fixtures/vcr_cassettes/test_examples/1000343.yml +50 -0
  892. data/fixtures/vcr_cassettes/test_examples/1000344.yml +50 -0
  893. data/fixtures/vcr_cassettes/test_examples/1000345.yml +50 -0
  894. data/fixtures/vcr_cassettes/test_examples/1000346.yml +50 -0
  895. data/fixtures/vcr_cassettes/test_examples/1000347.yml +50 -0
  896. data/fixtures/vcr_cassettes/test_examples/1000348.yml +50 -0
  897. data/fixtures/vcr_cassettes/test_examples/1000349.yml +50 -0
  898. data/fixtures/vcr_cassettes/test_examples/1000350.yml +50 -0
  899. data/fixtures/vcr_cassettes/test_examples/1000351.yml +50 -0
  900. data/fixtures/vcr_cassettes/test_examples/1000352.yml +50 -0
  901. data/fixtures/vcr_cassettes/test_examples/1000353.yml +50 -0
  902. data/fixtures/vcr_cassettes/test_examples/1000354.yml +50 -0
  903. data/fixtures/vcr_cassettes/test_examples/1000355.yml +50 -0
  904. data/fixtures/vcr_cassettes/test_examples/1000356.yml +50 -0
  905. data/fixtures/vcr_cassettes/test_examples/1000357.yml +50 -0
  906. data/fixtures/vcr_cassettes/test_examples/1000358.yml +50 -0
  907. data/fixtures/vcr_cassettes/test_examples/1000359.yml +50 -0
  908. data/fixtures/vcr_cassettes/test_examples/1000360.yml +50 -0
  909. data/fixtures/vcr_cassettes/test_examples/1000361.yml +50 -0
  910. data/fixtures/vcr_cassettes/test_examples/1000362.yml +50 -0
  911. data/fixtures/vcr_cassettes/test_examples/1000363.yml +50 -0
  912. data/fixtures/vcr_cassettes/test_examples/1000364.yml +50 -0
  913. data/fixtures/vcr_cassettes/test_examples/1000365.yml +50 -0
  914. data/fixtures/vcr_cassettes/test_examples/1000366.yml +50 -0
  915. data/fixtures/vcr_cassettes/test_examples/1000367.yml +50 -0
  916. data/fixtures/vcr_cassettes/test_examples/1000368.yml +50 -0
  917. data/fixtures/vcr_cassettes/test_examples/1000369.yml +50 -0
  918. data/fixtures/vcr_cassettes/test_examples/1000370.yml +50 -0
  919. data/fixtures/vcr_cassettes/test_examples/1000371.yml +50 -0
  920. data/fixtures/vcr_cassettes/test_examples/1000372.yml +50 -0
  921. data/fixtures/vcr_cassettes/test_examples/1000373.yml +50 -0
  922. data/fixtures/vcr_cassettes/test_examples/1000374.yml +50 -0
  923. data/fixtures/vcr_cassettes/test_examples/1000375.yml +50 -0
  924. data/fixtures/vcr_cassettes/test_examples/1000376.yml +50 -0
  925. data/fixtures/vcr_cassettes/test_examples/1000377.yml +50 -0
  926. data/fixtures/vcr_cassettes/test_examples/1000378.yml +50 -0
  927. data/fixtures/vcr_cassettes/test_examples/1000379.yml +50 -0
  928. data/fixtures/vcr_cassettes/test_examples/1000380.yml +50 -0
  929. data/fixtures/vcr_cassettes/test_examples/1000381.yml +50 -0
  930. data/fixtures/vcr_cassettes/test_examples/1000382.yml +50 -0
  931. data/fixtures/vcr_cassettes/test_examples/1000383.yml +50 -0
  932. data/fixtures/vcr_cassettes/test_examples/1000384.yml +50 -0
  933. data/fixtures/vcr_cassettes/test_examples/1000385.yml +50 -0
  934. data/fixtures/vcr_cassettes/test_examples/1000386.yml +50 -0
  935. data/fixtures/vcr_cassettes/test_examples/1000387.yml +50 -0
  936. data/fixtures/vcr_cassettes/test_examples/1000388.yml +50 -0
  937. data/fixtures/vcr_cassettes/test_examples/1000389.yml +50 -0
  938. data/fixtures/vcr_cassettes/test_examples/1000390.yml +50 -0
  939. data/fixtures/vcr_cassettes/test_examples/1000391.yml +50 -0
  940. data/fixtures/vcr_cassettes/test_examples/1000392.yml +50 -0
  941. data/fixtures/vcr_cassettes/test_examples/1000393.yml +50 -0
  942. data/fixtures/vcr_cassettes/test_examples/1000394.yml +50 -0
  943. data/fixtures/vcr_cassettes/test_examples/1000395.yml +50 -0
  944. data/fixtures/vcr_cassettes/test_examples/1000396.yml +50 -0
  945. data/fixtures/vcr_cassettes/test_examples/1000397.yml +50 -0
  946. data/fixtures/vcr_cassettes/test_examples/1000398.yml +50 -0
  947. data/fixtures/vcr_cassettes/test_examples/1000399.yml +50 -0
  948. data/fixtures/vcr_cassettes/test_examples/1000400.yml +50 -0
  949. data/fixtures/vcr_cassettes/test_examples/1000401.yml +50 -0
  950. data/fixtures/vcr_cassettes/test_examples/1000402.yml +50 -0
  951. data/fixtures/vcr_cassettes/test_examples/1000403.yml +50 -0
  952. data/fixtures/vcr_cassettes/test_examples/1000404.yml +50 -0
  953. data/fixtures/vcr_cassettes/test_examples/1000405.yml +50 -0
  954. data/fixtures/vcr_cassettes/test_examples/1000406.yml +50 -0
  955. data/fixtures/vcr_cassettes/test_examples/1000407.yml +50 -0
  956. data/fixtures/vcr_cassettes/test_examples/1000408.yml +50 -0
  957. data/fixtures/vcr_cassettes/test_examples/1000409.yml +50 -0
  958. data/fixtures/vcr_cassettes/test_examples/1000410.yml +50 -0
  959. data/fixtures/vcr_cassettes/test_examples/1000411.yml +50 -0
  960. data/fixtures/vcr_cassettes/test_examples/1000412.yml +50 -0
  961. data/fixtures/vcr_cassettes/test_examples/1000413.yml +50 -0
  962. data/fixtures/vcr_cassettes/test_examples/1000414.yml +50 -0
  963. data/fixtures/vcr_cassettes/test_examples/1000415.yml +50 -0
  964. data/fixtures/vcr_cassettes/test_examples/1000416.yml +50 -0
  965. data/fixtures/vcr_cassettes/test_examples/1000417.yml +50 -0
  966. data/fixtures/vcr_cassettes/test_examples/1000418.yml +50 -0
  967. data/fixtures/vcr_cassettes/test_examples/1000419.yml +50 -0
  968. data/fixtures/vcr_cassettes/test_examples/1000420.yml +50 -0
  969. data/fixtures/vcr_cassettes/test_examples/1000421.yml +50 -0
  970. data/fixtures/vcr_cassettes/test_examples/1000422.yml +50 -0
  971. data/fixtures/vcr_cassettes/test_examples/1000423.yml +50 -0
  972. data/fixtures/vcr_cassettes/test_examples/1000424.yml +50 -0
  973. data/fixtures/vcr_cassettes/test_examples/1000425.yml +50 -0
  974. data/fixtures/vcr_cassettes/test_examples/1000426.yml +50 -0
  975. data/fixtures/vcr_cassettes/test_examples/1000427.yml +50 -0
  976. data/fixtures/vcr_cassettes/test_examples/1000428.yml +50 -0
  977. data/fixtures/vcr_cassettes/test_examples/1000429.yml +50 -0
  978. data/fixtures/vcr_cassettes/test_examples/1000430.yml +50 -0
  979. data/fixtures/vcr_cassettes/test_examples/1000431.yml +50 -0
  980. data/fixtures/vcr_cassettes/test_examples/1000432.yml +50 -0
  981. data/fixtures/vcr_cassettes/test_examples/1000433.yml +50 -0
  982. data/fixtures/vcr_cassettes/test_examples/1000434.yml +50 -0
  983. data/fixtures/vcr_cassettes/test_examples/1000435.yml +50 -0
  984. data/fixtures/vcr_cassettes/test_examples/1000436.yml +50 -0
  985. data/fixtures/vcr_cassettes/test_examples/1000437.yml +50 -0
  986. data/fixtures/vcr_cassettes/test_examples/1000438.yml +50 -0
  987. data/fixtures/vcr_cassettes/test_examples/1000439.yml +50 -0
  988. data/fixtures/vcr_cassettes/test_examples/1000440.yml +50 -0
  989. data/fixtures/vcr_cassettes/test_examples/1000441.yml +50 -0
  990. data/fixtures/vcr_cassettes/test_examples/1000442.yml +50 -0
  991. data/fixtures/vcr_cassettes/test_examples/1000443.yml +50 -0
  992. data/fixtures/vcr_cassettes/test_examples/1000444.yml +50 -0
  993. data/fixtures/vcr_cassettes/test_examples/1000445.yml +50 -0
  994. data/fixtures/vcr_cassettes/test_examples/1000446.yml +50 -0
  995. data/fixtures/vcr_cassettes/test_examples/1000447.yml +50 -0
  996. data/fixtures/vcr_cassettes/test_examples/1000448.yml +50 -0
  997. data/fixtures/vcr_cassettes/test_examples/1000449.yml +50 -0
  998. data/fixtures/vcr_cassettes/test_examples/1000450.yml +50 -0
  999. data/fixtures/vcr_cassettes/test_examples/1000451.yml +50 -0
  1000. data/fixtures/vcr_cassettes/test_examples/1000452.yml +50 -0
  1001. data/fixtures/vcr_cassettes/test_examples/1000453.yml +50 -0
  1002. data/fixtures/vcr_cassettes/test_examples/1000454.yml +50 -0
  1003. data/fixtures/vcr_cassettes/test_examples/1000455.yml +50 -0
  1004. data/fixtures/vcr_cassettes/test_examples/1000456.yml +50 -0
  1005. data/fixtures/vcr_cassettes/test_examples/1000457.yml +50 -0
  1006. data/fixtures/vcr_cassettes/test_examples/1000458.yml +50 -0
  1007. data/fixtures/vcr_cassettes/test_examples/1000459.yml +50 -0
  1008. data/fixtures/vcr_cassettes/test_examples/1000460.yml +50 -0
  1009. data/fixtures/vcr_cassettes/test_examples/1000461.yml +50 -0
  1010. data/fixtures/vcr_cassettes/test_examples/1000462.yml +50 -0
  1011. data/fixtures/vcr_cassettes/test_examples/1000463.yml +50 -0
  1012. data/fixtures/vcr_cassettes/test_examples/1000464.yml +50 -0
  1013. data/fixtures/vcr_cassettes/test_examples/1000465.yml +50 -0
  1014. data/fixtures/vcr_cassettes/test_examples/1000466.yml +50 -0
  1015. data/fixtures/vcr_cassettes/test_examples/1000467.yml +50 -0
  1016. data/fixtures/vcr_cassettes/test_examples/1000468.yml +50 -0
  1017. data/fixtures/vcr_cassettes/test_examples/1000469.yml +50 -0
  1018. data/fixtures/vcr_cassettes/test_examples/1000470.yml +50 -0
  1019. data/fixtures/vcr_cassettes/test_examples/1000471.yml +50 -0
  1020. data/fixtures/vcr_cassettes/test_examples/1000472.yml +50 -0
  1021. data/fixtures/vcr_cassettes/test_examples/1000473.yml +50 -0
  1022. data/fixtures/vcr_cassettes/test_examples/1000474.yml +50 -0
  1023. data/fixtures/vcr_cassettes/test_examples/1000475.yml +50 -0
  1024. data/fixtures/vcr_cassettes/test_examples/1000476.yml +50 -0
  1025. data/fixtures/vcr_cassettes/test_examples/1000477.yml +50 -0
  1026. data/fixtures/vcr_cassettes/test_examples/1000478.yml +50 -0
  1027. data/fixtures/vcr_cassettes/test_examples/1000479.yml +50 -0
  1028. data/fixtures/vcr_cassettes/test_examples/1000480.yml +50 -0
  1029. data/fixtures/vcr_cassettes/test_examples/1000481.yml +50 -0
  1030. data/fixtures/vcr_cassettes/test_examples/1000482.yml +50 -0
  1031. data/fixtures/vcr_cassettes/test_examples/1000483.yml +50 -0
  1032. data/fixtures/vcr_cassettes/test_examples/1000484.yml +50 -0
  1033. data/fixtures/vcr_cassettes/test_examples/1000485.yml +50 -0
  1034. data/fixtures/vcr_cassettes/test_examples/1000486.yml +50 -0
  1035. data/fixtures/vcr_cassettes/test_examples/1000487.yml +50 -0
  1036. data/fixtures/vcr_cassettes/test_examples/1000488.yml +50 -0
  1037. data/fixtures/vcr_cassettes/test_examples/1000489.yml +50 -0
  1038. data/fixtures/vcr_cassettes/test_examples/1000490.yml +50 -0
  1039. data/fixtures/vcr_cassettes/test_examples/1000491.yml +50 -0
  1040. data/fixtures/vcr_cassettes/test_examples/1000492.yml +50 -0
  1041. data/fixtures/vcr_cassettes/test_examples/1000493.yml +50 -0
  1042. data/fixtures/vcr_cassettes/test_examples/1000494.yml +50 -0
  1043. data/fixtures/vcr_cassettes/test_examples/1000495.yml +50 -0
  1044. data/fixtures/vcr_cassettes/test_examples/1000496.yml +50 -0
  1045. data/fixtures/vcr_cassettes/test_examples/1000497.yml +50 -0
  1046. data/fixtures/vcr_cassettes/test_examples/1000498.yml +50 -0
  1047. data/fixtures/vcr_cassettes/test_examples/1000499.yml +50 -0
  1048. data/fixtures/vcr_cassettes/test_examples/1000500.yml +50 -0
  1049. data/fixtures/vcr_cassettes/test_examples/1000501.yml +50 -0
  1050. data/fixtures/vcr_cassettes/test_examples/1000502.yml +50 -0
  1051. data/fixtures/vcr_cassettes/test_examples/1000503.yml +50 -0
  1052. data/fixtures/vcr_cassettes/test_examples/1000504.yml +50 -0
  1053. data/fixtures/vcr_cassettes/test_examples/1000505.yml +50 -0
  1054. data/fixtures/vcr_cassettes/test_examples/1000506.yml +50 -0
  1055. data/fixtures/vcr_cassettes/test_examples/1000507.yml +50 -0
  1056. data/fixtures/vcr_cassettes/test_examples/1000508.yml +50 -0
  1057. data/fixtures/vcr_cassettes/test_examples/1000509.yml +50 -0
  1058. data/fixtures/vcr_cassettes/test_examples/1000510.yml +50 -0
  1059. data/fixtures/vcr_cassettes/test_examples/1000511.yml +50 -0
  1060. data/fixtures/vcr_cassettes/test_examples/1000512.yml +50 -0
  1061. data/fixtures/vcr_cassettes/test_examples/1000513.yml +50 -0
  1062. data/fixtures/vcr_cassettes/test_examples/1000514.yml +50 -0
  1063. data/fixtures/vcr_cassettes/test_examples/1000515.yml +50 -0
  1064. data/fixtures/vcr_cassettes/test_examples/1000516.yml +50 -0
  1065. data/fixtures/vcr_cassettes/test_examples/1000517.yml +50 -0
  1066. data/fixtures/vcr_cassettes/test_examples/1000518.yml +50 -0
  1067. data/fixtures/vcr_cassettes/test_examples/1000519.yml +50 -0
  1068. data/fixtures/vcr_cassettes/test_examples/1000520.yml +50 -0
  1069. data/fixtures/vcr_cassettes/test_examples/1000521.yml +50 -0
  1070. data/fixtures/vcr_cassettes/test_examples/1000522.yml +50 -0
  1071. data/fixtures/vcr_cassettes/test_examples/1000523.yml +50 -0
  1072. data/fixtures/vcr_cassettes/test_examples/1000524.yml +50 -0
  1073. data/fixtures/vcr_cassettes/test_examples/1000525.yml +50 -0
  1074. data/fixtures/vcr_cassettes/test_examples/1000526.yml +50 -0
  1075. data/fixtures/vcr_cassettes/test_examples/1000527.yml +50 -0
  1076. data/fixtures/vcr_cassettes/test_examples/1000528.yml +50 -0
  1077. data/fixtures/vcr_cassettes/test_examples/1000529.yml +50 -0
  1078. data/fixtures/vcr_cassettes/test_examples/1000530.yml +50 -0
  1079. data/fixtures/vcr_cassettes/test_examples/1000531.yml +50 -0
  1080. data/fixtures/vcr_cassettes/test_examples/1000532.yml +50 -0
  1081. data/fixtures/vcr_cassettes/test_examples/1000533.yml +50 -0
  1082. data/fixtures/vcr_cassettes/test_examples/1000534.yml +50 -0
  1083. data/fixtures/vcr_cassettes/test_examples/1000535.yml +50 -0
  1084. data/fixtures/vcr_cassettes/test_examples/1000536.yml +50 -0
  1085. data/fixtures/vcr_cassettes/test_examples/1000537.yml +50 -0
  1086. data/fixtures/vcr_cassettes/test_examples/1000538.yml +50 -0
  1087. data/fixtures/vcr_cassettes/test_examples/1000539.yml +50 -0
  1088. data/fixtures/vcr_cassettes/test_examples/1000540.yml +50 -0
  1089. data/fixtures/vcr_cassettes/test_examples/1000541.yml +50 -0
  1090. data/fixtures/vcr_cassettes/test_examples/1000542.yml +50 -0
  1091. data/fixtures/vcr_cassettes/test_examples/1000543.yml +50 -0
  1092. data/fixtures/vcr_cassettes/test_examples/1000544.yml +50 -0
  1093. data/fixtures/vcr_cassettes/test_examples/1000545.yml +50 -0
  1094. data/fixtures/vcr_cassettes/test_examples/1000546.yml +50 -0
  1095. data/fixtures/vcr_cassettes/test_examples/1000547.yml +50 -0
  1096. data/fixtures/vcr_cassettes/test_examples/1000548.yml +50 -0
  1097. data/fixtures/vcr_cassettes/test_examples/1000549.yml +50 -0
  1098. data/fixtures/vcr_cassettes/test_examples/1000550.yml +50 -0
  1099. data/fixtures/vcr_cassettes/test_examples/1000551.yml +50 -0
  1100. data/fixtures/vcr_cassettes/test_examples/1000552.yml +50 -0
  1101. data/fixtures/vcr_cassettes/test_examples/1000553.yml +50 -0
  1102. data/fixtures/vcr_cassettes/test_examples/1000554.yml +50 -0
  1103. data/fixtures/vcr_cassettes/test_examples/1000555.yml +50 -0
  1104. data/fixtures/vcr_cassettes/test_examples/1000556.yml +50 -0
  1105. data/fixtures/vcr_cassettes/test_examples/1000557.yml +50 -0
  1106. data/fixtures/vcr_cassettes/test_examples/1000558.yml +50 -0
  1107. data/fixtures/vcr_cassettes/test_examples/1000559.yml +50 -0
  1108. data/fixtures/vcr_cassettes/test_examples/1000560.yml +50 -0
  1109. data/fixtures/vcr_cassettes/test_examples/1000561.yml +50 -0
  1110. data/fixtures/vcr_cassettes/test_examples/1000562.yml +50 -0
  1111. data/fixtures/vcr_cassettes/test_examples/1000563.yml +50 -0
  1112. data/fixtures/vcr_cassettes/test_examples/1000564.yml +50 -0
  1113. data/fixtures/vcr_cassettes/test_examples/1000565.yml +50 -0
  1114. data/fixtures/vcr_cassettes/test_examples/1000566.yml +50 -0
  1115. data/fixtures/vcr_cassettes/test_examples/1000567.yml +50 -0
  1116. data/fixtures/vcr_cassettes/test_examples/1000568.yml +50 -0
  1117. data/fixtures/vcr_cassettes/test_examples/1000569.yml +50 -0
  1118. data/fixtures/vcr_cassettes/test_examples/1000570.yml +50 -0
  1119. data/fixtures/vcr_cassettes/test_examples/1000571.yml +50 -0
  1120. data/fixtures/vcr_cassettes/test_examples/1000572.yml +50 -0
  1121. data/fixtures/vcr_cassettes/test_examples/1000573.yml +50 -0
  1122. data/fixtures/vcr_cassettes/test_examples/1000574.yml +50 -0
  1123. data/fixtures/vcr_cassettes/test_examples/1000575.yml +50 -0
  1124. data/fixtures/vcr_cassettes/test_examples/1000576.yml +50 -0
  1125. data/fixtures/vcr_cassettes/test_examples/1000577.yml +50 -0
  1126. data/fixtures/vcr_cassettes/test_examples/1000578.yml +50 -0
  1127. data/fixtures/vcr_cassettes/test_examples/1000579.yml +50 -0
  1128. data/fixtures/vcr_cassettes/test_examples/1000580.yml +50 -0
  1129. data/fixtures/vcr_cassettes/test_examples/1000581.yml +50 -0
  1130. data/fixtures/vcr_cassettes/test_examples/1000582.yml +50 -0
  1131. data/fixtures/vcr_cassettes/test_examples/1000583.yml +50 -0
  1132. data/fixtures/vcr_cassettes/test_examples/1000584.yml +50 -0
  1133. data/fixtures/vcr_cassettes/test_examples/1000585.yml +50 -0
  1134. data/fixtures/vcr_cassettes/test_examples/1000586.yml +50 -0
  1135. data/fixtures/vcr_cassettes/test_examples/1000587.yml +50 -0
  1136. data/fixtures/vcr_cassettes/test_examples/1000588.yml +50 -0
  1137. data/fixtures/vcr_cassettes/test_examples/1000589.yml +50 -0
  1138. data/fixtures/vcr_cassettes/test_examples/1000590.yml +50 -0
  1139. data/fixtures/vcr_cassettes/test_examples/1000591.yml +50 -0
  1140. data/fixtures/vcr_cassettes/test_examples/1000592.yml +50 -0
  1141. data/fixtures/vcr_cassettes/test_examples/1000593.yml +50 -0
  1142. data/fixtures/vcr_cassettes/test_examples/1000594.yml +50 -0
  1143. data/fixtures/vcr_cassettes/test_examples/1000595.yml +50 -0
  1144. data/fixtures/vcr_cassettes/test_examples/1000596.yml +50 -0
  1145. data/fixtures/vcr_cassettes/test_examples/1000597.yml +50 -0
  1146. data/fixtures/vcr_cassettes/test_examples/1000598.yml +50 -0
  1147. data/fixtures/vcr_cassettes/test_examples/1000599.yml +50 -0
  1148. data/fixtures/vcr_cassettes/test_examples/1000600.yml +50 -0
  1149. data/fixtures/vcr_cassettes/test_examples/1000601.yml +50 -0
  1150. data/fixtures/vcr_cassettes/test_examples/1000602.yml +50 -0
  1151. data/fixtures/vcr_cassettes/test_examples/1000603.yml +50 -0
  1152. data/fixtures/vcr_cassettes/test_examples/1000604.yml +50 -0
  1153. data/fixtures/vcr_cassettes/test_examples/1000605.yml +50 -0
  1154. data/fixtures/vcr_cassettes/test_examples/1000606.yml +50 -0
  1155. data/fixtures/vcr_cassettes/test_examples/1000607.yml +50 -0
  1156. data/fixtures/vcr_cassettes/test_examples/1000608.yml +50 -0
  1157. data/fixtures/vcr_cassettes/test_examples/1000609.yml +50 -0
  1158. data/fixtures/vcr_cassettes/test_examples/1000610.yml +50 -0
  1159. data/fixtures/vcr_cassettes/test_examples/1000611.yml +50 -0
  1160. data/fixtures/vcr_cassettes/test_examples/1000612.yml +50 -0
  1161. data/fixtures/vcr_cassettes/test_examples/1000613.yml +50 -0
  1162. data/fixtures/vcr_cassettes/test_examples/1000614.yml +50 -0
  1163. data/fixtures/vcr_cassettes/test_examples/1000615.yml +50 -0
  1164. data/fixtures/vcr_cassettes/test_examples/1000616.yml +50 -0
  1165. data/fixtures/vcr_cassettes/test_examples/1000617.yml +50 -0
  1166. data/fixtures/vcr_cassettes/test_examples/1000618.yml +50 -0
  1167. data/fixtures/vcr_cassettes/test_examples/1000619.yml +50 -0
  1168. data/fixtures/vcr_cassettes/test_examples/1000620.yml +50 -0
  1169. data/fixtures/vcr_cassettes/test_examples/1000621.yml +50 -0
  1170. data/fixtures/vcr_cassettes/test_examples/1000622.yml +50 -0
  1171. data/fixtures/vcr_cassettes/test_examples/1000623.yml +50 -0
  1172. data/fixtures/vcr_cassettes/test_examples/1000624.yml +50 -0
  1173. data/fixtures/vcr_cassettes/test_examples/1000625.yml +50 -0
  1174. data/fixtures/vcr_cassettes/test_examples/1000626.yml +50 -0
  1175. data/fixtures/vcr_cassettes/test_examples/1000627.yml +50 -0
  1176. data/fixtures/vcr_cassettes/test_examples/1000628.yml +50 -0
  1177. data/fixtures/vcr_cassettes/test_examples/1000629.yml +50 -0
  1178. data/fixtures/vcr_cassettes/test_examples/1000630.yml +50 -0
  1179. data/fixtures/vcr_cassettes/test_examples/1000631.yml +50 -0
  1180. data/fixtures/vcr_cassettes/test_examples/1000632.yml +50 -0
  1181. data/fixtures/vcr_cassettes/test_examples/1000633.yml +50 -0
  1182. data/fixtures/vcr_cassettes/test_examples/1000634.yml +50 -0
  1183. data/fixtures/vcr_cassettes/test_examples/1000635.yml +50 -0
  1184. data/fixtures/vcr_cassettes/test_examples/1000636.yml +50 -0
  1185. data/fixtures/vcr_cassettes/test_examples/1000637.yml +50 -0
  1186. data/fixtures/vcr_cassettes/test_examples/1000638.yml +50 -0
  1187. data/fixtures/vcr_cassettes/test_examples/1000639.yml +50 -0
  1188. data/fixtures/vcr_cassettes/test_examples/1000640.yml +50 -0
  1189. data/fixtures/vcr_cassettes/test_examples/1000641.yml +50 -0
  1190. data/fixtures/vcr_cassettes/test_examples/1000642.yml +50 -0
  1191. data/fixtures/vcr_cassettes/test_examples/1000643.yml +50 -0
  1192. data/fixtures/vcr_cassettes/test_examples/1000644.yml +50 -0
  1193. data/fixtures/vcr_cassettes/test_examples/1000645.yml +50 -0
  1194. data/fixtures/vcr_cassettes/test_examples/1000646.yml +50 -0
  1195. data/fixtures/vcr_cassettes/test_examples/1000647.yml +50 -0
  1196. data/fixtures/vcr_cassettes/test_examples/1000648.yml +50 -0
  1197. data/fixtures/vcr_cassettes/test_examples/1000649.yml +50 -0
  1198. data/fixtures/vcr_cassettes/test_examples/1000650.yml +50 -0
  1199. data/fixtures/vcr_cassettes/test_examples/1000651.yml +50 -0
  1200. data/fixtures/vcr_cassettes/test_examples/1000652.yml +50 -0
  1201. data/fixtures/vcr_cassettes/test_examples/1000653.yml +50 -0
  1202. data/fixtures/vcr_cassettes/test_examples/1000654.yml +50 -0
  1203. data/fixtures/vcr_cassettes/test_examples/1000655.yml +50 -0
  1204. data/fixtures/vcr_cassettes/test_examples/1000656.yml +50 -0
  1205. data/fixtures/vcr_cassettes/test_examples/1000657.yml +50 -0
  1206. data/fixtures/vcr_cassettes/test_examples/1000658.yml +50 -0
  1207. data/fixtures/vcr_cassettes/test_examples/1000659.yml +50 -0
  1208. data/fixtures/vcr_cassettes/test_examples/1000660.yml +50 -0
  1209. data/fixtures/vcr_cassettes/test_examples/1000661.yml +50 -0
  1210. data/fixtures/vcr_cassettes/test_examples/1000662.yml +50 -0
  1211. data/fixtures/vcr_cassettes/test_examples/1000663.yml +50 -0
  1212. data/fixtures/vcr_cassettes/test_examples/1000664.yml +50 -0
  1213. data/fixtures/vcr_cassettes/test_examples/1000665.yml +50 -0
  1214. data/fixtures/vcr_cassettes/test_examples/1000666.yml +50 -0
  1215. data/fixtures/vcr_cassettes/test_examples/1000667.yml +50 -0
  1216. data/fixtures/vcr_cassettes/test_examples/1000668.yml +50 -0
  1217. data/fixtures/vcr_cassettes/test_examples/1000669.yml +50 -0
  1218. data/fixtures/vcr_cassettes/test_examples/1000670.yml +50 -0
  1219. data/fixtures/vcr_cassettes/test_examples/1000671.yml +50 -0
  1220. data/fixtures/vcr_cassettes/test_examples/1000672.yml +50 -0
  1221. data/fixtures/vcr_cassettes/test_examples/1000673.yml +50 -0
  1222. data/fixtures/vcr_cassettes/test_examples/1000674.yml +50 -0
  1223. data/fixtures/vcr_cassettes/test_examples/1000675.yml +50 -0
  1224. data/fixtures/vcr_cassettes/test_examples/1000676.yml +50 -0
  1225. data/fixtures/vcr_cassettes/test_examples/1000677.yml +50 -0
  1226. data/fixtures/vcr_cassettes/test_examples/1000678.yml +50 -0
  1227. data/fixtures/vcr_cassettes/test_examples/1000679.yml +50 -0
  1228. data/fixtures/vcr_cassettes/test_examples/1000680.yml +50 -0
  1229. data/fixtures/vcr_cassettes/test_examples/1000681.yml +50 -0
  1230. data/fixtures/vcr_cassettes/test_examples/1000682.yml +50 -0
  1231. data/fixtures/vcr_cassettes/test_examples/1000683.yml +50 -0
  1232. data/fixtures/vcr_cassettes/test_examples/1000684.yml +50 -0
  1233. data/fixtures/vcr_cassettes/test_examples/1000685.yml +50 -0
  1234. data/fixtures/vcr_cassettes/test_examples/1000686.yml +50 -0
  1235. data/fixtures/vcr_cassettes/test_examples/1000687.yml +50 -0
  1236. data/fixtures/vcr_cassettes/test_examples/1000688.yml +50 -0
  1237. data/fixtures/vcr_cassettes/test_examples/1000689.yml +50 -0
  1238. data/fixtures/vcr_cassettes/test_examples/1000690.yml +50 -0
  1239. data/fixtures/vcr_cassettes/test_examples/1000691.yml +50 -0
  1240. data/fixtures/vcr_cassettes/test_examples/1000692.yml +50 -0
  1241. data/fixtures/vcr_cassettes/test_examples/1000693.yml +50 -0
  1242. data/fixtures/vcr_cassettes/test_examples/1000694.yml +50 -0
  1243. data/fixtures/vcr_cassettes/test_examples/1000695.yml +50 -0
  1244. data/fixtures/vcr_cassettes/test_examples/1000696.yml +50 -0
  1245. data/fixtures/vcr_cassettes/test_examples/1000697.yml +50 -0
  1246. data/fixtures/vcr_cassettes/test_examples/1000698.yml +50 -0
  1247. data/fixtures/vcr_cassettes/test_examples/1000699.yml +50 -0
  1248. data/fixtures/vcr_cassettes/test_examples/1000700.yml +50 -0
  1249. data/fixtures/vcr_cassettes/test_examples/1000701.yml +50 -0
  1250. data/fixtures/vcr_cassettes/test_examples/1000702.yml +50 -0
  1251. data/fixtures/vcr_cassettes/test_examples/1000703.yml +50 -0
  1252. data/fixtures/vcr_cassettes/test_examples/1000704.yml +50 -0
  1253. data/fixtures/vcr_cassettes/test_examples/1000705.yml +50 -0
  1254. data/fixtures/vcr_cassettes/test_examples/1000706.yml +50 -0
  1255. data/fixtures/vcr_cassettes/test_examples/1000707.yml +50 -0
  1256. data/fixtures/vcr_cassettes/test_examples/1000708.yml +50 -0
  1257. data/fixtures/vcr_cassettes/test_examples/1000709.yml +50 -0
  1258. data/fixtures/vcr_cassettes/test_examples/1000710.yml +50 -0
  1259. data/fixtures/vcr_cassettes/test_examples/1000711.yml +50 -0
  1260. data/fixtures/vcr_cassettes/test_examples/1000712.yml +50 -0
  1261. data/fixtures/vcr_cassettes/test_examples/1000713.yml +50 -0
  1262. data/fixtures/vcr_cassettes/test_examples/1000714.yml +50 -0
  1263. data/fixtures/vcr_cassettes/test_examples/1000715.yml +50 -0
  1264. data/fixtures/vcr_cassettes/test_examples/1000716.yml +50 -0
  1265. data/fixtures/vcr_cassettes/test_examples/1000717.yml +50 -0
  1266. data/fixtures/vcr_cassettes/test_examples/1000718.yml +50 -0
  1267. data/fixtures/vcr_cassettes/test_examples/1000719.yml +50 -0
  1268. data/fixtures/vcr_cassettes/test_examples/1000720.yml +50 -0
  1269. data/fixtures/vcr_cassettes/test_examples/1000721.yml +50 -0
  1270. data/fixtures/vcr_cassettes/test_examples/1000722.yml +50 -0
  1271. data/fixtures/vcr_cassettes/test_examples/1000723.yml +50 -0
  1272. data/fixtures/vcr_cassettes/test_examples/1000724.yml +50 -0
  1273. data/fixtures/vcr_cassettes/test_examples/1000725.yml +50 -0
  1274. data/fixtures/vcr_cassettes/test_examples/1000726.yml +50 -0
  1275. data/fixtures/vcr_cassettes/test_examples/1000727.yml +50 -0
  1276. data/fixtures/vcr_cassettes/test_examples/1000728.yml +50 -0
  1277. data/fixtures/vcr_cassettes/test_examples/1000729.yml +50 -0
  1278. data/fixtures/vcr_cassettes/test_examples/1000730.yml +50 -0
  1279. data/fixtures/vcr_cassettes/test_examples/1000731.yml +50 -0
  1280. data/fixtures/vcr_cassettes/test_examples/1000732.yml +50 -0
  1281. data/fixtures/vcr_cassettes/test_examples/1000733.yml +50 -0
  1282. data/fixtures/vcr_cassettes/test_examples/1000734.yml +50 -0
  1283. data/fixtures/vcr_cassettes/test_examples/1000735.yml +50 -0
  1284. data/fixtures/vcr_cassettes/test_examples/1000736.yml +50 -0
  1285. data/fixtures/vcr_cassettes/test_examples/1000737.yml +50 -0
  1286. data/fixtures/vcr_cassettes/test_examples/1000738.yml +50 -0
  1287. data/fixtures/vcr_cassettes/test_examples/1000739.yml +50 -0
  1288. data/fixtures/vcr_cassettes/test_examples/1000740.yml +50 -0
  1289. data/fixtures/vcr_cassettes/test_examples/1000741.yml +50 -0
  1290. data/fixtures/vcr_cassettes/test_examples/1000742.yml +50 -0
  1291. data/fixtures/vcr_cassettes/test_examples/1000743.yml +50 -0
  1292. data/fixtures/vcr_cassettes/test_examples/1000744.yml +50 -0
  1293. data/fixtures/vcr_cassettes/test_examples/1000745.yml +50 -0
  1294. data/fixtures/vcr_cassettes/test_examples/1000746.yml +50 -0
  1295. data/fixtures/vcr_cassettes/test_examples/1000747.yml +50 -0
  1296. data/fixtures/vcr_cassettes/test_examples/1000748.yml +50 -0
  1297. data/fixtures/vcr_cassettes/test_examples/1000749.yml +50 -0
  1298. data/fixtures/vcr_cassettes/test_examples/1000750.yml +50 -0
  1299. data/fixtures/vcr_cassettes/test_examples/1000751.yml +50 -0
  1300. data/fixtures/vcr_cassettes/test_examples/1000752.yml +50 -0
  1301. data/fixtures/vcr_cassettes/test_examples/1000753.yml +50 -0
  1302. data/fixtures/vcr_cassettes/test_examples/1000754.yml +50 -0
  1303. data/fixtures/vcr_cassettes/test_examples/1000755.yml +50 -0
  1304. data/fixtures/vcr_cassettes/test_examples/1000756.yml +50 -0
  1305. data/fixtures/vcr_cassettes/test_examples/1000757.yml +50 -0
  1306. data/fixtures/vcr_cassettes/test_examples/1000758.yml +50 -0
  1307. data/fixtures/vcr_cassettes/test_examples/1000759.yml +50 -0
  1308. data/fixtures/vcr_cassettes/test_examples/1000760.yml +50 -0
  1309. data/fixtures/vcr_cassettes/test_examples/1000761.yml +50 -0
  1310. data/fixtures/vcr_cassettes/test_examples/1000762.yml +50 -0
  1311. data/fixtures/vcr_cassettes/test_examples/1000763.yml +50 -0
  1312. data/fixtures/vcr_cassettes/test_examples/1000764.yml +50 -0
  1313. data/fixtures/vcr_cassettes/test_examples/1000765.yml +50 -0
  1314. data/fixtures/vcr_cassettes/test_examples/1000766.yml +50 -0
  1315. data/fixtures/vcr_cassettes/test_examples/1000767.yml +50 -0
  1316. data/fixtures/vcr_cassettes/test_examples/1000768.yml +50 -0
  1317. data/fixtures/vcr_cassettes/test_examples/1000769.yml +50 -0
  1318. data/fixtures/vcr_cassettes/test_examples/1000770.yml +50 -0
  1319. data/fixtures/vcr_cassettes/test_examples/1000771.yml +50 -0
  1320. data/fixtures/vcr_cassettes/test_examples/1000772.yml +50 -0
  1321. data/fixtures/vcr_cassettes/test_examples/1000773.yml +50 -0
  1322. data/fixtures/vcr_cassettes/test_examples/1000774.yml +50 -0
  1323. data/fixtures/vcr_cassettes/test_examples/1000775.yml +50 -0
  1324. data/fixtures/vcr_cassettes/test_examples/1000776.yml +50 -0
  1325. data/fixtures/vcr_cassettes/test_examples/1000777.yml +50 -0
  1326. data/fixtures/vcr_cassettes/test_examples/1000778.yml +50 -0
  1327. data/fixtures/vcr_cassettes/test_examples/1000779.yml +50 -0
  1328. data/fixtures/vcr_cassettes/test_examples/1000780.yml +50 -0
  1329. data/fixtures/vcr_cassettes/test_examples/1000781.yml +50 -0
  1330. data/fixtures/vcr_cassettes/test_examples/1000782.yml +50 -0
  1331. data/fixtures/vcr_cassettes/test_examples/1000783.yml +50 -0
  1332. data/fixtures/vcr_cassettes/test_examples/1000784.yml +50 -0
  1333. data/fixtures/vcr_cassettes/test_examples/1000785.yml +50 -0
  1334. data/fixtures/vcr_cassettes/test_examples/1000786.yml +50 -0
  1335. data/fixtures/vcr_cassettes/test_examples/1000787.yml +50 -0
  1336. data/fixtures/vcr_cassettes/test_examples/1000788.yml +50 -0
  1337. data/fixtures/vcr_cassettes/test_examples/1000789.yml +50 -0
  1338. data/fixtures/vcr_cassettes/test_examples/1000790.yml +50 -0
  1339. data/fixtures/vcr_cassettes/test_examples/1000791.yml +50 -0
  1340. data/fixtures/vcr_cassettes/test_examples/1000792.yml +50 -0
  1341. data/fixtures/vcr_cassettes/test_examples/1000793.yml +50 -0
  1342. data/fixtures/vcr_cassettes/test_examples/1000794.yml +50 -0
  1343. data/fixtures/vcr_cassettes/test_examples/1000795.yml +50 -0
  1344. data/fixtures/vcr_cassettes/test_examples/1000796.yml +50 -0
  1345. data/fixtures/vcr_cassettes/test_examples/1000797.yml +50 -0
  1346. data/fixtures/vcr_cassettes/test_examples/1000798.yml +50 -0
  1347. data/fixtures/vcr_cassettes/test_examples/1000799.yml +50 -0
  1348. data/fixtures/vcr_cassettes/test_examples/1000800.yml +50 -0
  1349. data/fixtures/vcr_cassettes/test_examples/1000801.yml +50 -0
  1350. data/fixtures/vcr_cassettes/test_examples/1000802.yml +50 -0
  1351. data/fixtures/vcr_cassettes/test_examples/1000803.yml +50 -0
  1352. data/fixtures/vcr_cassettes/test_examples/1000804.yml +50 -0
  1353. data/fixtures/vcr_cassettes/test_examples/1000805.yml +50 -0
  1354. data/fixtures/vcr_cassettes/test_examples/1000806.yml +50 -0
  1355. data/fixtures/vcr_cassettes/test_examples/1000807.yml +50 -0
  1356. data/fixtures/vcr_cassettes/test_examples/1000808.yml +50 -0
  1357. data/fixtures/vcr_cassettes/test_examples/1000809.yml +50 -0
  1358. data/fixtures/vcr_cassettes/test_examples/1000810.yml +50 -0
  1359. data/fixtures/vcr_cassettes/test_examples/1000811.yml +50 -0
  1360. data/fixtures/vcr_cassettes/test_examples/1000812.yml +50 -0
  1361. data/fixtures/vcr_cassettes/test_examples/1000813.yml +50 -0
  1362. data/fixtures/vcr_cassettes/test_examples/1000814.yml +50 -0
  1363. data/fixtures/vcr_cassettes/test_examples/1000815.yml +50 -0
  1364. data/fixtures/vcr_cassettes/test_examples/1000816.yml +50 -0
  1365. data/fixtures/vcr_cassettes/test_examples/1000817.yml +50 -0
  1366. data/fixtures/vcr_cassettes/test_examples/1000818.yml +50 -0
  1367. data/fixtures/vcr_cassettes/test_examples/1000819.yml +50 -0
  1368. data/fixtures/vcr_cassettes/test_examples/1000820.yml +50 -0
  1369. data/fixtures/vcr_cassettes/test_examples/1000821.yml +50 -0
  1370. data/fixtures/vcr_cassettes/test_examples/1000822.yml +50 -0
  1371. data/fixtures/vcr_cassettes/test_examples/1000823.yml +50 -0
  1372. data/fixtures/vcr_cassettes/test_examples/1000824.yml +50 -0
  1373. data/fixtures/vcr_cassettes/test_examples/1000825.yml +50 -0
  1374. data/fixtures/vcr_cassettes/test_examples/1000826.yml +50 -0
  1375. data/fixtures/vcr_cassettes/test_examples/1000827.yml +50 -0
  1376. data/fixtures/vcr_cassettes/test_examples/1000828.yml +50 -0
  1377. data/fixtures/vcr_cassettes/test_examples/1000829.yml +50 -0
  1378. data/fixtures/vcr_cassettes/test_examples/1000830.yml +50 -0
  1379. data/fixtures/vcr_cassettes/test_examples/1000831.yml +50 -0
  1380. data/fixtures/vcr_cassettes/test_examples/1000832.yml +50 -0
  1381. data/fixtures/vcr_cassettes/test_examples/1000833.yml +50 -0
  1382. data/fixtures/vcr_cassettes/test_examples/1000834.yml +50 -0
  1383. data/fixtures/vcr_cassettes/test_examples/1000835.yml +50 -0
  1384. data/fixtures/vcr_cassettes/test_examples/1000836.yml +50 -0
  1385. data/fixtures/vcr_cassettes/test_examples/1000837.yml +50 -0
  1386. data/fixtures/vcr_cassettes/test_examples/1000838.yml +50 -0
  1387. data/fixtures/vcr_cassettes/test_examples/1000839.yml +50 -0
  1388. data/fixtures/vcr_cassettes/test_examples/1000840.yml +50 -0
  1389. data/fixtures/vcr_cassettes/test_examples/1000841.yml +50 -0
  1390. data/fixtures/vcr_cassettes/test_examples/1000842.yml +50 -0
  1391. data/fixtures/vcr_cassettes/test_examples/1000843.yml +50 -0
  1392. data/fixtures/vcr_cassettes/test_examples/1000844.yml +50 -0
  1393. data/fixtures/vcr_cassettes/test_examples/1000845.yml +50 -0
  1394. data/fixtures/vcr_cassettes/test_examples/1000846.yml +50 -0
  1395. data/fixtures/vcr_cassettes/test_examples/1000847.yml +50 -0
  1396. data/fixtures/vcr_cassettes/test_examples/1000848.yml +50 -0
  1397. data/fixtures/vcr_cassettes/test_examples/1000849.yml +50 -0
  1398. data/fixtures/vcr_cassettes/test_examples/1000850.yml +50 -0
  1399. data/fixtures/vcr_cassettes/test_examples/1000851.yml +50 -0
  1400. data/fixtures/vcr_cassettes/test_examples/1000852.yml +50 -0
  1401. data/fixtures/vcr_cassettes/test_examples/1000853.yml +50 -0
  1402. data/fixtures/vcr_cassettes/test_examples/1000854.yml +50 -0
  1403. data/fixtures/vcr_cassettes/test_examples/1000855.yml +50 -0
  1404. data/fixtures/vcr_cassettes/test_examples/1000856.yml +50 -0
  1405. data/fixtures/vcr_cassettes/test_examples/1000857.yml +50 -0
  1406. data/fixtures/vcr_cassettes/test_examples/1000858.yml +50 -0
  1407. data/fixtures/vcr_cassettes/test_examples/1000859.yml +50 -0
  1408. data/fixtures/vcr_cassettes/test_examples/1000860.yml +50 -0
  1409. data/fixtures/vcr_cassettes/test_examples/1000861.yml +50 -0
  1410. data/fixtures/vcr_cassettes/test_examples/1000862.yml +50 -0
  1411. data/fixtures/vcr_cassettes/test_examples/1000863.yml +50 -0
  1412. data/fixtures/vcr_cassettes/test_examples/1000864.yml +50 -0
  1413. data/fixtures/vcr_cassettes/test_examples/1000865.yml +50 -0
  1414. data/fixtures/vcr_cassettes/test_examples/1000866.yml +50 -0
  1415. data/fixtures/vcr_cassettes/test_examples/1000867.yml +50 -0
  1416. data/fixtures/vcr_cassettes/test_examples/1000868.yml +50 -0
  1417. data/fixtures/vcr_cassettes/test_examples/1000869.yml +50 -0
  1418. data/fixtures/vcr_cassettes/test_examples/1000870.yml +50 -0
  1419. data/fixtures/vcr_cassettes/test_examples/1000871.yml +50 -0
  1420. data/fixtures/vcr_cassettes/test_examples/1000872.yml +50 -0
  1421. data/fixtures/vcr_cassettes/test_examples/1000873.yml +50 -0
  1422. data/fixtures/vcr_cassettes/test_examples/1000874.yml +50 -0
  1423. data/fixtures/vcr_cassettes/test_examples/1000875.yml +50 -0
  1424. data/fixtures/vcr_cassettes/test_examples/1000876.yml +50 -0
  1425. data/fixtures/vcr_cassettes/test_examples/1000877.yml +50 -0
  1426. data/fixtures/vcr_cassettes/test_examples/1000878.yml +50 -0
  1427. data/fixtures/vcr_cassettes/test_examples/1000879.yml +50 -0
  1428. data/fixtures/vcr_cassettes/test_examples/1000880.yml +50 -0
  1429. data/fixtures/vcr_cassettes/test_examples/1000881.yml +50 -0
  1430. data/fixtures/vcr_cassettes/test_examples/1000882.yml +50 -0
  1431. data/fixtures/vcr_cassettes/test_examples/1000883.yml +50 -0
  1432. data/fixtures/vcr_cassettes/test_examples/1000884.yml +50 -0
  1433. data/fixtures/vcr_cassettes/test_examples/1000885.yml +50 -0
  1434. data/fixtures/vcr_cassettes/test_examples/1000886.yml +50 -0
  1435. data/fixtures/vcr_cassettes/test_examples/1000887.yml +50 -0
  1436. data/fixtures/vcr_cassettes/test_examples/1000888.yml +50 -0
  1437. data/fixtures/vcr_cassettes/test_examples/1000889.yml +50 -0
  1438. data/fixtures/vcr_cassettes/test_examples/1000890.yml +50 -0
  1439. data/fixtures/vcr_cassettes/test_examples/1000891.yml +50 -0
  1440. data/fixtures/vcr_cassettes/test_examples/1000892.yml +50 -0
  1441. data/fixtures/vcr_cassettes/test_examples/1000893.yml +50 -0
  1442. data/fixtures/vcr_cassettes/test_examples/1000894.yml +50 -0
  1443. data/fixtures/vcr_cassettes/test_examples/1000895.yml +50 -0
  1444. data/fixtures/vcr_cassettes/test_examples/1000896.yml +50 -0
  1445. data/fixtures/vcr_cassettes/test_examples/1000897.yml +50 -0
  1446. data/fixtures/vcr_cassettes/test_examples/1000898.yml +50 -0
  1447. data/fixtures/vcr_cassettes/test_examples/1000899.yml +50 -0
  1448. data/fixtures/vcr_cassettes/test_examples/1000900.yml +50 -0
  1449. data/fixtures/vcr_cassettes/test_examples/1000901.yml +50 -0
  1450. data/fixtures/vcr_cassettes/test_examples/1000902.yml +50 -0
  1451. data/fixtures/vcr_cassettes/test_examples/1000903.yml +50 -0
  1452. data/fixtures/vcr_cassettes/test_examples/1000904.yml +44 -0
  1453. data/fixtures/vcr_cassettes/test_examples/1000905.yml +44 -0
  1454. data/fixtures/vcr_cassettes/test_examples/1000906.yml +44 -0
  1455. data/fixtures/vcr_cassettes/test_examples/1000907.yml +44 -0
  1456. data/fixtures/vcr_cassettes/test_examples/1000908.yml +44 -0
  1457. data/fixtures/vcr_cassettes/test_examples/1000909.yml +44 -0
  1458. data/fixtures/vcr_cassettes/test_examples/1000910.yml +44 -0
  1459. data/fixtures/vcr_cassettes/test_examples/1000911.yml +44 -0
  1460. data/fixtures/vcr_cassettes/test_examples/1000912.yml +44 -0
  1461. data/fixtures/vcr_cassettes/test_examples/1000913.yml +44 -0
  1462. data/fixtures/vcr_cassettes/test_examples/1000914.yml +44 -0
  1463. data/fixtures/vcr_cassettes/test_examples/1000915.yml +44 -0
  1464. data/fixtures/vcr_cassettes/test_examples/1000916.yml +44 -0
  1465. data/fixtures/vcr_cassettes/test_examples/1000917.yml +44 -0
  1466. data/fixtures/vcr_cassettes/test_examples/1000918.yml +44 -0
  1467. data/fixtures/vcr_cassettes/test_examples/1000919.yml +44 -0
  1468. data/fixtures/vcr_cassettes/test_examples/1000920.yml +44 -0
  1469. data/fixtures/vcr_cassettes/test_examples/1000921.yml +44 -0
  1470. data/fixtures/vcr_cassettes/test_examples/1000922.yml +44 -0
  1471. data/fixtures/vcr_cassettes/test_examples/1000923.yml +44 -0
  1472. data/fixtures/vcr_cassettes/test_examples/1000924.yml +44 -0
  1473. data/fixtures/vcr_cassettes/test_examples/1000925.yml +44 -0
  1474. data/fixtures/vcr_cassettes/test_examples/1000926.yml +44 -0
  1475. data/fixtures/vcr_cassettes/test_examples/1000927.yml +44 -0
  1476. data/fixtures/vcr_cassettes/test_examples/1000928.yml +44 -0
  1477. data/fixtures/vcr_cassettes/test_examples/1000929.yml +44 -0
  1478. data/fixtures/vcr_cassettes/test_examples/1000930.yml +44 -0
  1479. data/fixtures/vcr_cassettes/test_examples/1000931.yml +44 -0
  1480. data/fixtures/vcr_cassettes/test_examples/1000932.yml +44 -0
  1481. data/fixtures/vcr_cassettes/test_examples/1000933.yml +44 -0
  1482. data/fixtures/vcr_cassettes/test_examples/1000934.yml +44 -0
  1483. data/fixtures/vcr_cassettes/test_examples/1000935.yml +44 -0
  1484. data/fixtures/vcr_cassettes/test_examples/1000936.yml +44 -0
  1485. data/fixtures/vcr_cassettes/test_examples/1000937.yml +44 -0
  1486. data/fixtures/vcr_cassettes/test_examples/1000938.yml +44 -0
  1487. data/fixtures/vcr_cassettes/test_examples/1000939.yml +44 -0
  1488. data/fixtures/vcr_cassettes/test_examples/1000940.yml +44 -0
  1489. data/fixtures/vcr_cassettes/test_examples/1000941.yml +44 -0
  1490. data/fixtures/vcr_cassettes/test_examples/1000942.yml +44 -0
  1491. data/fixtures/vcr_cassettes/test_examples/1000943.yml +44 -0
  1492. data/fixtures/vcr_cassettes/test_examples/1000944.yml +46 -0
  1493. data/fixtures/vcr_cassettes/test_examples/1000945.yml +46 -0
  1494. data/fixtures/vcr_cassettes/test_examples/1000946.yml +46 -0
  1495. data/fixtures/vcr_cassettes/test_examples/1000947.yml +46 -0
  1496. data/fixtures/vcr_cassettes/test_examples/1000948.yml +46 -0
  1497. data/fixtures/vcr_cassettes/test_examples/1000949.yml +46 -0
  1498. data/fixtures/vcr_cassettes/test_examples/1000950.yml +46 -0
  1499. data/fixtures/vcr_cassettes/test_examples/1000951.yml +46 -0
  1500. data/fixtures/vcr_cassettes/test_examples/1000952.yml +46 -0
  1501. data/fixtures/vcr_cassettes/test_examples/1000953.yml +46 -0
  1502. data/fixtures/vcr_cassettes/test_examples/1000954.yml +46 -0
  1503. data/fixtures/vcr_cassettes/test_examples/1000955.yml +46 -0
  1504. data/fixtures/vcr_cassettes/test_examples/1000956.yml +46 -0
  1505. data/fixtures/vcr_cassettes/test_examples/1000957.yml +46 -0
  1506. data/fixtures/vcr_cassettes/test_examples/1000958.yml +46 -0
  1507. data/fixtures/vcr_cassettes/test_examples/1000959.yml +46 -0
  1508. data/fixtures/vcr_cassettes/test_examples/1000960.yml +46 -0
  1509. data/fixtures/vcr_cassettes/test_examples/1000961.yml +46 -0
  1510. data/fixtures/vcr_cassettes/test_examples/1000962.yml +46 -0
  1511. data/fixtures/vcr_cassettes/test_examples/1000963.yml +46 -0
  1512. data/fixtures/vcr_cassettes/test_examples/1000964.yml +46 -0
  1513. data/fixtures/vcr_cassettes/test_examples/1000965.yml +46 -0
  1514. data/fixtures/vcr_cassettes/test_examples/1000966.yml +46 -0
  1515. data/fixtures/vcr_cassettes/test_examples/1000967.yml +46 -0
  1516. data/fixtures/vcr_cassettes/test_examples/1000968.yml +46 -0
  1517. data/fixtures/vcr_cassettes/test_examples/1000969.yml +46 -0
  1518. data/fixtures/vcr_cassettes/test_examples/1000970.yml +46 -0
  1519. data/fixtures/vcr_cassettes/test_examples/1000971.yml +46 -0
  1520. data/fixtures/vcr_cassettes/test_examples/1000972.yml +46 -0
  1521. data/fixtures/vcr_cassettes/test_examples/1000973.yml +46 -0
  1522. data/fixtures/vcr_cassettes/test_examples/1000974.yml +46 -0
  1523. data/fixtures/vcr_cassettes/test_examples/1000975.yml +46 -0
  1524. data/fixtures/vcr_cassettes/test_examples/1000976.yml +46 -0
  1525. data/fixtures/vcr_cassettes/test_examples/1000977.yml +46 -0
  1526. data/fixtures/vcr_cassettes/test_examples/1000978.yml +46 -0
  1527. data/fixtures/vcr_cassettes/test_examples/1000979.yml +46 -0
  1528. data/fixtures/vcr_cassettes/test_examples/1000980.yml +46 -0
  1529. data/fixtures/vcr_cassettes/test_examples/1000981.yml +46 -0
  1530. data/fixtures/vcr_cassettes/test_examples/1000982.yml +46 -0
  1531. data/fixtures/vcr_cassettes/test_examples/1000983.yml +46 -0
  1532. data/fixtures/vcr_cassettes/test_examples/1000984.yml +46 -0
  1533. data/fixtures/vcr_cassettes/test_examples/1000985.yml +46 -0
  1534. data/fixtures/vcr_cassettes/test_examples/1000986.yml +46 -0
  1535. data/fixtures/vcr_cassettes/test_examples/1000987.yml +46 -0
  1536. data/fixtures/vcr_cassettes/test_examples/1000988.yml +46 -0
  1537. data/fixtures/vcr_cassettes/test_examples/1000989.yml +46 -0
  1538. data/fixtures/vcr_cassettes/test_examples/1000990.yml +46 -0
  1539. data/fixtures/vcr_cassettes/test_examples/1000991.yml +46 -0
  1540. data/fixtures/vcr_cassettes/test_examples/1000992.yml +46 -0
  1541. data/fixtures/vcr_cassettes/test_examples/1000993.yml +46 -0
  1542. data/fixtures/vcr_cassettes/test_examples/1000994.yml +46 -0
  1543. data/fixtures/vcr_cassettes/test_examples/1000995.yml +46 -0
  1544. data/fixtures/vcr_cassettes/test_examples/1000996.yml +46 -0
  1545. data/fixtures/vcr_cassettes/test_examples/1000997.yml +46 -0
  1546. data/fixtures/vcr_cassettes/test_examples/1000998.yml +46 -0
  1547. data/fixtures/vcr_cassettes/test_examples/1000999.yml +46 -0
  1548. data/fixtures/vcr_cassettes/test_examples/1001000.yml +46 -0
  1549. data/fixtures/vcr_cassettes/test_examples/1001001.yml +46 -0
  1550. data/fixtures/vcr_cassettes/test_examples/1001002.yml +46 -0
  1551. data/fixtures/vcr_cassettes/test_examples/1001003.yml +46 -0
  1552. data/fixtures/vcr_cassettes/test_examples/1001004.yml +46 -0
  1553. data/fixtures/vcr_cassettes/test_examples/1001005.yml +46 -0
  1554. data/fixtures/vcr_cassettes/test_examples/1001006.yml +46 -0
  1555. data/fixtures/vcr_cassettes/test_examples/1001007.yml +46 -0
  1556. data/fixtures/vcr_cassettes/test_examples/1001008.yml +46 -0
  1557. data/fixtures/vcr_cassettes/test_examples/1001009.yml +46 -0
  1558. data/fixtures/vcr_cassettes/test_examples/1001010.yml +46 -0
  1559. data/fixtures/vcr_cassettes/test_examples/1001011.yml +46 -0
  1560. data/fixtures/vcr_cassettes/test_examples/1001012.yml +46 -0
  1561. data/fixtures/vcr_cassettes/test_examples/1001013.yml +46 -0
  1562. data/fixtures/vcr_cassettes/test_examples/1001014.yml +46 -0
  1563. data/fixtures/vcr_cassettes/test_examples/1001015.yml +46 -0
  1564. data/fixtures/vcr_cassettes/test_examples/1001016.yml +46 -0
  1565. data/fixtures/vcr_cassettes/test_examples/1001017.yml +46 -0
  1566. data/fixtures/vcr_cassettes/test_examples/1001018.yml +46 -0
  1567. data/fixtures/vcr_cassettes/test_examples/1001019.yml +46 -0
  1568. data/fixtures/vcr_cassettes/test_examples/1001020.yml +46 -0
  1569. data/fixtures/vcr_cassettes/test_examples/1001021.yml +46 -0
  1570. data/fixtures/vcr_cassettes/test_examples/1001022.yml +46 -0
  1571. data/fixtures/vcr_cassettes/test_examples/1001023.yml +46 -0
  1572. data/fixtures/vcr_cassettes/test_examples/1001024.yml +46 -0
  1573. data/fixtures/vcr_cassettes/test_examples/1001025.yml +46 -0
  1574. data/fixtures/vcr_cassettes/test_examples/1001026.yml +46 -0
  1575. data/fixtures/vcr_cassettes/test_examples/1001027.yml +46 -0
  1576. data/fixtures/vcr_cassettes/test_examples/1001028.yml +46 -0
  1577. data/fixtures/vcr_cassettes/test_examples/1001029.yml +46 -0
  1578. data/fixtures/vcr_cassettes/test_examples/1001030.yml +46 -0
  1579. data/fixtures/vcr_cassettes/test_examples/1001031.yml +46 -0
  1580. data/fixtures/vcr_cassettes/test_examples/1001032.yml +46 -0
  1581. data/fixtures/vcr_cassettes/test_examples/1001033.yml +46 -0
  1582. data/fixtures/vcr_cassettes/test_examples/1001034.yml +46 -0
  1583. data/fixtures/vcr_cassettes/test_examples/1001035.yml +46 -0
  1584. data/fixtures/vcr_cassettes/test_examples/1001036.yml +46 -0
  1585. data/fixtures/vcr_cassettes/test_examples/1001037.yml +46 -0
  1586. data/fixtures/vcr_cassettes/test_examples/1001038.yml +46 -0
  1587. data/fixtures/vcr_cassettes/test_examples/1001039.yml +46 -0
  1588. data/fixtures/vcr_cassettes/test_examples/1001040.yml +46 -0
  1589. data/fixtures/vcr_cassettes/test_examples/1001041.yml +46 -0
  1590. data/fixtures/vcr_cassettes/test_examples/1001042.yml +46 -0
  1591. data/fixtures/vcr_cassettes/test_examples/1001043.yml +46 -0
  1592. data/fixtures/vcr_cassettes/test_examples/1001044.yml +46 -0
  1593. data/fixtures/vcr_cassettes/test_examples/1001045.yml +46 -0
  1594. data/fixtures/vcr_cassettes/test_examples/1001046.yml +46 -0
  1595. data/fixtures/vcr_cassettes/test_examples/1001047.yml +46 -0
  1596. data/fixtures/vcr_cassettes/test_examples/1001048.yml +46 -0
  1597. data/fixtures/vcr_cassettes/test_examples/1001049.yml +46 -0
  1598. data/fixtures/vcr_cassettes/test_examples/1001050.yml +46 -0
  1599. data/fixtures/vcr_cassettes/test_examples/1001051.yml +46 -0
  1600. data/fixtures/vcr_cassettes/test_examples/1001052.yml +51 -0
  1601. data/fixtures/vcr_cassettes/test_examples/1001053.yml +51 -0
  1602. data/fixtures/vcr_cassettes/test_examples/1001054.yml +51 -0
  1603. data/fixtures/vcr_cassettes/test_examples/1001055.yml +51 -0
  1604. data/fixtures/vcr_cassettes/test_examples/1001056.yml +51 -0
  1605. data/fixtures/vcr_cassettes/test_examples/1001057.yml +51 -0
  1606. data/fixtures/vcr_cassettes/test_examples/1001058.yml +51 -0
  1607. data/fixtures/vcr_cassettes/test_examples/1001059.yml +51 -0
  1608. data/fixtures/vcr_cassettes/test_examples/1001060.yml +51 -0
  1609. data/fixtures/vcr_cassettes/test_examples/1001061.yml +51 -0
  1610. data/fixtures/vcr_cassettes/test_examples/1001062.yml +51 -0
  1611. data/fixtures/vcr_cassettes/test_examples/1001063.yml +51 -0
  1612. data/fixtures/vcr_cassettes/test_examples/1001064.yml +51 -0
  1613. data/fixtures/vcr_cassettes/test_examples/1001065.yml +51 -0
  1614. data/fixtures/vcr_cassettes/test_examples/1001066.yml +51 -0
  1615. data/fixtures/vcr_cassettes/test_examples/1001067.yml +51 -0
  1616. data/fixtures/vcr_cassettes/test_examples/1001068.yml +51 -0
  1617. data/fixtures/vcr_cassettes/test_examples/1001069.yml +51 -0
  1618. data/fixtures/vcr_cassettes/test_examples/1001070.yml +51 -0
  1619. data/fixtures/vcr_cassettes/test_examples/1001071.yml +51 -0
  1620. data/fixtures/vcr_cassettes/test_examples/1001072.yml +51 -0
  1621. data/fixtures/vcr_cassettes/test_examples/1001073.yml +51 -0
  1622. data/fixtures/vcr_cassettes/test_examples/1001074.yml +51 -0
  1623. data/fixtures/vcr_cassettes/test_examples/1001075.yml +51 -0
  1624. data/fixtures/vcr_cassettes/test_examples/1001076.yml +44 -0
  1625. data/fixtures/vcr_cassettes/test_examples/1001077.yml +44 -0
  1626. data/fixtures/vcr_cassettes/test_examples/1001078.yml +44 -0
  1627. data/fixtures/vcr_cassettes/test_examples/1001079.yml +44 -0
  1628. data/fixtures/vcr_cassettes/test_examples/1001080.yml +51 -0
  1629. data/fixtures/vcr_cassettes/test_examples/1001081.yml +51 -0
  1630. data/fixtures/vcr_cassettes/test_examples/1001082.yml +51 -0
  1631. data/fixtures/vcr_cassettes/test_examples/1001083.yml +51 -0
  1632. data/fixtures/vcr_cassettes/test_examples/1001084.yml +51 -0
  1633. data/fixtures/vcr_cassettes/test_examples/1001085.yml +51 -0
  1634. data/fixtures/vcr_cassettes/test_examples/1001086.yml +51 -0
  1635. data/fixtures/vcr_cassettes/test_examples/1001087.yml +51 -0
  1636. data/fixtures/vcr_cassettes/wc-sub-ssl-false-4.yml +49 -9
  1637. data/lib/pubnub.rb +8 -26
  1638. data/lib/pubnub/client.rb +335 -301
  1639. data/lib/pubnub/client/connections.rb +80 -0
  1640. data/lib/pubnub/client/events.rb +31 -0
  1641. data/lib/pubnub/client/helpers.rb +41 -0
  1642. data/lib/pubnub/client/paged_history.rb +59 -0
  1643. data/lib/pubnub/configuration.rb +36 -23
  1644. data/lib/pubnub/crypto.rb +23 -27
  1645. data/lib/pubnub/envelope.rb +34 -32
  1646. data/lib/pubnub/error.rb +48 -0
  1647. data/lib/pubnub/error_envelope.rb +34 -0
  1648. data/lib/pubnub/event.rb +120 -679
  1649. data/lib/pubnub/events/audit.rb +14 -36
  1650. data/lib/pubnub/events/channel_registration.rb +92 -101
  1651. data/lib/pubnub/events/grant.rb +22 -53
  1652. data/lib/pubnub/events/heartbeat.rb +47 -63
  1653. data/lib/pubnub/events/here_now.rb +65 -59
  1654. data/lib/pubnub/events/history.rb +56 -91
  1655. data/lib/pubnub/events/leave.rb +44 -100
  1656. data/lib/pubnub/events/presence.rb +10 -28
  1657. data/lib/pubnub/events/publish.rb +84 -54
  1658. data/lib/pubnub/events/revoke.rb +22 -40
  1659. data/lib/pubnub/events/set_state.rb +40 -67
  1660. data/lib/pubnub/events/state.rb +47 -44
  1661. data/lib/pubnub/events/subscribe.rb +10 -48
  1662. data/lib/pubnub/events/time.rb +35 -31
  1663. data/lib/pubnub/events/where_now.rb +44 -38
  1664. data/lib/pubnub/formatter.rb +88 -56
  1665. data/lib/pubnub/heart.rb +34 -0
  1666. data/lib/pubnub/message.rb +43 -0
  1667. data/lib/pubnub/origin_manager.rb +80 -0
  1668. data/lib/pubnub/pam.rb +57 -39
  1669. data/lib/pubnub/single_event.rb +26 -0
  1670. data/lib/pubnub/subscribe_event.rb +134 -0
  1671. data/lib/pubnub/subscribe_event/adding.rb +50 -0
  1672. data/lib/pubnub/subscribe_event/callbacks.rb +90 -0
  1673. data/lib/pubnub/subscribe_event/formatter.rb +122 -0
  1674. data/lib/pubnub/subscribe_event/heartbeat.rb +30 -0
  1675. data/lib/pubnub/subscribe_event/removing.rb +70 -0
  1676. data/lib/pubnub/subscriber.rb +81 -0
  1677. data/lib/pubnub/uuid.rb +11 -7
  1678. data/lib/pubnub/validators/audit.rb +27 -0
  1679. data/lib/pubnub/validators/channel_registration.rb +32 -0
  1680. data/lib/pubnub/validators/client.rb +17 -0
  1681. data/lib/pubnub/validators/common_validator.rb +51 -0
  1682. data/lib/pubnub/validators/grant.rb +24 -0
  1683. data/lib/pubnub/validators/heartbeat.rb +14 -0
  1684. data/lib/pubnub/validators/here_now.rb +27 -0
  1685. data/lib/pubnub/validators/history.rb +27 -0
  1686. data/lib/pubnub/validators/leave.rb +25 -0
  1687. data/lib/pubnub/validators/presence.rb +27 -0
  1688. data/lib/pubnub/validators/publish.rb +48 -0
  1689. data/lib/pubnub/validators/revoke.rb +14 -0
  1690. data/lib/pubnub/validators/set_state.rb +16 -0
  1691. data/lib/pubnub/validators/state.rb +27 -0
  1692. data/lib/pubnub/validators/subscribe.rb +27 -0
  1693. data/lib/pubnub/validators/time.rb +14 -0
  1694. data/lib/pubnub/validators/where_now.rb +14 -0
  1695. data/lib/pubnub/version.rb +2 -1
  1696. data/pubnub.gemspec +17 -15
  1697. data/spec/examples/audit_examples_spec.rb +253 -0
  1698. data/spec/examples/channel_registration_examples_spec.rb +933 -0
  1699. data/spec/examples/generator.rb +299 -0
  1700. data/spec/examples/grant_examples_spec.rb +1009 -0
  1701. data/spec/examples/here_now_examples_spec.rb +133 -0
  1702. data/spec/examples/history_examples_spec.rb +4573 -0
  1703. data/spec/examples/publish_examples_spec.rb +357 -0
  1704. data/spec/examples/revoke_examples_spec.rb +1009 -0
  1705. data/spec/examples/state_examples_spec.rb +229 -0
  1706. data/spec/examples/time_examples_spec.rb +69 -0
  1707. data/spec/examples/where_now_examples_spec.rb +101 -0
  1708. data/spec/integration/audit_spec.rb +307 -0
  1709. data/spec/integration/channel_groups_spec.rb +120 -0
  1710. data/spec/integration/channel_registration_spec.rb +323 -0
  1711. data/spec/integration/global_here_now_spec.rb +301 -0
  1712. data/spec/integration/grant_spec.rb +342 -0
  1713. data/spec/integration/here_now_spec.rb +302 -0
  1714. data/spec/integration/history_spec.rb +301 -0
  1715. data/spec/integration/leave_spec.rb +300 -0
  1716. data/spec/integration/presence_spec.rb +317 -0
  1717. data/spec/integration/publish_spec.rb +1117 -0
  1718. data/spec/integration/revoke_spec.rb +318 -0
  1719. data/spec/integration/state_spec.rb +87 -0
  1720. data/spec/integration/subscribe_spec.rb +323 -0
  1721. data/spec/integration/time_spec.rb +300 -0
  1722. data/spec/integration/v3_presence_spec.rb +316 -0
  1723. data/spec/integration/where_now_spec.rb +170 -0
  1724. data/spec/integration/wildcard_subscribe_spec.rb +139 -0
  1725. data/spec/lib/client_spec.rb +181 -24
  1726. data/spec/lib/connection_callback_spec.rb +60 -0
  1727. data/spec/lib/error_spec.rb +277 -0
  1728. data/spec/lib/event_spec.rb +143 -0
  1729. data/spec/lib/events/audit_spec.rb +11 -0
  1730. data/spec/lib/events/channel_registration_spec.rb +11 -0
  1731. data/spec/lib/events/grant_spec.rb +11 -0
  1732. data/spec/lib/events/heartbeat_spec.rb +11 -0
  1733. data/spec/lib/events/here_now_spec.rb +11 -0
  1734. data/spec/lib/events/history_spec.rb +11 -0
  1735. data/spec/lib/events/leave_spec.rb +11 -0
  1736. data/spec/lib/events/presence_spec.rb +11 -0
  1737. data/spec/lib/events/publish_spec.rb +93 -0
  1738. data/spec/lib/events/revoke_spec.rb +11 -0
  1739. data/spec/lib/events/state_spec.rb +11 -0
  1740. data/spec/lib/events/subscribe_spec.rb +11 -0
  1741. data/spec/lib/events/time_spec.rb +11 -0
  1742. data/spec/lib/events/validators_spec.rb +25 -0
  1743. data/spec/lib/events/where_now_spec.rb +11 -0
  1744. data/spec/lib/pubnub_spec.rb +16 -0
  1745. data/spec/lib/uuid_spec.rb +11 -0
  1746. data/spec/spec_helper.rb +33 -6
  1747. metadata +1771 -724
  1748. data/3.5_to_3.6_upgrade_notes.md +0 -148
  1749. data/CHANGELOG.txt +0 -87
  1750. data/examples/chaos/tmp/pids/passenger.3000.pid.lock +0 -0
  1751. data/examples/demo_console.rb +0 -435
  1752. data/examples/error_server.rb +0 -28
  1753. data/examples/pubnub_livestream/.gitignore +0 -16
  1754. data/examples/pubnub_livestream/Gemfile +0 -51
  1755. data/examples/pubnub_livestream/Gemfile.lock +0 -156
  1756. data/examples/pubnub_livestream/README.rdoc +0 -28
  1757. data/examples/pubnub_livestream/Rakefile +0 -6
  1758. data/examples/pubnub_livestream/app/assets/images/.keep +0 -0
  1759. data/examples/pubnub_livestream/app/assets/javascripts/application.js +0 -16
  1760. data/examples/pubnub_livestream/app/assets/javascripts/streamer.js.coffee +0 -42
  1761. data/examples/pubnub_livestream/app/assets/stylesheets/application.css.sass +0 -22
  1762. data/examples/pubnub_livestream/app/assets/stylesheets/streamer.css.scss +0 -3
  1763. data/examples/pubnub_livestream/app/controllers/application_controller.rb +0 -5
  1764. data/examples/pubnub_livestream/app/controllers/concerns/.keep +0 -0
  1765. data/examples/pubnub_livestream/app/controllers/streamer_controller.rb +0 -38
  1766. data/examples/pubnub_livestream/app/helpers/application_helper.rb +0 -2
  1767. data/examples/pubnub_livestream/app/helpers/streamer_helper.rb +0 -2
  1768. data/examples/pubnub_livestream/app/mailers/.keep +0 -0
  1769. data/examples/pubnub_livestream/app/models/.keep +0 -0
  1770. data/examples/pubnub_livestream/app/models/concerns/.keep +0 -0
  1771. data/examples/pubnub_livestream/app/models/message.rb +0 -11
  1772. data/examples/pubnub_livestream/app/views/layouts/application.html.erb +0 -14
  1773. data/examples/pubnub_livestream/app/views/streamer/index.haml +0 -22
  1774. data/examples/pubnub_livestream/bin/bundle +0 -3
  1775. data/examples/pubnub_livestream/bin/rails +0 -4
  1776. data/examples/pubnub_livestream/bin/rake +0 -4
  1777. data/examples/pubnub_livestream/config.ru +0 -4
  1778. data/examples/pubnub_livestream/config/application.rb +0 -23
  1779. data/examples/pubnub_livestream/config/boot.rb +0 -4
  1780. data/examples/pubnub_livestream/config/database.yml +0 -25
  1781. data/examples/pubnub_livestream/config/environment.rb +0 -5
  1782. data/examples/pubnub_livestream/config/environments/development.rb +0 -29
  1783. data/examples/pubnub_livestream/config/environments/production.rb +0 -80
  1784. data/examples/pubnub_livestream/config/environments/test.rb +0 -36
  1785. data/examples/pubnub_livestream/config/initializers/backtrace_silencers.rb +0 -7
  1786. data/examples/pubnub_livestream/config/initializers/filter_parameter_logging.rb +0 -4
  1787. data/examples/pubnub_livestream/config/initializers/inflections.rb +0 -16
  1788. data/examples/pubnub_livestream/config/initializers/mime_types.rb +0 -5
  1789. data/examples/pubnub_livestream/config/initializers/pubnub.rb +0 -12
  1790. data/examples/pubnub_livestream/config/initializers/secret_token.rb +0 -12
  1791. data/examples/pubnub_livestream/config/initializers/session_store.rb +0 -3
  1792. data/examples/pubnub_livestream/config/initializers/wrap_parameters.rb +0 -14
  1793. data/examples/pubnub_livestream/config/locales/en.yml +0 -23
  1794. data/examples/pubnub_livestream/config/routes.rb +0 -62
  1795. data/examples/pubnub_livestream/db/migrate/20130826110322_create_messages.rb +0 -11
  1796. data/examples/pubnub_livestream/db/schema.rb +0 -24
  1797. data/examples/pubnub_livestream/db/seeds.rb +0 -7
  1798. data/examples/pubnub_livestream/lib/assets/.keep +0 -0
  1799. data/examples/pubnub_livestream/lib/tasks/.keep +0 -0
  1800. data/examples/pubnub_livestream/log/.keep +0 -0
  1801. data/examples/pubnub_livestream/public/404.html +0 -58
  1802. data/examples/pubnub_livestream/public/422.html +0 -58
  1803. data/examples/pubnub_livestream/public/500.html +0 -57
  1804. data/examples/pubnub_livestream/public/assets/application-22a604196dfb65fd0d602eb1eb65f9b7.js +0 -4
  1805. data/examples/pubnub_livestream/public/assets/application-22a604196dfb65fd0d602eb1eb65f9b7.js.gz +0 -0
  1806. data/examples/pubnub_livestream/public/assets/application-3fac0c014bbdf9ee7b3986ff615d5da0.css +0 -5019
  1807. data/examples/pubnub_livestream/public/assets/application-3fac0c014bbdf9ee7b3986ff615d5da0.css.gz +0 -0
  1808. data/examples/pubnub_livestream/public/assets/application-f06834e402639ad43230e3859b9bdd78.css +0 -1
  1809. data/examples/pubnub_livestream/public/assets/application-f06834e402639ad43230e3859b9bdd78.css.gz +0 -0
  1810. data/examples/pubnub_livestream/public/assets/application-f91b87f490140d86003c46b4d06b6c70.js +0 -10682
  1811. data/examples/pubnub_livestream/public/assets/application-f91b87f490140d86003c46b4d06b6c70.js.gz +0 -0
  1812. data/examples/pubnub_livestream/public/assets/manifest-c129e1f5ec52d8b661ebfa902554a2e2.json +0 -1
  1813. data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-0bc0341283e3bb8ec518375794cc7c28.eot +0 -0
  1814. data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-24dfb40c91db789b8b8faba6886ac1ef.svg +0 -228
  1815. data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-4b2130768da98222338d1519f9179528.ttf +0 -0
  1816. data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-7a07f26f72466361ac9671de2d33fd1c.woff +0 -0
  1817. data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-9f75212cf9fca594cee7e0e3587db9d1.svg +0 -228
  1818. data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-ab2f6984951c07fd89e6afdefabd93c7.eot +0 -0
  1819. data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-c21928f7d46b397b0af6b9ee4a7bd0dd.ttf +0 -0
  1820. data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-fa1d7f79d80d03f8a598822bd9df79bf.woff +0 -0
  1821. data/examples/pubnub_livestream/public/favicon.ico +0 -0
  1822. data/examples/pubnub_livestream/public/robots.txt +0 -5
  1823. data/examples/pubnub_livestream/test/controllers/.keep +0 -0
  1824. data/examples/pubnub_livestream/test/controllers/streamer_controller_test.rb +0 -7
  1825. data/examples/pubnub_livestream/test/fixtures/.keep +0 -0
  1826. data/examples/pubnub_livestream/test/fixtures/messages.yml +0 -9
  1827. data/examples/pubnub_livestream/test/helpers/.keep +0 -0
  1828. data/examples/pubnub_livestream/test/helpers/streamer_helper_test.rb +0 -4
  1829. data/examples/pubnub_livestream/test/integration/.keep +0 -0
  1830. data/examples/pubnub_livestream/test/mailers/.keep +0 -0
  1831. data/examples/pubnub_livestream/test/models/.keep +0 -0
  1832. data/examples/pubnub_livestream/test/models/message_test.rb +0 -7
  1833. data/examples/pubnub_livestream/test/test_helper.rb +0 -15
  1834. data/examples/pubnub_livestream/vendor/assets/javascripts/.keep +0 -0
  1835. data/examples/pubnub_livestream/vendor/assets/stylesheets/.keep +0 -0
  1836. data/examples/serial_publish.rb +0 -42
  1837. data/examples/sinatra/.sass-cache/65d837cc121fc62381bb76d93e5bd081356aa3f9/application.sassc +0 -0
  1838. data/examples/sinatra/.sass-cache/d1525a8542f6e7fb2ecd3275251283768779b344/main.rbc +0 -0
  1839. data/examples/sinatra/.sass-cache/d35765d68c1df11fa3368aa802b3d38109cba214/application.sassc +0 -0
  1840. data/examples/sinatra/main.rb +0 -54
  1841. data/examples/sinatra/public/bootstrap-responsive.min.css +0 -9
  1842. data/examples/sinatra/public/bootstrap.css +0 -5909
  1843. data/examples/sinatra/public/bootstrap.min.css +0 -845
  1844. data/examples/sinatra/public/jquery-1.10.2.min.js +0 -5
  1845. data/examples/sinatra/views/application.sass +0 -6
  1846. data/examples/sinatra/views/index.slim +0 -16
  1847. data/examples/sinatra/views/layout.slim +0 -12
  1848. data/examples/sinatra/views/streamer.coffee +0 -41
  1849. data/examples/sub_and_unsub_1.rb +0 -57
  1850. data/examples/translator.rb +0 -129
  1851. data/fixtures/vcr_cassettes/auth_key_flow_auth_publish.yml +0 -45
  1852. data/fixtures/vcr_cassettes/auth_key_flow_empty_auth_audit.yml +0 -44
  1853. data/fixtures/vcr_cassettes/auth_key_flow_instead_auth_audit.yml +0 -44
  1854. data/fixtures/vcr_cassettes/auth_key_flow_no_auth_publish.yml +0 -45
  1855. data/fixtures/vcr_cassettes/auth_key_flow_non_auth_audit.yml +0 -44
  1856. data/fixtures/vcr_cassettes/eof_subscribe.yml +0 -85
  1857. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-array.yml +0 -89
  1858. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-hash.yml +0 -89
  1859. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-integer.yml +0 -89
  1860. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-mix.yml +0 -89
  1861. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-multi-mix.yml +0 -89
  1862. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-string.yml +0 -89
  1863. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-array.yml +0 -89
  1864. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-hash.yml +0 -89
  1865. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-integer.yml +0 -89
  1866. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-mix.yml +0 -89
  1867. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-string.yml +0 -89
  1868. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-array.yml +0 -89
  1869. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-hash.yml +0 -89
  1870. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-integer.yml +0 -89
  1871. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-mix.yml +0 -89
  1872. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-multi-mix.yml +0 -89
  1873. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-string.yml +0 -89
  1874. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-array.yml +0 -89
  1875. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-hash.yml +0 -89
  1876. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-integer.yml +0 -89
  1877. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-mix.yml +0 -89
  1878. data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-string.yml +0 -89
  1879. data/fixtures/vcr_cassettes/grant-application-level.yml +0 -44
  1880. data/fixtures/vcr_cassettes/grant-multiple-channels-presence-multi-1.yml +0 -44
  1881. data/fixtures/vcr_cassettes/grant-multiple-channels-presence-multi-2.yml +0 -44
  1882. data/fixtures/vcr_cassettes/grant-multiple-channels-presence-multi-3.yml +0 -44
  1883. data/fixtures/vcr_cassettes/grant-multiple-channels-presence-multi-4.yml +0 -44
  1884. data/fixtures/vcr_cassettes/grant-multiple-channels-presence.yml +0 -44
  1885. data/fixtures/vcr_cassettes/grant-multiple-channels.yml +0 -45
  1886. data/fixtures/vcr_cassettes/grant-nonssl-block-invalid-200-async.yml +0 -44
  1887. data/fixtures/vcr_cassettes/grant-nonssl-block-invalid-200-sync.yml +0 -44
  1888. data/fixtures/vcr_cassettes/grant-nonssl-block-invalid-non-200-async.yml +0 -44
  1889. data/fixtures/vcr_cassettes/grant-nonssl-block-invalid-non-200-sync.yml +0 -44
  1890. data/fixtures/vcr_cassettes/grant-nonssl-block-valid-200-async.yml +0 -45
  1891. data/fixtures/vcr_cassettes/grant-nonssl-block-valid-200-sync.yml +0 -45
  1892. data/fixtures/vcr_cassettes/grant-nonssl-block-valid-non-200-async.yml +0 -45
  1893. data/fixtures/vcr_cassettes/grant-nonssl-block-valid-non-200-sync.yml +0 -45
  1894. data/fixtures/vcr_cassettes/grant-nonssl-parameter-invalid-200-async.yml +0 -44
  1895. data/fixtures/vcr_cassettes/grant-nonssl-parameter-invalid-200-sync.yml +0 -44
  1896. data/fixtures/vcr_cassettes/grant-nonssl-parameter-invalid-non-200-async.yml +0 -44
  1897. data/fixtures/vcr_cassettes/grant-nonssl-parameter-invalid-non-200-sync.yml +0 -44
  1898. data/fixtures/vcr_cassettes/grant-nonssl-parameter-valid-200-async.yml +0 -45
  1899. data/fixtures/vcr_cassettes/grant-nonssl-parameter-valid-200-sync.yml +0 -45
  1900. data/fixtures/vcr_cassettes/grant-nonssl-parameter-valid-non-200-async.yml +0 -45
  1901. data/fixtures/vcr_cassettes/grant-nonssl-parameter-valid-non-200-sync.yml +0 -45
  1902. data/fixtures/vcr_cassettes/grant-ssl-block-invalid-200-async.yml +0 -44
  1903. data/fixtures/vcr_cassettes/grant-ssl-block-invalid-200-sync.yml +0 -44
  1904. data/fixtures/vcr_cassettes/grant-ssl-block-invalid-non-200-async.yml +0 -44
  1905. data/fixtures/vcr_cassettes/grant-ssl-block-invalid-non-200-sync.yml +0 -44
  1906. data/fixtures/vcr_cassettes/grant-ssl-block-valid-200-async.yml +0 -45
  1907. data/fixtures/vcr_cassettes/grant-ssl-block-valid-200-sync.yml +0 -45
  1908. data/fixtures/vcr_cassettes/grant-ssl-block-valid-non-200-async.yml +0 -45
  1909. data/fixtures/vcr_cassettes/grant-ssl-block-valid-non-200-sync.yml +0 -45
  1910. data/fixtures/vcr_cassettes/grant-ssl-parameter-invalid-200-async.yml +0 -44
  1911. data/fixtures/vcr_cassettes/grant-ssl-parameter-invalid-200-sync.yml +0 -44
  1912. data/fixtures/vcr_cassettes/grant-ssl-parameter-invalid-non-200-async.yml +0 -44
  1913. data/fixtures/vcr_cassettes/grant-ssl-parameter-invalid-non-200-sync.yml +0 -44
  1914. data/fixtures/vcr_cassettes/grant-ssl-parameter-valid-200-async.yml +0 -45
  1915. data/fixtures/vcr_cassettes/grant-ssl-parameter-valid-200-sync.yml +0 -45
  1916. data/fixtures/vcr_cassettes/grant-ssl-parameter-valid-non-200-async.yml +0 -45
  1917. data/fixtures/vcr_cassettes/grant-ssl-parameter-valid-non-200-sync.yml +0 -45
  1918. data/fixtures/vcr_cassettes/heartbeat-test.yml +0 -91
  1919. data/fixtures/vcr_cassettes/heartbeated-subscribe.yml +0 -136
  1920. data/fixtures/vcr_cassettes/new_ones/publish/store-false.yml +0 -44
  1921. data/fixtures/vcr_cassettes/new_ones/publish/store-true.yml +0 -44
  1922. data/fixtures/vcr_cassettes/non-heartbeated-subscribe.yml +0 -44
  1923. data/fixtures/vcr_cassettes/paged-history-async.yml +0 -49
  1924. data/fixtures/vcr_cassettes/paged-history-pages-async.yml +0 -141
  1925. data/fixtures/vcr_cassettes/paged-history-pages-ssl-async.yml +0 -141
  1926. data/fixtures/vcr_cassettes/paged-history-pages-ssl-sync.yml +0 -141
  1927. data/fixtures/vcr_cassettes/paged-history-pages-start-async.yml +0 -95
  1928. data/fixtures/vcr_cassettes/paged-history-pages-start-ssl-async.yml +0 -95
  1929. data/fixtures/vcr_cassettes/paged-history-pages-start-ssl-sync.yml +0 -95
  1930. data/fixtures/vcr_cassettes/paged-history-pages-start-sync.yml +0 -95
  1931. data/fixtures/vcr_cassettes/paged-history-pages-sync.yml +0 -140
  1932. data/fixtures/vcr_cassettes/paged-history-ssl-async.yml +0 -49
  1933. data/fixtures/vcr_cassettes/paged-history-ssl-sync.yml +0 -49
  1934. data/fixtures/vcr_cassettes/paged-history-start-async.yml +0 -49
  1935. data/fixtures/vcr_cassettes/paged-history-start-ssl-async.yml +0 -49
  1936. data/fixtures/vcr_cassettes/paged-history-start-ssl-sync.yml +0 -49
  1937. data/fixtures/vcr_cassettes/paged-history-start-sync.yml +0 -49
  1938. data/fixtures/vcr_cassettes/paged-history-sync.yml +0 -49
  1939. data/fixtures/vcr_cassettes/pam1.yml +0 -35
  1940. data/fixtures/vcr_cassettes/pam10.yml +0 -35
  1941. data/fixtures/vcr_cassettes/pam11.yml +0 -35
  1942. data/fixtures/vcr_cassettes/pam12.yml +0 -35
  1943. data/fixtures/vcr_cassettes/pam13.yml +0 -35
  1944. data/fixtures/vcr_cassettes/pam14.yml +0 -35
  1945. data/fixtures/vcr_cassettes/pam15.yml +0 -35
  1946. data/fixtures/vcr_cassettes/pam17.yml +0 -35
  1947. data/fixtures/vcr_cassettes/pam2.yml +0 -35
  1948. data/fixtures/vcr_cassettes/pam20.yml +0 -35
  1949. data/fixtures/vcr_cassettes/pam21.yml +0 -35
  1950. data/fixtures/vcr_cassettes/pam22.yml +0 -97
  1951. data/fixtures/vcr_cassettes/pam4.yml +0 -35
  1952. data/fixtures/vcr_cassettes/pam5.yml +0 -66
  1953. data/fixtures/vcr_cassettes/pam6.yml +0 -96
  1954. data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-200-async.yml +0 -44
  1955. data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-200-sync.yml +0 -44
  1956. data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-non-200-async.yml +0 -44
  1957. data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-non-200-sync.yml +0 -44
  1958. data/fixtures/vcr_cassettes/publish-nonssl-block-valid-200-async.yml +0 -44
  1959. data/fixtures/vcr_cassettes/publish-nonssl-block-valid-200-sync.yml +0 -44
  1960. data/fixtures/vcr_cassettes/publish-nonssl-block-valid-non-200-async.yml +0 -44
  1961. data/fixtures/vcr_cassettes/publish-nonssl-block-valid-non-200-sync.yml +0 -44
  1962. data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-200-async.yml +0 -44
  1963. data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-200-sync.yml +0 -44
  1964. data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-non-200-async.yml +0 -44
  1965. data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-non-200-sync.yml +0 -44
  1966. data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-200-async.yml +0 -44
  1967. data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-200-sync.yml +0 -44
  1968. data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-non-200-async.yml +0 -44
  1969. data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-non-200-sync.yml +0 -44
  1970. data/fixtures/vcr_cassettes/publish-ssl-block-invalid-200-async.yml +0 -44
  1971. data/fixtures/vcr_cassettes/publish-ssl-block-invalid-200-sync.yml +0 -44
  1972. data/fixtures/vcr_cassettes/publish-ssl-block-invalid-non-200-async.yml +0 -44
  1973. data/fixtures/vcr_cassettes/publish-ssl-block-invalid-non-200-sync.yml +0 -44
  1974. data/fixtures/vcr_cassettes/publish-ssl-block-valid-200-async.yml +0 -44
  1975. data/fixtures/vcr_cassettes/publish-ssl-block-valid-200-sync.yml +0 -44
  1976. data/fixtures/vcr_cassettes/publish-ssl-block-valid-non-200-async.yml +0 -44
  1977. data/fixtures/vcr_cassettes/publish-ssl-block-valid-non-200-sync.yml +0 -44
  1978. data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-200-async.yml +0 -44
  1979. data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-200-sync.yml +0 -44
  1980. data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-non-200-async.yml +0 -44
  1981. data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-non-200-sync.yml +0 -44
  1982. data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-200-async.yml +0 -44
  1983. data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-200-sync.yml +0 -44
  1984. data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-non-200-async.yml +0 -44
  1985. data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-non-200-sync.yml +0 -44
  1986. data/fixtures/vcr_cassettes/single-event-invalid-json.yml +0 -85
  1987. data/fixtures/vcr_cassettes/single-event-non200.yml +0 -44
  1988. data/fixtures/vcr_cassettes/state-async-set-state-via-subbedclient-2.yml +0 -140
  1989. data/fixtures/vcr_cassettes/state-async-set-state-via-subbedclient.yml +0 -131
  1990. data/fixtures/vcr_cassettes/state-async-set-state-via-subscribe.yml +0 -90
  1991. data/fixtures/vcr_cassettes/state-set-state-via-client-2.yml +0 -140
  1992. data/fixtures/vcr_cassettes/state-set-state-via-client.yml +0 -90
  1993. data/fixtures/vcr_cassettes/state-set-state-via-subscribe.yml +0 -90
  1994. data/lib/pubnub/exceptions.rb +0 -50
  1995. data/lib/pubnub/parser.rb +0 -21
  1996. data/lib/pubnub/validator.rb +0 -29
  1997. data/spec/lib/auth_key_flow_spec.rb +0 -60
  1998. data/spec/lib/channel_presence_concat_pam_spec.rb +0 -94
  1999. data/spec/lib/encoder_spec.rb +0 -51
  2000. data/spec/lib/eof_error_spec.rb +0 -48
  2001. data/spec/lib/formatting_envelope_spec.rb +0 -304
  2002. data/spec/lib/heartbeat_spec.rb +0 -110
  2003. data/spec/lib/integration/audit_dpc_spec.rb +0 -544
  2004. data/spec/lib/integration/audit_spec.rb +0 -544
  2005. data/spec/lib/integration/channel_groups_spec.rb +0 -120
  2006. data/spec/lib/integration/channel_registration_spec.rb +0 -317
  2007. data/spec/lib/integration/global_here_now_dpc_spec.rb +0 -541
  2008. data/spec/lib/integration/global_here_now_spec.rb +0 -541
  2009. data/spec/lib/integration/grant_dpc_spec.rb +0 -555
  2010. data/spec/lib/integration/grant_spec.rb +0 -580
  2011. data/spec/lib/integration/here_now_dpc_spec.rb +0 -543
  2012. data/spec/lib/integration/here_now_spec.rb +0 -543
  2013. data/spec/lib/integration/history_dpc_spec.rb +0 -541
  2014. data/spec/lib/integration/history_spec.rb +0 -541
  2015. data/spec/lib/integration/leave_dpc_spec.rb +0 -539
  2016. data/spec/lib/integration/leave_spec.rb +0 -540
  2017. data/spec/lib/integration/multiplexed_subscribe_flow_spec.rb +0 -44
  2018. data/spec/lib/integration/paged_history_spec.rb +0 -284
  2019. data/spec/lib/integration/presence_dpc_spec.rb +0 -557
  2020. data/spec/lib/integration/presence_spec.rb +0 -557
  2021. data/spec/lib/integration/publish_dpc_spec.rb +0 -1877
  2022. data/spec/lib/integration/publish_spec.rb +0 -1912
  2023. data/spec/lib/integration/publish_spec_old.rb +0 -541
  2024. data/spec/lib/integration/revoke_dpc_spec.rb +0 -555
  2025. data/spec/lib/integration/revoke_spec.rb +0 -555
  2026. data/spec/lib/integration/state_spec.rb +0 -84
  2027. data/spec/lib/integration/subscribe_dpc_spec.rb +0 -564
  2028. data/spec/lib/integration/subscribe_spec.rb +0 -564
  2029. data/spec/lib/integration/time_dpc_spec.rb +0 -541
  2030. data/spec/lib/integration/time_spec.rb +0 -541
  2031. data/spec/lib/integration/v3_presence_dpc_spec.rb +0 -557
  2032. data/spec/lib/integration/v3_presence_spec.rb +0 -557
  2033. data/spec/lib/integration/where_now_spec.rb +0 -312
  2034. data/spec/lib/integration/wildcard_subscribe_spec.rb +0 -150
  2035. data/spec/lib/retry_logic_spec.rb +0 -53
  2036. data/spec/lib/subscribe_event.rb +0 -16
@@ -1,1912 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe '#publish' do
4
- before(:each) do
5
-
6
- EM.stop if EM.reactor_running?
7
- while EM.reactor_running? do end
8
- sleep(0.1)
9
-
10
- @envelopes = Array.new
11
- @error_envelopes = Array.new
12
-
13
- @callback = lambda do |envelope|
14
- @envelopes << envelope
15
- end
16
-
17
- @error_callback = lambda do |envelope|
18
- @error_envelopes << envelope
19
- end
20
- end
21
-
22
- context 'uses http' do
23
- context 'with auth_key provided' do
24
- context 'without encrypting message' do
25
-
26
- before(:each) do
27
- @pubnub = Pubnub.new(
28
- :max_retries => 0,
29
- :subscribe_key => :demo,
30
- :publish_key => :demo,
31
- :auth_key => :demoish_authkey,
32
- :secret_key => 'some_secret_key',
33
- :error_callback => @error_callback
34
- )
35
-
36
- @pubnub.uuid = 'tester'
37
- end
38
-
39
- it 'publishes with store' do
40
- VCR.use_cassette('new_ones/publish/store-true', :record => :once) do
41
- @pubnub.publish(
42
- :message => 'whatever',
43
- :channel => 'whatever',
44
- :store => true,
45
- :callback => @callback
46
- )
47
-
48
- eventually do
49
- @envelopes.size.should eq 1
50
- @envelopes.first.response_message.should eq 'Sent'
51
- @envelopes.first.status.should eq 200
52
- @envelopes.first.channel.should eq 'whatever'
53
- @envelopes.first.message.should eq('whatever')
54
- @envelopes.first.timetoken.blank?.should eq false
55
- end
56
- end
57
- end
58
-
59
- it 'publishes without store' do
60
- VCR.use_cassette('new_ones/publish/store-false', :record => :once) do
61
- @pubnub.publish(
62
- :message => 'whatever',
63
- :channel => 'whatever',
64
- :store => false,
65
- :callback => @callback
66
- )
67
-
68
- eventually do
69
- @envelopes.size.should eq 1
70
- @envelopes.first.response_message.should eq 'Sent'
71
- @envelopes.first.status.should eq 200
72
- @envelopes.first.channel.should eq 'whatever'
73
- @envelopes.first.message.should eq('whatever')
74
- @envelopes.first.timetoken.blank?.should eq false
75
- end
76
- end
77
- end
78
-
79
- context 'gets status 200 response' do
80
- context 'with valid json' do
81
- context 'its asynchronous' do
82
- it 'publishes valid message' do
83
- VCR.use_cassette('new_ones/publish/publish-http-auth_key-200-valid', :record => :none) do
84
-
85
- @pubnub.publish(
86
- :message => {:text => 'sometext'},
87
- :channel => 'ruby_demo_channel',
88
- :callback => @callback
89
- )
90
-
91
- eventually do
92
- @envelopes.size.should eq 1
93
- @envelopes.first.response_message.should eq 'Sent'
94
- @envelopes.first.status.should eq 200
95
- @envelopes.first.channel.should eq 'ruby_demo_channel'
96
- @envelopes.first.message.should eq({:text => 'sometext'})
97
- @envelopes.first.timetoken.blank?.should eq false
98
- end
99
-
100
- end
101
- end
102
- end
103
-
104
- context 'its synchronous' do
105
- it 'publishes valid message' do
106
- VCR.use_cassette('new_ones/publish/publish-http-auth_key-200-valid', :record => :none) do
107
-
108
- @pubnub.publish(
109
- :message => {:text => 'sometext'},
110
- :channel => 'ruby_demo_channel',
111
- :callback => @callback,
112
- :http_sync => true
113
- )
114
-
115
- @envelopes.size.should eq 1
116
- @envelopes.first.response_message.should eq 'Sent'
117
- @envelopes.first.status.should eq 200
118
- @envelopes.first.channel.should eq 'ruby_demo_channel'
119
- @envelopes.first.message.should eq({:text => 'sometext'})
120
- @envelopes.first.timetoken.blank?.should eq false
121
-
122
- end
123
- end
124
- end
125
- end
126
-
127
- context 'with invalid json' do
128
- context 'its asynchronous' do
129
- it 'handles invalid json gracefully' do
130
- VCR.use_cassette('new_ones/publish/publish-http-auth_key-200-invalid', :record => :none) do
131
-
132
- @pubnub.publish(
133
- :message => {:text => 'sometext'},
134
- :channel => 'ruby_demo_channel',
135
- :callback => @callback
136
- )
137
-
138
- eventually do
139
- @envelopes.size.should eq 0
140
- @error_envelopes.size.should eq 1
141
- @error_envelopes.first.response_message.should eq nil
142
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
143
- @error_envelopes.first.status.should eq 200
144
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
145
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
146
- @error_envelopes.first.timetoken.blank?.should eq true
147
- end
148
-
149
- end
150
- end
151
- end
152
-
153
- context 'its synchronous' do
154
- it 'handles invalid json gracefully' do
155
- VCR.use_cassette('new_ones/publish/publish-http-auth_key-200-invalid', :record => :none) do
156
-
157
- @pubnub.publish(
158
- :message => {:text => 'sometext'},
159
- :channel => 'ruby_demo_channel',
160
- :callback => @callback,
161
- :http_sync => true
162
- )
163
-
164
- @envelopes.size.should eq 0
165
- @error_envelopes.size.should eq 1
166
- @error_envelopes.first.response_message.should eq nil
167
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
168
- @error_envelopes.first.status.should eq 200
169
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
170
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
171
- @error_envelopes.first.timetoken.blank?.should eq true
172
-
173
- end
174
- end
175
- end
176
- end
177
- end
178
-
179
- context 'gets status non200 response' do
180
- context 'with valid json' do
181
- context 'its asynchronous' do
182
- it 'handles non200 response gracefully' do
183
- VCR.use_cassette('new_ones/publish/publish-http-auth_key-non200-valid', :record => :none) do
184
-
185
- @pubnub.publish(
186
- :message => {:text => 'sometext'},
187
- :channel => 'ruby_demo_channel',
188
- :callback => @callback
189
- )
190
-
191
- eventually do
192
- @envelopes.size.should eq 0
193
- @error_envelopes.size.should eq 1
194
- @error_envelopes.first.response_message.should eq 'Sent'
195
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"]')
196
- @error_envelopes.first.status.should eq 500
197
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
198
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
199
- @error_envelopes.first.timetoken.blank?.should eq false
200
- end
201
-
202
- end
203
- end
204
- end
205
-
206
- context 'its synchronous' do
207
- it 'handles non200 response gracefully' do
208
- VCR.use_cassette('new_ones/publish/publish-http-auth_key-non200-valid', :record => :none) do
209
-
210
- @pubnub.publish(
211
- :message => {:text => 'sometext'},
212
- :channel => 'ruby_demo_channel',
213
- :callback => @callback,
214
- :http_sync => true
215
- )
216
-
217
- @envelopes.size.should eq 0
218
- @error_envelopes.size.should eq 1
219
- @error_envelopes.first.response_message.should eq 'Sent'
220
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"]')
221
- @error_envelopes.first.status.should eq 500
222
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
223
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
224
- @error_envelopes.first.timetoken.blank?.should eq false
225
-
226
- end
227
- end
228
- end
229
- end
230
-
231
- context 'with invalid json' do
232
- context 'its asynchronous' do
233
- it 'handles invalid json and non200 response gracefully' do
234
- VCR.use_cassette('new_ones/publish/publish-http-auth_key-non200-invalid', :record => :none) do
235
-
236
- @pubnub.publish(
237
- :message => {:text => 'sometext'},
238
- :channel => 'ruby_demo_channel',
239
- :callback => @callback
240
- )
241
-
242
- eventually do
243
- @envelopes.size.should eq 0
244
- @error_envelopes.size.should eq 1
245
- @error_envelopes.first.response_message.should eq nil
246
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
247
- @error_envelopes.first.status.should eq 500
248
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
249
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
250
- @error_envelopes.first.timetoken.blank?.should eq true
251
- end
252
-
253
- end
254
- end
255
- end
256
-
257
- context 'its synchronous' do
258
- it 'handles invalid json and non200 response gracefully' do
259
- VCR.use_cassette('new_ones/publish/publish-http-auth_key-non200-invalid', :record => :none) do
260
-
261
- @pubnub.publish(
262
- :message => {:text => 'sometext'},
263
- :channel => 'ruby_demo_channel',
264
- :callback => @callback,
265
- :http_sync => true
266
- )
267
-
268
- @envelopes.size.should eq 0
269
- @error_envelopes.size.should eq 1
270
- @error_envelopes.first.response_message.should eq nil
271
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
272
- @error_envelopes.first.status.should eq 500
273
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
274
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
275
- @error_envelopes.first.timetoken.blank?.should eq true
276
-
277
- end
278
- end
279
- end
280
- end
281
- end
282
- end
283
-
284
- context 'with encrypting message' do
285
-
286
- before(:each) do
287
- @pubnub = Pubnub.new(
288
- :max_retries => 0,
289
- :subscribe_key => :demo,
290
- :publish_key => :demo,
291
- :auth_key => :demoish_authkey,
292
- :secret_key => 'some_secret_key',
293
- :cipher_key => 'secret',
294
- :error_callback => @error_callback
295
- )
296
-
297
- @pubnub.uuid = 'tester'
298
- end
299
-
300
- context 'gets status 200 response' do
301
- context 'with valid json' do
302
- context 'its asynchronous' do
303
- it 'publishes valid message' do
304
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-auth_key-200-valid', :record => :none) do
305
-
306
- @pubnub.publish(
307
- :message => {:text => 'sometext'},
308
- :channel => 'ruby_demo_channel',
309
- :callback => @callback
310
- )
311
-
312
- eventually do
313
- @envelopes.size.should eq 1
314
- @envelopes.first.response_message.should eq 'Sent'
315
- @envelopes.first.status.should eq 200
316
- @envelopes.first.channel.should eq 'ruby_demo_channel'
317
- @envelopes.first.message.should eq({:text => 'sometext'})
318
- @envelopes.first.timetoken.blank?.should eq false
319
- end
320
-
321
- end
322
- end
323
- end
324
-
325
- context 'its synchronous' do
326
- it 'publishes valid message' do
327
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-auth_key-200-valid', :record => :none) do
328
-
329
- @pubnub.publish(
330
- :message => {:text => 'sometext'},
331
- :channel => 'ruby_demo_channel',
332
- :callback => @callback,
333
- :http_sync => true
334
- )
335
-
336
- @envelopes.size.should eq 1
337
- @envelopes.first.response_message.should eq 'Sent'
338
- @envelopes.first.status.should eq 200
339
- @envelopes.first.channel.should eq 'ruby_demo_channel'
340
- @envelopes.first.message.should eq({:text => 'sometext'})
341
- @envelopes.first.timetoken.blank?.should eq false
342
-
343
- end
344
- end
345
- end
346
- end
347
-
348
- context 'with invalid json' do
349
- context 'its asynchronous' do
350
- it 'handles invalid json gracefully' do
351
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-auth_key-200-invalid', :record => :none) do
352
-
353
- @pubnub.publish(
354
- :message => {:text => 'sometext'},
355
- :channel => 'ruby_demo_channel',
356
- :callback => @callback
357
- )
358
-
359
- eventually do
360
- @envelopes.size.should eq 0
361
- @error_envelopes.size.should eq 1
362
- @error_envelopes.first.response_message.should eq nil
363
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
364
- @error_envelopes.first.status.should eq 200
365
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
366
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
367
- @error_envelopes.first.timetoken.blank?.should eq true
368
- end
369
-
370
- end
371
- end
372
- end
373
-
374
- context 'its synchronous' do
375
- it 'handles invalid json gracefully' do
376
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-auth_key-200-invalid', :record => :none) do
377
-
378
- @pubnub.publish(
379
- :message => {:text => 'sometext'},
380
- :channel => 'ruby_demo_channel',
381
- :callback => @callback,
382
- :http_sync => true
383
- )
384
-
385
- @envelopes.size.should eq 0
386
- @error_envelopes.size.should eq 1
387
- @error_envelopes.first.response_message.should eq nil
388
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
389
- @error_envelopes.first.status.should eq 200
390
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
391
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
392
- @error_envelopes.first.timetoken.blank?.should eq true
393
-
394
- end
395
- end
396
- end
397
- end
398
- end
399
-
400
- context 'gets status non200 response' do
401
- context 'with valid json' do
402
- context 'its asynchronous' do
403
- it 'handles non200 response gracefully' do
404
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-auth_key-non200-valid', :record => :none) do
405
-
406
- @pubnub.publish(
407
- :message => {:text => 'sometext'},
408
- :channel => 'ruby_demo_channel',
409
- :callback => @callback
410
- )
411
-
412
- eventually do
413
- @envelopes.size.should eq 0
414
- @error_envelopes.size.should eq 1
415
- @error_envelopes.first.response_message.should eq 'Sent'
416
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"]')
417
- @error_envelopes.first.status.should eq 500
418
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
419
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
420
- @error_envelopes.first.timetoken.blank?.should eq false
421
- end
422
-
423
- end
424
- end
425
- end
426
-
427
- context 'its synchronous' do
428
- it 'handles non200 response gracefully' do
429
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-auth_key-non200-valid', :record => :none) do
430
-
431
- @pubnub.publish(
432
- :message => {:text => 'sometext'},
433
- :channel => 'ruby_demo_channel',
434
- :callback => @callback,
435
- :http_sync => true
436
- )
437
-
438
- @envelopes.size.should eq 0
439
- @error_envelopes.size.should eq 1
440
- @error_envelopes.first.response_message.should eq 'Sent'
441
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"]')
442
- @error_envelopes.first.status.should eq 500
443
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
444
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
445
- @error_envelopes.first.timetoken.blank?.should eq false
446
-
447
- end
448
- end
449
- end
450
- end
451
-
452
- context 'with invalid json' do
453
- context 'its asynchronous' do
454
- it 'handles invalid json and non200 response gracefully' do
455
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-auth_key-non200-invalid', :record => :none) do
456
-
457
- @pubnub.publish(
458
- :message => {:text => 'sometext'},
459
- :channel => 'ruby_demo_channel',
460
- :callback => @callback
461
- )
462
-
463
- eventually do
464
- @envelopes.size.should eq 0
465
- @error_envelopes.size.should eq 1
466
- @error_envelopes.first.response_message.should eq nil
467
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
468
- @error_envelopes.first.status.should eq 500
469
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
470
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
471
- @error_envelopes.first.timetoken.blank?.should eq true
472
- end
473
-
474
- end
475
- end
476
- end
477
-
478
- context 'its synchronous' do
479
- it 'handles invalid json and non200 response gracefully' do
480
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-auth_key-non200-invalid', :record => :none) do
481
-
482
- @pubnub.publish(
483
- :message => {:text => 'sometext'},
484
- :channel => 'ruby_demo_channel',
485
- :callback => @callback,
486
- :http_sync => true
487
- )
488
-
489
- @envelopes.size.should eq 0
490
- @error_envelopes.size.should eq 1
491
- @error_envelopes.first.response_message.should eq nil
492
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
493
- @error_envelopes.first.status.should eq 500
494
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
495
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
496
- @error_envelopes.first.timetoken.blank?.should eq true
497
-
498
- end
499
- end
500
- end
501
- end
502
- end
503
- end
504
- end
505
-
506
- context 'without auth_key provided' do
507
- context 'without encrypting message' do
508
-
509
- before(:each) do
510
- @pubnub = Pubnub.new(
511
- :max_retries => 0,
512
- :subscribe_key => :demo,
513
- :publish_key => :demo,
514
- :secret_key => 'some_secret_key',
515
- :error_callback => @error_callback
516
- )
517
-
518
- @pubnub.uuid = 'tester'
519
- end
520
-
521
- context 'gets status 200 response' do
522
- context 'with valid json' do
523
- context 'its asynchronous' do
524
- it 'publishes valid message' do
525
- VCR.use_cassette('new_ones/publish/publish-http-200-valid', :record => :none) do
526
-
527
- @pubnub.publish(
528
- :message => {:text => 'sometext'},
529
- :channel => 'ruby_demo_channel',
530
- :callback => @callback
531
- )
532
-
533
- eventually do
534
- @envelopes.size.should eq 1
535
- @envelopes.first.response_message.should eq 'Sent'
536
- @envelopes.first.status.should eq 200
537
- @envelopes.first.channel.should eq 'ruby_demo_channel'
538
- @envelopes.first.message.should eq({:text => 'sometext'})
539
- @envelopes.first.timetoken.blank?.should eq false
540
- end
541
-
542
- end
543
- end
544
- end
545
-
546
- context 'its synchronous' do
547
- it 'publishes valid message' do
548
- VCR.use_cassette('new_ones/publish/publish-http-200-valid', :record => :none) do
549
-
550
- @pubnub.publish(
551
- :message => {:text => 'sometext'},
552
- :channel => 'ruby_demo_channel',
553
- :callback => @callback,
554
- :http_sync => true
555
- )
556
-
557
- @envelopes.size.should eq 1
558
- @envelopes.first.response_message.should eq 'Sent'
559
- @envelopes.first.status.should eq 200
560
- @envelopes.first.channel.should eq 'ruby_demo_channel'
561
- @envelopes.first.message.should eq({:text => 'sometext'})
562
- @envelopes.first.timetoken.blank?.should eq false
563
-
564
- end
565
- end
566
- end
567
- end
568
-
569
- context 'with invalid json' do
570
- context 'its asynchronous' do
571
- it 'handles invalid json gracefully' do
572
- VCR.use_cassette('new_ones/publish/publish-http-200-invalid', :record => :none) do
573
-
574
- @pubnub.publish(
575
- :message => {:text => 'sometext'},
576
- :channel => 'ruby_demo_channel',
577
- :callback => @callback
578
- )
579
-
580
- eventually do
581
- @envelopes.size.should eq 0
582
- @error_envelopes.size.should eq 1
583
- @error_envelopes.first.response_message.should eq nil
584
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
585
- @error_envelopes.first.status.should eq 200
586
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
587
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
588
- @error_envelopes.first.timetoken.blank?.should eq true
589
- end
590
-
591
- end
592
- end
593
- end
594
-
595
- context 'its synchronous' do
596
- it 'handles invalid json gracefully' do
597
- VCR.use_cassette('new_ones/publish/publish-http-200-invalid', :record => :none) do
598
-
599
- @pubnub.publish(
600
- :message => {:text => 'sometext'},
601
- :channel => 'ruby_demo_channel',
602
- :callback => @callback,
603
- :http_sync => true
604
- )
605
-
606
- @envelopes.size.should eq 0
607
- @error_envelopes.size.should eq 1
608
- @error_envelopes.first.response_message.should eq nil
609
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
610
- @error_envelopes.first.status.should eq 200
611
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
612
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
613
- @error_envelopes.first.timetoken.blank?.should eq true
614
-
615
- end
616
- end
617
- end
618
- end
619
- end
620
-
621
- context 'gets status non200 response' do
622
- context 'with valid json' do
623
- context 'its asynchronous' do
624
- it 'handles non200 response gracefully' do
625
- VCR.use_cassette('new_ones/publish/publish-http-non200-valid', :record => :none) do
626
-
627
- @pubnub.publish(
628
- :message => {:text => 'sometext'},
629
- :channel => 'ruby_demo_channel',
630
- :callback => @callback
631
- )
632
-
633
- eventually do
634
- @envelopes.size.should eq 0
635
- @error_envelopes.size.should eq 1
636
- @error_envelopes.first.response_message.should eq 'Sent'
637
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"]')
638
- @error_envelopes.first.status.should eq 500
639
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
640
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
641
- @error_envelopes.first.timetoken.blank?.should eq false
642
- end
643
-
644
- end
645
- end
646
- end
647
-
648
- context 'its synchronous' do
649
- it 'handles non200 response gracefully' do
650
- VCR.use_cassette('new_ones/publish/publish-http-non200-valid', :record => :none) do
651
-
652
- @pubnub.publish(
653
- :message => {:text => 'sometext'},
654
- :channel => 'ruby_demo_channel',
655
- :callback => @callback,
656
- :http_sync => true
657
- )
658
-
659
- @envelopes.size.should eq 0
660
- @error_envelopes.size.should eq 1
661
- @error_envelopes.first.response_message.should eq 'Sent'
662
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"]')
663
- @error_envelopes.first.status.should eq 500
664
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
665
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
666
- @error_envelopes.first.timetoken.blank?.should eq false
667
-
668
- end
669
- end
670
- end
671
- end
672
-
673
- context 'with invalid json' do
674
- context 'its asynchronous' do
675
- it 'handles invalid json and non200 response gracefully' do
676
- VCR.use_cassette('new_ones/publish/publish-http-non200-invalid', :record => :none) do
677
-
678
- @pubnub.publish(
679
- :message => {:text => 'sometext'},
680
- :channel => 'ruby_demo_channel',
681
- :callback => @callback
682
- )
683
-
684
- eventually do
685
- @envelopes.size.should eq 0
686
- @error_envelopes.size.should eq 1
687
- @error_envelopes.first.response_message.should eq nil
688
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
689
- @error_envelopes.first.status.should eq 500
690
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
691
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
692
- @error_envelopes.first.timetoken.blank?.should eq true
693
- end
694
-
695
- end
696
- end
697
- end
698
-
699
- context 'its synchronous' do
700
- it 'handles invalid json and non200 response gracefully' do
701
- VCR.use_cassette('new_ones/publish/publish-http-non200-invalid', :record => :none) do
702
-
703
- @pubnub.publish(
704
- :message => {:text => 'sometext'},
705
- :channel => 'ruby_demo_channel',
706
- :callback => @callback,
707
- :http_sync => true
708
- )
709
-
710
- @envelopes.size.should eq 0
711
- @error_envelopes.size.should eq 1
712
- @error_envelopes.first.response_message.should eq nil
713
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
714
- @error_envelopes.first.status.should eq 500
715
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
716
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
717
- @error_envelopes.first.timetoken.blank?.should eq true
718
-
719
- end
720
- end
721
- end
722
- end
723
- end
724
- end
725
-
726
- context 'with encrypting message' do
727
-
728
- before(:each) do
729
- @pubnub = Pubnub.new(
730
- :max_retries => 0,
731
- :subscribe_key => :demo,
732
- :publish_key => :demo,
733
- :secret_key => 'some_secret_key',
734
- :cipher_key => 'secret',
735
- :error_callback => @error_callback
736
- )
737
-
738
- @pubnub.uuid = 'tester'
739
- end
740
-
741
- context 'gets status 200 response' do
742
- context 'with valid json' do
743
- context 'its asynchronous' do
744
- it 'publishes valid message' do
745
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-200-valid', :record => :none) do
746
-
747
- @pubnub.publish(
748
- :message => {:text => 'sometext'},
749
- :channel => 'ruby_demo_channel',
750
- :callback => @callback
751
- )
752
-
753
- eventually do
754
- @envelopes.size.should eq 1
755
- @envelopes.first.response_message.should eq 'Sent'
756
- @envelopes.first.status.should eq 200
757
- @envelopes.first.channel.should eq 'ruby_demo_channel'
758
- @envelopes.first.message.should eq({:text => 'sometext'})
759
- @envelopes.first.timetoken.blank?.should eq false
760
- end
761
-
762
- end
763
- end
764
- end
765
-
766
- context 'its synchronous' do
767
- it 'publishes valid message' do
768
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-200-valid', :record => :none) do
769
-
770
- @pubnub.publish(
771
- :message => {:text => 'sometext'},
772
- :channel => 'ruby_demo_channel',
773
- :callback => @callback,
774
- :http_sync => true
775
- )
776
-
777
- @envelopes.size.should eq 1
778
- @envelopes.first.response_message.should eq 'Sent'
779
- @envelopes.first.status.should eq 200
780
- @envelopes.first.channel.should eq 'ruby_demo_channel'
781
- @envelopes.first.message.should eq({:text => 'sometext'})
782
- @envelopes.first.timetoken.blank?.should eq false
783
-
784
- end
785
- end
786
- end
787
- end
788
-
789
- context 'with invalid json' do
790
- context 'its asynchronous' do
791
- it 'handles invalid json gracefully' do
792
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-200-invalid', :record => :none) do
793
-
794
- @pubnub.publish(
795
- :message => {:text => 'sometext'},
796
- :channel => 'ruby_demo_channel',
797
- :callback => @callback
798
- )
799
-
800
- eventually do
801
- @envelopes.size.should eq 0
802
- @error_envelopes.size.should eq 1
803
- @error_envelopes.first.response_message.should eq nil
804
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
805
- @error_envelopes.first.status.should eq 200
806
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
807
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
808
- @error_envelopes.first.timetoken.blank?.should eq true
809
- end
810
-
811
- end
812
- end
813
- end
814
-
815
- context 'its synchronous' do
816
- it 'handles invalid json gracefully' do
817
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-200-invalid', :record => :none) do
818
-
819
- @pubnub.publish(
820
- :message => {:text => 'sometext'},
821
- :channel => 'ruby_demo_channel',
822
- :callback => @callback,
823
- :http_sync => true
824
- )
825
-
826
- @envelopes.size.should eq 0
827
- @error_envelopes.size.should eq 1
828
- @error_envelopes.first.response_message.should eq nil
829
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
830
- @error_envelopes.first.status.should eq 200
831
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
832
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
833
- @error_envelopes.first.timetoken.blank?.should eq true
834
-
835
- end
836
- end
837
- end
838
- end
839
- end
840
-
841
- context 'gets status non200 response' do
842
- context 'with valid json' do
843
- context 'its asynchronous' do
844
- it 'handles non200 response gracefully' do
845
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-non200-valid', :record => :none) do
846
-
847
- @pubnub.publish(
848
- :message => {:text => 'sometext'},
849
- :channel => 'ruby_demo_channel',
850
- :callback => @callback
851
- )
852
-
853
- eventually do
854
- @envelopes.size.should eq 0
855
- @error_envelopes.size.should eq 1
856
- @error_envelopes.first.response_message.should eq 'Sent'
857
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"]')
858
- @error_envelopes.first.status.should eq 500
859
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
860
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
861
- @error_envelopes.first.timetoken.blank?.should eq false
862
- end
863
-
864
- end
865
- end
866
- end
867
-
868
- context 'its synchronous' do
869
- it 'handles non200 response gracefully' do
870
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-non200-valid', :record => :none) do
871
-
872
- @pubnub.publish(
873
- :message => {:text => 'sometext'},
874
- :channel => 'ruby_demo_channel',
875
- :callback => @callback,
876
- :http_sync => true
877
- )
878
-
879
- @envelopes.size.should eq 0
880
- @error_envelopes.size.should eq 1
881
- @error_envelopes.first.response_message.should eq 'Sent'
882
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"]')
883
- @error_envelopes.first.status.should eq 500
884
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
885
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
886
- @error_envelopes.first.timetoken.blank?.should eq false
887
-
888
- end
889
- end
890
- end
891
- end
892
-
893
- context 'with invalid json' do
894
- context 'its asynchronous' do
895
- it 'handles invalid json and non200 response gracefully' do
896
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-non200-invalid', :record => :none) do
897
-
898
- @pubnub.publish(
899
- :message => {:text => 'sometext'},
900
- :channel => 'ruby_demo_channel',
901
- :callback => @callback
902
- )
903
-
904
- eventually do
905
- @envelopes.size.should eq 0
906
- @error_envelopes.size.should eq 1
907
- @error_envelopes.first.response_message.should eq nil
908
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
909
- @error_envelopes.first.status.should eq 500
910
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
911
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
912
- @error_envelopes.first.timetoken.blank?.should eq true
913
- end
914
-
915
- end
916
- end
917
- end
918
-
919
- context 'its synchronous' do
920
- it 'handles invalid json and non200 response gracefully' do
921
- VCR.use_cassette('new_ones/publish/publish-encrypted-http-non200-invalid', :record => :none) do
922
-
923
- @pubnub.publish(
924
- :message => {:text => 'sometext'},
925
- :channel => 'ruby_demo_channel',
926
- :callback => @callback,
927
- :http_sync => true
928
- )
929
-
930
- @envelopes.size.should eq 0
931
- @error_envelopes.size.should eq 1
932
- @error_envelopes.first.response_message.should eq nil
933
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
934
- @error_envelopes.first.status.should eq 500
935
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
936
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
937
- @error_envelopes.first.timetoken.blank?.should eq true
938
-
939
- end
940
- end
941
- end
942
- end
943
- end
944
- end
945
- end
946
- end
947
-
948
- context 'uses https' do
949
- context 'with auth_key provided' do
950
- context 'without encrypting message' do
951
-
952
- before(:each) do
953
- @pubnub = Pubnub.new(
954
- :max_retries => 0,
955
- :subscribe_key => :demo,
956
- :publish_key => :demo,
957
- :auth_key => :demoish_authkey,
958
- :secret_key => 'some_secret_key',
959
- :error_callback => @error_callback,
960
- :ssl => true
961
- )
962
-
963
- @pubnub.uuid = 'tester'
964
- end
965
-
966
- context 'gets status 200 response' do
967
- context 'with valid json' do
968
- context 'its asynchronous' do
969
- it 'publishes valid message' do
970
- VCR.use_cassette('new_ones/publish/publish-https-auth_key-200-valid', :record => :none) do
971
-
972
- @pubnub.publish(
973
- :message => {:text => 'sometext'},
974
- :channel => 'ruby_demo_channel',
975
- :callback => @callback
976
- )
977
-
978
- eventually do
979
- @envelopes.size.should eq 1
980
- @envelopes.first.response_message.should eq 'Sent'
981
- @envelopes.first.status.should eq 200
982
- @envelopes.first.channel.should eq 'ruby_demo_channel'
983
- @envelopes.first.message.should eq({:text => 'sometext'})
984
- @envelopes.first.timetoken.blank?.should eq false
985
- end
986
-
987
- end
988
- end
989
- end
990
-
991
- context 'its synchronous' do
992
- it 'publishes valid message' do
993
- VCR.use_cassette('new_ones/publish/publish-https-auth_key-200-valid', :record => :none) do
994
-
995
- @pubnub.publish(
996
- :message => {:text => 'sometext'},
997
- :channel => 'ruby_demo_channel',
998
- :callback => @callback,
999
- :http_sync => true
1000
- )
1001
-
1002
- @envelopes.size.should eq 1
1003
- @envelopes.first.response_message.should eq 'Sent'
1004
- @envelopes.first.status.should eq 200
1005
- @envelopes.first.channel.should eq 'ruby_demo_channel'
1006
- @envelopes.first.message.should eq({:text => 'sometext'})
1007
- @envelopes.first.timetoken.blank?.should eq false
1008
-
1009
- end
1010
- end
1011
- end
1012
- end
1013
-
1014
- context 'with invalid json' do
1015
- context 'its asynchronous' do
1016
- it 'handles invalid json gracefully' do
1017
- VCR.use_cassette('new_ones/publish/publish-https-auth_key-200-invalid', :record => :none) do
1018
-
1019
- @pubnub.publish(
1020
- :message => {:text => 'sometext'},
1021
- :channel => 'ruby_demo_channel',
1022
- :callback => @callback
1023
- )
1024
-
1025
- eventually do
1026
- @envelopes.size.should eq 0
1027
- @error_envelopes.size.should eq 1
1028
- @error_envelopes.first.response_message.should eq nil
1029
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
1030
- @error_envelopes.first.status.should eq 200
1031
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1032
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1033
- @error_envelopes.first.timetoken.blank?.should eq true
1034
- end
1035
-
1036
- end
1037
- end
1038
- end
1039
-
1040
- context 'its synchronous' do
1041
- it 'handles invalid json gracefully' do
1042
- VCR.use_cassette('new_ones/publish/publish-https-auth_key-200-invalid', :record => :none) do
1043
-
1044
- @pubnub.publish(
1045
- :message => {:text => 'sometext'},
1046
- :channel => 'ruby_demo_channel',
1047
- :callback => @callback,
1048
- :http_sync => true
1049
- )
1050
-
1051
- @envelopes.size.should eq 0
1052
- @error_envelopes.size.should eq 1
1053
- @error_envelopes.first.response_message.should eq nil
1054
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
1055
- @error_envelopes.first.status.should eq 200
1056
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1057
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1058
- @error_envelopes.first.timetoken.blank?.should eq true
1059
-
1060
- end
1061
- end
1062
- end
1063
- end
1064
- end
1065
-
1066
- context 'gets status non200 response' do
1067
- context 'with valid json' do
1068
- context 'its asynchronous' do
1069
- it 'handles non200 response gracefully' do
1070
- VCR.use_cassette('new_ones/publish/publish-https-auth_key-non200-valid', :record => :none) do
1071
-
1072
- @pubnub.publish(
1073
- :message => {:text => 'sometext'},
1074
- :channel => 'ruby_demo_channel',
1075
- :callback => @callback
1076
- )
1077
-
1078
- eventually do
1079
- @envelopes.size.should eq 0
1080
- @error_envelopes.size.should eq 1
1081
- @error_envelopes.first.response_message.should eq 'Sent'
1082
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"]')
1083
- @error_envelopes.first.status.should eq 500
1084
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1085
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
1086
- @error_envelopes.first.timetoken.blank?.should eq false
1087
- end
1088
-
1089
- end
1090
- end
1091
- end
1092
-
1093
- context 'its synchronous' do
1094
- it 'handles non200 response gracefully' do
1095
- VCR.use_cassette('new_ones/publish/publish-https-auth_key-non200-valid', :record => :none) do
1096
-
1097
- @pubnub.publish(
1098
- :message => {:text => 'sometext'},
1099
- :channel => 'ruby_demo_channel',
1100
- :callback => @callback,
1101
- :http_sync => true
1102
- )
1103
-
1104
- @envelopes.size.should eq 0
1105
- @error_envelopes.size.should eq 1
1106
- @error_envelopes.first.response_message.should eq 'Sent'
1107
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"]')
1108
- @error_envelopes.first.status.should eq 500
1109
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1110
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
1111
- @error_envelopes.first.timetoken.blank?.should eq false
1112
-
1113
- end
1114
- end
1115
- end
1116
- end
1117
-
1118
- context 'with invalid json' do
1119
- context 'its asynchronous' do
1120
- it 'handles invalid json and non200 response gracefully' do
1121
- VCR.use_cassette('new_ones/publish/publish-https-auth_key-non200-invalid', :record => :none) do
1122
-
1123
- @pubnub.publish(
1124
- :message => {:text => 'sometext'},
1125
- :channel => 'ruby_demo_channel',
1126
- :callback => @callback
1127
- )
1128
-
1129
- eventually do
1130
- @envelopes.size.should eq 0
1131
- @error_envelopes.size.should eq 1
1132
- @error_envelopes.first.response_message.should eq nil
1133
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
1134
- @error_envelopes.first.status.should eq 500
1135
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1136
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1137
- @error_envelopes.first.timetoken.blank?.should eq true
1138
- end
1139
-
1140
- end
1141
- end
1142
- end
1143
-
1144
- context 'its synchronous' do
1145
- it 'handles invalid json and non200 response gracefully' do
1146
- VCR.use_cassette('new_ones/publish/publish-https-auth_key-non200-invalid', :record => :none) do
1147
-
1148
- @pubnub.publish(
1149
- :message => {:text => 'sometext'},
1150
- :channel => 'ruby_demo_channel',
1151
- :callback => @callback,
1152
- :http_sync => true
1153
- )
1154
-
1155
- @envelopes.size.should eq 0
1156
- @error_envelopes.size.should eq 1
1157
- @error_envelopes.first.response_message.should eq nil
1158
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
1159
- @error_envelopes.first.status.should eq 500
1160
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1161
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1162
- @error_envelopes.first.timetoken.blank?.should eq true
1163
-
1164
- end
1165
- end
1166
- end
1167
- end
1168
- end
1169
- end
1170
-
1171
- context 'with encrypting message' do
1172
-
1173
- before(:each) do
1174
- @pubnub = Pubnub.new(
1175
- :max_retries => 0,
1176
- :subscribe_key => :demo,
1177
- :publish_key => :demo,
1178
- :auth_key => :demoish_authkey,
1179
- :secret_key => 'some_secret_key',
1180
- :cipher_key => 'secret',
1181
- :error_callback => @error_callback,
1182
- :ssl => true
1183
- )
1184
-
1185
- @pubnub.uuid = 'tester'
1186
- end
1187
-
1188
- context 'gets status 200 response' do
1189
- context 'with valid json' do
1190
- context 'its asynchronous' do
1191
- it 'publishes valid message' do
1192
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-auth_key-200-valid', :record => :none) do
1193
-
1194
- @pubnub.publish(
1195
- :message => {:text => 'sometext'},
1196
- :channel => 'ruby_demo_channel',
1197
- :callback => @callback
1198
- )
1199
-
1200
- eventually do
1201
- @envelopes.size.should eq 1
1202
- @envelopes.first.response_message.should eq 'Sent'
1203
- @envelopes.first.status.should eq 200
1204
- @envelopes.first.channel.should eq 'ruby_demo_channel'
1205
- @envelopes.first.message.should eq({:text => 'sometext'})
1206
- @envelopes.first.timetoken.blank?.should eq false
1207
- end
1208
-
1209
- end
1210
- end
1211
- end
1212
-
1213
- context 'its synchronous' do
1214
- it 'publishes valid message' do
1215
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-auth_key-200-valid', :record => :none) do
1216
-
1217
- @pubnub.publish(
1218
- :message => {:text => 'sometext'},
1219
- :channel => 'ruby_demo_channel',
1220
- :callback => @callback,
1221
- :http_sync => true
1222
- )
1223
-
1224
- @envelopes.size.should eq 1
1225
- @envelopes.first.response_message.should eq 'Sent'
1226
- @envelopes.first.status.should eq 200
1227
- @envelopes.first.channel.should eq 'ruby_demo_channel'
1228
- @envelopes.first.message.should eq({:text => 'sometext'})
1229
- @envelopes.first.timetoken.blank?.should eq false
1230
-
1231
- end
1232
- end
1233
- end
1234
- end
1235
-
1236
- context 'with invalid json' do
1237
- context 'its asynchronous' do
1238
- it 'handles invalid json gracefully' do
1239
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-auth_key-200-invalid', :record => :none) do
1240
-
1241
- @pubnub.publish(
1242
- :message => {:text => 'sometext'},
1243
- :channel => 'ruby_demo_channel',
1244
- :callback => @callback
1245
- )
1246
-
1247
- eventually do
1248
- @envelopes.size.should eq 0
1249
- @error_envelopes.size.should eq 1
1250
- @error_envelopes.first.response_message.should eq nil
1251
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
1252
- @error_envelopes.first.status.should eq 200
1253
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1254
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1255
- @error_envelopes.first.timetoken.blank?.should eq true
1256
- end
1257
-
1258
- end
1259
- end
1260
- end
1261
-
1262
- context 'its synchronous' do
1263
- it 'handles invalid json gracefully' do
1264
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-auth_key-200-invalid', :record => :none) do
1265
-
1266
- @pubnub.publish(
1267
- :message => {:text => 'sometext'},
1268
- :channel => 'ruby_demo_channel',
1269
- :callback => @callback,
1270
- :http_sync => true
1271
- )
1272
-
1273
- @envelopes.size.should eq 0
1274
- @error_envelopes.size.should eq 1
1275
- @error_envelopes.first.response_message.should eq nil
1276
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
1277
- @error_envelopes.first.status.should eq 200
1278
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1279
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1280
- @error_envelopes.first.timetoken.blank?.should eq true
1281
-
1282
- end
1283
- end
1284
- end
1285
- end
1286
- end
1287
-
1288
- context 'gets status non200 response' do
1289
- context 'with valid json' do
1290
- context 'its asynchronous' do
1291
- it 'handles non200 response gracefully' do
1292
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-auth_key-non200-valid', :record => :none) do
1293
-
1294
- @pubnub.publish(
1295
- :message => {:text => 'sometext'},
1296
- :channel => 'ruby_demo_channel',
1297
- :callback => @callback
1298
- )
1299
-
1300
- eventually do
1301
- @envelopes.size.should eq 0
1302
- @error_envelopes.size.should eq 1
1303
- @error_envelopes.first.response_message.should eq 'Sent'
1304
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"]')
1305
- @error_envelopes.first.status.should eq 500
1306
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1307
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
1308
- @error_envelopes.first.timetoken.blank?.should eq false
1309
- end
1310
-
1311
- end
1312
- end
1313
- end
1314
-
1315
- context 'its synchronous' do
1316
- it 'handles non200 response gracefully' do
1317
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-auth_key-non200-valid', :record => :none) do
1318
-
1319
- @pubnub.publish(
1320
- :message => {:text => 'sometext'},
1321
- :channel => 'ruby_demo_channel',
1322
- :callback => @callback,
1323
- :http_sync => true
1324
- )
1325
-
1326
- @envelopes.size.should eq 0
1327
- @error_envelopes.size.should eq 1
1328
- @error_envelopes.first.response_message.should eq 'Sent'
1329
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"]')
1330
- @error_envelopes.first.status.should eq 500
1331
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1332
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
1333
- @error_envelopes.first.timetoken.blank?.should eq false
1334
-
1335
- end
1336
- end
1337
- end
1338
- end
1339
-
1340
- context 'with invalid json' do
1341
- context 'its asynchronous' do
1342
- it 'handles invalid json and non200 response gracefully' do
1343
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-auth_key-non200-invalid', :record => :none) do
1344
-
1345
- @pubnub.publish(
1346
- :message => {:text => 'sometext'},
1347
- :channel => 'ruby_demo_channel',
1348
- :callback => @callback
1349
- )
1350
-
1351
- eventually do
1352
- @envelopes.size.should eq 0
1353
- @error_envelopes.size.should eq 1
1354
- @error_envelopes.first.response_message.should eq nil
1355
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
1356
- @error_envelopes.first.status.should eq 500
1357
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1358
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1359
- @error_envelopes.first.timetoken.blank?.should eq true
1360
- end
1361
-
1362
- end
1363
- end
1364
- end
1365
-
1366
- context 'its synchronous' do
1367
- it 'handles invalid json and non200 response gracefully' do
1368
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-auth_key-non200-invalid', :record => :none) do
1369
-
1370
- @pubnub.publish(
1371
- :message => {:text => 'sometext'},
1372
- :channel => 'ruby_demo_channel',
1373
- :callback => @callback,
1374
- :http_sync => true
1375
- )
1376
-
1377
- @envelopes.size.should eq 0
1378
- @error_envelopes.size.should eq 1
1379
- @error_envelopes.first.response_message.should eq nil
1380
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
1381
- @error_envelopes.first.status.should eq 500
1382
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1383
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1384
- @error_envelopes.first.timetoken.blank?.should eq true
1385
-
1386
- end
1387
- end
1388
- end
1389
- end
1390
- end
1391
- end
1392
- end
1393
-
1394
- context 'without auth_key provided' do
1395
- context 'without encrypting message' do
1396
-
1397
- before(:each) do
1398
- @pubnub = Pubnub.new(
1399
- :max_retries => 0,
1400
- :subscribe_key => :demo,
1401
- :publish_key => :demo,
1402
- :secret_key => 'some_secret_key',
1403
- :error_callback => @error_callback,
1404
- :ssl => true
1405
- )
1406
-
1407
- @pubnub.uuid = 'tester'
1408
- end
1409
-
1410
- context 'gets status 200 response' do
1411
- context 'with valid json' do
1412
- context 'its asynchronous' do
1413
- it 'publishes valid message' do
1414
- VCR.use_cassette('new_ones/publish/publish-https-200-valid', :record => :none) do
1415
-
1416
- @pubnub.publish(
1417
- :message => {:text => 'sometext'},
1418
- :channel => 'ruby_demo_channel',
1419
- :callback => @callback
1420
- )
1421
-
1422
- eventually do
1423
- @envelopes.size.should eq 1
1424
- @envelopes.first.response_message.should eq 'Sent'
1425
- @envelopes.first.status.should eq 200
1426
- @envelopes.first.channel.should eq 'ruby_demo_channel'
1427
- @envelopes.first.message.should eq({:text => 'sometext'})
1428
- @envelopes.first.timetoken.blank?.should eq false
1429
- end
1430
-
1431
- end
1432
- end
1433
- end
1434
-
1435
- context 'its synchronous' do
1436
- it 'publishes valid message' do
1437
- VCR.use_cassette('new_ones/publish/publish-https-200-valid', :record => :none) do
1438
-
1439
- @pubnub.publish(
1440
- :message => {:text => 'sometext'},
1441
- :channel => 'ruby_demo_channel',
1442
- :callback => @callback,
1443
- :http_sync => true
1444
- )
1445
-
1446
- @envelopes.size.should eq 1
1447
- @envelopes.first.response_message.should eq 'Sent'
1448
- @envelopes.first.status.should eq 200
1449
- @envelopes.first.channel.should eq 'ruby_demo_channel'
1450
- @envelopes.first.message.should eq({:text => 'sometext'})
1451
- @envelopes.first.timetoken.blank?.should eq false
1452
-
1453
- end
1454
- end
1455
- end
1456
- end
1457
-
1458
- context 'with invalid json' do
1459
- context 'its asynchronous' do
1460
- it 'handles invalid json gracefully' do
1461
- VCR.use_cassette('new_ones/publish/publish-https-200-invalid', :record => :none) do
1462
-
1463
- @pubnub.publish(
1464
- :message => {:text => 'sometext'},
1465
- :channel => 'ruby_demo_channel',
1466
- :callback => @callback
1467
- )
1468
-
1469
- eventually do
1470
- @envelopes.size.should eq 0
1471
- @error_envelopes.size.should eq 1
1472
- @error_envelopes.first.response_message.should eq nil
1473
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
1474
- @error_envelopes.first.status.should eq 200
1475
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1476
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1477
- @error_envelopes.first.timetoken.blank?.should eq true
1478
- end
1479
-
1480
- end
1481
- end
1482
- end
1483
-
1484
- context 'its synchronous' do
1485
- it 'handles invalid json gracefully' do
1486
- VCR.use_cassette('new_ones/publish/publish-https-200-invalid', :record => :none) do
1487
-
1488
- @pubnub.publish(
1489
- :message => {:text => 'sometext'},
1490
- :channel => 'ruby_demo_channel',
1491
- :callback => @callback,
1492
- :http_sync => true
1493
- )
1494
-
1495
- @envelopes.size.should eq 0
1496
- @error_envelopes.size.should eq 1
1497
- @error_envelopes.first.response_message.should eq nil
1498
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
1499
- @error_envelopes.first.status.should eq 200
1500
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1501
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1502
- @error_envelopes.first.timetoken.blank?.should eq true
1503
-
1504
- end
1505
- end
1506
- end
1507
- end
1508
- end
1509
-
1510
- context 'gets status non200 response' do
1511
- context 'with valid json' do
1512
- context 'its asynchronous' do
1513
- it 'handles non200 response gracefully' do
1514
- VCR.use_cassette('new_ones/publish/publish-https-non200-valid', :record => :none) do
1515
-
1516
- @pubnub.publish(
1517
- :message => {:text => 'sometext'},
1518
- :channel => 'ruby_demo_channel',
1519
- :callback => @callback
1520
- )
1521
-
1522
- eventually do
1523
- @envelopes.size.should eq 0
1524
- @error_envelopes.size.should eq 1
1525
- @error_envelopes.first.response_message.should eq 'Sent'
1526
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"]')
1527
- @error_envelopes.first.status.should eq 500
1528
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1529
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
1530
- @error_envelopes.first.timetoken.blank?.should eq false
1531
- end
1532
-
1533
- end
1534
- end
1535
- end
1536
-
1537
- context 'its synchronous' do
1538
- it 'handles non200 response gracefully' do
1539
- VCR.use_cassette('new_ones/publish/publish-https-non200-valid', :record => :none) do
1540
-
1541
- @pubnub.publish(
1542
- :message => {:text => 'sometext'},
1543
- :channel => 'ruby_demo_channel',
1544
- :callback => @callback,
1545
- :http_sync => true
1546
- )
1547
-
1548
- @envelopes.size.should eq 0
1549
- @error_envelopes.size.should eq 1
1550
- @error_envelopes.first.response_message.should eq 'Sent'
1551
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"]')
1552
- @error_envelopes.first.status.should eq 500
1553
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1554
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
1555
- @error_envelopes.first.timetoken.blank?.should eq false
1556
-
1557
- end
1558
- end
1559
- end
1560
- end
1561
-
1562
- context 'with invalid json' do
1563
- context 'its asynchronous' do
1564
- it 'handles invalid json and non200 response gracefully' do
1565
- VCR.use_cassette('new_ones/publish/publish-https-non200-invalid', :record => :none) do
1566
-
1567
- @pubnub.publish(
1568
- :message => {:text => 'sometext'},
1569
- :channel => 'ruby_demo_channel',
1570
- :callback => @callback
1571
- )
1572
-
1573
- eventually do
1574
- @envelopes.size.should eq 0
1575
- @error_envelopes.size.should eq 1
1576
- @error_envelopes.first.response_message.should eq nil
1577
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
1578
- @error_envelopes.first.status.should eq 500
1579
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1580
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1581
- @error_envelopes.first.timetoken.blank?.should eq true
1582
- end
1583
-
1584
- end
1585
- end
1586
- end
1587
-
1588
- context 'its synchronous' do
1589
- it 'handles invalid json and non200 response gracefully' do
1590
- VCR.use_cassette('new_ones/publish/publish-https-non200-invalid', :record => :none) do
1591
-
1592
- @pubnub.publish(
1593
- :message => {:text => 'sometext'},
1594
- :channel => 'ruby_demo_channel',
1595
- :callback => @callback,
1596
- :http_sync => true
1597
- )
1598
-
1599
- @envelopes.size.should eq 0
1600
- @error_envelopes.size.should eq 1
1601
- @error_envelopes.first.response_message.should eq nil
1602
- @error_envelopes.first.response.should eq('[1,"Sent","13936818988607190"')
1603
- @error_envelopes.first.status.should eq 500
1604
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1605
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1606
- @error_envelopes.first.timetoken.blank?.should eq true
1607
-
1608
- end
1609
- end
1610
- end
1611
- end
1612
- end
1613
- end
1614
-
1615
- context 'with encrypting message' do
1616
-
1617
- before(:each) do
1618
- @pubnub = Pubnub.new(
1619
- :max_retries => 0,
1620
- :subscribe_key => :demo,
1621
- :publish_key => :demo,
1622
- :secret_key => 'some_secret_key',
1623
- :cipher_key => 'secret',
1624
- :error_callback => @error_callback,
1625
- :ssl => true
1626
- )
1627
-
1628
- @pubnub.uuid = 'tester'
1629
- end
1630
-
1631
- context 'gets status 200 response' do
1632
- context 'with valid json' do
1633
- context 'its asynchronous' do
1634
- it 'publishes valid message' do
1635
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-200-valid', :record => :none) do
1636
-
1637
- @pubnub.publish(
1638
- :message => {:text => 'sometext'},
1639
- :channel => 'ruby_demo_channel',
1640
- :callback => @callback
1641
- )
1642
-
1643
- eventually do
1644
- @envelopes.size.should eq 1
1645
- @envelopes.first.response_message.should eq 'Sent'
1646
- @envelopes.first.status.should eq 200
1647
- @envelopes.first.channel.should eq 'ruby_demo_channel'
1648
- @envelopes.first.message.should eq({:text => 'sometext'})
1649
- @envelopes.first.timetoken.blank?.should eq false
1650
- end
1651
-
1652
- end
1653
- end
1654
- end
1655
-
1656
- context 'its synchronous' do
1657
- it 'publishes valid message' do
1658
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-200-valid', :record => :none) do
1659
-
1660
- @pubnub.publish(
1661
- :message => {:text => 'sometext'},
1662
- :channel => 'ruby_demo_channel',
1663
- :callback => @callback,
1664
- :http_sync => true
1665
- )
1666
-
1667
- @envelopes.size.should eq 1
1668
- @envelopes.first.response_message.should eq 'Sent'
1669
- @envelopes.first.status.should eq 200
1670
- @envelopes.first.channel.should eq 'ruby_demo_channel'
1671
- @envelopes.first.message.should eq({:text => 'sometext'})
1672
- @envelopes.first.timetoken.blank?.should eq false
1673
-
1674
- end
1675
- end
1676
- end
1677
- end
1678
-
1679
- context 'with invalid json' do
1680
- context 'its asynchronous' do
1681
- it 'handles invalid json gracefully' do
1682
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-200-invalid', :record => :none) do
1683
-
1684
- @pubnub.publish(
1685
- :message => {:text => 'sometext'},
1686
- :channel => 'ruby_demo_channel',
1687
- :callback => @callback
1688
- )
1689
-
1690
- eventually do
1691
- @envelopes.size.should eq 0
1692
- @error_envelopes.size.should eq 1
1693
- @error_envelopes.first.response_message.should eq nil
1694
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
1695
- @error_envelopes.first.status.should eq 200
1696
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1697
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1698
- @error_envelopes.first.timetoken.blank?.should eq true
1699
- end
1700
-
1701
- end
1702
- end
1703
- end
1704
-
1705
- context 'its synchronous' do
1706
- it 'handles invalid json gracefully' do
1707
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-200-invalid', :record => :none) do
1708
-
1709
- @pubnub.publish(
1710
- :message => {:text => 'sometext'},
1711
- :channel => 'ruby_demo_channel',
1712
- :callback => @callback,
1713
- :http_sync => true
1714
- )
1715
-
1716
- @envelopes.size.should eq 0
1717
- @error_envelopes.size.should eq 1
1718
- @error_envelopes.first.response_message.should eq nil
1719
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
1720
- @error_envelopes.first.status.should eq 200
1721
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1722
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1723
- @error_envelopes.first.timetoken.blank?.should eq true
1724
-
1725
- end
1726
- end
1727
- end
1728
- end
1729
- end
1730
-
1731
- context 'gets status non200 response' do
1732
- context 'with valid json' do
1733
- context 'its asynchronous' do
1734
- it 'handles non200 response gracefully' do
1735
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-non200-valid', :record => :none) do
1736
-
1737
- @pubnub.publish(
1738
- :message => {:text => 'sometext'},
1739
- :channel => 'ruby_demo_channel',
1740
- :callback => @callback
1741
- )
1742
-
1743
- eventually do
1744
- @envelopes.size.should eq 0
1745
- @error_envelopes.size.should eq 1
1746
- @error_envelopes.first.response_message.should eq 'Sent'
1747
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"]')
1748
- @error_envelopes.first.status.should eq 500
1749
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1750
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
1751
- @error_envelopes.first.timetoken.blank?.should eq false
1752
- end
1753
-
1754
- end
1755
- end
1756
- end
1757
-
1758
- context 'its synchronous' do
1759
- it 'handles non200 response gracefully' do
1760
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-non200-valid', :record => :none) do
1761
-
1762
- @pubnub.publish(
1763
- :message => {:text => 'sometext'},
1764
- :channel => 'ruby_demo_channel',
1765
- :callback => @callback,
1766
- :http_sync => true
1767
- )
1768
-
1769
- @envelopes.size.should eq 0
1770
- @error_envelopes.size.should eq 1
1771
- @error_envelopes.first.response_message.should eq 'Sent'
1772
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"]')
1773
- @error_envelopes.first.status.should eq 500
1774
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1775
- @error_envelopes.first.message.should eq('[0,"Non 2xx server response."]')
1776
- @error_envelopes.first.timetoken.blank?.should eq false
1777
-
1778
- end
1779
- end
1780
- end
1781
- end
1782
-
1783
- context 'with invalid json' do
1784
- context 'its asynchronous' do
1785
- it 'handles invalid json and non200 response gracefully' do
1786
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-non200-invalid', :record => :none) do
1787
-
1788
- @pubnub.publish(
1789
- :message => {:text => 'sometext'},
1790
- :channel => 'ruby_demo_channel',
1791
- :callback => @callback
1792
- )
1793
-
1794
- eventually do
1795
- @envelopes.size.should eq 0
1796
- @error_envelopes.size.should eq 1
1797
- @error_envelopes.first.response_message.should eq nil
1798
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
1799
- @error_envelopes.first.status.should eq 500
1800
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1801
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1802
- @error_envelopes.first.timetoken.blank?.should eq true
1803
- end
1804
-
1805
- end
1806
- end
1807
- end
1808
-
1809
- context 'its synchronous' do
1810
- it 'handles invalid json and non200 response gracefully' do
1811
- VCR.use_cassette('new_ones/publish/publish-encrypted-https-non200-invalid', :record => :none) do
1812
-
1813
- @pubnub.publish(
1814
- :message => {:text => 'sometext'},
1815
- :channel => 'ruby_demo_channel',
1816
- :callback => @callback,
1817
- :http_sync => true
1818
- )
1819
-
1820
- @envelopes.size.should eq 0
1821
- @error_envelopes.size.should eq 1
1822
- @error_envelopes.first.response_message.should eq nil
1823
- @error_envelopes.first.response.should eq('[1,"Sent","13937904716672898"')
1824
- @error_envelopes.first.status.should eq 500
1825
- @error_envelopes.first.channel.should eq('ruby_demo_channel')
1826
- @error_envelopes.first.message.should eq('[0,"Invalid JSON in response."]')
1827
- @error_envelopes.first.timetoken.blank?.should eq true
1828
-
1829
- end
1830
- end
1831
- end
1832
- end
1833
- end
1834
- end
1835
- end
1836
- end
1837
-
1838
- context 'when gets message as' do
1839
- context 'array of hashes' do
1840
- context 'and its plain' do
1841
- it 'publishes it correctly' do
1842
- @pubnub = Pubnub.new(
1843
- :max_retries => 0,
1844
- :subscribe_key => :demo,
1845
- :publish_key => :demo,
1846
- :secret_key => 'some_secret_key',
1847
- :error_callback => @error_callback
1848
- )
1849
-
1850
- @pubnub.uuid = 'tester'
1851
-
1852
- msg = [{:a => 1}, {:b => 2}, :c => [1,2,3]]
1853
-
1854
- VCR.use_cassette('new_ones/publish/publish-plain-array-of-hashes', :record => :none) do
1855
-
1856
- @pubnub.publish(
1857
- :message => msg,
1858
- :channel => 'ruby_demo_channel',
1859
- :callback => @callback
1860
- )
1861
-
1862
- eventually do
1863
- @envelopes.size.should eq 1
1864
- @envelopes.first.response_message.should eq 'Sent'
1865
- @envelopes.first.status.should eq 200
1866
- @envelopes.first.channel.should eq 'ruby_demo_channel'
1867
- @envelopes.first.message.should eq(msg)
1868
- @envelopes.first.timetoken.blank?.should eq false
1869
- end
1870
- end
1871
-
1872
- end
1873
- end
1874
-
1875
- context 'and its encrypted' do
1876
- it 'publishes it correctly' do
1877
- @pubnub = Pubnub.new(
1878
- :max_retries => 0,
1879
- :subscribe_key => :demo,
1880
- :publish_key => :demo,
1881
- :secret_key => 'some_secret_key',
1882
- :cipher_key => 'secret',
1883
- :error_callback => @error_callback,
1884
- :ssl => true
1885
- )
1886
-
1887
- @pubnub.uuid = 'tester'
1888
-
1889
- msg = [{:a => 1}, {:b => 2}, :c => [1,2,3]]
1890
-
1891
- VCR.use_cassette('new_ones/publish/publish-encrypted-array-of-hashes', :record => :none) do
1892
-
1893
- @pubnub.publish(
1894
- :message => msg,
1895
- :channel => 'ruby_demo_channel',
1896
- :callback => @callback
1897
- )
1898
-
1899
- eventually do
1900
- @envelopes.size.should eq 1
1901
- @envelopes.first.response_message.should eq 'Sent'
1902
- @envelopes.first.status.should eq 200
1903
- @envelopes.first.channel.should eq 'ruby_demo_channel'
1904
- @envelopes.first.message.should eq(msg)
1905
- @envelopes.first.timetoken.blank?.should eq false
1906
- end
1907
- end
1908
- end
1909
- end
1910
- end
1911
- end
1912
- end