demrec 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/demrec/recipes/db.rb +8 -6
- data/lib/demrec/version.rb +1 -1
- metadata +1 -1
data/lib/demrec/recipes/db.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
-
|
2
|
-
namespace :
|
1
|
+
Capistrano::Configuration.instance(:must_exist).load do
|
2
|
+
namespace :demrec do
|
3
|
+
namespace :db do
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
desc "Backup the database"
|
6
|
+
task :backup do
|
7
|
+
puts "Capistrano is backing up db"
|
8
|
+
end
|
8
9
|
|
10
|
+
end
|
9
11
|
end
|
10
12
|
end
|
data/lib/demrec/version.rb
CHANGED