Sha256: dd1926cad2df085426f3778262195017e3f1f9aaacc0ff7c4b90fcf6358074a8

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

# -*- encoding: utf-8 -*-

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'tdlib/version'

Gem::Specification.new do |gem|
  gem.name          = "tdlib-ruby"
  gem.version       = TD::VERSION
  gem.summary       = 'Ruby bindings and client for TDlib'
  gem.description   = 'Ruby bindings and client for TDlib'
  gem.license       = "MIT"
  gem.authors       = ["Southbridge"]
  gem.email         = "ask@southbridge.io"
  gem.homepage      = "https://github.com/centosadmin/tdlib-ruby"

  gem.files         = `git ls-files`.split($/)

  `git submodule --quiet foreach --recursive pwd`.split($/).each do |submodule|
    submodule.sub!("#{Dir.pwd}/",'')

    Dir.chdir(submodule) do
      `git ls-files`.split($/).map do |subpath|
        gem.files << File.join(submodule,subpath)
      end
    end
  end
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = ['lib']

  gem.add_runtime_dependency 'dry-configurable', '~> 0.7'
  gem.add_runtime_dependency 'celluloid', '~> 0.17'

  gem.add_development_dependency 'bundler', '~> 1.10'
  gem.add_development_dependency 'rake', '12.3.1'
  gem.add_development_dependency 'rspec', '~> 3.0'
  gem.add_development_dependency 'rubygems-tasks', '~> 0.2'
  gem.add_development_dependency 'yard', '~> 0.9'
  gem.add_development_dependency 'pry', '~> 0.11'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-ruby-0.9.1 tdlib-ruby.gemspec
tdlib-ruby-0.9.0 tdlib-ruby.gemspec