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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d59ee2431ec599c27bdadf70918aa35d0a0cdf8e
4
- data.tar.gz: dac09af175aa53c6d3cd60de44678d17f4a0c082
3
+ metadata.gz: 9555293622bdf6cf3007d78c7898faea5d5bbf11
4
+ data.tar.gz: 1329b15a6cf64e26e5608cb80b3c00b53b050c53
5
5
  SHA512:
6
- metadata.gz: bfc0ccfa6f1f179db4d9e291727737c8771de898b484c33a01d9fc7f27a6cac8be9bb9bbe817dcaa0c60bdcdca5d91b23688155239530b5000081ffef95e300e
7
- data.tar.gz: a32bfde55b0dfb7845b941e798ed2498a28dee3254e3eed16524b1309885cca5e1a74f55fb552b77d116855e5efbc4aa00529b538943fa20e418f3d512df3104
6
+ metadata.gz: fbd7fd91293a0c5e75149638713f0c2f1e2ca024023d73f22a9523dad9376eed564691385b41cbc667ae3947421142d83bb79d95a71fe64663d743fbccaf4f93
7
+ data.tar.gz: 6f54b9485a72214847acdab9ab0afada002bea667836eff675354fde1d08bebb78ca9362c147e6b3021c2657d0360a7085a1d9432fefe7ce2a9ef8ce152fd1fb
@@ -1,3 +1,3 @@
1
1
  module Penthouse
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: penthouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Townsend