youthtree-capistrano 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/youthtree/capistrano.rb +1 -1
- data/lib/youthtree/recipes/bundler.rb +1 -1
- data/lib/youthtree/recipes/compass.rb +1 -1
- data/lib/youthtree/recipes/db.rb +4 -3
- data/lib/youthtree/recipes/git.rb +1 -1
- data/lib/youthtree/recipes/jammit.rb +1 -1
- data/lib/youthtree/recipes/rvm.rb +1 -1
- data/lib/youthtree/recipes/settings.rb +4 -3
- data/lib/youthtree/recipes/unicorn.rb +2 -2
- data/youthtree-capistrano.gemspec +2 -2
- metadata +4 -4
data/lib/youthtree/capistrano.rb
CHANGED
data/lib/youthtree/recipes/db.rb
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
YouthTree::Capistrano.
|
|
1
|
+
YouthTree::Capistrano.load_named(:db) do
|
|
2
2
|
|
|
3
|
-
yt_cset :
|
|
4
|
-
yt_cset
|
|
3
|
+
yt_cset :database_config_file_name, 'database.yml'
|
|
4
|
+
yt_cset(:database_shared_config) { database_config_file_name }
|
|
5
|
+
yt_cset(:database_latest_config) { "config/#{database_config_file_name}" }
|
|
5
6
|
|
|
6
7
|
namespace :database do
|
|
7
8
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
YouthTree::Capistrano.
|
|
1
|
+
YouthTree::Capistrano.load_named(:settings) do
|
|
2
2
|
|
|
3
|
-
yt_cset :
|
|
4
|
-
yt_cset
|
|
3
|
+
yt_cset :settings_file_name, 'settings.yml'
|
|
4
|
+
yt_cset(:settings_shared_config) { settings_file_name }
|
|
5
|
+
yt_cset(:settings_latest_config) { "config/#{settings_file_name}" }
|
|
5
6
|
|
|
6
7
|
namespace :settings do
|
|
7
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
YouthTree::Capistrano.
|
|
1
|
+
YouthTree::Capistrano.load_named(:unicorn) do
|
|
2
2
|
|
|
3
3
|
yt_cset :unicorn_shared_config, 'unicorn.rb'
|
|
4
4
|
yt_cset :unicorn_latest_config, 'config/unicorn.rb'
|
|
5
|
-
yt_cset :unicorn_pid_file,
|
|
5
|
+
yt_cset :unicorn_pid_file, 'tmp/pids'
|
|
6
6
|
|
|
7
7
|
namespace :unicorn do
|
|
8
8
|
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{youthtree-capistrano}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.6"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Darcy Laycock"]
|
|
12
|
-
s.date = %q{2010-08-
|
|
12
|
+
s.date = %q{2010-08-27}
|
|
13
13
|
s.description = %q{Capistrano tasks used for common Youth Tree deployments.}
|
|
14
14
|
s.email = %q{sutto@sutto.net}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: youthtree-capistrano
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 6
|
|
10
|
+
version: 0.0.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Darcy Laycock
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-08-
|
|
18
|
+
date: 2010-08-27 00:00:00 +08:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|