ezlog 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/ezlog/railtie.rb +4 -2
- data/lib/ezlog/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad2b6dbcdd9a5f406ef62d7fb236b533f08b6b618ee471545838da63d9feaf45
|
4
|
+
data.tar.gz: 3f731ee481f1d4a05ec02a4276a6e787c2f0c11110255021a2b2187c17a21938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5702219d4387e9a628b83391b7f2f6a66b42413314969e48f60016e445d8a1ab328acaaca687f78452f67f92ebeadebf9d4b7951e3dc137b881ecd4f521a9404
|
7
|
+
data.tar.gz: d2f5e226bff51fa7d821f238b7633c3ba9fa0e328423576b854b26e0405bbc54ab6bdbfdd9dfc63214d8aaf443ee9fed79f99dd2c36e07e7cbf46ed42d191a59
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
### 0.5.1 (2019-09-16)
|
2
|
+
|
3
|
+
[Full Changelog](https://github.com/emartech/ezlog/compare/v0.5.0...v0.5.1)
|
4
|
+
|
5
|
+
* Bug fixes
|
6
|
+
* Projects that don't use ActiveRecord can still use Ezlog. The previous version tried to replace ActiveRecord's
|
7
|
+
log subscriber even when ActiveRecord wasn't used and thus halted the initialization process.
|
8
|
+
|
1
9
|
### 0.5.0 (2019-09-11)
|
2
10
|
|
3
11
|
[Full Changelog](https://github.com/emartech/ezlog/compare/v0.4.0...v0.5.0)
|
data/lib/ezlog/railtie.rb
CHANGED
@@ -31,8 +31,10 @@ module Ezlog
|
|
31
31
|
config.after_initialize do
|
32
32
|
Ezlog::Rails::LogSubscriber.detach ::ActionController::LogSubscriber
|
33
33
|
Ezlog::Rails::LogSubscriber.detach ::ActionView::LogSubscriber
|
34
|
-
|
35
|
-
|
34
|
+
if defined? ::ActiveRecord
|
35
|
+
Ezlog::Rails::LogSubscriber.detach ::ActiveRecord::LogSubscriber
|
36
|
+
Ezlog::Rails::LogSubscriber.attach Ezlog::Rails::ActiveRecord::LogSubscriber, :active_record
|
37
|
+
end
|
36
38
|
end
|
37
39
|
|
38
40
|
config.before_configuration do |app|
|
data/lib/ezlog/version.rb
CHANGED
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.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zoltan Ormandi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logging
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
|
-
rubygems_version: 3.0.
|
184
|
+
rubygems_version: 3.0.1
|
185
185
|
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: A zero-configuration logging solution for projects using Sidekiq, Rails,
|