lib/sanitize_email/config.rb in sanitize_email-1.1.5 vs lib/sanitize_email/config.rb in sanitize_email-1.1.6
- old
+ new
@@ -42,10 +42,10 @@
:use_actual_environment_prepended_to_subject => false,
:activation_proc => Proc.new { false }
}
- @config ||= DEFAULTS
+ @config ||= DEFAULTS.dup
def self.configure &block
yield @config
# Gracefully handle deprecated config values.
# Actual deprecation warnings are thrown in the top SanitizeEmail module thanks to our use of dynamic methods.