lib/brillo.rb in brillo-1.1.0 vs lib/brillo.rb in brillo-1.1.1
- old
+ new
@@ -1,7 +1,7 @@
require 'yaml'
-require 'active_support'
+require 'active_support/hash_with_indifferent_access'
require 'active_support/core_ext/string/inflections'
require 'active_record'
require "brillo/version"
require 'brillo/errors'
@@ -42,10 +42,10 @@
Loader.new(config).load!
end
def self.config
@config ||= begin
- static_config = YAML.load_file("#{Rails.root.to_s}/config/brillo.yml")
+ static_config = YAML.load_file("#{Rails.root.to_s}/config/brillo.yml").deep_symbolize_keys
Config.new(static_config)
end
end
def self.config=(config)