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