oneblackbear-obbistrano 1.0.18 → 1.0.19

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.
@@ -98,6 +98,7 @@ Capistrano::Configuration.instance(:must_exist).load do
98
98
  begin
99
99
  run "ls #{deploy_to}/.git"
100
100
  rescue
101
+ run "mkdir -p #{deploy_to}"
101
102
  run "cd #{deploy_to} && git init"
102
103
  run "cd #{deploy_to} && git remote add origin #{repository}"
103
104
  end
@@ -183,7 +184,6 @@ Capistrano::Configuration.instance(:must_exist).load do
183
184
  # USER AND APPLICATION SETUP AND INITIALISATION
184
185
  # =============================================================================
185
186
 
186
- desc "General setup task which creates a new user on the host, sets up a mysql database and login, creates an apache vhost file and finally generates an ssh key for the user."
187
187
  task :setup do
188
188
  config_check
189
189
  try_login
@@ -261,7 +261,6 @@ Capistrano::Configuration.instance(:must_exist).load do
261
261
  # +MIGRATING+ APPLICATIONS
262
262
  # =============================================================================
263
263
 
264
- desc "Runs a backup of an application, copies to another server and then sets up on new server"
265
264
  task :copy_site do
266
265
  config_check
267
266
  needs_root
data/obbistrano.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.0.18"
5
+ s.version = "1.0.19"
6
6
  s.authors = ["Ross Riley", "One Black Bear"]
7
7
  s.date = Time.now
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oneblackbear-obbistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.18
4
+ version: 1.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-06-17 00:00:00 -07:00
13
+ date: 2009-06-18 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency