mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
afb27d5552
Standard Windows Rubies have a mechanism to load the OpenSSL package when installing Puma. This is done via the metadata["msys2_mingw_dependencies"] item. The package manager only allows installation of the most recently released package, which is currently OpenSSL 1.1.1d. Windows Ruby 2.4.x builds with OpenSSL 1.0.2.
24 lines
1.3 KiB
Ruby
24 lines
1.3 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
|
|
version = File.read(File.expand_path("../lib/puma/const.rb", __FILE__))[/VERSION = "(\d+\.\d+\.\d+)"/, 1] || raise
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "puma"
|
|
s.version = version
|
|
s.authors = ["Evan Phoenix"]
|
|
s.description = "Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications. Puma is intended for use in both development and production environments. It's great for highly concurrent Ruby implementations such as Rubinius and JRuby as well as as providing process worker support to support CRuby well."
|
|
s.summary = "Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications"
|
|
s.email = ["evan@phx.io"]
|
|
s.executables = ["puma", "pumactl"]
|
|
s.extensions = ["ext/puma_http11/extconf.rb"]
|
|
s.add_runtime_dependency "nio4r", "~> 2.0"
|
|
if RbConfig::CONFIG['ruby_version'] >= '2.5'
|
|
s.metadata["msys2_mingw_dependencies"] = "openssl"
|
|
end
|
|
s.files = `git ls-files -- bin docs ext lib tools`.split("\n") +
|
|
%w[History.md LICENSE README.md]
|
|
s.homepage = "http://puma.io"
|
|
s.metadata["changelog_uri"] = "https://github.com/puma/puma/blob/master/History.md"
|
|
s.license = "BSD-3-Clause"
|
|
s.required_ruby_version = Gem::Requirement.new(">= 2.2")
|
|
end
|