-
Notifications
You must be signed in to change notification settings - Fork 547
/
passenger.gemspec
39 lines (37 loc) · 1.85 KB
/
passenger.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
source_root = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift("#{source_root}/src/ruby_supportlib")
require 'rubygems'
require 'phusion_passenger'
PhusionPassenger.locate_directories
PhusionPassenger.require_passenger_lib 'packaging'
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.homepage = "https://www.phusionpassenger.com/"
s.summary = "A fast and robust web server and application server for Ruby, Python and Node.js"
s.name = PhusionPassenger::PACKAGE_NAME
s.version = PhusionPassenger::VERSION_STRING
s.author = "Phusion - http://www.phusion.nl/"
s.email = "software-signing@phusion.nl"
s.require_paths = ["src/ruby_supportlib"]
s.metadata = {
"bug_tracker_uri" => "https://github.com/phusion/passenger/issues",
"changelog_uri" => "https://github.com/phusion/passenger/blob/stable-#{PhusionPassenger::VERSION_STRING.split('.').slice(0,2).join('.')}/CHANGELOG",
"documentation_uri" => "https://www.phusionpassenger.com/docs/",
"homepage_uri" => "https://www.phusionpassenger.com/",
"source_code_uri" => "https://github.com/phusion/passenger",
"mailing_list_uri" => "https://www.phusionpassenger.com/contact",
"wiki_uri" => "https://github.com/phusion/passenger/wiki"
}
s.add_dependency 'rake', '>= 12.3.3'
s.add_dependency 'rack', '>= 1.6.13'
s.add_dependency 'rackup', '>= 2.0.0'
s.files = Dir[*PhusionPassenger::Packaging::GLOB] -
Dir[*PhusionPassenger::Packaging::EXCLUDE_GLOB]
s.executables = PhusionPassenger::Packaging::USER_EXECUTABLES +
PhusionPassenger::Packaging::SUPER_USER_EXECUTABLES
s.description = "A modern web server and application server for Ruby, Python and Node.js, " +
"optimized for performance, low memory usage and ease of use."
if ENV['OFFICIAL_RELEASE']
s.extensions = ["src/helper-scripts/download_binaries/extconf.rb"]
end
end