lib/gooddata/bricks/middleware/base_middleware.rb in gooddata-0.6.19 vs lib/gooddata/bricks/middleware/base_middleware.rb in gooddata-0.6.20

- old
+ new

@@ -31,10 +31,10 @@ def load_defaults(params) # if default params given, fill what's not given in runtime params if @config # load it from file and merge it defaults = { 'config' => MultiJson.load(File.read(@config)) } - default_params = defaults.extend(Hashie::Extensions::DeepMerge) + default_params = GoodData::Helpers::DeepMergeableHash[defaults] params = default_params.deep_merge(params) end params end