youthtree-capistrano 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  module YouthTree
2
2
  module Capistrano
3
- VERSION = "0.0.5".freeze
3
+ VERSION = "0.0.6".freeze
4
4
 
5
5
  def self.load(&blk)
6
6
  ::Capistrano::Configuration.instance(:must_exist).load(&blk)
@@ -1,4 +1,4 @@
1
- YouthTree::Capistrano.load do
1
+ YouthTree::Capistrano.load_named(:bundler) do
2
2
  require 'bundler/capistrano'
3
3
  set :bundle_dir, '"$GEM_HOME"'
4
4
  end
@@ -1,4 +1,4 @@
1
- YouthTree::Capistrano.load do
1
+ YouthTree::Capistrano.load_named(:compass) do
2
2
 
3
3
  namespace :compass do
4
4
 
@@ -1,7 +1,8 @@
1
- YouthTree::Capistrano.load do
1
+ YouthTree::Capistrano.load_named(:db) do
2
2
 
3
- yt_cset :database_shared_config, 'database.yml'
4
- yt_cset :database_latest_config, 'config/database.yml'
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,4 +1,4 @@
1
- YouthTree::Capistrano.load do
1
+ YouthTree::Capistrano.load_named(:git) do
2
2
  yt_cset :scm, :git
3
3
  yt_cset(:repository_name) { application }
4
4
  yt_cset(:repository) { "git://github.com/YouthTree/#{repository_name}.git" }
@@ -1,4 +1,4 @@
1
- YouthTree::Capistrano.load do
1
+ YouthTree::Capistrano.load_named(:jammit) do
2
2
 
3
3
  namespace :jammit do
4
4
 
@@ -1,4 +1,4 @@
1
- YouthTree::Capistrano.load do
1
+ YouthTree::Capistrano.load_named(:rvm) do
2
2
  yt_cset(:yt_default_ruby) { "ree" }
3
3
  yt_cset(:rvm_ruby_string) { "#{yt_default_ruby}@#{application}" }
4
4
  require 'rvm/capistrano'
@@ -1,7 +1,8 @@
1
- YouthTree::Capistrano.load do
1
+ YouthTree::Capistrano.load_named(:settings) do
2
2
 
3
- yt_cset :settings_shared_config, 'settings.yml'
4
- yt_cset :settings_latest_config, 'config/settings.yml'
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.load do
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, 'tmp/pids'
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.5"
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-24}
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: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
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-24 00:00:00 +08:00
18
+ date: 2010-08-27 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency