salted-rails 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/README.md +10 -1
- data/lib/salted-rails.rb +8 -0
- data/lib/salted_rails/capistrano.rb +3 -1
- data/lib/salted_rails/vagrant_helper.rb +28 -14
- data/lib/salted_rails/version.rb +4 -2
- data/lib/salted_rails_base.rb +10 -0
- data/salt/bin/change_mirror.sh +27 -0
- data/salt/common.sls +15 -0
- data/salt/lang/php/composer.sls +3 -0
- data/salt/lang/php/init.sls +2 -0
- data/salt/lang/ruby.sls +1 -1
- data/salt/railsapp/init.sls +4 -1
- data/salt/railsapp/{database.sls → mysql_database.sls} +0 -0
- data/salt/railsapp/packages.sls +45 -0
- data/salted-rails.gemspec +2 -2
- metadata +61 -50
- checksums.yaml +0 -7
- data/lib/salted_rails/base.rb +0 -5
- data/lib/salted_rails.rb +0 -5
- data/salt/railsapp/files/Gemfile +0 -57
- data/salt/railsapp/files/Gemfile.lock +0 -133
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
Salted-Rails: Provision rails using salt to vagrant or capistrano controlled systems
|
4
4
|
|
5
|
-
|
5
|
+
This gem inspects .ruby-version, config/database.yml, Gemfile and Gemfile.lock to generate salt pillar files to control the configuration of the system.
|
6
|
+
|
7
|
+
THIS GEM IS IN THE EXPERIMENTAL STAGE (pre pre alpha)! EXPECT THINGS TO CHANGE AND BREAK WITHOUT NOTICE!
|
6
8
|
|
7
9
|
This configures vagrant in the way that I personally like:
|
8
10
|
* ubunutu 12.04 (LTS) 32bit from cloud-images.ubuntu.com (up to date packages and more memory free for systems < 4GB memory)
|
@@ -27,6 +29,7 @@ And then adjust your Vagrantfile as follows:
|
|
27
29
|
vagrant_helper = SaltedRails::VagrantHelper.new(File.dirname(__FILE__))
|
28
30
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
29
31
|
vagrant_helper.configure_vagrant(config)
|
32
|
+
vagrant_helper.configure_ubuntu_mirror(config, 'mirror') # best (ping not bandwidth?) mirror
|
30
33
|
vagrant_helper.configure_digital_ocean(config)
|
31
34
|
vagrant_helper.configure_salt(config)
|
32
35
|
vagrant_helper.configure_ports(config)
|
@@ -43,6 +46,12 @@ You can add configuration that applies to all your projects to `~/.vagrant.d/Vag
|
|
43
46
|
end
|
44
47
|
end
|
45
48
|
|
49
|
+
The ubuntu_mirror value can also be:
|
50
|
+
* 'mirror' - Configures mirror: option to auto select from http://mirrors.ubuntu.com/mirrors.txt
|
51
|
+
* 'internode' - an australian ISP (mine ;)
|
52
|
+
* a country code - eg 'au', 'uk', 'us' etc
|
53
|
+
* url of mirror - specify the full url (in the same format as mirrors.txt above)
|
54
|
+
|
46
55
|
### Capistrano
|
47
56
|
|
48
57
|
Add this line to your application's Gemfile:
|
data/lib/salted-rails.rb
ADDED
@@ -5,8 +5,9 @@
|
|
5
5
|
require 'erb'
|
6
6
|
require 'yaml'
|
7
7
|
require 'fileutils'
|
8
|
+
require "salted_rails_base"
|
8
9
|
|
9
|
-
|
10
|
+
class SaltedRails < SaltedRailsBase
|
10
11
|
class VagrantHelper
|
11
12
|
|
12
13
|
def initialize(rails_root, debug = false)
|
@@ -26,11 +27,16 @@ module SaltedRails
|
|
26
27
|
def configure_vagrant(config)
|
27
28
|
config.vm.box = 'UbuntuCloud_12.04_32bit'
|
28
29
|
config.vm.box_url = 'http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-vagrant-i386-disk1.box'
|
29
|
-
config.ssh.private_key_path = '~/.ssh/id_rsa'
|
30
|
-
config.ssh.forward_agent = true
|
31
30
|
end
|
32
31
|
|
33
|
-
def
|
32
|
+
def configure_ubuntu_mirror(config, mirror = 'mirror://mirrors.ubuntu.com/mirrors.txt')
|
33
|
+
config.vm.provision "shell" do |s|
|
34
|
+
s.path = @gem_root + 'salt/bin/change_mirror.sh'
|
35
|
+
s.args = "'#{mirror}'"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def configure_digital_ocean(config, private_key_path = '~/.ssh/id_rsa', disable_vagrant_sync = true)
|
34
40
|
@logger.info 'Configuring digital ocean provider' if @logger
|
35
41
|
config.vm.provider :digital_ocean do |provider, override|
|
36
42
|
override.ssh.username = 'vagrant'
|
@@ -38,21 +44,25 @@ module SaltedRails
|
|
38
44
|
override.vm.box_url = 'https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box'
|
39
45
|
provider.image = 'Ubuntu 12.04 x32'
|
40
46
|
provider.region = 'San Francisco 1'
|
41
|
-
#override.vm.synced_folder '.', '/vagrant', :disabled => true
|
42
47
|
provider.ca_path = '/etc/ssl/certs/ca-certificates.crt' if File.exist?('/etc/ssl/certs/ca-certificates.crt')
|
48
|
+
override.vm.synced_folder '.', '/vagrant', :disabled => true if disable_vagrant_sync
|
49
|
+
override.ssh.private_key_path = private_key_path
|
50
|
+
@private_key_name = 'Vagrant ' + private_key_path.sub(/~\//, '').sub(/\.ssh\//, '').sub(/^id_/, '').gsub(/\W+/, ' ')
|
51
|
+
provider.ssh_key_name = @private_key_name if @private_key_name
|
52
|
+
override.ssh.forward_agent = true
|
43
53
|
end
|
44
54
|
end
|
45
55
|
|
46
56
|
def configure_salt(config)
|
47
57
|
pillarize_application_configuration
|
48
|
-
config.vm.synced_folder
|
49
|
-
config.vm.synced_folder
|
58
|
+
config.vm.synced_folder salt_root + 'salt/', '/srv/salt/'
|
59
|
+
config.vm.synced_folder salt_root + 'pillar/', '/srv/pillar/'
|
50
60
|
# Bootstrap salt
|
51
61
|
## config.vm.provision :shell, :inline => 'salt-call --version || wget -O - http://bootstrap.saltstack.org | sudo sh'
|
52
62
|
# Provisioning #2: masterless highstate call
|
53
63
|
config.vm.provision :salt do |salt|
|
54
64
|
@logger.info 'Configuring salt provisioner' if @logger
|
55
|
-
salt.minion_config =
|
65
|
+
salt.minion_config = salt_root + 'salt/vagrant/minion'
|
56
66
|
salt.run_highstate = true
|
57
67
|
salt.verbose = true
|
58
68
|
end
|
@@ -68,7 +78,7 @@ module SaltedRails
|
|
68
78
|
def configure_gui(vm_config)
|
69
79
|
vm_config.vm.boot_mode == :gui
|
70
80
|
vm_config.vm.provision :salt do |salt|
|
71
|
-
salt.minion_config =
|
81
|
+
salt.minion_config = salt_root + 'salt/vagrant/gui_minion'
|
72
82
|
end
|
73
83
|
end
|
74
84
|
|
@@ -78,6 +88,10 @@ module SaltedRails
|
|
78
88
|
|
79
89
|
private
|
80
90
|
|
91
|
+
def salt_root
|
92
|
+
@salt_root ||= @rails_root + (File.directory?(@rails_root + 'salt/salt') ? 'salt/' : 'tmp/')
|
93
|
+
end
|
94
|
+
|
81
95
|
# Add ruby version and gemfiles
|
82
96
|
|
83
97
|
def pillarize_application_configuration
|
@@ -134,14 +148,14 @@ module SaltedRails
|
|
134
148
|
app_config = {
|
135
149
|
'database' => database_conf,
|
136
150
|
'ruby-version' => ruby_version,
|
137
|
-
'
|
151
|
+
'gems' => { }
|
138
152
|
}
|
139
153
|
database_conf.each do |key, details|
|
140
|
-
app_config['
|
154
|
+
app_config['gems'][details['adapter']] = true
|
155
|
+
end
|
156
|
+
File.foreach(gemfile) do |line|
|
157
|
+
app_config['gems'][$1] = true if (line =~ /^\s*gem\s*['"]([^'"]+)/)
|
141
158
|
end
|
142
|
-
#File.foreach(gemfile) do |line|
|
143
|
-
# app_config['packages']['mysql'] ||= (line =~ /^\s*gem\s*['"]mysql2?['"]/)
|
144
|
-
#end
|
145
159
|
f_out.puts app_config.to_yaml
|
146
160
|
end
|
147
161
|
else
|
data/lib/salted_rails/version.rb
CHANGED
@@ -0,0 +1,27 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
#
|
3
|
+
# Changes from the default to given mirror (unable to do it more than once)
|
4
|
+
|
5
|
+
case "$1" in
|
6
|
+
[a-z][a-z]|usa)
|
7
|
+
echo "Configuring mirror for region: $1"
|
8
|
+
exec sed -i.original -e 's#http://[archivesecurity]*.ubuntu.com/ubuntu#http://'"$1"'.archive.ubuntu.com/ubuntu/#' /etc/apt/sources.list
|
9
|
+
;;
|
10
|
+
mirror)
|
11
|
+
echo "Configuring automatic selection of mirror"
|
12
|
+
exec sed -i.original -e 's#http://[archivesecurity]*.ubuntu.com/ubuntu#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list
|
13
|
+
;;
|
14
|
+
internode)
|
15
|
+
echo "Configuring mirror for ISP: $1"
|
16
|
+
exec sed -i.original -e 's#http://[archivesecurity]*.ubuntu.com/ubuntu#http://mirror.internode.on.net/pub/ubuntu/ubuntu/#' /etc/apt/sources.list
|
17
|
+
;;
|
18
|
+
[hmf]*://*ubuntu*)
|
19
|
+
echo "Configuring mirror for $1"
|
20
|
+
exec sed -i.original -e 's#http://[archivesecurity]*.ubuntu.com/ubuntu#'"$1"'#' /etc/apt/sources.list
|
21
|
+
;;
|
22
|
+
*)
|
23
|
+
echo Invalid mirror ignored! >&2
|
24
|
+
exit 1
|
25
|
+
;;
|
26
|
+
esac
|
27
|
+
|
data/salt/common.sls
CHANGED
@@ -4,8 +4,23 @@ include:
|
|
4
4
|
- lang.ruby
|
5
5
|
- www.users
|
6
6
|
- www.nginx
|
7
|
+
# MySQL
|
8
|
+
{%- if ('mysql' in pillar['gems']) or ('mysql2' in pillar['gems']) %}
|
7
9
|
- databases.mysql
|
8
10
|
- databases.phpmyadmin
|
11
|
+
{%- endif %}
|
12
|
+
# PostgreSQL - TODO main alternative to mysql
|
13
|
+
# MongoDB - TODO Document database
|
14
|
+
# CouchDB - TODO json web distributed db
|
15
|
+
# Redis - TODO key value store
|
16
|
+
# Riak - TODO Distributed fault tolerant DB
|
17
|
+
# RabbitMQ - TODO message broker software
|
18
|
+
# Memcached - TODO Memory cache
|
19
|
+
# Cassandra - TODO distributed database management system
|
20
|
+
# Neo4J - TODO Graph database
|
21
|
+
# ElasticSearch - TODO search and analytics engine
|
22
|
+
# Kestrel - TODO light-weight persistent message queue
|
23
|
+
# SQLite3 - Included by default
|
9
24
|
- sysutils
|
10
25
|
- develop
|
11
26
|
- editors.vim
|
data/salt/lang/php/composer.sls
CHANGED
data/salt/lang/php/init.sls
CHANGED
data/salt/lang/ruby.sls
CHANGED
@@ -20,6 +20,7 @@ rbenv-deps:
|
|
20
20
|
- libreadline-dev
|
21
21
|
- libsqlite3-0
|
22
22
|
- libsqlite3-dev
|
23
|
+
- sqlite3
|
23
24
|
- libssl-dev
|
24
25
|
- libtool
|
25
26
|
- libxml2-dev
|
@@ -27,7 +28,6 @@ rbenv-deps:
|
|
27
28
|
- libyaml-dev
|
28
29
|
- openssl
|
29
30
|
- python-software-properties
|
30
|
-
- sqlite3
|
31
31
|
- subversion
|
32
32
|
- zlib1g
|
33
33
|
- zlib1g-dev
|
data/salt/railsapp/init.sls
CHANGED
File without changes
|
@@ -0,0 +1,45 @@
|
|
1
|
+
packages:
|
2
|
+
pkg.installed:
|
3
|
+
- pkgs:
|
4
|
+
# For Asset Pipeline (compression of files)
|
5
|
+
- nodejs
|
6
|
+
# MySQL
|
7
|
+
{%- if ('mysql' in pillar['gems']) or ('mysql2' in pillar['gems']) %}
|
8
|
+
- libmysqlclient-dev
|
9
|
+
{%- endif %}
|
10
|
+
# PostgreSQL
|
11
|
+
{%- if 'pg' in pillar['gems'] %}
|
12
|
+
- libpq-dev
|
13
|
+
{%- endif %}
|
14
|
+
# SQLite3 - Already installed
|
15
|
+
# COMMON PACKAGES:
|
16
|
+
{%- if 'rmagick' in pillar['gems'] %}
|
17
|
+
- imagemagick
|
18
|
+
- libmagickwand-dev
|
19
|
+
- ghostscript
|
20
|
+
{%- endif %}
|
21
|
+
# Memcached
|
22
|
+
{%- if ('memcache' in pillar['gems']) or ('dalli' in pillar['gems']) %}
|
23
|
+
- memcached
|
24
|
+
{%- endif %}
|
25
|
+
{%- if 'capybara-webkit' in pillar['gems'] %}
|
26
|
+
# Note - this sucks in 254 MB of additional disk space just to stop it complaining
|
27
|
+
# AND it should used in gui (so you will other things to load)
|
28
|
+
- libqt4-dev
|
29
|
+
- libgtk2.0-dev
|
30
|
+
- libgtkmm-3.0
|
31
|
+
- libnotify-bin
|
32
|
+
{%- endif %}
|
33
|
+
{%- if 'thinking-sphinx' in pillar['gems'] %}
|
34
|
+
- sphinxsearch
|
35
|
+
{%- endif %}
|
36
|
+
# Other databases mentioned by travis-ci
|
37
|
+
# MongoDB
|
38
|
+
# CouchDB
|
39
|
+
# Redis
|
40
|
+
# Riak
|
41
|
+
# RabbitMQ
|
42
|
+
# Cassandra
|
43
|
+
# Neo4J
|
44
|
+
# ElasticSearch
|
45
|
+
# Kestrel
|
data/salted-rails.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = SaltedRails::VERSION
|
9
9
|
spec.authors = ["Ian Heggie"]
|
10
10
|
spec.email = ["ian@heggie.biz"]
|
11
|
-
spec.description = %q{Provision rails using salt
|
12
|
-
spec.summary = %q{Provision rails using salt
|
11
|
+
spec.description = %q{Provision rails using salt to vagrant or capistrano controlled systems}
|
12
|
+
spec.summary = %q{Provision rails using salt to vagrant or capistrano controlled systems. Uses details from .ruby-version, config/database.yml, Gemfile and Gemfile.lock to configure system}
|
13
13
|
spec.homepage = "https://github.com/ianheggie/salted-rails"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
metadata
CHANGED
@@ -1,57 +1,65 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: salted-rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
|
-
authors:
|
7
|
+
authors:
|
7
8
|
- Ian Heggie
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-09-29 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
|
-
|
17
|
-
|
18
|
-
requirements:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
19
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version:
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.3'
|
22
22
|
type: :development
|
23
|
-
version_requirements: *id001
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: rake
|
26
23
|
prerelease: false
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.3'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
33
38
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
description: Provision rails using salt to vagrant or capistrano controlled systems
|
47
|
+
email:
|
37
48
|
- ian@heggie.biz
|
38
49
|
executables: []
|
39
|
-
|
40
50
|
extensions: []
|
41
|
-
|
42
51
|
extra_rdoc_files: []
|
43
|
-
|
44
|
-
files:
|
52
|
+
files:
|
45
53
|
- .gitignore
|
46
54
|
- Gemfile
|
47
55
|
- LICENSE
|
48
56
|
- README.md
|
49
57
|
- Rakefile
|
50
|
-
- lib/
|
51
|
-
- lib/salted_rails/base.rb
|
58
|
+
- lib/salted-rails.rb
|
52
59
|
- lib/salted_rails/capistrano.rb
|
53
60
|
- lib/salted_rails/vagrant_helper.rb
|
54
61
|
- lib/salted_rails/version.rb
|
62
|
+
- lib/salted_rails_base.rb
|
55
63
|
- pillar/capistrano.sls
|
56
64
|
- pillar/capistrano/top.sls
|
57
65
|
- pillar/common.sls
|
@@ -59,6 +67,7 @@ files:
|
|
59
67
|
- pillar/vagrant/top.sls
|
60
68
|
- salt/apt/partner-sources.sls
|
61
69
|
- salt/apt/unwanted.sls
|
70
|
+
- salt/bin/change_mirror.sh
|
62
71
|
- salt/capistrano.sls
|
63
72
|
- salt/capistrano/minion
|
64
73
|
- salt/capistrano/minion.sls
|
@@ -107,11 +116,10 @@ files:
|
|
107
116
|
- salt/munin/node.sls
|
108
117
|
- salt/munin/php5-fpm.sls
|
109
118
|
- salt/munin/server.sls
|
110
|
-
- salt/railsapp/database.sls
|
111
|
-
- salt/railsapp/files/Gemfile
|
112
|
-
- salt/railsapp/files/Gemfile.lock
|
113
119
|
- salt/railsapp/gems.sls
|
114
120
|
- salt/railsapp/init.sls
|
121
|
+
- salt/railsapp/mysql_database.sls
|
122
|
+
- salt/railsapp/packages.sls
|
115
123
|
- salt/run-standalone
|
116
124
|
- salt/salt/minion/config.template
|
117
125
|
- salt/salt/minion/debconf.sls
|
@@ -137,27 +145,30 @@ files:
|
|
137
145
|
- salt/www/users.sls
|
138
146
|
- salted-rails.gemspec
|
139
147
|
homepage: https://github.com/ianheggie/salted-rails
|
140
|
-
licenses:
|
148
|
+
licenses:
|
141
149
|
- MIT
|
142
|
-
metadata: {}
|
143
|
-
|
144
150
|
post_install_message:
|
145
151
|
rdoc_options: []
|
146
|
-
|
147
|
-
require_paths:
|
152
|
+
require_paths:
|
148
153
|
- lib
|
149
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
154
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
155
|
+
none: false
|
156
|
+
requirements:
|
157
|
+
- - ! '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
155
166
|
requirements: []
|
156
|
-
|
157
167
|
rubyforge_project:
|
158
|
-
rubygems_version:
|
168
|
+
rubygems_version: 1.8.23
|
159
169
|
signing_key:
|
160
|
-
specification_version:
|
161
|
-
summary: Provision rails using salt
|
170
|
+
specification_version: 3
|
171
|
+
summary: Provision rails using salt to vagrant or capistrano controlled systems. Uses
|
172
|
+
details from .ruby-version, config/database.yml, Gemfile and Gemfile.lock to configure
|
173
|
+
system
|
162
174
|
test_files: []
|
163
|
-
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA512:
|
3
|
-
data.tar.gz: 8d8f12a3fea5cd1fe34fecb9fb9f7c41aa69e522428586d47576e5a4505e3358dd95d4c779f4275542a239b604f07c69be55773935803302dd9701069819b0c8
|
4
|
-
metadata.gz: f7b1112de4257b00978672dbc92b1bea11c73f1d12fefba4c15ba3b24e749e9140b72bd07c2a1f66813657ef80b26cc71e40c76e8f1923d1f80c3d33183f50d9
|
5
|
-
SHA1:
|
6
|
-
data.tar.gz: 18eeb1ba5e95d7d9ccd59a14036b403474fab4e8
|
7
|
-
metadata.gz: a70fe04ed27f0f858d3ef5b33041e89f8741bd6f
|
data/lib/salted_rails/base.rb
DELETED
data/lib/salted_rails.rb
DELETED
data/salt/railsapp/files/Gemfile
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
# Either run vagrant or manually link Gemfile* to salt/salt/railsapps/files/ when Gemfile is changed
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
gem 'rails', '1.2.6'
|
6
|
-
|
7
|
-
gem 'image_science', '1.2.4'
|
8
|
-
# drags in RubyInLIne which drags in ZenTest, which has a gemsepc in 4.3.4 that breaks in all but the most current rubygems (author refuses to fix)
|
9
|
-
gem 'ZenTest', '4.3.3' # '~> 4.3'
|
10
|
-
|
11
|
-
# also in environment.rb because of passenger preloading
|
12
|
-
gem 'mysql', '2.8.1'
|
13
|
-
|
14
|
-
gem 'json', '~> 1.5.5'
|
15
|
-
|
16
|
-
gem 'rake', '~> 0.9'
|
17
|
-
|
18
|
-
gem 'rdoc'
|
19
|
-
|
20
|
-
gem 'rdoc-data'
|
21
|
-
# then rdoc-data --install
|
22
|
-
|
23
|
-
group :development do
|
24
|
-
gem 'bullet', '1.7.6'
|
25
|
-
gem 'capistrano', '2.11.2'
|
26
|
-
gem 'cgi_multipart_eof_fix', '2.5.0'
|
27
|
-
gem 'daemon_controller', '1.0.0'
|
28
|
-
gem 'diff-lcs', '1.1.3'
|
29
|
-
gem 'fastthread', '1.0.7'
|
30
|
-
gem 'gem_plugin', '0.2.3'
|
31
|
-
gem 'highline', '1.6.11'
|
32
|
-
gem 'hoe', '2.14.0'
|
33
|
-
gem 'linecache', '0.46'
|
34
|
-
gem 'mongrel', '1.1.5'
|
35
|
-
gem 'needle', '1.3.0'
|
36
|
-
gem 'net-scp', '1.0.4'
|
37
|
-
gem 'net-sftp', '2.0.5'
|
38
|
-
gem 'net-ssh', '2.3.0'
|
39
|
-
gem 'net-ssh-gateway', '1.1.0'
|
40
|
-
gem 'passenger', '3.0.11'
|
41
|
-
gem 'production_log_analyzer', '1.5.1'
|
42
|
-
gem 'rack', '1.2.4'
|
43
|
-
gem 'rails_analyzer_tools', '1.4.0'
|
44
|
-
gem 'rbx-require-relative', '0.0.9'
|
45
|
-
gem 'ruby-debug-base', '0.10.4'
|
46
|
-
gem 'ruby-debug-ide', '0.4.9'
|
47
|
-
gem 'rubyforge', '0.4.5'
|
48
|
-
gem 'SyslogLogger', '1.4.0'
|
49
|
-
end
|
50
|
-
|
51
|
-
group :test do
|
52
|
-
gem 'rcov', '0.9.11'
|
53
|
-
gem 'rspec', '1.1.12'
|
54
|
-
gem 'syntax' # syntax highlighting on rspec output
|
55
|
-
gem 'launchy', '>= 2.0.0' # opsys independent launch browser
|
56
|
-
gem 'rspec-rails', '1.1.12'
|
57
|
-
end
|
@@ -1,133 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
RubyInline (3.12.1)
|
5
|
-
ZenTest (~> 4.3)
|
6
|
-
SyslogLogger (1.4.0)
|
7
|
-
hoe (>= 1.2.0)
|
8
|
-
ZenTest (4.3.3)
|
9
|
-
actionmailer (1.3.6)
|
10
|
-
actionpack (= 1.13.6)
|
11
|
-
actionpack (1.13.6)
|
12
|
-
activesupport (= 1.4.4)
|
13
|
-
actionwebservice (1.2.6)
|
14
|
-
actionpack (= 1.13.6)
|
15
|
-
activerecord (= 1.15.6)
|
16
|
-
activerecord (1.15.6)
|
17
|
-
activesupport (= 1.4.4)
|
18
|
-
activesupport (1.4.4)
|
19
|
-
addressable (2.3.3)
|
20
|
-
bullet (1.7.6)
|
21
|
-
capistrano (2.11.2)
|
22
|
-
highline
|
23
|
-
net-scp (>= 1.0.0)
|
24
|
-
net-sftp (>= 2.0.0)
|
25
|
-
net-ssh (>= 2.0.14)
|
26
|
-
net-ssh-gateway (>= 1.1.0)
|
27
|
-
cgi_multipart_eof_fix (2.5.0)
|
28
|
-
daemon_controller (1.0.0)
|
29
|
-
daemons (1.1.9)
|
30
|
-
diff-lcs (1.1.3)
|
31
|
-
fastthread (1.0.7)
|
32
|
-
gem_plugin (0.2.3)
|
33
|
-
highline (1.6.11)
|
34
|
-
hoe (2.14.0)
|
35
|
-
rake (~> 0.8)
|
36
|
-
image_science (1.2.4)
|
37
|
-
RubyInline (~> 3.9)
|
38
|
-
json (1.5.5)
|
39
|
-
launchy (2.2.0)
|
40
|
-
addressable (~> 2.3)
|
41
|
-
linecache (0.46)
|
42
|
-
rbx-require-relative (> 0.0.4)
|
43
|
-
mongrel (1.1.5)
|
44
|
-
cgi_multipart_eof_fix (>= 2.4)
|
45
|
-
daemons (>= 1.0.3)
|
46
|
-
fastthread (>= 1.0.1)
|
47
|
-
gem_plugin (>= 0.2.3)
|
48
|
-
mysql (2.8.1)
|
49
|
-
needle (1.3.0)
|
50
|
-
net-scp (1.0.4)
|
51
|
-
net-ssh (>= 1.99.1)
|
52
|
-
net-sftp (2.0.5)
|
53
|
-
net-ssh (>= 2.0.9)
|
54
|
-
net-ssh (2.3.0)
|
55
|
-
net-ssh-gateway (1.1.0)
|
56
|
-
net-ssh (>= 1.99.1)
|
57
|
-
passenger (3.0.11)
|
58
|
-
daemon_controller (>= 0.2.5)
|
59
|
-
fastthread (>= 1.0.1)
|
60
|
-
rack
|
61
|
-
rake (>= 0.8.1)
|
62
|
-
production_log_analyzer (1.5.1)
|
63
|
-
rails_analyzer_tools (>= 1.4.0)
|
64
|
-
rack (1.2.4)
|
65
|
-
rails (1.2.6)
|
66
|
-
actionmailer (= 1.3.6)
|
67
|
-
actionpack (= 1.13.6)
|
68
|
-
actionwebservice (= 1.2.6)
|
69
|
-
activerecord (= 1.15.6)
|
70
|
-
activesupport (= 1.4.4)
|
71
|
-
rake (>= 0.7.2)
|
72
|
-
rails_analyzer_tools (1.4.0)
|
73
|
-
SyslogLogger (>= 1.4.0)
|
74
|
-
hoe (>= 1.2.0)
|
75
|
-
rake (0.9.6)
|
76
|
-
rbx-require-relative (0.0.9)
|
77
|
-
rcov (0.9.11)
|
78
|
-
rdoc (3.12.2)
|
79
|
-
json (~> 1.4)
|
80
|
-
rdoc-data (3.12)
|
81
|
-
rdoc (> 2.5, < 4.0)
|
82
|
-
rspec (1.1.12)
|
83
|
-
rspec-rails (1.1.12)
|
84
|
-
rspec (= 1.1.12)
|
85
|
-
ruby-debug-base (0.10.4)
|
86
|
-
linecache (>= 0.3)
|
87
|
-
ruby-debug-ide (0.4.9)
|
88
|
-
rake (>= 0.8.1)
|
89
|
-
rubyforge (0.4.5)
|
90
|
-
syntax (1.0.0)
|
91
|
-
|
92
|
-
PLATFORMS
|
93
|
-
ruby
|
94
|
-
|
95
|
-
DEPENDENCIES
|
96
|
-
SyslogLogger (= 1.4.0)
|
97
|
-
ZenTest (= 4.3.3)
|
98
|
-
bullet (= 1.7.6)
|
99
|
-
capistrano (= 2.11.2)
|
100
|
-
cgi_multipart_eof_fix (= 2.5.0)
|
101
|
-
daemon_controller (= 1.0.0)
|
102
|
-
diff-lcs (= 1.1.3)
|
103
|
-
fastthread (= 1.0.7)
|
104
|
-
gem_plugin (= 0.2.3)
|
105
|
-
highline (= 1.6.11)
|
106
|
-
hoe (= 2.14.0)
|
107
|
-
image_science (= 1.2.4)
|
108
|
-
json (~> 1.5.5)
|
109
|
-
launchy (>= 2.0.0)
|
110
|
-
linecache (= 0.46)
|
111
|
-
mongrel (= 1.1.5)
|
112
|
-
mysql (= 2.8.1)
|
113
|
-
needle (= 1.3.0)
|
114
|
-
net-scp (= 1.0.4)
|
115
|
-
net-sftp (= 2.0.5)
|
116
|
-
net-ssh (= 2.3.0)
|
117
|
-
net-ssh-gateway (= 1.1.0)
|
118
|
-
passenger (= 3.0.11)
|
119
|
-
production_log_analyzer (= 1.5.1)
|
120
|
-
rack (= 1.2.4)
|
121
|
-
rails (= 1.2.6)
|
122
|
-
rails_analyzer_tools (= 1.4.0)
|
123
|
-
rake (~> 0.9)
|
124
|
-
rbx-require-relative (= 0.0.9)
|
125
|
-
rcov (= 0.9.11)
|
126
|
-
rdoc
|
127
|
-
rdoc-data
|
128
|
-
rspec (= 1.1.12)
|
129
|
-
rspec-rails (= 1.1.12)
|
130
|
-
ruby-debug-base (= 0.10.4)
|
131
|
-
ruby-debug-ide (= 0.4.9)
|
132
|
-
rubyforge (= 0.4.5)
|
133
|
-
syntax
|