lib/config_default.rb in config_default-0.2.5 vs lib/config_default.rb in config_default-0.3.0

- old
+ new

@@ -4,12 +4,10 @@ require "config_default/version" require "config_default/config" require "config_default/init" require "config_default/struct" -require "config_default/rails_application_extension" -require "config_default/rails_application_configuration_extension" module ConfigDefault extend self attr_accessor :config @@ -18,11 +16,11 @@ def configure yield(config) if block_given? end - def init_rails_monkey_patch! - ConfigDefault::Init.init_rails_monkey_patch! + def init_rails_patch! + ConfigDefault::Init.init_rails_patch! end def load(name, key: Rails.env, symbolize_keys: false, deep_symbolize_keys: false) default_config = load_file("#{name}.#{config.postfix}") config = load_file(name)