penthouse 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/penthouse/version.rb +1 -1
- data/lib/tasks/penthouse.rake +4 -4
- 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: 9555293622bdf6cf3007d78c7898faea5d5bbf11
|
4
|
+
data.tar.gz: 1329b15a6cf64e26e5608cb80b3c00b53b050c53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbd7fd91293a0c5e75149638713f0c2f1e2ca024023d73f22a9523dad9376eed564691385b41cbc667ae3947421142d83bb79d95a71fe64663d743fbccaf4f93
|
7
|
+
data.tar.gz: 6f54b9485a72214847acdab9ab0afada002bea667836eff675354fde1d08bebb78ca9362c147e6b3021c2657d0360a7085a1d9432fefe7ce2a9ef8ce152fd1fb
|
data/lib/penthouse/version.rb
CHANGED
data/lib/tasks/penthouse.rake
CHANGED
@@ -8,7 +8,7 @@ penthouse_namespace = namespace :penthouse do
|
|
8
8
|
|
9
9
|
tenant_identifiers.each do |tenant_identifier|
|
10
10
|
begin
|
11
|
-
puts("Migrating #{tenant_identifier} tenant")
|
11
|
+
puts("Migrating #{tenant_identifier || '***global***'} tenant")
|
12
12
|
Penthouse::Migrator.migrate(tenant_identifier)
|
13
13
|
rescue Penthouse::TenantNotFound => e
|
14
14
|
puts e.message
|
@@ -24,7 +24,7 @@ penthouse_namespace = namespace :penthouse do
|
|
24
24
|
|
25
25
|
tenant_identifiers.each do |tenant_identifier|
|
26
26
|
begin
|
27
|
-
puts("Rolling back #{tenant_identifier} tenant")
|
27
|
+
puts("Rolling back #{tenant_identifier || '***global***'} tenant")
|
28
28
|
Penthouse::Migrator.rollback(tenant_identifier, step)
|
29
29
|
rescue Penthouse::TenantNotFound => e
|
30
30
|
puts e.message
|
@@ -42,7 +42,7 @@ penthouse_namespace = namespace :penthouse do
|
|
42
42
|
|
43
43
|
tenant_identifiers.each do |tenant_identifier|
|
44
44
|
begin
|
45
|
-
puts("Migrating #{tenant_identifier} tenant up")
|
45
|
+
puts("Migrating #{tenant_identifier || '***global***'} tenant up")
|
46
46
|
Penthouse::Migrator.run(:up, tenant_identifier, version)
|
47
47
|
rescue Penthouse::TenantNotFound => e
|
48
48
|
puts e.message
|
@@ -59,7 +59,7 @@ penthouse_namespace = namespace :penthouse do
|
|
59
59
|
|
60
60
|
tenant_identifiers.each do |tenant_identifier|
|
61
61
|
begin
|
62
|
-
puts("Migrating #{tenant_identifier} tenant down")
|
62
|
+
puts("Migrating #{tenant_identifier || '***global***'} tenant down")
|
63
63
|
Penthouse::Migrator.run(:down, tenant_identifier, version)
|
64
64
|
rescue Penthouse::TenantNotFound => e
|
65
65
|
puts e.message
|