mirror of
https://github.com/ruby/ruby.git
synced 2026-08-03 23:40:18 +08:00
"~> 0.14" is equivalent to ">= 0.14, < 1". Since the openssl gem is an empty stub on JRuby, there is no good reason to specify version bounds on jruby-openssl. [ky: commit message] https://github.com/ruby/openssl/commit/3ffbe73aaa Co-authored-by: Kazuki Yamaguchi <k@rhe.jp>
29 lines
1.2 KiB
Ruby
29 lines
1.2 KiB
Ruby
Gem::Specification.new do |spec|
|
|
spec.name = "openssl"
|
|
spec.version = "4.0.2"
|
|
spec.authors = ["Martin Bosslet", "SHIBATA Hiroshi", "Zachary Scott", "Kazuki Yamaguchi"]
|
|
spec.email = ["ruby-core@ruby-lang.org"]
|
|
spec.summary = %q{SSL/TLS and general-purpose cryptography for Ruby}
|
|
spec.description = %q{OpenSSL for Ruby provides access to SSL/TLS and general-purpose cryptography based on the OpenSSL library.}
|
|
spec.homepage = "https://github.com/ruby/openssl"
|
|
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
|
|
|
if Gem::Platform === spec.platform and spec.platform =~ 'java' or RUBY_ENGINE == 'jruby'
|
|
spec.platform = "java"
|
|
spec.files = []
|
|
spec.add_runtime_dependency('jruby-openssl')
|
|
else
|
|
spec.files = Dir.glob(["lib/**/*.rb", "ext/**/*.{c,h,rb}", "*.md"], base: File.expand_path("..", __FILE__)) +
|
|
["BSDL", "COPYING"]
|
|
spec.require_paths = ["lib"]
|
|
spec.extensions = ["ext/openssl/extconf.rb"]
|
|
end
|
|
|
|
spec.extra_rdoc_files = Dir["*.md"]
|
|
spec.rdoc_options = ["--main", "README.md"]
|
|
|
|
spec.required_ruby_version = ">= 2.7.0"
|
|
|
|
spec.metadata["msys2_mingw_dependencies"] = "openssl"
|
|
end
|