obbistrano 1.0.93 → 1.0.94

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.
@@ -348,12 +348,13 @@ Capistrano::Configuration.instance(:must_exist).load do
348
348
  config_check
349
349
  print "==== Which server would you like to copy #{application} to? [Full Domain Name] "
350
350
  new_server = STDIN.gets.strip
351
+ role :new_server, new_server
352
+ mirror_setup
351
353
  run "rsync -avzh . #{user}@#{new_server}: --exclude 'tmp/*'"
352
354
  "#{databases}".each do |db|
353
355
  run "mysqldump #{db} | ssh #{user}@#{new_server} mysql #{db}"
354
356
  end
355
- role :new_server, new_server
356
- mirror_setup
357
+
357
358
  end
358
359
 
359
360
  task :mirror_setup, :roles => :new_server do
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.93"
5
+ s.version = "1.0.94"
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: obbistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.93
4
+ version: 1.0.94
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley