2011-10-07 15:02:14 -04:00
# -*- encoding: utf-8 -*-
2017-06-03 09:20:44 -04:00
version = File . read ( File . expand_path ( " ../lib/puma/const.rb " , __FILE__ ) ) [ / VERSION = "( \ d+ \ . \ d+ \ . \ d+)" / , 1 ] || raise
2013-08-13 19:09:05 -04:00
2011-10-07 15:02:14 -04:00
Gem :: Specification . new do | s |
s . name = " puma "
2013-08-13 19:09:05 -04:00
s . version = version
2011-10-07 15:02:14 -04:00
s . authors = [ " Evan Phoenix " ]
2016-02-25 17:49:02 -05:00
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. "
2017-06-03 09:20:44 -04:00
s . summary = " Puma is a simple, fast, threaded, and highly concurrent 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 ]
2012-04-30 13:45:32 -04:00
s . homepage = " http://puma.io "
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-05-07 23:53:57 -04:00
" homepage_uri " = > " http://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
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