We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6632d62 commit 3bdcc4fCopy full SHA for 3bdcc4f
lib/secure_headers.rb
@@ -39,6 +39,9 @@ def secure_headers_options
39
end
40
41
def ensure_security_headers options = {}
42
+ if RUBY_VERSION == "1.8.7"
43
+ warn "[DEPRECATION] secure_headers ruby 1.8.7 support will dropped in the next release"
44
+ end
45
self.secure_headers_options = options
46
before_filter :prep_script_hash
47
before_filter :set_hsts_header
secure_headers.gemspec
@@ -20,5 +20,4 @@ Gem::Specification.new do |gem|
20
gem.require_paths = ["lib"]
21
gem.add_development_dependency "rake"
22
gem.add_dependency "user_agent_parser"
23
- gem.post_install_message = "Heads up, secure_headers Ruby 1.8.7 support will go away in the next major release."
24
0 commit comments