govuk_app_config 5.1.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +9 -0
- data/govuk_app_config.gemspec +1 -1
- data/lib/govuk_app_config/govuk_prometheus_exporter.rb +4 -0
- data/lib/govuk_app_config/govuk_puma.rb +5 -1
- data/lib/govuk_app_config/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59fb9ea4411ba3ec2be3af84e9888920a6ca07547bfcd199d00b9c921a461639
|
4
|
+
data.tar.gz: aeaea12af9e8ca7612d39c002bd5d5658e5683477f667b5a9419bd1f9529feb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c46413f09bb129baefa17951e539b8304faaa85c6eae9c7be8fd410677f322c67b65b091b01918555d450518692dd12348b8212cb039dbae6cd429959f8b818b
|
7
|
+
data.tar.gz: 5bafc15ab122c9088039093ed786420dc080bd7f20265157e536e0388133d44707c4146bd8d619a0926f13883ce8c314371f0985e4ce7087d1998e8d413dc59a
|
data/.github/workflows/ci.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.5
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## 6.0.1
|
2
|
+
|
3
|
+
* Add support for configuring timeouts for puma-based applications
|
4
|
+
|
5
|
+
## 6.0.0
|
6
|
+
|
7
|
+
* BREAKING: Drop support for Ruby 2.7
|
8
|
+
* Register the Prometheus exporter in Sinatra middleware
|
9
|
+
|
1
10
|
# 5.1.0
|
2
11
|
|
3
12
|
* Add support to force-load the GovukPrometheusExporter by setting `GOVUK_PROMETHEUS_EXPORTER` to `force`. ([#282](https://github.com/alphagov/govuk_app_config/pull/282))
|
data/govuk_app_config.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "https://github.com/alphagov/govuk_app_config"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
-
spec.required_ruby_version = ">=
|
16
|
+
spec.required_ruby_version = ">= 3.0"
|
17
17
|
|
18
18
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
19
|
spec.bindir = "exe"
|
@@ -9,7 +9,11 @@ module GovukPuma
|
|
9
9
|
end
|
10
10
|
|
11
11
|
# `worker_timeout` specifies how many seconds Puma will wait before terminating a worker.
|
12
|
-
timeout = ENV.fetch("RAILS_ENV", "development") == "development"
|
12
|
+
timeout = if ENV.fetch("RAILS_ENV", "development") == "development"
|
13
|
+
3600
|
14
|
+
else
|
15
|
+
Integer(ENV.fetch("PUMA_TIMEOUT", 15))
|
16
|
+
end
|
13
17
|
config.worker_timeout timeout
|
14
18
|
|
15
19
|
# When changing the min/max threads for Puma, also consider changing ActiveRecord to match.
|
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
|
+
version: 6.0.1
|
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-
|
11
|
+
date: 2023-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstasher
|
@@ -329,14 +329,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
329
329
|
requirements:
|
330
330
|
- - ">="
|
331
331
|
- !ruby/object:Gem::Version
|
332
|
-
version: '
|
332
|
+
version: '3.0'
|
333
333
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
334
334
|
requirements:
|
335
335
|
- - ">="
|
336
336
|
- !ruby/object:Gem::Version
|
337
337
|
version: '0'
|
338
338
|
requirements: []
|
339
|
-
rubygems_version: 3.4.
|
339
|
+
rubygems_version: 3.4.10
|
340
340
|
signing_key:
|
341
341
|
specification_version: 4
|
342
342
|
summary: Base configuration for GOV.UK applications
|