mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
72 lines
2.2 KiB
Ruby
72 lines
2.2 KiB
Ruby
# coding: utf-8
|
|
# frozen_string_literal: true
|
|
|
|
Gem::Specification.new do |spec|
|
|
spec.name = "digest"
|
|
spec.version = "3.0.1.pre"
|
|
spec.authors = ["Akinori MUSHA"]
|
|
spec.email = ["knu@idaemons.org"]
|
|
|
|
spec.summary = %q{Provides a framework for message digest libraries.}
|
|
spec.description = %q{Provides a framework for message digest libraries.}
|
|
spec.homepage = "https://github.com/ruby/digest"
|
|
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
|
|
|
spec.files = [
|
|
"LICENSE.txt", "README.md",
|
|
|
|
"ext/digest/defs.h", "ext/digest/digest.c", "ext/digest/digest.h",
|
|
"ext/digest/digest_conf.rb", "ext/digest/extconf.rb",
|
|
"ext/digest/lib/digest.rb",
|
|
|
|
"ext/digest/bubblebabble/bubblebabble.c",
|
|
"ext/digest/bubblebabble/extconf.rb",
|
|
|
|
"ext/digest/md5/extconf.rb", "ext/digest/md5/md5.c",
|
|
"ext/digest/md5/md5.h", "ext/digest/md5/md5cc.h",
|
|
"ext/digest/md5/md5init.c",
|
|
|
|
"ext/digest/rmd160/extconf.rb", "ext/digest/rmd160/rmd160.c",
|
|
"ext/digest/rmd160/rmd160.h", "ext/digest/rmd160/rmd160init.c",
|
|
|
|
"ext/digest/sha1/extconf.rb", "ext/digest/sha1/sha1.c",
|
|
"ext/digest/sha1/sha1.h", "ext/digest/sha1/sha1cc.h",
|
|
"ext/digest/sha1/sha1init.c",
|
|
|
|
"ext/digest/sha2/extconf.rb", "ext/digest/sha2/lib/sha2.rb",
|
|
"ext/digest/sha2/sha2.c", "ext/digest/sha2/sha2.h",
|
|
"ext/digest/sha2/sha2cc.h", "ext/digest/sha2/sha2init.c",
|
|
|
|
"ext/openssl/deprecation.rb",
|
|
"ext/digest/test.sh",
|
|
]
|
|
|
|
spec.required_ruby_version = ">= 2.5.0"
|
|
|
|
spec.bindir = "exe"
|
|
spec.executables = []
|
|
spec.require_paths = ["lib"]
|
|
|
|
if Gem::Platform === spec.platform and spec.platform =~ 'java' or RUBY_ENGINE == 'jruby'
|
|
spec.platform = 'java'
|
|
spec.files.concat [
|
|
"lib/digest.jar",
|
|
"lib/digest/md5.rb",
|
|
"lib/digest/sha1.rb",
|
|
"lib/digest/sha2.rb",
|
|
"lib/digest/rmd160.rb",
|
|
"lib/digest/bubblebabble.rb"
|
|
]
|
|
else
|
|
spec.extensions = %w[
|
|
ext/digest/extconf.rb
|
|
ext/digest/bubblebabble/extconf.rb
|
|
ext/digest/md5/extconf.rb
|
|
ext/digest/rmd160/extconf.rb
|
|
ext/digest/sha1/extconf.rb
|
|
ext/digest/sha2/extconf.rb
|
|
]
|
|
end
|
|
|
|
spec.metadata["msys2_mingw_dependencies"] = "openssl"
|
|
end
|