govuk_app_config 8.0.0 → 8.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 29a6672c834922901fdc98c77a61b43c12a3455ed1445419e3cc2132a52bd6a0
|
|
4
|
+
data.tar.gz: b91182c0cb0bd09f95a34703e72271afc71479742e1e5177dd3310d8b7b0439e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a54c8f6c22ed6157735dfbbfebdd35b5d5264d9d972bfc705cf73429acb0afa5d60e162bda3202208a6d5f3a278c6a66de8d37ac02aca2b8f90994f58cd8e3a
|
|
7
|
+
data.tar.gz: 22cc9d0cc5c942ae89f05e55dfcbf0a47f51d0a7c7fd3df7d10fdb255ff2e4e46a7b81f488f91080a2cb5077c0ebc4828a6a49b85083179dfa124408ca6cda57
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
on:
|
|
1
|
+
on:
|
|
2
|
+
push:
|
|
3
|
+
branches:
|
|
4
|
+
- main
|
|
5
|
+
pull_request:
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
inputs:
|
|
8
|
+
ref:
|
|
9
|
+
description: 'The branch, tag or SHA to checkout'
|
|
10
|
+
default: main
|
|
11
|
+
type: string
|
|
12
|
+
|
|
2
13
|
jobs:
|
|
3
14
|
# Run the test suite against multiple Ruby and Rails versions
|
|
4
15
|
test_matrix:
|
|
@@ -10,6 +21,8 @@ jobs:
|
|
|
10
21
|
runs-on: ubuntu-latest
|
|
11
22
|
steps:
|
|
12
23
|
- uses: actions/checkout@v3
|
|
24
|
+
with:
|
|
25
|
+
ref: ${{ inputs.ref || github.ref }}
|
|
13
26
|
- uses: ruby/setup-ruby@v1
|
|
14
27
|
with:
|
|
15
28
|
ruby-version: ${{ matrix.ruby }}
|
|
@@ -24,7 +37,7 @@ jobs:
|
|
|
24
37
|
runs-on: ubuntu-latest
|
|
25
38
|
steps:
|
|
26
39
|
- run: echo "All matrix tests have passed 🚀"
|
|
27
|
-
|
|
40
|
+
|
|
28
41
|
publish:
|
|
29
42
|
needs: test
|
|
30
43
|
if: ${{ github.ref == 'refs/heads/main' }}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# 8.0.2
|
|
2
|
+
|
|
3
|
+
* Fix the ability to collect Sidekiq metrics in GovukPrometheusExporter. ([#299](https://github.com/alphagov/govuk_app_config/pull/299))
|
|
4
|
+
|
|
5
|
+
# 8.0.1
|
|
6
|
+
|
|
7
|
+
* Change the "source" field in Rails logs from logstasher from string representing IP host address to an empty object.
|
|
8
|
+
|
|
1
9
|
# 8.0.0
|
|
2
10
|
|
|
3
11
|
* BREAKING: Content Security Policy forbids the use of inline style attributes.
|
|
@@ -48,6 +48,10 @@ module GovukLogging
|
|
|
48
48
|
Rails.application.config.logstasher.view_enabled = false
|
|
49
49
|
Rails.application.config.logstasher.job_enabled = false
|
|
50
50
|
|
|
51
|
+
# Elasticsearch index expect source to be an object and logstash defaults
|
|
52
|
+
# source to be the host IP address causing logs to be dropped.
|
|
53
|
+
Rails.application.config.logstasher.source = {}
|
|
54
|
+
|
|
51
55
|
Rails.application.config.logstasher.logger = Logger.new(
|
|
52
56
|
$real_stdout, # rubocop:disable Style/GlobalVars
|
|
53
57
|
level: Rails.logger.level,
|
|
@@ -20,6 +20,7 @@ module GovukPrometheusExporter
|
|
|
20
20
|
|
|
21
21
|
if defined?(Sidekiq)
|
|
22
22
|
Sidekiq.configure_server do |config|
|
|
23
|
+
require "sidekiq/api"
|
|
23
24
|
require "prometheus_exporter/instrumentation"
|
|
24
25
|
config.server_middleware do |chain|
|
|
25
26
|
chain.add PrometheusExporter::Instrumentation::Sidekiq
|
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: 8.0.
|
|
4
|
+
version: 8.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: 2023-06-
|
|
11
|
+
date: 2023-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstasher
|
|
@@ -321,7 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
321
321
|
- !ruby/object:Gem::Version
|
|
322
322
|
version: '0'
|
|
323
323
|
requirements: []
|
|
324
|
-
rubygems_version: 3.4.
|
|
324
|
+
rubygems_version: 3.4.14
|
|
325
325
|
signing_key:
|
|
326
326
|
specification_version: 4
|
|
327
327
|
summary: Base configuration for GOV.UK applications
|