Sha256: 121c7e8e9aca27dce39f2a0d856445e325baf148d411e047551de18630ab5bd1

Contents?: true

Size: 1.07 KB

Versions: 17

Compression:

Stored size: 1.07 KB

Contents

require 'addressable/uri'

File.expand_path('submodules/ably-ruby/lib', File.dirname(__FILE__)).tap do |lib|
  $LOAD_PATH.unshift lib

  begin
    require File.join(lib, 'ably/version')
  rescue LoadError => e
    fail "#{e.message}\nAre you sure the submodule for ably-ruby exists at lib/submodules?  If not, run `git submodule init && git submodule update`"
  end
end

%w(modules util).each do |namespace|
  ignore_modules = /^async|event_machine|state_machine|deferrable/
  Dir.glob(File.expand_path("submodules/ably-ruby/lib/ably/#{namespace}/*.rb", File.dirname(__FILE__))).each do |file|
    require file unless File.basename(file).match(ignore_modules)
  end
end

require 'ably/auth'
require 'ably/exceptions'
require 'ably/logger'
require 'ably-rest/modules/eventmachine_deferrable'
require 'ably/rest'

# Ably is the base namespace for the Ably {Ably::Rest Rest} client libraries.
#
# Please refer to the {file:README.md Readme} on getting started.
#
# @see file:README.md README
module Ably
  # Used to alter the user agent to ably-rest-[VERSION]
  configure_lib_variant = 'rest'
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ably-rest-1.1.6 lib/ably-rest.rb
ably-rest-1.1.5 lib/ably-rest.rb
ably-rest-1.1.4 lib/ably-rest.rb
ably-rest-1.1.4.rc lib/ably-rest.rb
ably-rest-1.1.3 lib/ably-rest.rb
ably-rest-1.1.2 lib/ably-rest.rb
ably-rest-1.1.2.rc1 lib/ably-rest.rb
ably-rest-1.1.0 lib/ably-rest.rb
ably-rest-1.0.6 lib/ably-rest.rb
ably-rest-1.0.5 lib/ably-rest.rb
ably-rest-1.0.0 lib/ably-rest.rb
ably-rest-0.8.15 lib/ably-rest.rb
ably-rest-0.9.3 lib/ably-rest.rb
ably-rest-0.9.2 lib/ably-rest.rb
ably-rest-0.9.1 lib/ably-rest.rb
ably-rest-0.9.0 lib/ably-rest.rb
ably-rest-0.8.14 lib/ably-rest.rb