loga 2.5.1 → 2.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +4 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/gemfiles/sidekiq6.gemfile +11 -0
- data/lib/loga/sidekiq.rb +1 -1
- data/lib/loga/version.rb +1 -1
- data/spec/integration/sidekiq_spec.rb +4 -4
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 346f092fca3d84834d02408f3307462e0ec017f9634bf08396355e46a1681ec2
|
4
|
+
data.tar.gz: 93949c198f5a4a697ca261bc6d13eabdbd3349c2ab2d57e845abbd5289279095
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c64276706dd59404d3dc19370dc5b85a8390b60d80f6c781826d6417db086c445051b28ce9b85511da071da4d1c5172f7c4703e2782298f09a2e271399ee7a3f
|
7
|
+
data.tar.gz: 19c9919c468fd33bcabf84877b429e631ffdffa1fe3e8b2cbf3319d8b894ffdf3e3db830549f5fa39a57b8745aa9d37d6f691fd9feeb0f4cc2a0a2538f6b5d24
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
6
|
|
7
|
+
## [2.5.2] - 2020-10-21
|
8
|
+
### Fixed
|
9
|
+
- Support for sidekiq 6
|
10
|
+
|
7
11
|
## [2.5.1] - 2020-01-02
|
8
12
|
### Fixed
|
9
13
|
- Fixed a long standing bug that would mask exceptions raised by the host application when serving requests. The original exception would be replaced with a `TypeError` one due to a HTTP status code not being available within `Loga::Rack::Logger`.
|
data/Gemfile
CHANGED
data/lib/loga/sidekiq.rb
CHANGED
data/lib/loga/version.rb
CHANGED
@@ -45,10 +45,6 @@ describe 'Sidekiq client logger' do
|
|
45
45
|
expect(Sidekiq.options[:job_logger]).to eq job_logger
|
46
46
|
end
|
47
47
|
|
48
|
-
it 'has the proper logger Sidekiq::Logging.logger' do
|
49
|
-
expect(Sidekiq::Logging.logger).to eq Loga.logger
|
50
|
-
end
|
51
|
-
|
52
48
|
it 'has the proper logger for Sidekiq.logger' do
|
53
49
|
expect(Sidekiq.logger).to eq Loga.logger
|
54
50
|
end
|
@@ -67,6 +63,10 @@ describe 'Sidekiq client logger' do
|
|
67
63
|
end
|
68
64
|
|
69
65
|
if ENV['BUNDLE_GEMFILE'] =~ /sidekiq51/
|
66
|
+
it 'has the proper logger Sidekiq::Logging.logger' do
|
67
|
+
expect(Sidekiq::Logging.logger).to eq Loga.logger
|
68
|
+
end
|
69
|
+
|
70
70
|
# https://github.com/mperham/sidekiq/blob/97363210b47a4f8a1d8c1233aaa059d6643f5040/test/test_actors.rb#L57-L79
|
71
71
|
let(:mgr) do
|
72
72
|
Class.new do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Funding Circle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -261,6 +261,7 @@ files:
|
|
261
261
|
- gemfiles/rails52.gemfile
|
262
262
|
- gemfiles/rails60.gemfile
|
263
263
|
- gemfiles/sidekiq51.gemfile
|
264
|
+
- gemfiles/sidekiq6.gemfile
|
264
265
|
- gemfiles/sinatra14.gemfile
|
265
266
|
- gemfiles/unit.gemfile
|
266
267
|
- lib/loga.rb
|