Skip to content

Commit cfad0e5

Browse files
committed
remove unactionable deprecation warning
1 parent 6cef8c7 commit cfad0e5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/secure_headers.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ def set_x_permitted_cross_domain_policies_header(options=self.class.secure_heade
212212
# we can't use ||= because I'm overloading false => disable, nil => default
213213
# both of which trigger the conditional assignment
214214
def secure_header_options_for(type, options)
215-
warn "[DEPRECATION] secure_header_options_for will not be supported in secure_headers 3.x."
216215
options.nil? ? ::SecureHeaders::Configuration.send(type) : options
217216
end
218217

lib/secure_headers/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module SecureHeaders
2-
VERSION = "2.5.0"
2+
VERSION = "2.5.1"
33
end

0 commit comments

Comments
 (0)