ably-rest 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +6 -3
  3. data/LICENSE +1 -1
  4. data/README.md +11 -0
  5. data/SPEC.md +2003 -1605
  6. data/ably-rest.gemspec +3 -1
  7. data/lib/submodules/ably-ruby/CHANGELOG.md +26 -2
  8. data/lib/submodules/ably-ruby/ably.gemspec +4 -3
  9. data/lib/submodules/ably-ruby/lib/ably/auth.rb +4 -4
  10. data/lib/submodules/ably-ruby/lib/ably/logger.rb +1 -1
  11. data/lib/submodules/ably-ruby/lib/ably/models/idiomatic_ruby_wrapper.rb +8 -8
  12. data/lib/submodules/ably-ruby/lib/ably/models/message.rb +6 -4
  13. data/lib/submodules/ably-ruby/lib/ably/models/presence_message.rb +6 -4
  14. data/lib/submodules/ably-ruby/lib/ably/modules/async_wrapper.rb +2 -2
  15. data/lib/submodules/ably-ruby/lib/ably/modules/conversions.rb +1 -1
  16. data/lib/submodules/ably-ruby/lib/ably/modules/encodeable.rb +1 -1
  17. data/lib/submodules/ably-ruby/lib/ably/modules/event_emitter.rb +2 -2
  18. data/lib/submodules/ably-ruby/lib/ably/modules/safe_deferrable.rb +1 -1
  19. data/lib/submodules/ably-ruby/lib/ably/modules/safe_yield.rb +1 -1
  20. data/lib/submodules/ably-ruby/lib/ably/modules/state_emitter.rb +5 -5
  21. data/lib/submodules/ably-ruby/lib/ably/realtime/auth.rb +1 -1
  22. data/lib/submodules/ably-ruby/lib/ably/realtime/channel.rb +3 -3
  23. data/lib/submodules/ably-ruby/lib/ably/realtime/channel/channel_manager.rb +2 -2
  24. data/lib/submodules/ably-ruby/lib/ably/realtime/client/incoming_message_dispatcher.rb +3 -2
  25. data/lib/submodules/ably-ruby/lib/ably/realtime/connection.rb +11 -6
  26. data/lib/submodules/ably-ruby/lib/ably/realtime/connection/websocket_transport.rb +1 -1
  27. data/lib/submodules/ably-ruby/lib/ably/realtime/presence.rb +3 -3
  28. data/lib/submodules/ably-ruby/lib/ably/realtime/presence/members_map.rb +6 -6
  29. data/lib/submodules/ably-ruby/lib/ably/rest/channel.rb +2 -2
  30. data/lib/submodules/ably-ruby/lib/ably/rest/client.rb +20 -12
  31. data/lib/submodules/ably-ruby/lib/ably/version.rb +1 -1
  32. data/lib/submodules/ably-ruby/spec/acceptance/realtime/auth_spec.rb +13 -37
  33. data/lib/submodules/ably-ruby/spec/acceptance/realtime/channel_history_spec.rb +7 -1
  34. data/lib/submodules/ably-ruby/spec/acceptance/realtime/channel_spec.rb +3 -3
  35. data/lib/submodules/ably-ruby/spec/acceptance/realtime/client_spec.rb +2 -2
  36. data/lib/submodules/ably-ruby/spec/acceptance/realtime/connection_failures_spec.rb +221 -7
  37. data/lib/submodules/ably-ruby/spec/acceptance/realtime/connection_spec.rb +13 -21
  38. data/lib/submodules/ably-ruby/spec/acceptance/realtime/message_spec.rb +2 -2
  39. data/lib/submodules/ably-ruby/spec/acceptance/realtime/presence_history_spec.rb +12 -3
  40. data/lib/submodules/ably-ruby/spec/acceptance/realtime/presence_spec.rb +10 -10
  41. data/lib/submodules/ably-ruby/spec/acceptance/rest/auth_spec.rb +21 -48
  42. data/lib/submodules/ably-ruby/spec/acceptance/rest/client_spec.rb +193 -68
  43. data/lib/submodules/ably-ruby/spec/shared/client_initializer_behaviour.rb +1 -9
  44. data/lib/submodules/ably-ruby/spec/spec_helper.rb +2 -0
  45. data/lib/submodules/ably-ruby/spec/support/event_emitter_helper.rb +31 -0
  46. data/lib/submodules/ably-ruby/spec/support/event_machine_helper.rb +1 -1
  47. data/lib/submodules/ably-ruby/spec/support/test_logger_helper.rb +42 -0
  48. data/lib/submodules/ably-ruby/spec/unit/logger_spec.rb +1 -9
  49. data/lib/submodules/ably-ruby/spec/unit/modules/async_wrapper_spec.rb +2 -2
  50. data/lib/submodules/ably-ruby/spec/unit/modules/event_emitter_spec.rb +3 -3
  51. data/lib/submodules/ably-ruby/spec/unit/modules/state_emitter_spec.rb +10 -10
  52. data/lib/submodules/ably-ruby/spec/unit/realtime/channel_spec.rb +1 -1
  53. data/lib/submodules/ably-ruby/spec/unit/realtime/connection_spec.rb +1 -1
  54. data/lib/submodules/ably-ruby/spec/unit/realtime/presence_spec.rb +1 -1
  55. data/lib/submodules/ably-ruby/spec/unit/rest/channel_spec.rb +22 -0
  56. data/lib/submodules/ably-ruby/spec/unit/util/pub_sub_spec.rb +3 -3
  57. data/spec/spec_helper.rb +1 -0
  58. metadata +21 -5

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.