badger-rails 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/BadgerGit.png +0 -0
- data/COPYING +674 -0
- data/LICENSING +30 -0
- data/Manifest +112 -0
- data/README.md +80 -0
- data/Rakefile +36 -0
- data/badger-rails.gemspec +34 -0
- data/bin/badger +486 -0
- data/lib/badger/Capfile +1 -0
- data/lib/badger/config/deploy.rb +211 -0
- data/lib/badger/config/rails-app.yml +6 -0
- data/lib/badger/config/rails-app.yml.bk +6 -0
- data/lib/badger/core/claws/app.claw +112 -0
- data/lib/badger/core/claws/db-app.claw +59 -0
- data/lib/badger/core/claws/rails-app.claw +125 -0
- data/lib/badger/core/files/badger/info +0 -0
- data/lib/badger/core/files/cap/Capfile +4 -0
- data/lib/badger/core/files/cap/deploy/production-app.rb +139 -0
- data/lib/badger/core/files/cap/deploy/production.rb +136 -0
- data/lib/badger/core/files/cap/deploy/staging-app.rb +139 -0
- data/lib/badger/core/files/cap/deploy/staging.rb +134 -0
- data/lib/badger/core/files/cap/deploy.rb +6 -0
- data/lib/badger/core/files/git/git +0 -0
- data/lib/badger/core/files/god/angel/resque-dev.god +54 -0
- data/lib/badger/core/files/god/angel/resque-stg.god +54 -0
- data/lib/badger/core/files/god/angel/resque.god +55 -0
- data/lib/badger/core/files/god/angel/unicorn-stg.god +62 -0
- data/lib/badger/core/files/god/angel/unicorn.god +62 -0
- data/lib/badger/core/files/god/god +108 -0
- data/lib/badger/core/files/god/unicorn-stg.rb +70 -0
- data/lib/badger/core/files/god/unicorn.rb +70 -0
- data/lib/badger/core/files/logrotate/logrotate.conf +23 -0
- data/lib/badger/core/files/logrotate/logrotate.cron +8 -0
- data/lib/badger/core/files/mysql/database.yml.bk +18 -0
- data/lib/badger/core/files/mysql/db_stats +0 -0
- data/lib/badger/core/files/mysql/my.cnf +11 -0
- data/lib/badger/core/files/nginx/nginx +106 -0
- data/lib/badger/core/files/nginx/nginx.conf +30 -0
- data/lib/badger/core/files/nginx/sites/port443.btl +42 -0
- data/lib/badger/core/files/nginx/sites/port80.btl +39 -0
- data/lib/badger/core/files/nginx/sites/production-web +117 -0
- data/lib/badger/core/files/nginx/sites/staging-web +41 -0
- data/lib/badger/core/files/postfix/main.cf +678 -0
- data/lib/badger/core/files/postfix/master.cf +81 -0
- data/lib/badger/core/files/redis/redis-server +59 -0
- data/lib/badger/core/files/redis/redis.conf +444 -0
- data/lib/badger/core/files/resque/resque.rb +5 -0
- data/lib/badger/core/files/resque/resque.yml +19 -0
- data/lib/badger/core/files/resque/resque_web.rb +2 -0
- data/lib/badger/core/files/ssh/authorized_keys +0 -0
- data/lib/badger/core/functions +174 -0
- data/lib/badger/core/scripts/app_info +40 -0
- data/lib/badger/core/scripts/app_scale +15 -0
- data/lib/badger/core/scripts/remove_app +25 -0
- data/lib/badger/core/scripts/remove_app_db +30 -0
- data/lib/badger/core/scripts/remove_gems +2 -0
- data/lib/badger/core/teeth/automake.th +9 -0
- data/lib/badger/core/teeth/badger.th +27 -0
- data/lib/badger/core/teeth/bison.th +20 -0
- data/lib/badger/core/teeth/bundler.th +4 -0
- data/lib/badger/core/teeth/capistrano-ext.th +37 -0
- data/lib/badger/core/teeth/chkconfig.th +4 -0
- data/lib/badger/core/teeth/curl.th +24 -0
- data/lib/badger/core/teeth/faac.th +11 -0
- data/lib/badger/core/teeth/ffmpeg.th +28 -0
- data/lib/badger/core/teeth/firewall.th +70 -0
- data/lib/badger/core/teeth/gcc-c++.th +9 -0
- data/lib/badger/core/teeth/gcc.th +9 -0
- data/lib/badger/core/teeth/git.th +23 -0
- data/lib/badger/core/teeth/god.th +17 -0
- data/lib/badger/core/teeth/lame.th +9 -0
- data/lib/badger/core/teeth/libffi.th +4 -0
- data/lib/badger/core/teeth/libid3tag.th +10 -0
- data/lib/badger/core/teeth/libmad.th +11 -0
- data/lib/badger/core/teeth/libogg.th +9 -0
- data/lib/badger/core/teeth/libtool.th +9 -0
- data/lib/badger/core/teeth/libxml2.th +19 -0
- data/lib/badger/core/teeth/libxslt.th +19 -0
- data/lib/badger/core/teeth/libyaml.th +19 -0
- data/lib/badger/core/teeth/logrotate.th +19 -0
- data/lib/badger/core/teeth/madplay.th +10 -0
- data/lib/badger/core/teeth/make.th +9 -0
- data/lib/badger/core/teeth/mysql-config.th +40 -0
- data/lib/badger/core/teeth/mysql-server.th +16 -0
- data/lib/badger/core/teeth/mysql.th +14 -0
- data/lib/badger/core/teeth/nginx.th +56 -0
- data/lib/badger/core/teeth/ntp.th +15 -0
- data/lib/badger/core/teeth/openssl.th +19 -0
- data/lib/badger/core/teeth/pcre.th +9 -0
- data/lib/badger/core/teeth/plugins.th +14 -0
- data/lib/badger/core/teeth/postfix.th +11 -0
- data/lib/badger/core/teeth/pwgen.th +9 -0
- data/lib/badger/core/teeth/rake.th +12 -0
- data/lib/badger/core/teeth/readline.th +19 -0
- data/lib/badger/core/teeth/redis.th +18 -0
- data/lib/badger/core/teeth/resque.th +12 -0
- data/lib/badger/core/teeth/ruby.th +52 -0
- data/lib/badger/core/teeth/rubygems.th +17 -0
- data/lib/badger/core/teeth/san_juan.th +4 -0
- data/lib/badger/core/teeth/sox.th +12 -0
- data/lib/badger/core/teeth/speex.th +12 -0
- data/lib/badger/core/teeth/sqlite3.th +14 -0
- data/lib/badger/core/teeth/ssh_keys.th +10 -0
- data/lib/badger/core/teeth/sshpass.th +9 -0
- data/lib/badger/core/teeth/sudo.th +9 -0
- data/lib/badger/core/teeth/syslog-ng.th +16 -0
- data/lib/badger/core/teeth/sysv-rc-conf.th +4 -0
- data/lib/badger/core/teeth/x264.th +11 -0
- data/lib/badger/core/teeth/xvid.th +11 -0
- data/lib/badger/core/teeth/yasm.th +11 -0
- data/lib/badger/core/teeth/zlib.th +9 -0
- data/lib/core.rb +313 -0
- data/lib/errors.rb +202 -0
- metadata +297 -0
data/LICENSING
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
BADGER-RAILS LICENSING:
|
2
|
+
|
3
|
+
Copyright © 2012 Curious Minds. All rights reserved
|
4
|
+
Badger-Rails is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
5
|
+
|
6
|
+
Badger-Rails 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.
|
7
|
+
See the GNU General Public License (http://www.gnu.org/licenses/gpl.html) for more details.
|
8
|
+
|
9
|
+
You should have received a copy of the GNU General Public License (http://www.gnu.org/licenses/gpl.html) along with this program; if not, write to the Free Software Foundation, Inc.,
|
10
|
+
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
11
|
+
|
12
|
+
Non-GPL Licenses are available for Commercial Purposes, Please contact licensing(at)curiousminds(dot)com for license details. If you want to use this program for commercial purposes and your code is closed-source, You MUST obtain this license. More License Details can be found in LICENSING file.
|
13
|
+
|
14
|
+
We have two types of licenses.
|
15
|
+
• GPLv3 License – link to GNU General Public License
This is Free Software, in that you are given the source code and right to distribute to others as well as modify the program; however, any code changes you make must be submitted back to Badger. We will review your changes and may include in the software we publish.
|
16
|
+
• Commercial License– link to Commercial License
|
17
|
+
|
18
|
+
Our Pricing is simple:
|
19
|
+
|
20
|
+
GPLv3 Licensing
|
21
|
+
Free to all organizations
|
22
|
+
Commercial Licensing
|
23
|
+
• Entities below 15 employees - FREE
|
24
|
+
• Non profit entities above 15 employees – $250
|
25
|
+
• For profit between 15 and 50 employees - $1,000 per year
|
26
|
+
• For profit entities 51 to 200 employees - $2,000 per year
|
27
|
+
• For profit entities 201 to 500 employees - $5,000 per year
|
28
|
+
• For profit entities over 501 employees - $10,000 per year
|
29
|
+
|
30
|
+
Please contact us for a license at: licensing@curiousminds.com
|
data/Manifest
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
BadgerGit.png
|
2
|
+
COPYING
|
3
|
+
LICENSING
|
4
|
+
Manifest
|
5
|
+
README.md
|
6
|
+
Rakefile
|
7
|
+
bin/badger
|
8
|
+
lib/badger/Capfile
|
9
|
+
lib/badger/config/deploy.rb
|
10
|
+
lib/badger/config/rails-app.yml
|
11
|
+
lib/badger/config/rails-app.yml.bk
|
12
|
+
lib/badger/core/claws/app.claw
|
13
|
+
lib/badger/core/claws/db-app.claw
|
14
|
+
lib/badger/core/claws/rails-app.claw
|
15
|
+
lib/badger/core/files/badger/info
|
16
|
+
lib/badger/core/files/cap/Capfile
|
17
|
+
lib/badger/core/files/cap/deploy.rb
|
18
|
+
lib/badger/core/files/cap/deploy/production-app.rb
|
19
|
+
lib/badger/core/files/cap/deploy/production.rb
|
20
|
+
lib/badger/core/files/cap/deploy/staging-app.rb
|
21
|
+
lib/badger/core/files/cap/deploy/staging.rb
|
22
|
+
lib/badger/core/files/git/git
|
23
|
+
lib/badger/core/files/god/angel/resque-dev.god
|
24
|
+
lib/badger/core/files/god/angel/resque-stg.god
|
25
|
+
lib/badger/core/files/god/angel/resque.god
|
26
|
+
lib/badger/core/files/god/angel/unicorn-stg.god
|
27
|
+
lib/badger/core/files/god/angel/unicorn.god
|
28
|
+
lib/badger/core/files/god/god
|
29
|
+
lib/badger/core/files/god/unicorn-stg.rb
|
30
|
+
lib/badger/core/files/god/unicorn.rb
|
31
|
+
lib/badger/core/files/logrotate/logrotate.conf
|
32
|
+
lib/badger/core/files/logrotate/logrotate.cron
|
33
|
+
lib/badger/core/files/mysql/database.yml.bk
|
34
|
+
lib/badger/core/files/mysql/db_stats
|
35
|
+
lib/badger/core/files/mysql/my.cnf
|
36
|
+
lib/badger/core/files/nginx/nginx
|
37
|
+
lib/badger/core/files/nginx/nginx.conf
|
38
|
+
lib/badger/core/files/nginx/sites/port443.btl
|
39
|
+
lib/badger/core/files/nginx/sites/port80.btl
|
40
|
+
lib/badger/core/files/nginx/sites/production-web
|
41
|
+
lib/badger/core/files/nginx/sites/staging-web
|
42
|
+
lib/badger/core/files/postfix/main.cf
|
43
|
+
lib/badger/core/files/postfix/master.cf
|
44
|
+
lib/badger/core/files/redis/redis-server
|
45
|
+
lib/badger/core/files/redis/redis.conf
|
46
|
+
lib/badger/core/files/resque/resque.rb
|
47
|
+
lib/badger/core/files/resque/resque.yml
|
48
|
+
lib/badger/core/files/resque/resque_web.rb
|
49
|
+
lib/badger/core/files/ssh/authorized_keys
|
50
|
+
lib/badger/core/functions
|
51
|
+
lib/badger/core/scripts/app_info
|
52
|
+
lib/badger/core/scripts/app_scale
|
53
|
+
lib/badger/core/scripts/remove_app
|
54
|
+
lib/badger/core/scripts/remove_app_db
|
55
|
+
lib/badger/core/scripts/remove_gems
|
56
|
+
lib/badger/core/teeth/automake.th
|
57
|
+
lib/badger/core/teeth/badger.th
|
58
|
+
lib/badger/core/teeth/bison.th
|
59
|
+
lib/badger/core/teeth/bundler.th
|
60
|
+
lib/badger/core/teeth/capistrano-ext.th
|
61
|
+
lib/badger/core/teeth/chkconfig.th
|
62
|
+
lib/badger/core/teeth/curl.th
|
63
|
+
lib/badger/core/teeth/faac.th
|
64
|
+
lib/badger/core/teeth/ffmpeg.th
|
65
|
+
lib/badger/core/teeth/firewall.th
|
66
|
+
lib/badger/core/teeth/gcc-c++.th
|
67
|
+
lib/badger/core/teeth/gcc.th
|
68
|
+
lib/badger/core/teeth/git.th
|
69
|
+
lib/badger/core/teeth/god.th
|
70
|
+
lib/badger/core/teeth/lame.th
|
71
|
+
lib/badger/core/teeth/libffi.th
|
72
|
+
lib/badger/core/teeth/libid3tag.th
|
73
|
+
lib/badger/core/teeth/libmad.th
|
74
|
+
lib/badger/core/teeth/libogg.th
|
75
|
+
lib/badger/core/teeth/libtool.th
|
76
|
+
lib/badger/core/teeth/libxml2.th
|
77
|
+
lib/badger/core/teeth/libxslt.th
|
78
|
+
lib/badger/core/teeth/libyaml.th
|
79
|
+
lib/badger/core/teeth/logrotate.th
|
80
|
+
lib/badger/core/teeth/madplay.th
|
81
|
+
lib/badger/core/teeth/make.th
|
82
|
+
lib/badger/core/teeth/mysql-config.th
|
83
|
+
lib/badger/core/teeth/mysql-server.th
|
84
|
+
lib/badger/core/teeth/mysql.th
|
85
|
+
lib/badger/core/teeth/nginx.th
|
86
|
+
lib/badger/core/teeth/ntp.th
|
87
|
+
lib/badger/core/teeth/openssl.th
|
88
|
+
lib/badger/core/teeth/pcre.th
|
89
|
+
lib/badger/core/teeth/plugins.th
|
90
|
+
lib/badger/core/teeth/postfix.th
|
91
|
+
lib/badger/core/teeth/pwgen.th
|
92
|
+
lib/badger/core/teeth/rake.th
|
93
|
+
lib/badger/core/teeth/readline.th
|
94
|
+
lib/badger/core/teeth/redis.th
|
95
|
+
lib/badger/core/teeth/resque.th
|
96
|
+
lib/badger/core/teeth/ruby.th
|
97
|
+
lib/badger/core/teeth/rubygems.th
|
98
|
+
lib/badger/core/teeth/san_juan.th
|
99
|
+
lib/badger/core/teeth/sox.th
|
100
|
+
lib/badger/core/teeth/speex.th
|
101
|
+
lib/badger/core/teeth/sqlite3.th
|
102
|
+
lib/badger/core/teeth/ssh_keys.th
|
103
|
+
lib/badger/core/teeth/sshpass.th
|
104
|
+
lib/badger/core/teeth/sudo.th
|
105
|
+
lib/badger/core/teeth/syslog-ng.th
|
106
|
+
lib/badger/core/teeth/sysv-rc-conf.th
|
107
|
+
lib/badger/core/teeth/x264.th
|
108
|
+
lib/badger/core/teeth/xvid.th
|
109
|
+
lib/badger/core/teeth/yasm.th
|
110
|
+
lib/badger/core/teeth/zlib.th
|
111
|
+
lib/core.rb
|
112
|
+
lib/errors.rb
|
data/README.md
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
![Logo](https://github.com/curiousminds/badger-rails/raw/master/BadgerGit.png "Logo")
|
2
|
+
#**Badger Rails Gem**
|
3
|
+
Allows for deployment of Rails 3 project to a CentOS 6+ Red Hat 6+ or Ubuntu Server running Mysql and Nginx.<br>
|
4
|
+
Badger Rails deploys to a Cent Os server by Capistrano for ease of use and Bash for speed. Some of the packages it will build are listed below.
|
5
|
+
|
6
|
+
* automake
|
7
|
+
* bison
|
8
|
+
* capistrano-ext
|
9
|
+
* curl
|
10
|
+
* gcc-c++
|
11
|
+
* gcc
|
12
|
+
* git
|
13
|
+
* libyaml
|
14
|
+
* libtool
|
15
|
+
* libxml2
|
16
|
+
* libxslt
|
17
|
+
* logrotate
|
18
|
+
* make
|
19
|
+
* mysql
|
20
|
+
* nginx
|
21
|
+
* readline
|
22
|
+
* ruby
|
23
|
+
* rubygems
|
24
|
+
* zlib
|
25
|
+
|
26
|
+
###**Requirements**
|
27
|
+
* Unix or Linux with ruby 1.8+
|
28
|
+
* Capistrano
|
29
|
+
* ssh key
|
30
|
+
* git
|
31
|
+
* Rails 3+ Project that works :)
|
32
|
+
* gem 'mysql2' in Gemfile
|
33
|
+
* gem 'unicorn' in Gemfile
|
34
|
+
* CentOS 6+ server Red Hat 6+ server or Ubuntu 10.04, 11.04, 11.10
|
35
|
+
|
36
|
+
###**Installation**
|
37
|
+
* gem install badger-rails
|
38
|
+
|
39
|
+
or
|
40
|
+
|
41
|
+
* Pull down the repo.
|
42
|
+
* In the project root directory run < gem build badger-rails.gemspec >
|
43
|
+
* Then run < gem install badger-rails-(gem version).gem >
|
44
|
+
|
45
|
+
###**Usage**
|
46
|
+
|
47
|
+
In your rails project run the command < badger generate yml > and fill out the config/badger.yml file that is generated.
|
48
|
+
* username: "typically root"
|
49
|
+
* password: "server password"
|
50
|
+
* domain: "domain or ip of the server"
|
51
|
+
* port: "ssh port usually port 22"
|
52
|
+
* redis: false #true will host redis locally
|
53
|
+
* environment: "production" # or "staging", development and testing are excluded.
|
54
|
+
|
55
|
+
Run the following commands.<br>
|
56
|
+
badger create (name of project)<br>
|
57
|
+
git add .<br>
|
58
|
+
git commit -m "first badger commit"<br>
|
59
|
+
git push badger master<br>
|
60
|
+
badger deploy<br>
|
61
|
+
|
62
|
+
###**Further commits**
|
63
|
+
Additional commits can be made with git. To deploy these new commits push the code using < git push badger master > and < badger deploy >.
|
64
|
+
|
65
|
+
### Additional Information
|
66
|
+
[Badger-Rails](https://github.com/curiousminds/badger-rails/wiki/Badger-Rails)
|
67
|
+
|
68
|
+
|
69
|
+
### Licensing
|
70
|
+
Copyright © 2012 Curious Minds. All rights reserved
|
71
|
+
Badger-Rails is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
72
|
+
|
73
|
+
Badger-Rails 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.
|
74
|
+
See the GNU General Public License (http://www.gnu.org/licenses/gpl.html) for more details.
|
75
|
+
|
76
|
+
You should have received a copy of the GNU General Public License (http://www.gnu.org/licenses/gpl.html) along with this program; if not, write to the Free Software Foundation, Inc.,
|
77
|
+
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
78
|
+
|
79
|
+
Non-GPL Licenses are available for Commercial Purposes, Please contact licensing(at)curiousminds(dot)com for license details. If you want to use this program for commercial purposes and your code is closed-source, You MUST obtain this license. More License Details can be found in LICENSING file.
|
80
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
require 'echoe'
|
4
|
+
|
5
|
+
Echoe.new('badger-rails', '1.0.2') do |p|
|
6
|
+
p.description = "Badger-Rails makes use of Capistrano and Badger to create a configuration for easy deployment to a remote server.\nBadger-Rails deploys to CentOs 6+ automatically building nginx, mysql, and of course ruby."
|
7
|
+
p.summary = "Configuration for using Badger with Rails deployment."
|
8
|
+
p.url = "http://curiousminds.github.com/badger-rails"
|
9
|
+
p.author = "Nathan Kelley"
|
10
|
+
p.email = "nathan@curiousminds.com"
|
11
|
+
p.ignore_pattern = ["tmp/*", "script/*"]
|
12
|
+
p.dependencies = ["capistrano"]
|
13
|
+
p.install_message = <<-eos
|
14
|
+
|
15
|
+
.-. `--
|
16
|
+
hMMMms` `omMMMd
|
17
|
+
NMMMMMm. `dMMMMMN`
|
18
|
+
`-ydMMMMMd hMMMMMmy:`
|
19
|
+
hs +NMMMM/ :MMMMMo od
|
20
|
+
./h -NMMMh sMMMN: y/-
|
21
|
+
dm` :MMMm hMMM/ dm`
|
22
|
+
`/s` oMMm dMMs s/`
|
23
|
+
:do. `mMm dMN` .+m/
|
24
|
+
+d` yMh yMh `h+`
|
25
|
+
.s sMo +Mh o-
|
26
|
+
/+ dM- `Mm /+
|
27
|
+
+/ :Mh yM+ :o
|
28
|
+
+sNM: -MNso
|
29
|
+
/Nd hM+
|
30
|
+
.osmNmys-
|
31
|
+
-:-`
|
32
|
+
|
33
|
+
eos
|
34
|
+
end
|
35
|
+
|
36
|
+
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = "badger-rails"
|
5
|
+
s.version = "1.0.2"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Nathan Kelley"]
|
9
|
+
s.date = "2012-12-11"
|
10
|
+
s.description = "Badger-Rails makes use of Capistrano and Badger to create a configuration for easy deployment to a remote server.\nBadger-Rails deploys to CentOs 6+ automatically building nginx, mysql, and of course ruby."
|
11
|
+
s.email = "nathan@curiousminds.com"
|
12
|
+
s.executables = ["badger"]
|
13
|
+
s.extra_rdoc_files = ["COPYING", "README.md", "bin/badger", "lib/badger/Capfile", "lib/badger/config/deploy.rb", "lib/badger/config/rails-app.yml", "lib/badger/config/rails-app.yml.bk", "lib/badger/core/claws/app.claw", "lib/badger/core/claws/db-app.claw", "lib/badger/core/claws/rails-app.claw", "lib/badger/core/files/badger/info", "lib/badger/core/files/cap/Capfile", "lib/badger/core/files/cap/deploy.rb", "lib/badger/core/files/cap/deploy/production-app.rb", "lib/badger/core/files/cap/deploy/production.rb", "lib/badger/core/files/cap/deploy/staging-app.rb", "lib/badger/core/files/cap/deploy/staging.rb", "lib/badger/core/files/git/git", "lib/badger/core/files/god/angel/resque-dev.god", "lib/badger/core/files/god/angel/resque-stg.god", "lib/badger/core/files/god/angel/resque.god", "lib/badger/core/files/god/angel/unicorn-stg.god", "lib/badger/core/files/god/angel/unicorn.god", "lib/badger/core/files/god/god", "lib/badger/core/files/god/unicorn-stg.rb", "lib/badger/core/files/god/unicorn.rb", "lib/badger/core/files/logrotate/logrotate.conf", "lib/badger/core/files/logrotate/logrotate.cron", "lib/badger/core/files/mysql/database.yml.bk", "lib/badger/core/files/mysql/db_stats", "lib/badger/core/files/mysql/my.cnf", "lib/badger/core/files/nginx/nginx", "lib/badger/core/files/nginx/nginx.conf", "lib/badger/core/files/nginx/sites/port443.btl", "lib/badger/core/files/nginx/sites/port80.btl", "lib/badger/core/files/nginx/sites/production-web", "lib/badger/core/files/nginx/sites/staging-web", "lib/badger/core/files/postfix/main.cf", "lib/badger/core/files/postfix/master.cf", "lib/badger/core/files/redis/redis-server", "lib/badger/core/files/redis/redis.conf", "lib/badger/core/files/resque/resque.rb", "lib/badger/core/files/resque/resque.yml", "lib/badger/core/files/resque/resque_web.rb", "lib/badger/core/files/ssh/authorized_keys", "lib/badger/core/functions", "lib/badger/core/scripts/app_info", "lib/badger/core/scripts/app_scale", "lib/badger/core/scripts/remove_app", "lib/badger/core/scripts/remove_app_db", "lib/badger/core/scripts/remove_gems", "lib/badger/core/teeth/automake.th", "lib/badger/core/teeth/badger.th", "lib/badger/core/teeth/bison.th", "lib/badger/core/teeth/bundler.th", "lib/badger/core/teeth/capistrano-ext.th", "lib/badger/core/teeth/chkconfig.th", "lib/badger/core/teeth/curl.th", "lib/badger/core/teeth/faac.th", "lib/badger/core/teeth/ffmpeg.th", "lib/badger/core/teeth/firewall.th", "lib/badger/core/teeth/gcc-c++.th", "lib/badger/core/teeth/gcc.th", "lib/badger/core/teeth/git.th", "lib/badger/core/teeth/god.th", "lib/badger/core/teeth/lame.th", "lib/badger/core/teeth/libffi.th", "lib/badger/core/teeth/libid3tag.th", "lib/badger/core/teeth/libmad.th", "lib/badger/core/teeth/libogg.th", "lib/badger/core/teeth/libtool.th", "lib/badger/core/teeth/libxml2.th", "lib/badger/core/teeth/libxslt.th", "lib/badger/core/teeth/libyaml.th", "lib/badger/core/teeth/logrotate.th", "lib/badger/core/teeth/madplay.th", "lib/badger/core/teeth/make.th", "lib/badger/core/teeth/mysql-config.th", "lib/badger/core/teeth/mysql-server.th", "lib/badger/core/teeth/mysql.th", "lib/badger/core/teeth/nginx.th", "lib/badger/core/teeth/ntp.th", "lib/badger/core/teeth/openssl.th", "lib/badger/core/teeth/pcre.th", "lib/badger/core/teeth/plugins.th", "lib/badger/core/teeth/postfix.th", "lib/badger/core/teeth/pwgen.th", "lib/badger/core/teeth/rake.th", "lib/badger/core/teeth/readline.th", "lib/badger/core/teeth/redis.th", "lib/badger/core/teeth/resque.th", "lib/badger/core/teeth/ruby.th", "lib/badger/core/teeth/rubygems.th", "lib/badger/core/teeth/san_juan.th", "lib/badger/core/teeth/sox.th", "lib/badger/core/teeth/speex.th", "lib/badger/core/teeth/sqlite3.th", "lib/badger/core/teeth/ssh_keys.th", "lib/badger/core/teeth/sshpass.th", "lib/badger/core/teeth/sudo.th", "lib/badger/core/teeth/syslog-ng.th", "lib/badger/core/teeth/sysv-rc-conf.th", "lib/badger/core/teeth/x264.th", "lib/badger/core/teeth/xvid.th", "lib/badger/core/teeth/yasm.th", "lib/badger/core/teeth/zlib.th", "lib/core.rb", "lib/errors.rb"]
|
14
|
+
s.files = ["BadgerGit.png", "COPYING", "LICENSING", "Manifest", "README.md", "Rakefile", "bin/badger", "lib/badger/Capfile", "lib/badger/config/deploy.rb", "lib/badger/config/rails-app.yml", "lib/badger/config/rails-app.yml.bk", "lib/badger/core/claws/app.claw", "lib/badger/core/claws/db-app.claw", "lib/badger/core/claws/rails-app.claw", "lib/badger/core/files/badger/info", "lib/badger/core/files/cap/Capfile", "lib/badger/core/files/cap/deploy.rb", "lib/badger/core/files/cap/deploy/production-app.rb", "lib/badger/core/files/cap/deploy/production.rb", "lib/badger/core/files/cap/deploy/staging-app.rb", "lib/badger/core/files/cap/deploy/staging.rb", "lib/badger/core/files/git/git", "lib/badger/core/files/god/angel/resque-dev.god", "lib/badger/core/files/god/angel/resque-stg.god", "lib/badger/core/files/god/angel/resque.god", "lib/badger/core/files/god/angel/unicorn-stg.god", "lib/badger/core/files/god/angel/unicorn.god", "lib/badger/core/files/god/god", "lib/badger/core/files/god/unicorn-stg.rb", "lib/badger/core/files/god/unicorn.rb", "lib/badger/core/files/logrotate/logrotate.conf", "lib/badger/core/files/logrotate/logrotate.cron", "lib/badger/core/files/mysql/database.yml.bk", "lib/badger/core/files/mysql/db_stats", "lib/badger/core/files/mysql/my.cnf", "lib/badger/core/files/nginx/nginx", "lib/badger/core/files/nginx/nginx.conf", "lib/badger/core/files/nginx/sites/port443.btl", "lib/badger/core/files/nginx/sites/port80.btl", "lib/badger/core/files/nginx/sites/production-web", "lib/badger/core/files/nginx/sites/staging-web", "lib/badger/core/files/postfix/main.cf", "lib/badger/core/files/postfix/master.cf", "lib/badger/core/files/redis/redis-server", "lib/badger/core/files/redis/redis.conf", "lib/badger/core/files/resque/resque.rb", "lib/badger/core/files/resque/resque.yml", "lib/badger/core/files/resque/resque_web.rb", "lib/badger/core/files/ssh/authorized_keys", "lib/badger/core/functions", "lib/badger/core/scripts/app_info", "lib/badger/core/scripts/app_scale", "lib/badger/core/scripts/remove_app", "lib/badger/core/scripts/remove_app_db", "lib/badger/core/scripts/remove_gems", "lib/badger/core/teeth/automake.th", "lib/badger/core/teeth/badger.th", "lib/badger/core/teeth/bison.th", "lib/badger/core/teeth/bundler.th", "lib/badger/core/teeth/capistrano-ext.th", "lib/badger/core/teeth/chkconfig.th", "lib/badger/core/teeth/curl.th", "lib/badger/core/teeth/faac.th", "lib/badger/core/teeth/ffmpeg.th", "lib/badger/core/teeth/firewall.th", "lib/badger/core/teeth/gcc-c++.th", "lib/badger/core/teeth/gcc.th", "lib/badger/core/teeth/git.th", "lib/badger/core/teeth/god.th", "lib/badger/core/teeth/lame.th", "lib/badger/core/teeth/libffi.th", "lib/badger/core/teeth/libid3tag.th", "lib/badger/core/teeth/libmad.th", "lib/badger/core/teeth/libogg.th", "lib/badger/core/teeth/libtool.th", "lib/badger/core/teeth/libxml2.th", "lib/badger/core/teeth/libxslt.th", "lib/badger/core/teeth/libyaml.th", "lib/badger/core/teeth/logrotate.th", "lib/badger/core/teeth/madplay.th", "lib/badger/core/teeth/make.th", "lib/badger/core/teeth/mysql-config.th", "lib/badger/core/teeth/mysql-server.th", "lib/badger/core/teeth/mysql.th", "lib/badger/core/teeth/nginx.th", "lib/badger/core/teeth/ntp.th", "lib/badger/core/teeth/openssl.th", "lib/badger/core/teeth/pcre.th", "lib/badger/core/teeth/plugins.th", "lib/badger/core/teeth/postfix.th", "lib/badger/core/teeth/pwgen.th", "lib/badger/core/teeth/rake.th", "lib/badger/core/teeth/readline.th", "lib/badger/core/teeth/redis.th", "lib/badger/core/teeth/resque.th", "lib/badger/core/teeth/ruby.th", "lib/badger/core/teeth/rubygems.th", "lib/badger/core/teeth/san_juan.th", "lib/badger/core/teeth/sox.th", "lib/badger/core/teeth/speex.th", "lib/badger/core/teeth/sqlite3.th", "lib/badger/core/teeth/ssh_keys.th", "lib/badger/core/teeth/sshpass.th", "lib/badger/core/teeth/sudo.th", "lib/badger/core/teeth/syslog-ng.th", "lib/badger/core/teeth/sysv-rc-conf.th", "lib/badger/core/teeth/x264.th", "lib/badger/core/teeth/xvid.th", "lib/badger/core/teeth/yasm.th", "lib/badger/core/teeth/zlib.th", "lib/core.rb", "lib/errors.rb", "badger-rails.gemspec"]
|
15
|
+
s.homepage = "http://curiousminds.github.com/badger-rails"
|
16
|
+
s.post_install_message = "\n .-. `--\n hMMMms` `omMMMd\n NMMMMMm. `dMMMMMN`\n `-ydMMMMMd hMMMMMmy:`\n hs +NMMMM/ :MMMMMo od\n./h -NMMMh sMMMN: y/-\n dm` :MMMm hMMM/ dm`\n`/s` oMMm dMMs s/`\n :do. `mMm dMN` .+m/\n +d` yMh yMh `h+`\n .s sMo +Mh o-\n /+ dM- `Mm /+\n +/ :Mh yM+ :o\n +sNM: -MNso\n /Nd hM+\n .osmNmys-\n -:-`\n\n"
|
17
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Badger-rails", "--main", "README.md"]
|
18
|
+
s.require_paths = ["lib"]
|
19
|
+
s.rubyforge_project = "badger-rails"
|
20
|
+
s.rubygems_version = "1.8.24"
|
21
|
+
s.summary = "Configuration for using Badger with Rails deployment."
|
22
|
+
|
23
|
+
if s.respond_to? :specification_version then
|
24
|
+
s.specification_version = 3
|
25
|
+
|
26
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
27
|
+
s.add_runtime_dependency(%q<capistrano>, [">= 0"])
|
28
|
+
else
|
29
|
+
s.add_dependency(%q<capistrano>, [">= 0"])
|
30
|
+
end
|
31
|
+
else
|
32
|
+
s.add_dependency(%q<capistrano>, [">= 0"])
|
33
|
+
end
|
34
|
+
end
|