Skip to content

Commit 9733c3b

Browse files
committed
Merge branch 'master' into secure-headers-x
2 parents 6b49c0f + cdfbe4d commit 9733c3b

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
## 6.0
22

33
- See the [upgrading to 6.0](docs/upgrading-to-6-0.md) guide for the breaking changes.
4+
=======
5+
## 5.0.5
6+
7+
A release to deprecate `SecureHeaders::Configuration#get` in prep for 6.x
48

59
## 5.0.4
610

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ group :guard do
1919
gem "growl"
2020
gem "guard-rspec", platforms: [:ruby_19, :ruby_20, :ruby_21, :ruby_22, :ruby_23, :ruby_24]
2121
gem "rb-fsevent"
22+
gem "terminal-notifier-guard"
2223
end

lib/secure_headers/headers/clear_site_data.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def validate_config!(config)
4646
#
4747
# Returns a String of quoted values that are comma separated.
4848
def make_header_value(types)
49-
types.map { |t| "\"#{t}\"" }.join(", ")
49+
types.map { |t| %("#{t}") }.join(", ")
5050
end
5151
end
5252
end

secure_headers.gemspec

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# frozen_string_literal: true
33
Gem::Specification.new do |gem|
44
gem.name = "secure_headers"
5-
gem.version = "6.0.0"
5+
gem.version = "6.0.0.alpha01"
66
gem.authors = ["Neil Matatall"]
77
gem.email = ["[email protected]"]
88
gem.description = "Manages application of security headers with many safe defaults."
@@ -17,13 +17,4 @@ Gem::Specification.new do |gem|
1717
gem.require_paths = ["lib"]
1818
gem.add_development_dependency "rake"
1919
gem.add_dependency "useragent", ">= 0.15.0"
20-
21-
# TODO: delete this after 4.1 is cut or a number of 4.0.x releases have occurred
22-
gem.post_install_message = <<-POST_INSTALL
23-
24-
**********
25-
:wave: secure_headers 5.0 introduces a lot of breaking changes (in the name of security!). It's highly likely you will need to update your secure_headers cookie configuration to avoid breaking things. See the upgrade guide for details: https://github.com/twitter/secureheaders/blob/master/docs/upgrading-to-5-0.md
26-
**********
27-
28-
POST_INSTALL
2920
end

0 commit comments

Comments
 (0)