lib/envious.rb in envious-0.2.0 vs lib/envious.rb in envious-0.3.0

- old
+ new

@@ -1,12 +1,17 @@ require "envious/railtie" require "pp" module Envious extend self - def vars_for_heroku() + def vars_for_heroku env_vars = default_vars.merge(environment_vars) env_vars = env_vars.map { |k, v| "#{k}=#{v}"}.join(' ') + end + + def vars_for_cloud66 + env_vars = default_vars.merge(environment_vars) + env_vars = env_vars.map { |k, v| "#{k}=#{v}"}.join("\n") end def load_env() add_to_environment(default_vars.merge(environment_vars)) end