-
Notifications
You must be signed in to change notification settings - Fork 3
/
ttcrypt.gemspec
47 lines (35 loc) · 1.37 KB
/
ttcrypt.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
45
46
47
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ttcrypt/version'
require 'rake'
spec = Gem::Specification.new do |spec|
spec.name = "ttcrypt"
spec.version = TTCrypt::VERSION
spec.authors = ["sergeych"]
spec.email = ["real.sergeych@gmail.com"]
spec.summary = %q{thrift basic cryptography}
spec.description = %q{optimized RSA and other basic cryptography primitives in c++}
spec.homepage = "https://github.com/sergeych/ttcrypt"
spec.license = "GPL3+"
spec.files = `git ls-files -z`.split("\x0")
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','ext']
spec.extensions = FileList["ext/**/extconf.rb"]
spec.platform = Gem::Platform::RUBY
spec.add_development_dependency "bundler", "~> 2.1.0"
spec.add_development_dependency 'rspec', '~> 2.14', '>= 2.14.0'
spec.add_dependency 'rake'
spec.add_dependency 'rake-compiler'
spec.requirements << 'GMP, https://gmplib.org'
end
# add your default gem packing task
# Gem::PackageTask.new(spec) do |pkg|
# end
# Rake::ExtensionTask.new "ttcrypt", spec do |ext|
# ext.lib_dir = "lib/ttcrypt"
# ext.source_pattern = "*.{c,cpp}"
# ext.gem_spec = spec
# end
spec