Sha256: f128054af813eda2c5f24357adb8ec4f90f267a5ca8517049950c8ee6bd7c8c3

Contents?: true

Size: 461 Bytes

Versions: 6

Compression:

Stored size: 461 Bytes

Contents

module ORS::Commands

  class Env < Base

    def execute
      puts "ORS v#{ORS::VERSION} configuration:\n\n"

      [:name, :environment, :use_gateway, :pretending, :log_lines, :rails2, :gateway, :deploy_user,
       :repo, :base_path, :web_servers, :app_servers, :migration_server, :console_server, :cron_server].each do |config_variable|
        puts "%20s: %-40s" % [config_variable, ORS::Config.send(config_variable).inspect]
      end
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ors-0.1.8 lib/ors/commands/env.rb
ors-0.1.7 lib/ors/commands/env.rb
ors-0.1.5 lib/ors/commands/env.rb
ors-0.1.4 lib/ors/commands/env.rb
ors-0.1.3 lib/ors/commands/env.rb
ors-0.1.2 lib/ors/commands/env.rb