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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7917a68d56f1fbedc4f802ab55e4726bb72f22b27f88e959dfe3cd4dd1b9363b
4
- data.tar.gz: bb303fbb2bc0ca1602bcb87657ca8a7a0c5b92cc4bb728f495e73f3404e322dc
3
+ metadata.gz: 7c1b21ff01fbee8169f1a8a4c9f0cb5073db1e9b719f6456db2f6de8e3ef779b
4
+ data.tar.gz: 5fb3e7e08be9a5b5046e91a14d299d93a94dbb989e433160502c164fcbf91bf5
5
5
  SHA512:
6
- metadata.gz: c0a2758ba1c6377a87d519e94dd3bb103c2a8948f72a2ad0e35fd76839c27132697b5bf57ab1cd67345fcc2ce06e48d38d41bd59e27db3dbbb3fc1c411325e98
7
- data.tar.gz: 5f4b1f59256e177db2af79a52f6d370121faf2a182338e9cb9de588494050be13f83bfbc03f79d89fe8fd280d54581002cdcd4a5e19f06467f8601828c42748e
6
+ metadata.gz: 191c7cb5b41ed7c7f55739a27bea8cc4d69318452f6b40f3a1c657ccfa3389e3bc866d0966d35895be5de6e1463be429db23ccf0a3e696361aaea2b9d4cb1d48
7
+ data.tar.gz: fba9ba667e2554beabc6616ad07edf6af74bffcbbdb40bb53334ec6a12e127c449719db703536393b98bdc4fa5a0000b52a128b3685c76e0186d47e391026aec
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.3
1
+ 2.6.5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.0.2
2
+
3
+ * Add www.gov.uk to CSP list (https://github.com/alphagov/govuk_app_config/pull/129)
4
+
1
5
  # 2.0.1
2
6
 
3
7
  * Reorder requires to resolve: "NameError: uninitialized constant
@@ -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.12.0"
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.8.0"
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
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
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.1
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: 2019-10-04 00:00:00.000000000 Z
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.12.0
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.12.0
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.8.0
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.8.0
156
+ version: 3.9.0
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: rspec-its
159
159
  requirement: !ruby/object:Gem::Requirement