ezlog 0.10.0 → 0.10.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 +8 -0
- data/lib/ezlog/railtie.rb +4 -1
- data/lib/ezlog/version.rb +1 -1
- data/repo-info.json +7 -0
- metadata +8 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4270c3e08d7eed8814bb532011ba89f38e9d01f1c5989d4cf897f1bf346211a
|
|
4
|
+
data.tar.gz: b29b7da890c056a8fb7e366be8a501ed1aa65d739659de748def920d8befbf8e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67c97458aa1e2227496538bbede305710204b19d59ceb76cffe10d41a275ee2772ee7b73f8c2d0fafab4c3ef73d1ec827ad3ce4eef788576f435e4f3e8acf259
|
|
7
|
+
data.tar.gz: 2fcafa0d0ade63c68aff07fd10d3a92a72c7cde0e19509c62669f30bec46937b842d7ea9c05beaac263d6f2eebbb6db64e94c1cfff3821c9244eed70e52540f3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
### 0.10.1 (2022-01-22)
|
|
2
|
+
|
|
3
|
+
[Full Changelog](https://github.com/emartech/ezlog/compare/v0.10.0...v0.10.1)
|
|
4
|
+
|
|
5
|
+
* Fix
|
|
6
|
+
* Fixed a bug where `ActionView::LogSubscriber` was potentially not (eager)loaded by the time we tried to detach it.
|
|
7
|
+
With this fix Rails 6.1 running on Ruby 3 should be fully supported.
|
|
8
|
+
|
|
1
9
|
### 0.10.0 (2021-07-01)
|
|
2
10
|
|
|
3
11
|
[Full Changelog](https://github.com/emartech/ezlog/compare/v0.9.6...v0.10.0)
|
data/lib/ezlog/railtie.rb
CHANGED
|
@@ -42,7 +42,10 @@ module Ezlog
|
|
|
42
42
|
case ::Rails::VERSION::MAJOR
|
|
43
43
|
when 6
|
|
44
44
|
::ActionController::LogSubscriber.detach_from :action_controller
|
|
45
|
-
::ActionView
|
|
45
|
+
if defined? ::ActionView
|
|
46
|
+
require 'action_view/log_subscriber' unless defined? ::ActionView::LogSubscriber
|
|
47
|
+
::ActionView::LogSubscriber.detach_from :action_view
|
|
48
|
+
end
|
|
46
49
|
if defined? ::ActiveRecord
|
|
47
50
|
::ActiveRecord::LogSubscriber.detach_from :active_record
|
|
48
51
|
Ezlog::Rails::LogSubscriber.attach Ezlog::Rails::ActiveRecord::LogSubscriber, :active_record
|
data/lib/ezlog/version.rb
CHANGED
data/repo-info.json
ADDED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ezlog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zoltan Ormandi
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logging
|
|
@@ -136,7 +136,7 @@ dependencies:
|
|
|
136
136
|
- - "~>"
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: '5.0'
|
|
139
|
-
description:
|
|
139
|
+
description:
|
|
140
140
|
email:
|
|
141
141
|
- zoltan.ormandi@emarsys.com
|
|
142
142
|
executables: []
|
|
@@ -172,12 +172,13 @@ files:
|
|
|
172
172
|
- lib/ezlog/sidekiq/job_logger.rb
|
|
173
173
|
- lib/ezlog/version.rb
|
|
174
174
|
- lib/sequel/extensions/ezlog_logging.rb
|
|
175
|
+
- repo-info.json
|
|
175
176
|
homepage: https://github.com/emartech/ezlog
|
|
176
177
|
licenses:
|
|
177
178
|
- MIT
|
|
178
179
|
metadata:
|
|
179
180
|
changelog_uri: https://github.com/emartech/ezlog/blob/master/CHANGELOG.md
|
|
180
|
-
post_install_message:
|
|
181
|
+
post_install_message:
|
|
181
182
|
rdoc_options: []
|
|
182
183
|
require_paths:
|
|
183
184
|
- lib
|
|
@@ -192,8 +193,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
192
193
|
- !ruby/object:Gem::Version
|
|
193
194
|
version: '0'
|
|
194
195
|
requirements: []
|
|
195
|
-
rubygems_version: 3.
|
|
196
|
-
signing_key:
|
|
196
|
+
rubygems_version: 3.2.22
|
|
197
|
+
signing_key:
|
|
197
198
|
specification_version: 4
|
|
198
199
|
summary: A zero-configuration logging solution for projects using Sidekiq, Rails,
|
|
199
200
|
Sequel, etc.
|