Sha256: 86ffb375ea6b76be8d61d69c9a166a728801a66f47e97980cf71becb186c534b

Contents?: true

Size: 551 Bytes

Versions: 25

Compression:

Stored size: 551 Bytes

Contents

#!/usr/bin/env ruby

require 'pastel'

if ENV['HACKING']
  require_relative '../lib/cloudstrap'
else
  require 'cloudstrap'
end

config = Cloudstrap::Config.new
configurables = config
                  .public_methods(false)
                  .reject { |m| m.to_s.start_with? '__contracts_ruby_original' }
                  .reject { |m| %i(Contract functype).include? m }
settings = configurables
             .map { |key| [key, config.send(key)] }
             .to_h

settings.sort.each do |key, value|
  puts "BOOTSTRAP_#{key.upcase}=#{value}"
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
cloudstrap-0.51.1.pre bin/cloudstrap-env
cloudstrap-0.50.1.pre bin/cloudstrap-env
cloudstrap-0.49.12.pre bin/cloudstrap-env
cloudstrap-0.49.11.pre bin/cloudstrap-env
cloudstrap-0.49.10.pre bin/cloudstrap-env
cloudstrap-0.49.8.pre bin/cloudstrap-env
cloudstrap-0.49.4.pre bin/cloudstrap-env
cloudstrap-0.49.2.pre bin/cloudstrap-env
cloudstrap-0.49.1.pre bin/cloudstrap-env
cloudstrap-0.49.0.pre bin/cloudstrap-env
cloudstrap-0.48.15.pre bin/cloudstrap-env
cloudstrap-0.48.2.pre bin/cloudstrap-env
cloudstrap-0.48.0.pre bin/cloudstrap-env
cloudstrap-0.47.8.pre bin/cloudstrap-env
cloudstrap-0.47.7.pre bin/cloudstrap-env
cloudstrap-0.47.2.pre bin/cloudstrap-env
cloudstrap-0.47.0.pre bin/cloudstrap-env
cloudstrap-0.46.7.pre bin/cloudstrap-env
cloudstrap-0.46.4.pre bin/cloudstrap-env
cloudstrap-0.46.3.pre bin/cloudstrap-env