lib/basquiat/support/configuration.rb in basquiat-1.5.0 vs lib/basquiat/support/configuration.rb in basquiat-1.5.1
- old
+ new
@@ -82,10 +82,10 @@
def config
@yaml.fetch(environment, {})
end
def load_yaml(path)
- @yaml = YAML.safe_load(ERB.new(IO.readlines(path).join).result, [Symbol]).symbolize_keys
+ @yaml = YAML.safe_load(ERB.new(IO.readlines(path).join).result, [Symbol], [], true).symbolize_keys
end
def setup_basic_options
@queue_name ||= config.fetch(:queue_name) { 'basquiat.exchange' }
@exchange_name ||= config.fetch(:exchange_name) { 'basquiat.queue' }