forked from southbridgeio/tdlib-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tdlib-ruby.gemspec
44 lines (37 loc) · 1.65 KB
/
tdlib-ruby.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- 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 = "[email protected]"
gem.homepage = "https://github.com/centosadmin/tdlib-ruby"
gem.files = `git ls-files`.split($/) - ['lib/tdlib/td_api_tl_parser.rb']
`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 'dry-struct', '~> 0.5.1'
gem.add_runtime_dependency 'dry-types', '~> 0.13.2'
gem.add_runtime_dependency 'concurrent-ruby', '~> 1.0'
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'
gem.add_development_dependency 'activesupport', '~> 5.2'
end