2011-10-07 15:02:14 -04:00
# -*- encoding: utf-8 -*-
2013-08-08 19:19:55 -04:00
# This is only used when puma is a git dep from Bundler, so it's a little
# weird.
2013-08-13 19:09:05 -04:00
d = File . read ( File . expand_path ( " ../lib/puma/const.rb " , __FILE__ ) )
if d =~ / VERSION = "( \ d+ \ . \ d+ \ . \ d+)" /
version = $1
else
version = " 0.0.1 "
end
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
2013-04-29 19:16:51 -04:00
s . required_rubygems_version = Gem :: Requirement . new ( " >= 0 " ) if s . respond_to? :required_rubygems_version =
2011-10-07 15:02:14 -04:00
s . authors = [ " Evan Phoenix " ]
2013-08-08 19:19:55 -04:00
s . date = ` git log --pretty="%ai" -n 1 ` . split ( " " ) . first
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. "
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 " ]
2013-08-08 19:19:55 -04:00
s . files = ` git ls-files ` . split ( $/ )
2012-04-30 13:45:32 -04:00
s . homepage = " http://puma.io "
2014-06-02 19:24:53 -04:00
s . license = " BSD-3-Clause "
2011-10-07 15:02:14 -04:00
s . rdoc_options = [ " --main " , " README.md " ]
s . require_paths = [ " lib " ]
2016-06-06 19:15:54 -04:00
s . required_ruby_version = Gem :: Requirement . new ( " >= 1.9.3 " )
2011-10-07 15:02:14 -04:00
s . rubyforge_project = " puma "
2013-02-06 01:46:07 -05:00
s . rubygems_version = " 1.8.25 "
2013-06-18 17:50:56 -04:00
s . summary = " Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications "
2013-08-08 19:19:55 -04:00
s . test_files = s . files . grep ( / ^test / )
2011-10-07 15:02:14 -04:00
if s . respond_to? :specification_version then
s . specification_version = 3
if Gem :: Version . new ( Gem :: VERSION ) > = Gem :: Version . new ( '1.2.0' ) then
2013-06-20 18:50:36 -04:00
s . add_development_dependency ( %q< rdoc > , [ " ~> 4.0 " ] )
2012-05-15 23:52:24 -04:00
s . add_development_dependency ( %q< rake-compiler > , [ " ~> 0.8.0 " ] )
2013-06-20 18:50:36 -04:00
s . add_development_dependency ( %q< hoe > , [ " ~> 3.6 " ] )
2011-10-07 15:02:14 -04:00
else
2013-06-20 18:50:36 -04:00
s . add_dependency ( %q< rdoc > , [ " ~> 4.0 " ] )
2012-05-15 23:52:24 -04:00
s . add_dependency ( %q< rake-compiler > , [ " ~> 0.8.0 " ] )
2013-06-20 18:50:36 -04:00
s . add_dependency ( %q< hoe > , [ " ~> 3.6 " ] )
2011-10-07 15:02:14 -04:00
end
else
2013-06-20 18:50:36 -04:00
s . add_dependency ( %q< rdoc > , [ " ~> 4.0 " ] )
2012-05-15 23:52:24 -04:00
s . add_dependency ( %q< rake-compiler > , [ " ~> 0.8.0 " ] )
2013-06-20 18:50:36 -04:00
s . add_dependency ( %q< hoe > , [ " ~> 3.6 " ] )
2011-10-07 15:02:14 -04:00
end
end