Skip to content

Commit

Permalink
remove unactionable deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
oreoshake committed Jan 7, 2016
1 parent 6cef8c7 commit cfad0e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/secure_headers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/secure_headers/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module SecureHeaders
VERSION = "2.5.0"
VERSION = "2.5.1"
end

1 comment on commit cfad0e5

@bquorning
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please push a v2.5.1 tag?

Please sign in to comment.