Sha256: 45a6bbba0174499903499b666150ffd95d4a8cf27b9bcdb32ab79dd8e3329541

Contents?: true

Size: 511 Bytes

Versions: 18

Compression:

Stored size: 511 Bytes

Contents

module Houston
  module Adapters
    module Deployment
      class Engineyard
        class Config < EY::Config

          def initialize(config)
            @path = Struct.new(:exist?).new(true)
            @config = YAML.load(config) || {} # load_file returns `false' when the file is empty
            raise "ey.yml load error: Expected a Hash but a #{config.class.name} was returned." unless Hash === @config
            @config["environments"] ||= {}
          end

        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
houston-core-0.8.0.pre app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.7.0 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.7.0.beta4 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.7.0.beta3 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.7.0.beta2 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.7.0.beta app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.6.3 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.6.2 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.6.1 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.6.0 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.5.6 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.5.5 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.5.4 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.5.3 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.5.2 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.5.1 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.5.0 app/adapters/houston/adapters/deployment/engineyard/config.rb
houston-core-0.5.0.beta1 app/adapters/houston/adapters/deployment/engineyard/config.rb