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: 076cb83af8162e164922a360a9cff7cdf46d3e2ddf1bf3c83068bb51ae23b306
4
- data.tar.gz: 73e0cc6b9753b976481a9d3d8786466142444c8af54834d5fb5c2c1a1b02fa6e
3
+ metadata.gz: 3f16f62211076d736b18b819761138fd5dfa687e5ed28287f1f4123e549c78fa
4
+ data.tar.gz: 7684a590d49e6455e3e3ad20976c64cc4e64df9a1b3ab68f22317a42d3635fe4
5
5
  SHA512:
6
- metadata.gz: fe96757c73874032419eecc48ed1bfd29ea341ad38521bcad7e2cab727cb8353480aabb4679696802dc6b9576c058a8cbeffd92eed7bcc61e68f102712ae72fc
7
- data.tar.gz: 04bad176e09a1ddfd18042813052af7ce6e70f7e5cd2994c38fd08c98ccd8c8467a7c265bb3a9629dd302784f3a2374a677bc060922505fe6cfe9e03b7408450
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
- server = PrometheusExporter::Server::WebServer.new bind: "localhost", port: 9394
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
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "4.4.0".freeze
2
+ VERSION = "4.4.3".freeze
3
3
  end
@@ -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.0
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-04 00:00:00.000000000 Z
11
+ date: 2022-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstasher