lib/herokuconf.rb in herokuconf-0.0.7 vs lib/herokuconf.rb in herokuconf-0.0.8
- old
+ new
@@ -12,10 +12,10 @@
}
def configure!(params = {})
return if ENV['DYNO']
app, keys, exclude = DEFAULT_OPTIONS.dup.merge!(params).values_at(
- :app, :keys, exclude
+ :app, :keys, :exclude
)
pairs = config_vars(app)
pairs.select! { |k, _| keys.include? k } if keys
pairs.reject! { |k, _| exclude.include? k } if exclude
pairs.each { |k, v| ENV[k] = v }