govuk_app_config 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/govuk_app_config.gemspec +2 -2
- data/lib/govuk_app_config/govuk_content_security_policy.rb +3 -0
- data/lib/govuk_app_config/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c1b21ff01fbee8169f1a8a4c9f0cb5073db1e9b719f6456db2f6de8e3ef779b
|
4
|
+
data.tar.gz: 5fb3e7e08be9a5b5046e91a14d299d93a94dbb989e433160502c164fcbf91bf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 191c7cb5b41ed7c7f55739a27bea8cc4d69318452f6b40f3a1c657ccfa3389e3bc866d0966d35895be5de6e1463be429db23ccf0a3e696361aaea2b9d4cb1d48
|
7
|
+
data.tar.gz: fba9ba667e2554beabc6616ad07edf6af74bffcbbdb40bb53334ec6a12e127c449719db703536393b98bdc4fa5a0000b52a128b3685c76e0186d47e391026aec
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.6.
|
1
|
+
2.6.5
|
data/CHANGELOG.md
CHANGED
data/govuk_app_config.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.require_paths = %w[lib]
|
24
24
|
|
25
25
|
spec.add_dependency "logstasher", ">= 1.2.2", "< 1.4.0"
|
26
|
-
spec.add_dependency "sentry-raven", ">= 2.7.1", "< 2.
|
26
|
+
spec.add_dependency "sentry-raven", ">= 2.7.1", "< 2.14.0"
|
27
27
|
spec.add_dependency "statsd-ruby", "~> 1.4.0"
|
28
28
|
spec.add_dependency "unicorn", ">= 5.4", "< 5.6"
|
29
29
|
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_development_dependency "climate_control"
|
32
32
|
spec.add_development_dependency "rails", "~> 6"
|
33
33
|
spec.add_development_dependency "rake", "~> 13.0"
|
34
|
-
spec.add_development_dependency "rspec", "~> 3.
|
34
|
+
spec.add_development_dependency "rspec", "~> 3.9.0"
|
35
35
|
spec.add_development_dependency "rspec-its", "~> 1.3.0"
|
36
36
|
spec.add_development_dependency "webmock"
|
37
37
|
end
|
@@ -11,6 +11,7 @@ module GovukContentSecurityPolicy
|
|
11
11
|
GOVUK_DOMAINS = [
|
12
12
|
'*.publishing.service.gov.uk',
|
13
13
|
"*.#{ENV['GOVUK_APP_DOMAIN_EXTERNAL'] || ENV['GOVUK_APP_DOMAIN'] || 'dev.gov.uk'}",
|
14
|
+
"www.gov.uk",
|
14
15
|
"*.dev.gov.uk"
|
15
16
|
].uniq.freeze
|
16
17
|
|
@@ -40,6 +41,8 @@ module GovukContentSecurityPolicy
|
|
40
41
|
"*.ytimg.com",
|
41
42
|
"www.youtube.com",
|
42
43
|
"www.youtube-nocookie.com",
|
44
|
+
# Allow JSONP call to Nuance - HMRC web chat provider
|
45
|
+
"hmrc-uk.digital.nuance.com",
|
43
46
|
# Allow all inline scripts until we can conclusively
|
44
47
|
# document all the inline scripts we use,
|
45
48
|
# and there's a better way to filter out junk reports
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_app_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstasher
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: 2.7.1
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 2.
|
42
|
+
version: 2.14.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: 2.7.1
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 2.
|
52
|
+
version: 2.14.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: statsd-ruby
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,14 +146,14 @@ dependencies:
|
|
146
146
|
requirements:
|
147
147
|
- - "~>"
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version: 3.
|
149
|
+
version: 3.9.0
|
150
150
|
type: :development
|
151
151
|
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
153
|
requirements:
|
154
154
|
- - "~>"
|
155
155
|
- !ruby/object:Gem::Version
|
156
|
-
version: 3.
|
156
|
+
version: 3.9.0
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: rspec-its
|
159
159
|
requirement: !ruby/object:Gem::Requirement
|