rumination 0.11.1 → 0.11.2
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.
- checksums.yaml +4 -4
- data/lib/rumination/tasks/deploy/bootstrap.rake +4 -2
- data/lib/rumination/version.rb +1 -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: c697c9a515369c7cdf529b4b34fc65663914701e
|
|
4
|
+
data.tar.gz: 8b78578de7305931bbd20889c5bcca32791dbe95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c7a312fe74f12c0c8bb5473d01a4244b5d8b846770420e2d0bb2faa8dbdf8e0417a2eec205771a3c472ae0b9befe56837ff3fc8d69e98150aef195b1f8a9396
|
|
7
|
+
data.tar.gz: 644275eebec0d3b8f685e5e41f28f07b69b0b9aa320098add154c00dfa7e876a5b053abfdffa04e55119c1fc0dd0154edc2b0661daa57f96b6101d9ae0089900
|
|
@@ -10,7 +10,7 @@ namespace :deploy do
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
namespace :bootstrap do
|
|
13
|
-
task :undo, [:target] => %w[confirm_undo] do |t, args|
|
|
13
|
+
task :undo, [:target] => %w[confirm_undo start_undo] do |t, args|
|
|
14
14
|
require "rumination/deploy"
|
|
15
15
|
args.with_defaults target: :development
|
|
16
16
|
begin
|
|
@@ -20,10 +20,12 @@ namespace :deploy do
|
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
22
|
|
|
23
|
-
task :confirm_undo
|
|
23
|
+
task :confirm_undo do |t, args|
|
|
24
24
|
require "highline/import"
|
|
25
25
|
question = "Do you really want to undo the bootstrap (database will be dropped)?"
|
|
26
26
|
abort("Bootstrap undo canceled, you didn't mean it") unless agree(question)
|
|
27
27
|
end
|
|
28
|
+
|
|
29
|
+
task :start_undo, [:target]
|
|
28
30
|
end
|
|
29
31
|
end
|
data/lib/rumination/version.rb
CHANGED