activesupport-logger 2.0.0 → 2.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f63e775087465bca80d1ecbdb558951c562c6fb9485ed435584f1d0e8084a999
4
- data.tar.gz: 23722a7ea77069215cc825620aedef585d9875f4c897f088e7d7e970e423e4b3
3
+ metadata.gz: 653384ee1a2e7f936000fdd06c3e699342c6923f0289b6148da4a541c232160b
4
+ data.tar.gz: f1f08f2bd537fb9e45a1f6b717a1500cbef7f9affc3229ef9a3b21e7f3a4716d
5
5
  SHA512:
6
- metadata.gz: 27d39b73b7ea3d861206fc862a7c5ba9e6f392157fc21687720a46ebb38164816fad04194adf7ed962800729a1fa49c873ef72b1ab5f1da400bcaa069c2f3ae6
7
- data.tar.gz: 32e897ff26eca1aaea2a76a4a035d32d9dff49efe58b072c65025b64c4f3ff7a3f7f6ec538ad60e345d1aa6c094730c2036af316ab60348b147dcae23d0e86ba
6
+ metadata.gz: 843d4470e53a8acf660678cff11feebfcc66135f7cb29f948cade0180ddbe531ab40d83a773e7a7f1fb64d00c0a8376c8bb75d3d7a72c4dcb8b5c755cb1b4723
7
+ data.tar.gz: 33f3f9097ec1d84ffb440fa35964b5aaeed6c4a3e1b29f0ec307952f62e1a5849bde9eacf8aae8af10c4f77974c5cbaf378f08ac4a9929ea13563dec876213b5
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- Since version 2.0.0, the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
@@ -10,12 +10,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  ### Fixed
11
11
  ### Removed
12
12
 
13
+ ## [2.0.1] - 2024-11-21
14
+ - COVERAGE: 95.50% -- 106/111 lines in 6 files
15
+ - BRANCH COVERAGE: 84.00% -- 21/25 branches in 6 files
16
+ - 44.83% documented
17
+ ### Added
18
+ - More tests lifted from Rails v8.0 test suite
19
+ ### Fixed
20
+ - Compatibility with ActiveSupport
21
+ - Many libraries do `require "active_support"`
22
+
13
23
  ## [2.0.0] - 2024-11-21
14
24
  - COVERAGE: 95.50% -- 106/111 lines in 6 files
15
25
  - BRANCH COVERAGE: 84.00% -- 21/25 branches in 6 files
16
26
  - 44.83% documented
17
27
  ### Added
18
- - Tests lifted from Rails v8.0 test suite.
28
+ - Tests lifted from Rails v8.0 test suite
19
29
  - `ActiveSupport::LoggerSilence`
20
30
  - `ActiveSupport::IsolatedExecutionState`
21
31
  ### Changed
data/README.md CHANGED
@@ -149,8 +149,6 @@ Load order matters.
149
149
  [🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https%3A%2F%2Fruby.social&style=plastic&logo=mastodon&label=Ruby%20%40galtzo
150
150
  [🌳linktree]: https://linktr.ee/galtzo
151
151
  [🌳linktree-img]: https://img.shields.io/badge/galtzo-purple?style=plastic&logo=linktree
152
- [documentation]: https://rubydoc.info/github/pboling/activesupport-logger
153
- [homepage]: https://github.com/pboling/activesupport-logger
154
152
 
155
153
  <!-- Maintainer Contact Links -->
156
154
  [aboutme]: https://about.me/peter.boling
@@ -0,0 +1,4 @@
1
+ # This is a stub
2
+ # It will prevent vanilla ActiveSupport from loading its own broken logger tooling.
3
+ # Instead, we'll load the fixed replacement logging tooling from this library!
4
+ require_relative "../activesupport-logger"
@@ -6,7 +6,7 @@
6
6
  module Activesupport
7
7
  module Logger
8
8
  module Version
9
- VERSION = "2.0.0"
9
+ VERSION = "2.0.1"
10
10
  end
11
11
  end
12
12
  end
@@ -23,7 +23,6 @@ require "active_support/core_ext/module/attribute_accessors"
23
23
  # https://github.com/rails/rails/blob/540d2f41f6913cd6c5a71301540bfe1551c2acc5/activesupport/test/isolated_execution_state_test.rb
24
24
  require_relative "activesupport/isolated_execution_state"
25
25
 
26
- #
27
26
  # Extracted from:
28
27
  # https://github.com/rails/rails/blob/564e427c05e0d3d24ce8c3ab17ea0969011e056a/activesupport/lib/active_support/logger_thread_safe_level.rb
29
28
  # Compare SHA with latest commit to check for changes:
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -214,6 +214,20 @@ dependencies:
214
214
  - - ">="
215
215
  - !ruby/object:Gem::Version
216
216
  version: 1.0.2
217
+ - !ruby/object:Gem::Dependency
218
+ name: activesupport-broadcast_logger
219
+ requirement: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - "~>"
222
+ - !ruby/object:Gem::Version
223
+ version: '2.0'
224
+ type: :development
225
+ prerelease: false
226
+ version_requirements: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - "~>"
229
+ - !ruby/object:Gem::Version
230
+ version: '2.0'
217
231
  - !ruby/object:Gem::Dependency
218
232
  name: appraisal
219
233
  requirement: !ruby/object:Gem::Requirement
@@ -403,6 +417,7 @@ files:
403
417
  - LICENSE.txt
404
418
  - README.md
405
419
  - SECURITY.md
420
+ - lib/active_support/logger.rb
406
421
  - lib/activesupport-logger.rb
407
422
  - lib/activesupport/isolated_execution_state.rb
408
423
  - lib/activesupport/logger.rb
@@ -414,10 +429,10 @@ licenses:
414
429
  - MIT
415
430
  metadata:
416
431
  homepage_uri: https://github.com/pboling/activesupport-logger
417
- source_code_uri: https://github.com/pboling/activesupport-logger/tree/v2.0.0
418
- changelog_uri: https://github.com/pboling/activesupport-logger/blob/v2.0.0/CHANGELOG.md
432
+ source_code_uri: https://github.com/pboling/activesupport-logger/tree/v2.0.1
433
+ changelog_uri: https://github.com/pboling/activesupport-logger/blob/v2.0.1/CHANGELOG.md
419
434
  bug_tracker_uri: https://github.com/pboling/activesupport-logger/issues
420
- documentation_uri: https://www.rubydoc.info/gems/activesupport-logger/2.0.0
435
+ documentation_uri: https://www.rubydoc.info/gems/activesupport-logger/2.0.1
421
436
  wiki_uri: https://github.com/pboling/activesupport-logger/wiki
422
437
  funding_uri: https://liberapay.com/pboling
423
438
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file