diff --git a/lib/secure_headers.rb b/lib/secure_headers.rb index 6e8aca74..fcca1203 100644 --- a/lib/secure_headers.rb +++ b/lib/secure_headers.rb @@ -212,7 +212,6 @@ def set_x_permitted_cross_domain_policies_header(options=self.class.secure_heade # we can't use ||= because I'm overloading false => disable, nil => default # both of which trigger the conditional assignment def secure_header_options_for(type, options) - warn "[DEPRECATION] secure_header_options_for will not be supported in secure_headers 3.x." options.nil? ? ::SecureHeaders::Configuration.send(type) : options end diff --git a/lib/secure_headers/version.rb b/lib/secure_headers/version.rb index e6be6252..1ccbb3c9 100644 --- a/lib/secure_headers/version.rb +++ b/lib/secure_headers/version.rb @@ -1,3 +1,3 @@ module SecureHeaders - VERSION = "2.5.0" + VERSION = "2.5.1" end