serverengine.gemspec 1.49 KB
Newer Older
FURUHASHI Sadayuki's avatar
FURUHASHI Sadayuki committed
1 2 3 4 5 6 7 8 9 10
require File.expand_path 'lib/serverengine/version', File.dirname(__FILE__)

Gem::Specification.new do |gem|
  gem.name          = "serverengine"
  gem.version       = ServerEngine::VERSION

  gem.authors       = ["Sadayuki Furuhashi"]
  gem.email         = ["frsyuki@gmail.com"]
  gem.description   = %q{A framework to implement robust multiprocess servers like Unicorn}
  gem.summary       = %q{ServerEngine - multiprocess server framework}
11
  gem.homepage      = "https://github.com/fluent/serverengine"
12
  gem.license       = "Apache 2.0"
FURUHASHI Sadayuki's avatar
FURUHASHI Sadayuki committed
13 14 15 16 17 18

  gem.files         = `git ls-files`.split($\)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = ["lib"]

TAGOMORI Satoshi's avatar
TAGOMORI Satoshi committed
19
  gem.required_ruby_version = ">= 2.1.0"
FURUHASHI Sadayuki's avatar
FURUHASHI Sadayuki committed
20

FURUHASHI Sadayuki's avatar
FURUHASHI Sadayuki committed
21
  gem.add_dependency "sigdump", ["~> 0.2.2"]
FURUHASHI Sadayuki's avatar
FURUHASHI Sadayuki committed
22

23 24
  # rake v12.x doesn't work with rspec 2. rspec should be updated to 3
  gem.add_development_dependency "rake", ["~> 11.0"]
FURUHASHI Sadayuki's avatar
FURUHASHI Sadayuki committed
25
  gem.add_development_dependency "rspec", ["~> 2.13.0"]
26

27 28 29 30 31 32 33 34
  gem.add_development_dependency 'rake-compiler-dock', ['~> 0.5.0']
  gem.add_development_dependency 'rake-compiler', ['~> 0.9.4']

  # build gem for a certain platform. see also Rakefile
  fake_platform = ENV['GEM_BUILD_FAKE_PLATFORM'].to_s
  gem.platform = fake_platform unless fake_platform.empty?
  if /mswin|mingw/ =~ fake_platform || (/mswin|mingw/ =~ RUBY_PLATFORM && fake_platform.empty?)
    # windows dependencies
35 36
    gem.add_runtime_dependency("windows-pr", ["~> 1.2.5"])
  end
FURUHASHI Sadayuki's avatar
FURUHASHI Sadayuki committed
37
end