h2ocube_rails_tasks 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/h2ocube_rails_tasks.gemspec +1 -1
- data/lib/h2ocube_rails_tasks/tasks/backup.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b957da35a042ef9b507f7f404f78a2f3cbe6669
|
4
|
+
data.tar.gz: b23fbc6caf0d40576d2ede38a18a6b0d5483fdcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac43046ea91a5498b867abd6bc5de7f5ab496a3f4e76136cb063b22a7f2f44005ba44486f24c19a390af8de99e277f5915fe6a736fbc2b6d1662a3b33ab6e248
|
7
|
+
data.tar.gz: c2d8b496996e823ef64677694662203deabec75868669229a23cb3d3bc4ef0f363ca1fcd808ae0aa78756329b76a9d1519b60e62440627c9b3e54c7e2e5e06d7
|
data/h2ocube_rails_tasks.gemspec
CHANGED
@@ -2,5 +2,6 @@ desc 'Backup all things'
|
|
2
2
|
task :backup, [:to] do |task, args|
|
3
3
|
Rake::Task['git:pull'].execute from: args[:to]
|
4
4
|
Rake::Task['db:dump'].execute
|
5
|
-
Rake::Task['git:
|
5
|
+
Rake::Task['git:commit'].execute comment: "Backup @ #{Time.now}"
|
6
|
+
Rake::Task['git:push'].execute to: args[:to]
|
6
7
|
end
|