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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: afdd3a14635ec5e8007efba0c1ae097c31e2427f
4
- data.tar.gz: ffe49a85af153af72248695c210b877f8a288191
3
+ metadata.gz: e7b0bd4c2f45a3da0af9c48c3b6cba896b0fab28
4
+ data.tar.gz: 9590ad4e9ac568a4aeb884c6eeca181cac4df735
5
5
  SHA512:
6
- metadata.gz: 3f8233596e05c8a843b66b8aef4842f1d9258858e0c0c89ad68e879c363919861e970339f3da2d4277f61bb9526a2147e3e1d0659451e0d815b09a0ca0577b31
7
- data.tar.gz: 98114b0bf9e4b8568901733457fa099aea37f3a7a0f1ff5fe802aef639b5c51a78f7ede0999d2aac9867f09c30330a7fb5a4e995f7fd8e03f0860679fe276569
6
+ metadata.gz: 7b04dc8e517f01daf72e181782ddafd2b2d944db7dbdc5db269bbb445c8f2db7775eb328f93c5dd070e806ab2ec9d364a36e74d6bbf87f4f653f217f33a39f92
7
+ data.tar.gz: 69a04b5e51d35ce5329569bc68568ae83e61e77b0f0434769a72458f355ec27297247678f52603c2a409c23b12fd424fe7ff044e19addecc14dbaa6d76709a98
@@ -29,11 +29,12 @@ module Themigrator
29
29
  private
30
30
 
31
31
  def run_rollback_and_wait
32
- @runned_roles.each do |role|
33
- run_role_action(role, "rollback")
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
- wait_all_processes
37
+ wait
37
38
  end
38
39
 
39
40
  def run_id
@@ -1,3 +1,3 @@
1
1
  module Themigrator
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: themigrator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillermo Álvarez