govuk_app_config 4.4.0 → 4.4.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f16f62211076d736b18b819761138fd5dfa687e5ed28287f1f4123e549c78fa
|
4
|
+
data.tar.gz: 7684a590d49e6455e3e3ad20976c64cc4e64df9a1b3ab68f22317a42d3635fe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e66c28bc057dee6ee862209809282b6c6b419733023a1496ed108be9dcebd8186e37933fc1bb54ee98f0299d4d2358592a91428b992569e37bf9c35408e90b29
|
7
|
+
data.tar.gz: f13576617de0af36f1367a9aa56c56745cb6329b1446788ac17dcfb5cea4c4cf8da591d571ffd8e21356546f905983a2651bf251a9244f4f35be258bf8c30517
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,20 @@
|
|
1
|
+
# 4.4.3
|
2
|
+
|
3
|
+
- Update prometheus exporter server to 0.0.0.0 from localhost ([#227](https://github.com/alphagov/govuk_app_config/pull/227)).
|
4
|
+
|
5
|
+
# 4.4.2
|
6
|
+
|
7
|
+
- Update HMPO webchat address in security policy ([#225](https://github.com/alphagov/govuk_app_config/pull/225)).
|
8
|
+
|
9
|
+
# 4.4.1
|
10
|
+
|
11
|
+
- Fix issue where GovukPrometheusExporter module prevented the gem to load due to missing constant "PrometheusExporter" ([#224](https://github.com/alphagov/govuk_app_config/pull/224)).
|
12
|
+
- Lazy load the prometheus_exporter dependency for only apps that use GovukPrometheusExporter ([#224](https://github.com/alphagov/govuk_app_config/pull/224)).
|
13
|
+
|
1
14
|
# 4.4.0
|
2
15
|
|
3
16
|
- Add GovukPrometheusModule, to allow for export of prometheus metrics ([#223](https://github.com/alphagov/govuk_app_config/pull/223)).
|
17
|
+
|
4
18
|
# 4.3.0
|
5
19
|
|
6
20
|
- Remove Speedcurve's LUX from the connect-src policy ([#216](https://github.com/alphagov/govuk_app_config/pull/216)).
|
@@ -77,6 +77,8 @@ module GovukContentSecurityPolicy
|
|
77
77
|
"hmrc-uk.digital.nuance.com",
|
78
78
|
# Allow JSON call to klick2contact - HMPO web chat provider
|
79
79
|
"hmpowebchat.klick2contact.com",
|
80
|
+
# Allow JSON call to Eckoh - HMPO web chat provider
|
81
|
+
"omni.eckoh.uk",
|
80
82
|
# Allow connecting to Verify to check whether the user is logged in
|
81
83
|
"www.signin.service.gov.uk"
|
82
84
|
|
@@ -1,10 +1,11 @@
|
|
1
|
-
require "prometheus_exporter/server"
|
2
|
-
require "prometheus_exporter/middleware"
|
3
|
-
|
4
1
|
module GovukPrometheusExporter
|
5
2
|
def self.configure
|
6
3
|
unless Rails.env == "test"
|
7
|
-
|
4
|
+
require "prometheus_exporter"
|
5
|
+
require "prometheus_exporter/server"
|
6
|
+
require "prometheus_exporter/middleware"
|
7
|
+
|
8
|
+
server = PrometheusExporter::Server::WebServer.new bind: "0.0.0.0", port: 9394
|
8
9
|
server.start
|
9
10
|
|
10
11
|
Rails.application.middleware.unshift PrometheusExporter::Middleware
|
data/lib/govuk_app_config.rb
CHANGED
@@ -6,9 +6,9 @@ require "govuk_app_config/govuk_i18n"
|
|
6
6
|
# This require is deprecated and should be removed on next major version bump
|
7
7
|
# and should be required by applications directly.
|
8
8
|
require "govuk_app_config/govuk_unicorn"
|
9
|
-
require "govuk_app_config/govuk_prometheus_exporter"
|
10
9
|
|
11
10
|
if defined?(Rails)
|
11
|
+
require "govuk_app_config/govuk_prometheus_exporter"
|
12
12
|
require "govuk_app_config/govuk_logging"
|
13
13
|
require "govuk_app_config/govuk_content_security_policy"
|
14
14
|
require "govuk_app_config/railtie"
|
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: 4.4.
|
4
|
+
version: 4.4.3
|
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: 2022-03-
|
11
|
+
date: 2022-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstasher
|