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