penthouse 0.7.4 → 0.7.5
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/penthouse/migrator.rb +8 -28
- data/lib/penthouse/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: a49b8e9cb0526dc97db28adae4d815d6e7159d0f
         | 
| 4 | 
            +
              data.tar.gz: 2e4a8a76a90e3c4ef3cc61fd791cde94cd37b5b3
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: fb84d69706713d17af8970d5f7c5b201cd9ff836543b164d3df2ed744e5014b295001b4926348ea15780c45abecb569093be4c4a47866f6834cbe2c7f381ae34
         | 
| 7 | 
            +
              data.tar.gz: c9fe8a286abdf9f2fbd42d656a33c9bfecb17ca8eb467b9cdc2816fed0aa8cbd960b4269a4f414fbcc23f2c3f49d207f8efdd84c262caeaa3d73720b264acec6
         | 
    
        data/lib/penthouse/migrator.rb
    CHANGED
    
    | @@ -51,13 +51,8 @@ module Penthouse | |
| 51 51 |  | 
| 52 52 | 
             
                    Penthouse.each_tenant(tenant_identifiers: tenants_to_migrate) do |tenant|
         | 
| 53 53 | 
             
                      puts "Migrating #{tenant.identifier}"
         | 
| 54 | 
            -
                       | 
| 55 | 
            -
             | 
| 56 | 
            -
                        migrate_without_octopus(migrations_paths, target_version, &block)
         | 
| 57 | 
            -
                      else
         | 
| 58 | 
            -
                        puts "calling #migrate_without_penthouse"
         | 
| 59 | 
            -
                        migrate_without_penthouse(migrations_paths, target_version, &block)
         | 
| 60 | 
            -
                      end
         | 
| 54 | 
            +
                      puts "calling #migrate_without_penthouse"
         | 
| 55 | 
            +
                      migrate_without_penthouse(migrations_paths, target_version, &block)
         | 
| 61 56 | 
             
                    end
         | 
| 62 57 | 
             
                  end
         | 
| 63 58 |  | 
| @@ -71,13 +66,8 @@ module Penthouse | |
| 71 66 |  | 
| 72 67 | 
             
                    Penthouse.each_tenant(tenant_identifiers: tenants_to_migrate) do |tenant|
         | 
| 73 68 | 
             
                      puts "Migrating #{tenant.identifier}"
         | 
| 74 | 
            -
                       | 
| 75 | 
            -
             | 
| 76 | 
            -
                        up_without_octopus(migrations_paths, target_version, &block)
         | 
| 77 | 
            -
                      else
         | 
| 78 | 
            -
                        puts "calling #up_without_penthouse"
         | 
| 79 | 
            -
                        up_without_penthouse(migrations_paths, target_version, &block)
         | 
| 80 | 
            -
                      end
         | 
| 69 | 
            +
                      puts "calling #up_without_penthouse"
         | 
| 70 | 
            +
                      up_without_penthouse(migrations_paths, target_version, &block)
         | 
| 81 71 | 
             
                    end
         | 
| 82 72 | 
             
                  end
         | 
| 83 73 |  | 
| @@ -91,13 +81,8 @@ module Penthouse | |
| 91 81 |  | 
| 92 82 | 
             
                    Penthouse.each_tenant(tenant_identifiers: tenants_to_migrate) do |tenant|
         | 
| 93 83 | 
             
                      puts "Migrating #{tenant.identifier}"
         | 
| 94 | 
            -
                       | 
| 95 | 
            -
             | 
| 96 | 
            -
                        down_without_octopus(migrations_paths, target_version, &block)
         | 
| 97 | 
            -
                      else
         | 
| 98 | 
            -
                        puts "calling #down_without_penthouse"
         | 
| 99 | 
            -
                        down_without_penthouse(migrations_paths, target_version, &block)
         | 
| 100 | 
            -
                      end
         | 
| 84 | 
            +
                      puts "calling #down_without_penthouse"
         | 
| 85 | 
            +
                      down_without_penthouse(migrations_paths, target_version, &block)
         | 
| 101 86 | 
             
                    end
         | 
| 102 87 | 
             
                  end
         | 
| 103 88 |  | 
| @@ -111,13 +96,8 @@ module Penthouse | |
| 111 96 |  | 
| 112 97 | 
             
                    Penthouse.each_tenant(tenant_identifiers: tenants_to_migrate) do |tenant|
         | 
| 113 98 | 
             
                      puts "Migrating #{tenant.identifier}"
         | 
| 114 | 
            -
                       | 
| 115 | 
            -
             | 
| 116 | 
            -
                        run_without_octopus(direction, migrations_paths, target_version)
         | 
| 117 | 
            -
                      else
         | 
| 118 | 
            -
                        puts "calling #run_without_penthouse"
         | 
| 119 | 
            -
                        run_without_penthouse(direction, migrations_paths, target_version)
         | 
| 120 | 
            -
                      end
         | 
| 99 | 
            +
                      puts "calling #run_without_penthouse"
         | 
| 100 | 
            +
                      run_without_penthouse(direction, migrations_paths, target_version)
         | 
| 121 101 | 
             
                    end
         | 
| 122 102 | 
             
                  end
         | 
| 123 103 |  | 
    
        data/lib/penthouse/version.rb
    CHANGED