lib/figaro/application.rb in figaro-1.1.0 vs lib/figaro/application.rb in figaro-1.1.1

- old
+ new

@@ -63,10 +63,10 @@ def global_configuration raw_configuration.reject { |_, value| value.is_a?(Hash) } end def environment_configuration - raw_configuration.fetch(environment) { {} } + raw_configuration[environment] || {} end def set(key, value) non_string_configuration!(key) unless key.is_a?(String) non_string_configuration!(value) unless value.is_a?(String) || value.nil?