Sha256: 127c9466542bd3b7bf199021b26d706d902b00c42bfb1867506876ae8ed60713

Contents?: true

Size: 1001 Bytes

Versions: 7

Compression:

Stored size: 1001 Bytes

Contents

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'
require 'ably/version'

# 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
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ably-rest-0.8.9 lib/ably-rest.rb
ably-rest-0.8.6 lib/ably-rest.rb
ably-rest-0.8.5 lib/ably-rest.rb
ably-rest-0.8.3 lib/ably-rest.rb
ably-rest-0.8.2 lib/ably-rest.rb
ably-rest-0.8.1 lib/ably-rest.rb
ably-rest-0.7.5 lib/ably-rest.rb