aboutsummaryrefslogtreecommitdiffstats
path: root/openssl.gemspec
blob: 674dc20debf05b91ae55ade132ed91ec882e0b91 (plain)
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
Gem::Specification.new do |spec|
  spec.name          = "openssl"
  spec.version       = "3.1.0"
  spec.authors       = ["Martin Bosslet", "SHIBATA Hiroshi", "Zachary Scott", "Kazuki Yamaguchi"]
  spec.email         = ["ruby-core@ruby-lang.org"]
  spec.summary       = %q{OpenSSL provides SSL, TLS and general purpose cryptography.}
  spec.description   = %q{It wraps the OpenSSL library.}
  spec.homepage      = "https://github.com/ruby/openssl"
  spec.license       = "Ruby"

  if Gem::Platform === spec.platform and spec.platform =~ 'java' or RUBY_ENGINE == 'jruby'
    spec.platform    = "java"
    spec.files       = []
    spec.add_runtime_dependency('jruby-openssl', '~> 0.14')
  else
    spec.files         = Dir["lib/**/*.rb", "ext/**/*.{c,h,rb}", "*.md", "BSDL", "LICENSE.txt"]
    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