standard_flags 0.2.0 → 0.2.1
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 +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/standard_flags/version.rb +1 -1
- data/lib/standard_flags.rb +6 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ea97e7c004dfcf42fddb724fcbdc25349c7530e75ca16a984eecaa4c449f865
|
|
4
|
+
data.tar.gz: ccae09c7320ebe740672c67c8f1643eb226109eb2e2de3351f04a423ae9ddd40
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28a9a4d041bd89a44714599a195926bf7c7329913b3687972ab2ea3e46e0501acf0dd7e631a94556e050c0842d20cd7d30056301d25f5b2771ab95e33f79bece
|
|
7
|
+
data.tar.gz: fb84a1908b439f755a023351b5814cf60321007c6aeea062e160d080f9114091095744bd59062f55092c11b1b21d248ed78d3b5ca4bb7524d17d3e4ad7ce4774
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.2.1] - 2026-11-23
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **Booting with standard_health 0.9 loaded first.** The standard_health load
|
|
15
|
+
hook was registered before `StandardFlags.registry` was defined; standard_health
|
|
16
|
+
0.9 runs its hooks at require time, so the hook fired mid-require and the app
|
|
17
|
+
failed to boot with `undefined method 'registry'`. The hook is now registered
|
|
18
|
+
at the end of `standard_flags.rb`.
|
|
19
|
+
|
|
10
20
|
## [0.2.0] - 2026-11-23
|
|
11
21
|
|
|
12
22
|
### Added
|
data/lib/standard_flags.rb
CHANGED
|
@@ -38,10 +38,6 @@ require "standard_flags/tooling"
|
|
|
38
38
|
require "standard_flags/health_contribution"
|
|
39
39
|
require "standard_flags/engine" if defined?(::Rails::Engine)
|
|
40
40
|
|
|
41
|
-
# standard_health 0.9+ registers this check by default and lists forbidden
|
|
42
|
-
# pins on /diagnostics/env. Runs at require time, before app initializers.
|
|
43
|
-
ActiveSupport.on_load(:standard_health, &StandardFlags::HealthContribution::HOOK)
|
|
44
|
-
|
|
45
41
|
module StandardFlags
|
|
46
42
|
# Loaded on first reference: they need actionpack, activejob (Job and
|
|
47
43
|
# PurgeJob) and standard_health respectively, which the host brings.
|
|
@@ -166,3 +162,9 @@ module StandardFlags
|
|
|
166
162
|
end
|
|
167
163
|
end
|
|
168
164
|
end
|
|
165
|
+
|
|
166
|
+
# standard_health 0.9+ registers this check by default and lists forbidden
|
|
167
|
+
# pins on /diagnostics/env. Registered last: when standard_health has already
|
|
168
|
+
# run its load hooks, ActiveSupport runs this hook immediately, so everything
|
|
169
|
+
# the hook calls (StandardFlags.registry, .config) must already be defined.
|
|
170
|
+
ActiveSupport.on_load(:standard_health, &StandardFlags::HealthContribution::HOOK)
|