aaf-secure_headers 2.0.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 012fdee750397eeb849e71a825df52cde24b7864
4
- data.tar.gz: 379cb106f941ef92d9117b06442e88108afbab8f
3
+ metadata.gz: 5659bdb1c4c352b79e15eada5a1738e39b17aa28
4
+ data.tar.gz: 28921332daa82fc5cb45f4346033868c27a2b4a0
5
5
  SHA512:
6
- metadata.gz: 5eaaba8faa4b8dd21e4ff8ecd9287062178c87326e2dc231cbc7c94f6cb0a9f60cdf58dbe8dbc4c06db0ca3b56577dac661ae852740c01b5307f3c24b2af1818
7
- data.tar.gz: 232b2b94bdc712141b5309de0499bed2382108a915707a3036b711d6e7bd263e9ebfe76e4a28c4be65c3696544833112fc7afd5f9cfb820fcd6b47bdb6e512dc
6
+ metadata.gz: efc19a857b3c3350295eb4a3cefbcc9a857ce15a4d214f8ffee7efba929ab1b0a036fdd9e613908a33efc0ce642c343d160550a320959b4bcc6d44453b1214e5
7
+ data.tar.gz: 77cb8302fb26510dfd6fa6237e11d278752ca9026bc14fadf29867b2af787b9c0ee3a94fe3c64c5444bc252840108fac891743e65d71406c3e8dcc5d50216352
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ['lib']
23
23
 
24
- spec.add_dependency 'secure_headers', '~> 3.5.0.pre'
24
+ spec.add_dependency 'secure_headers'
25
25
  spec.add_dependency 'activesupport'
26
26
 
27
27
  spec.add_development_dependency 'bundler', '~> 1.12'
@@ -9,9 +9,7 @@ module AAF
9
9
  config.cookies = {
10
10
  secure: true,
11
11
  httponly: true,
12
- samesite: {
13
- lax: false
14
- }
12
+ samesite: ::SecureHeaders::OPT_OUT
15
13
  }
16
14
 
17
15
  config.hsts = "max-age=#{6.months.to_i}; includeSubdomains; preload"
@@ -20,7 +18,7 @@ module AAF
20
18
  config.x_xss_protection = '1; mode=block'
21
19
  config.x_download_options = 'noopen'
22
20
  config.x_permitted_cross_domain_policies = 'none'
23
- config.referrer_policy = 'no-referrer'
21
+ config.referrer_policy = 'strict-origin'
24
22
 
25
23
  config.csp = {
26
24
  preserve_schemes: false,
@@ -1,5 +1,5 @@
1
1
  module AAF
2
2
  module SecureHeaders
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '3.0.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aaf-secure_headers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Caught
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-21 00:00:00.000000000 Z
11
+ date: 2019-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: secure_headers
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.5.0.pre
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 3.5.0.pre
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  requirements: []
135
135
  rubyforge_project:
136
- rubygems_version: 2.6.12
136
+ rubygems_version: 2.5.2.3
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: Base configuration for AAF Secure Headers