activesupport-logger 2.0.3 → 3.0.0
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +167 -3
- data/LICENSE.md +10 -0
- data/README.md +447 -181
- data/lib/active_support/logger.rb +4 -4
- data/lib/activesupport/isolated_execution_state.rb +19 -3
- data/lib/activesupport/logger/version.rb +4 -8
- data/lib/activesupport/logger.rb +7 -2
- data/lib/activesupport/logger_silence.rb +0 -0
- data/lib/activesupport/logger_thread_safe_level.rb +0 -0
- data/lib/activesupport-logger.rb +7 -6
- data/sig/activesupport/logger.rbs +22 -0
- data.tar.gz.sig +0 -0
- metadata +236 -106
- metadata.gz.sig +0 -0
- data/CODE_OF_CONDUCT.md +0 -84
- data/CONTRIBUTING.md +0 -106
- data/LICENSE.txt +0 -22
- data/SECURITY.md +0 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ebad34c3910a16f9e37fb7ea717f548358e6518ffc839fec3acf9294444a667
|
|
4
|
+
data.tar.gz: 95397bc1deeb4f258b9a4b56a452fdd576975c9b4aaef7965040ca2bd0fd665f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a36f9208d6fd26fcf9125ca43b2e9b7b6420c0896df06d4fd82e34eeb2ef82778e1b936992aecee65b3385cf3eff0c9f6d57bce38cd44ee0eefb77675aa6281
|
|
7
|
+
data.tar.gz: f78e5f3f3a18dc4ca28527b9af0e5f3a3da512261fbdd90a05b15d07f4e16bea1169f17a3c640202321b159d4448d9fc918293035a7282e31bb8649798b1ec5a
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -1,68 +1,232 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
3
|
+
[![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog]
|
|
4
|
+
|
|
2
5
|
All notable changes to this project will be documented in this file.
|
|
3
6
|
|
|
4
|
-
The format is based on [Keep a Changelog]
|
|
5
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
|
|
7
|
+
The format is based on [Keep a Changelog][📗keep-changelog],
|
|
8
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
|
9
|
+
and [yes][📌major-versions-not-sacred], platform and engine support are part of the [public API][📌semver-breaking].
|
|
10
|
+
Please file a bug if you notice a violation of semantic versioning.
|
|
11
|
+
|
|
12
|
+
[📌semver]: https://semver.org/spec/v2.0.0.html
|
|
13
|
+
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-FFDD67.svg?style=flat
|
|
14
|
+
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
|
15
|
+
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
|
16
|
+
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
|
17
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
|
6
18
|
|
|
7
19
|
## [Unreleased]
|
|
20
|
+
|
|
8
21
|
### Added
|
|
22
|
+
|
|
9
23
|
### Changed
|
|
10
|
-
|
|
24
|
+
|
|
25
|
+
### Deprecated
|
|
26
|
+
|
|
11
27
|
### Removed
|
|
12
28
|
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
### Security
|
|
32
|
+
|
|
33
|
+
## [3.0.0] - 2026-08-09
|
|
34
|
+
|
|
35
|
+
- TAG: [v3.0.0][3.0.0t]
|
|
36
|
+
- COVERAGE: 95.90% -- 117/122 lines in 7 files
|
|
37
|
+
- BRANCH COVERAGE: 86.21% -- 25/29 branches in 7 files
|
|
38
|
+
- 48.15% documented
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- Drop support for Ruby versions older than 3.1 and use the modern gemspec version-loading pattern.
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- Fix Active Support logger loading across Ruby versions by preserving the active_support/logger feature path.
|
|
47
|
+
|
|
48
|
+
- Fix Ruby 2.7 and 3.0 Active Support logger load-order compatibility.
|
|
49
|
+
|
|
50
|
+
- Load Logger before evaluating the gemspec version namespace.
|
|
51
|
+
|
|
52
|
+
- Load the gemspec version before runtime dependencies are installed.
|
|
53
|
+
|
|
54
|
+
- Preserve thread-isolated execution state across enumerators on JRuby.
|
|
55
|
+
|
|
56
|
+
- Restore cross-gem README links for the Active Support logging family.
|
|
57
|
+
|
|
58
|
+
- Move gemspec version loading out of the Active Support logger class hierarchy.
|
|
59
|
+
|
|
60
|
+
## [2.0.4] - 2026-08-08
|
|
61
|
+
|
|
62
|
+
- TAG: [v2.0.4][2.0.4t]
|
|
63
|
+
- COVERAGE: 95.58% -- 108/113 lines in 7 files
|
|
64
|
+
- BRANCH COVERAGE: 84.00% -- 21/25 branches in 7 files
|
|
65
|
+
- 51.72% documented
|
|
66
|
+
|
|
67
|
+
### Added
|
|
68
|
+
|
|
69
|
+
- kettle-jem-template-20260720-005 - README Support & Community links now
|
|
70
|
+
include RubyForum.
|
|
71
|
+
- kettle-jem-template-20260726-001 - Projects now include YARD lint
|
|
72
|
+
configuration and documentation dependencies so documentation issues fail
|
|
73
|
+
before generated docs are refreshed.
|
|
74
|
+
- kettle-jem-template-20260727-001 - Spec harness documentation now lists the
|
|
75
|
+
RSpec helpers provided by `kettle-test`.
|
|
76
|
+
|
|
77
|
+
### Changed
|
|
78
|
+
|
|
79
|
+
- kettle-jem-template-20260716-002 - Gemspecs now ship fewer repository-only
|
|
80
|
+
files, reducing package noise for downstream packagers.
|
|
81
|
+
- kettle-jem-template-20260720-002 - Development Gemfiles now use the released
|
|
82
|
+
`tree_sitter_language_pack` gem 1.13.3 or newer by default.
|
|
83
|
+
- kettle-jem-template-20260725-002 - Version specs now use `anonymous_loader` to
|
|
84
|
+
cover `version.rb` without redefining constants, or are removed when version
|
|
85
|
+
specs are not managed for the project.
|
|
86
|
+
- kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer
|
|
87
|
+
setup-ruby-flash planning and can prepare appraisal-only jobs without
|
|
88
|
+
installing the main Gemfile bundle.
|
|
89
|
+
- kettle-jem-template-20260801-001 - Generated README gem dashboard links now
|
|
90
|
+
use ClickGems instead of BestGems.
|
|
91
|
+
|
|
92
|
+
### Fixed
|
|
93
|
+
|
|
94
|
+
- kettle-jem-template-20260720-003 - StructuredMerge Git diff driver config now
|
|
95
|
+
uses the installed `smorg-rb` driver command.
|
|
96
|
+
- kettle-jem-template-20260725-001 - Release pull request branches beginning
|
|
97
|
+
with `feature/release` now run JRuby and TruffleRuby workflows.
|
|
98
|
+
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
99
|
+
version namespace and constants, reducing warning-only YARD lint output.
|
|
100
|
+
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
101
|
+
QLTY, and Codecov as optional, so provider outages do not fail CI when local
|
|
102
|
+
coverage thresholds still pass.
|
|
103
|
+
- kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
|
|
104
|
+
same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
|
|
105
|
+
installs are not reported as project lint debt.
|
|
106
|
+
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
107
|
+
missing canonical version spec when a project only has shim namespace version
|
|
108
|
+
specs.
|
|
109
|
+
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
110
|
+
relative to the gemspec directory, so release package contents stay correct
|
|
111
|
+
even when the gemspec is loaded from another working directory.
|
|
112
|
+
- kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
|
|
113
|
+
managed configuration block bindings structurally, preventing mixed block
|
|
114
|
+
parameter names from producing invalid configuration after a merge.
|
|
115
|
+
- kettle-jem-template-20260801-003 - Generated project metadata and
|
|
116
|
+
documentation now normalize configured underscore hostnames to valid
|
|
117
|
+
hyphenated hostnames.
|
|
118
|
+
- kettle-jem-template-20260801-004 - Generated organization README logos now
|
|
119
|
+
use GitHub's stable organization avatar endpoint instead of assuming a
|
|
120
|
+
matching Galtzo-hosted asset exists.
|
|
121
|
+
|
|
122
|
+
- kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
|
|
123
|
+
TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
|
|
124
|
+
before the test suite starts.
|
|
125
|
+
- kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
|
|
126
|
+
setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
|
|
127
|
+
lockfile parser failures on Git and path dependencies.
|
|
128
|
+
- kettle-jem-template-20260729-001 - Generated JRuby 9.4 workflows now use the
|
|
129
|
+
legacy manual bundle install path, avoiding setup-time Bundler full-index
|
|
130
|
+
failures against `gem.coop`.
|
|
131
|
+
|
|
132
|
+
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
133
|
+
preserving comments and trailing commas during template updates.
|
|
134
|
+
|
|
135
|
+
- Preserve the Activesupport::Logger version namespace when loading beside Rails
|
|
136
|
+
|
|
137
|
+
- Restore ActiveSupport logger version namespaces after templating.
|
|
138
|
+
|
|
139
|
+
- Fix cross-gem README Markdown references before release.
|
|
140
|
+
|
|
141
|
+
- Synchronize LICENSE copyright years with README.md for release validation.
|
|
142
|
+
|
|
13
143
|
## [2.0.3] - 2024-11-22
|
|
144
|
+
|
|
14
145
|
- COVERAGE: 95.50% -- 106/111 lines in 6 files
|
|
15
146
|
- BRANCH COVERAGE: 84.00% -- 21/25 branches in 6 files
|
|
16
147
|
- 44.83% documented
|
|
148
|
+
|
|
17
149
|
### Removed
|
|
150
|
+
|
|
18
151
|
- rdoc as runtime dependency
|
|
152
|
+
|
|
19
153
|
### Changed
|
|
154
|
+
|
|
20
155
|
- upgrade activesupport-broadcast_logger v2.0.2
|
|
21
156
|
|
|
22
157
|
## [2.0.2] - 2024-11-22
|
|
158
|
+
|
|
23
159
|
- COVERAGE: 95.50% -- 106/111 lines in 6 files
|
|
24
160
|
- BRANCH COVERAGE: 84.00% -- 21/25 branches in 6 files
|
|
25
161
|
- 44.83% documented
|
|
162
|
+
|
|
26
163
|
### Added
|
|
164
|
+
|
|
27
165
|
- rdoc as development dependency
|
|
166
|
+
|
|
28
167
|
### Changed
|
|
168
|
+
|
|
29
169
|
- upgrade activesupport-broadcast_logger v2.0.1
|
|
30
170
|
|
|
31
171
|
## [2.0.1] - 2024-11-21
|
|
172
|
+
|
|
32
173
|
- COVERAGE: 95.50% -- 106/111 lines in 6 files
|
|
33
174
|
- BRANCH COVERAGE: 84.00% -- 21/25 branches in 6 files
|
|
34
175
|
- 44.83% documented
|
|
176
|
+
|
|
35
177
|
### Added
|
|
178
|
+
|
|
36
179
|
- More tests lifted from Rails v8.0 test suite
|
|
180
|
+
|
|
37
181
|
### Fixed
|
|
182
|
+
|
|
38
183
|
- Compatibility with ActiveSupport
|
|
39
184
|
- Many libraries do `require "active_support"`
|
|
40
185
|
|
|
41
186
|
## [2.0.0] - 2024-11-21
|
|
187
|
+
|
|
42
188
|
- COVERAGE: 95.50% -- 106/111 lines in 6 files
|
|
43
189
|
- BRANCH COVERAGE: 84.00% -- 21/25 branches in 6 files
|
|
44
190
|
- 44.83% documented
|
|
191
|
+
|
|
45
192
|
### Added
|
|
193
|
+
|
|
46
194
|
- Tests lifted from Rails v8.0 test suite
|
|
47
195
|
- `ActiveSupport::LoggerSilence`
|
|
48
196
|
- `ActiveSupport::IsolatedExecutionState`
|
|
197
|
+
|
|
49
198
|
### Changed
|
|
199
|
+
|
|
50
200
|
- Now loads even in Rails 8
|
|
51
201
|
- fully replaced logging tooling that ships with all versions of Rails >= v5.2 on Ruby 2.7+
|
|
202
|
+
|
|
52
203
|
### Fixed
|
|
204
|
+
|
|
53
205
|
- Compatibility with Rails > v5.2 and < v7.1
|
|
54
206
|
- proved by Appraisals-based CI matrix covering all supported versions of Rails & Ruby
|
|
55
207
|
|
|
56
208
|
## [1.0.1] - 2024-10-10
|
|
209
|
+
|
|
57
210
|
- COVERAGE: 51.32% -- 39/76 lines in 6 files
|
|
58
211
|
- BRANCH COVERAGE: 5.56% -- 1/18 branches in 6 files
|
|
59
212
|
- 55.56% documented
|
|
213
|
+
|
|
60
214
|
### Fixed
|
|
215
|
+
|
|
61
216
|
- Typo in internal file name (non-breaking, just annoying/confusing)
|
|
62
217
|
|
|
63
218
|
## [1.0.0] - 2024-10-10
|
|
219
|
+
|
|
64
220
|
- COVERAGE: 51.32% -- 39/76 lines in 6 files
|
|
65
221
|
- BRANCH COVERAGE: 5.56% -- 1/18 branches in 6 files
|
|
66
222
|
- 55.56% documented
|
|
223
|
+
|
|
67
224
|
### Added
|
|
225
|
+
|
|
68
226
|
- Initial release
|
|
227
|
+
|
|
228
|
+
[Unreleased]: https://github.com/galtzo-floss/activesupport-logger/compare/v3.0.0...HEAD
|
|
229
|
+
[3.0.0]: https://github.com/galtzo-floss/activesupport-logger/compare/v2.0.4...v3.0.0
|
|
230
|
+
[3.0.0t]: https://github.com/galtzo-floss/activesupport-logger/releases/tag/v3.0.0
|
|
231
|
+
[2.0.4]: https://github.com/galtzo-floss/activesupport-logger/compare/v2.0.3...v2.0.4
|
|
232
|
+
[2.0.4t]: https://github.com/galtzo-floss/activesupport-logger/releases/tag/v2.0.4
|
data/LICENSE.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
This project is made available under the following license.
|
|
4
|
+
Choose the option that best fits your use case:
|
|
5
|
+
|
|
6
|
+
- [MIT](https://github.com/galtzo-floss/activesupport-logger/blob/main/MIT.md)
|
|
7
|
+
|
|
8
|
+
## Copyright Notice
|
|
9
|
+
|
|
10
|
+
- Copyright (c) 2024, 2026 Peter H. Boling
|