themigrator 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/themigrator/migrator.rb +4 -3
- data/lib/themigrator/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: e7b0bd4c2f45a3da0af9c48c3b6cba896b0fab28
|
4
|
+
data.tar.gz: 9590ad4e9ac568a4aeb884c6eeca181cac4df735
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b04dc8e517f01daf72e181782ddafd2b2d944db7dbdc5db269bbb445c8f2db7775eb328f93c5dd070e806ab2ec9d364a36e74d6bbf87f4f653f217f33a39f92
|
7
|
+
data.tar.gz: 69a04b5e51d35ce5329569bc68568ae83e61e77b0f0434769a72458f355ec27297247678f52603c2a409c23b12fd424fe7ff044e19addecc14dbaa6d76709a98
|
data/lib/themigrator/migrator.rb
CHANGED
@@ -29,11 +29,12 @@ module Themigrator
|
|
29
29
|
private
|
30
30
|
|
31
31
|
def run_rollback_and_wait
|
32
|
-
@
|
33
|
-
|
32
|
+
rollbacks = @migration.roles_for_action("rollback") & @runned_roles
|
33
|
+
rollbacks .each do |role|
|
34
|
+
start_role_action(role, "rollback")
|
34
35
|
end
|
35
36
|
|
36
|
-
|
37
|
+
wait
|
37
38
|
end
|
38
39
|
|
39
40
|
def run_id
|
data/lib/themigrator/version.rb
CHANGED