Debian Codegraph @

ext/openssl/openssl.gemspec

raw
1 Gem::Specification.new do |spec|
2 spec.name = "openssl"
3 spec.version = "3.2.0"
4 spec.authors = ["Martin Bosslet", "SHIBATA Hiroshi", "Zachary Scott", "Kazuki Yamaguchi"]
5 spec.email = ["[email protected]"]
6 spec.summary = %q{SSL/TLS and general-purpose cryptography for Ruby}
7 spec.description = %q{OpenSSL for Ruby provides access to SSL/TLS and general-purpose cryptography based on the OpenSSL library.}
8 spec.homepage = "https://github.com/ruby/openssl"
9 spec.license = "Ruby"
10
11 if Gem::Platform === spec.platform and spec.platform =~ 'java' or RUBY_ENGINE == 'jruby'
12 spec.platform = "java"
13 spec.files = []
14 spec.add_runtime_dependency('jruby-openssl', '~> 0.14')
15 else
16 spec.files = Dir["lib/**/*.rb", "ext/**/*.{c,h,rb}", "*.md", "BSDL", "LICENSE.txt"]
17 spec.require_paths = ["lib"]
18 spec.extensions = ["ext/openssl/extconf.rb"]
19 end
20
21 spec.extra_rdoc_files = Dir["*.md"]
22 spec.rdoc_options = ["--main", "README.md"]
23
24 spec.required_ruby_version = ">= 2.7.0"
25
26 spec.metadata["msys2_mingw_dependencies"] = "openssl"
27 end