2020-05-10 23:20:17 -04:00
require_relative " lib/puma/const "
2013-08-13 19:09:05 -04:00
2011-10-07 15:02:14 -04:00
Gem :: Specification . new do | s |
s . name = " puma "
2020-05-10 23:20:17 -04:00
s . version = Puma :: Const :: PUMA_VERSION
2011-10-07 15:02:14 -04:00
s . authors = [ " Evan Phoenix " ]
2021-09-02 22:50:12 -04:00
s . description = " Puma is a simple, fast, threaded, and highly parallel HTTP 1.1 server for Ruby/Rack applications. Puma is intended for use in both development and production environments. It's great for highly parallel 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 parallel HTTP 1.1 server for Ruby/Rack applications "
2011-10-07 15:02:14 -04:00
s . email = [ " evan@phx.io " ]
2011-12-05 19:09:58 -05:00
s . executables = [ " puma " , " pumactl " ]
2011-10-13 20:49:33 -04:00
s . extensions = [ " ext/puma_http11/extconf.rb " ]
2019-02-19 19:38:21 -05:00
s . add_runtime_dependency " nio4r " , " ~> 2.0 "
2020-02-19 12:52:00 -05:00
if RbConfig :: CONFIG [ 'ruby_version' ] > = '2.5'
s . metadata [ " msys2_mingw_dependencies " ] = " openssl "
end
2017-08-16 10:38:00 -04:00
s . files = ` git ls-files -- bin docs ext lib tools ` . split ( " \n " ) +
%w[ History.md LICENSE README.md ]
2020-08-13 14:50:07 -04:00
s . homepage = " https://puma.io "
2020-05-10 21:20:19 -04:00
2020-05-07 23:53:57 -04:00
if s . respond_to? ( :metadata = )
s . metadata = {
" bug_tracker_uri " = > " https://github.com/puma/puma/issues " ,
2020-05-08 01:34:28 -04:00
" changelog_uri " = > " https://github.com/puma/puma/blob/master/History.md " ,
2020-08-13 14:50:07 -04:00
" homepage_uri " = > " https://puma.io " ,
2020-05-08 01:34:28 -04:00
" source_code_uri " = > " https://github.com/puma/puma "
2020-05-07 23:53:57 -04:00
}
end
2020-05-10 21:20:19 -04:00
2014-06-02 19:24:53 -04:00
s . license = " BSD-3-Clause "
2019-06-14 15:00:54 -04:00
s . required_ruby_version = Gem :: Requirement . new ( " >= 2.2 " )
2011-10-07 15:02:14 -04:00
end