lib/rails-settings-cached.rb in rails-settings-cached-2.9.4 vs lib/rails-settings-cached.rb in rails-settings-cached-2.9.5

- old
+ new

@@ -7,16 +7,23 @@ require_relative "rails-settings/fields/float" require_relative "rails-settings/fields/hash" require_relative "rails-settings/fields/integer" require_relative "rails-settings/fields/string" -require_relative "rails-settings/base" require_relative "rails-settings/configuration" require_relative "rails-settings/request_cache" require_relative "rails-settings/middleware" require_relative "rails-settings/railtie" require_relative "rails-settings/version" module RailsSettings + class ProtectedKeyError < RuntimeError + def initialize(key) + super("Can't use #{key} as setting key.") + end + end + + autoload :Base, "rails-settings/base" + module Fields end end