lib/submodules/ably-ruby/lib/ably/modules/ably.rb in ably-rest-0.8.5 vs lib/submodules/ably-ruby/lib/ably/modules/ably.rb in ably-rest-0.8.6
- old
+ new
@@ -5,11 +5,12 @@
# @see file:README.md README
module Ably
# Fallback hosts to use when a connection to rest/realtime.ably.io is not possible due to
# network failures either at the client, between the client and Ably, within an Ably data center, or at the IO domain registrar
#
- FALLBACK_HOSTS = %w(A.ably-realtime.com B.ably-realtime.com C.ably-realtime.com D.ably-realtime.com E.ably-realtime.com)
+ FALLBACK_HOSTS = %w(A.ably-realtime.com B.ably-realtime.com C.ably-realtime.com D.ably-realtime.com E.ably-realtime.com).freeze
+
INTERNET_CHECK = {
url: '//internet-up.ably-realtime.com/is-the-internet-up.txt',
ok_text: 'yes'
- }
+ }.freeze
end