-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathruby-zstds.gemspec
30 lines (24 loc) · 936 Bytes
/
ruby-zstds.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
# Ruby bindings for zstd library.
# Copyright (c) 2019 AUTHORS, MIT License.
lib_path = File.expand_path "lib", __dir__
$LOAD_PATH.unshift lib_path unless $LOAD_PATH.include? lib_path
require "zstds/version"
GEMSPEC = Gem::Specification.new do |gem|
gem.name = "ruby-zstds"
gem.summary = "Ruby bindings for zstd library."
gem.homepage = "https://github.com/andrew-aladev/ruby-zstds"
gem.license = "MIT"
gem.authors = File.read("AUTHORS").split("\n").reject(&:empty?)
gem.email = "[email protected]"
gem.version = ZSTDS::VERSION
gem.metadata = {
"rubygems_mfa_required" => "true"
}
gem.add_runtime_dependency "adsp", "~> 1.0"
gem.files =
`find ext lib -type f \\( -name "*.rb" -o -name "*.h" -o -name "*.c" \\) -print0`.split("\x0") +
%w[AUTHORS LICENSE README.md]
gem.require_paths = %w[lib]
gem.extensions = %w[ext/extconf.rb]
gem.required_ruby_version = ">= 2.6"
end