Sha256: 03c64b08854110f849473cfc8f914a52d9e53678a542aa65c9eeb8ea88f88616

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 KB

Contents

# encoding: utf-8
File.expand_path('../lib/submodules/ably-ruby/lib', __FILE__).tap do |lib|
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(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

Gem::Specification.new do |spec|
  spec.name          = 'ably-rest'
  spec.version       = Ably::VERSION
  spec.authors       = ['Matthew O\'Riordan']
  spec.email         = ['matt@ably.io']
  spec.description   = %q{A Ruby REST only client library for ably.io realtime messaging}
  spec.summary       = %q{A Ruby REST only client library for ably.io realtime messaging}
  spec.homepage      = 'http://github.com/ably/ably-ruby-rest'
  spec.license       = 'Apache 2'

  submodule_path  = File.expand_path('../lib/submodules/ably-ruby', __FILE__)
  submodule_files = Dir.chdir(submodule_path) do
    `git ls-files`.split($\).map do |file|
      "lib/submodules/ably-ruby/#{file}"
    end
  end

  spec.files         = `git ls-files`.split($/) + submodule_files
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.add_runtime_dependency 'faraday', '~> 0.9'
  spec.add_runtime_dependency 'json'
  spec.add_runtime_dependency 'msgpack', '>= 0.6.2'
  spec.add_runtime_dependency 'addressable', '>= 2.0.0'

  spec.add_development_dependency 'bundler', '~> 1.3'
  spec.add_development_dependency 'rake'
  spec.add_development_dependency 'redcarpet'
  spec.add_development_dependency 'rspec', '~> 3.2.0'
  spec.add_development_dependency 'rspec-retry'
  spec.add_development_dependency 'yard'
  spec.add_development_dependency 'webmock'

  if RUBY_VERSION.match(/^2/)
    spec.add_development_dependency 'pry'
    spec.add_development_dependency 'pry-byebug'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ably-rest-0.8.9 ably-rest.gemspec
ably-rest-0.8.6 ably-rest.gemspec