obbistrano 1.0.88 → 1.0.89
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/obbistrano_tasks.rb +8 -0
- data/obbistrano.gemspec +1 -1
- metadata +1 -1
data/lib/obbistrano_tasks.rb
CHANGED
@@ -273,6 +273,14 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
273
273
|
try_login
|
274
274
|
restore
|
275
275
|
end
|
276
|
+
|
277
|
+
task :mirror do
|
278
|
+
config_check
|
279
|
+
print "==== Which server would you like to copy #{application} to? [Full Domain Name] "
|
280
|
+
new_server = STDIN.gets.strip
|
281
|
+
run "rsync -avzh . #{user}@#{new_server}: --exclude 'tmp/*'"
|
282
|
+
end
|
283
|
+
|
276
284
|
|
277
285
|
end
|
278
286
|
|
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.
|
5
|
+
s.version = "1.0.89"
|
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=
|