Sha256: f5bc3f6e54189eab49ea1eb92144befa7e0a3d84fb1b2f11f90c0ece06509b92

Contents?: true

Size: 541 Bytes

Versions: 2

Compression:

Stored size: 541 Bytes

Contents

require 'IISVersion'

class IIS
  def self.server
    if(IISVersion.current_version =~ /^6/)
      require 'IIS6'
      version = IIS6.new
    else
      require 'IIS7'
      version = IIS7.new
    end
    
    return version
  end
  ### Will be executed on the local box, might be able to refactor 'server' out.
  def deploy(server, location, deployment)
    IIS.server.deploy(server, location, deployment)
  end
  
  def set_extra_header(header, deployment)
    IIS.server.set_extra_header header,deployment
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dolphindeploy-0.0.3-universal-dotnet lib/IIS/IIS.rb
dolphindeploy-0.0.2-universal-dotnet lib/IIS/IIS.rb