puma--puma/puma.gemspec

56 lines
2.2 KiB
Ruby
Raw Normal View History

2011-10-07 19:02:14 +00:00
# -*- encoding: utf-8 -*-
# This is only used when puma is a git dep from Bundler, so it's a little
# weird.
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 19:02:14 +00:00
Gem::Specification.new do |s|
s.name = "puma"
s.version = version
2011-10-07 19:02:14 +00:00
2013-04-29 23:16:51 +00:00
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
2011-10-07 19:02:14 +00:00
s.authors = ["Evan Phoenix"]
s.date = `git log --pretty="%ai" -n 1`.split(" ").first
2013-06-18 21:50:56 +00: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. In order to get the best throughput, it is highly recommended that you use a Ruby implementation with real threads like Rubinius or JRuby."
2011-10-07 19:02:14 +00:00
s.email = ["evan@phx.io"]
2011-12-06 00:09:58 +00:00
s.executables = ["puma", "pumactl"]
s.extensions = ["ext/puma_http11/extconf.rb"]
s.files = `git ls-files`.split($/)
2012-04-30 17:45:32 +00:00
s.homepage = "http://puma.io"
2014-01-25 20:50:23 +00:00
s.license = "BSD"
2011-10-07 19:02:14 +00:00
s.rdoc_options = ["--main", "README.md"]
s.require_paths = ["lib"]
2012-01-08 20:49:26 +00:00
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
2011-10-07 19:02:14 +00:00
s.rubyforge_project = "puma"
2013-02-06 06:46:07 +00:00
s.rubygems_version = "1.8.25"
2013-06-18 21:50:56 +00:00
s.summary = "Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications"
s.test_files = s.files.grep(/^test/)
2011-10-07 19:02:14 +00: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-02-06 06:46:07 +00:00
s.add_runtime_dependency(%q<rack>, ["< 2.0", ">= 1.1"])
2013-06-20 22:50:36 +00:00
s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
2012-05-16 03:52:24 +00:00
s.add_development_dependency(%q<rake-compiler>, ["~> 0.8.0"])
2013-06-20 22:50:36 +00:00
s.add_development_dependency(%q<hoe>, ["~> 3.6"])
2011-10-07 19:02:14 +00:00
else
2013-02-06 06:46:07 +00:00
s.add_dependency(%q<rack>, ["< 2.0", ">= 1.1"])
2013-06-20 22:50:36 +00:00
s.add_dependency(%q<rdoc>, ["~> 4.0"])
2012-05-16 03:52:24 +00:00
s.add_dependency(%q<rake-compiler>, ["~> 0.8.0"])
2013-06-20 22:50:36 +00:00
s.add_dependency(%q<hoe>, ["~> 3.6"])
2011-10-07 19:02:14 +00:00
end
else
2013-02-06 06:46:07 +00:00
s.add_dependency(%q<rack>, ["< 2.0", ">= 1.1"])
2013-06-20 22:50:36 +00:00
s.add_dependency(%q<rdoc>, ["~> 4.0"])
2012-05-16 03:52:24 +00:00
s.add_dependency(%q<rake-compiler>, ["~> 0.8.0"])
2013-06-20 22:50:36 +00:00
s.add_dependency(%q<hoe>, ["~> 3.6"])
2011-10-07 19:02:14 +00:00
end
end