forked from brightbox/brightbox-deployment
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbrightbox-gemspec.rb
46 lines (43 loc) · 1.88 KB
/
brightbox-gemspec.rb
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
40
41
42
43
44
45
# Brightbox - Easy Ruby Web Application Deployment
# Copyright (C) 2008, Neil Wilson, Brightbox Systems
#
# This file is part of the Brightbox deployment system
#
# Brightbox gem is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License,
# or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General
# Public License along with this program. If not, see
# <http://www.gnu.org/licenses/>.
#
require File.join(File.dirname(__FILE__),"lib/brightbox/version")
def add_common(spec)
spec.version = Brightbox::VERSION
spec.authors = ["John Leach","Neil Wilson","David Smalley", "Caius Durling"]
spec.email = "support@brightbox.co.uk"
spec.homepage = "http://wiki.brightbox.co.uk/docs:gemv2:start"
spec.rubyforge_project = 'brightbox'
spec.has_rdoc = false
end
@server = Gem::Specification.new do |s|
add_common(s)
s.name = "brightbox-server-tools"
s.files = FileList["LICENSE", "Rakefile", "*.rb", "bin/railsapp-*","lib/**/*.{rb,gz}"].exclude(/recipe/).to_a
s.summary = "Brightbox Server configuration scripts"
s.executables = FileList["bin/railsapp-*"].sub(/bin\//,'')
end
@client = Gem::Specification.new do |s|
add_common(s)
s.name = "brightbox"
s.files = FileList["LICENSE", "Rakefile", "*.rb", "lib/**/*.rb","bin/brightbox"].exclude("lib/brightbox/webserver-common.rb").to_a
s.add_dependency("capistrano", ">= 2.5")
s.summary = "Brightbox rails deployment scripts for Capistrano"
s.executable = 'brightbox'
end