2020-10-15 09:01:43 -04:00
|
|
|
# coding: utf-8
|
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "digest"
|
2021-04-06 06:39:24 -04:00
|
|
|
spec.version = "3.0.1.pre"
|
2020-10-15 09:01:43 -04:00
|
|
|
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"
|
2021-07-07 08:29:57 -04:00
|
|
|
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
2020-10-15 09:01:43 -04:00
|
|
|
|
2021-09-27 03:31:55 -04:00
|
|
|
spec.files = [
|
|
|
|
"LICENSE.txt",
|
|
|
|
"README.md",
|
|
|
|
*Dir["lib/digest{.rb,/**/*.rb}"],
|
2020-10-15 09:01:43 -04:00
|
|
|
]
|
2020-12-16 03:53:37 -05:00
|
|
|
|
2021-06-01 08:15:46 -04:00
|
|
|
spec.required_ruby_version = ">= 2.5.0"
|
2020-10-19 05:56:19 -04:00
|
|
|
|
2020-10-15 09:01:43 -04:00
|
|
|
spec.bindir = "exe"
|
2021-04-01 10:13:58 -04:00
|
|
|
spec.executables = []
|
2021-06-12 12:49:57 -04:00
|
|
|
|
|
|
|
if Gem::Platform === spec.platform and spec.platform =~ 'java' or RUBY_ENGINE == 'jruby'
|
|
|
|
spec.platform = 'java'
|
2021-09-27 03:31:55 -04:00
|
|
|
|
|
|
|
spec.files += Dir["ext/java/**/*.{rb,java}"]
|
|
|
|
spec.require_paths = %w[lib ext/java/org/jruby/ext/digest/lib]
|
2021-06-12 12:49:57 -04:00
|
|
|
else
|
2021-09-27 03:31:55 -04:00
|
|
|
spec.extensions = Dir["ext/digest/**/extconf.rb"]
|
|
|
|
|
|
|
|
spec.files += Dir["ext/digest/**/*.{rb,c,h,sh}"]
|
|
|
|
spec.require_paths = %w[lib]
|
2021-06-12 12:49:57 -04:00
|
|
|
end
|
|
|
|
|
2020-10-19 05:56:19 -04:00
|
|
|
spec.metadata["msys2_mingw_dependencies"] = "openssl"
|
2020-10-15 09:01:43 -04:00
|
|
|
end
|