File: passenger.gemspec

package info (click to toggle)
passenger 5.0.30-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 43,084 kB
  • sloc: cpp: 366,066; ruby: 33,237; ansic: 30,341; sh: 15,830; makefile: 356; python: 309; perl: 32
file content (29 lines) | stat: -rw-r--r-- 1,266 bytes parent folder | download | duplicates (3)
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
source_root = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift("#{source_root}/src/ruby_supportlib")
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.rubyforge_project = "passenger"
  s.author = "Phusion - http://www.phusion.nl/"
  s.email = "software-signing@phusion.nl"
  s.require_paths = ["src/ruby_supportlib"]
  s.add_dependency 'rake', '>= 0.8.1'
  s.add_dependency 'rack'
  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