ezlog 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ca6993d4ad6c1fcd07d3d4895b2be3f2bdfde37eb3463c0c09f6480676eb439
4
- data.tar.gz: a802402d7225019622d87d9990b71088f6cbd01d770641d1835dc310d301fd38
3
+ metadata.gz: 5a2b7013c5c263e56e4531fc3e1fd0d70d5e9ec4f807babd2a95d3c68a66d365
4
+ data.tar.gz: 3684e63ae988f43c40291383e5c62b36e7907d0c3a377022616c70fe08a8550f
5
5
  SHA512:
6
- metadata.gz: 8eed8c43fa2cdd21cd8f29d49cb86351b33afd054419111a3d98a7564696721f0f67ddbd17ad38be0b421bee6bc55138799014c692a42770061f2a29f707ece7
7
- data.tar.gz: 9035a7299dae11147aec96510d49549727fcaed0cb59e43be562dd85710277424a7a213364ff763e3611faca2ebf138c03e623517ce5200b891a691b924bdcdc
6
+ metadata.gz: 9279792e2f20e69fc8594d7034557ba742e708a3140f78ea8439f2c78bf4bd4e303d36215edfd30fc4ca1d9d868f1e61aac1f3fe805145d17e59f6df39d9d913
7
+ data.tar.gz: a6400bdc976110d23a3aba7df254314950c326846805601778c192d7a5ceaa37c94a12d414e38654f6627954f92dab51e9017ce864c70dbc064b1d4b491540e1
@@ -1,3 +1,15 @@
1
+ ### 0.8.0 (2020-04-07)
2
+
3
+ [Full Changelog](https://github.com/emartech/ezlog/compare/v0.7.1...v0.8.0)
4
+
5
+ * Bug fixes
6
+ * Reverted the change introduced in `v0.5.2` which extended the [Sidekiq](https://github.com/mperham/sidekiq) logger
7
+ interface because it caused problems with other third-party integrations
8
+ (e.g. [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs)).
9
+ [Sidekiq](https://github.com/mperham/sidekiq) itself removed this interface element in `v6.0.1`, so the current
10
+ change breaks compatibility with [Sidekiq](https://github.com/mperham/sidekiq) `v6.0.0` exclusively. If you're
11
+ using that version, please upgrade.
12
+
1
13
  ### 0.7.1 (2020-03-12)
2
14
 
3
15
  [Full Changelog](https://github.com/emartech/ezlog/compare/v0.7.0...v0.7.1)
@@ -50,7 +50,7 @@ module Ezlog
50
50
  private
51
51
 
52
52
  def initialize_sidekiq_logging(app)
53
- ::Sidekiq.logger = Ezlog.logger('Sidekiq').extend Ezlog::Sidekiq::LoggerExtension
53
+ ::Sidekiq.logger = Ezlog.logger('Sidekiq')
54
54
  ::Sidekiq.logger.level = app.config.log_level
55
55
  ::Sidekiq.configure_server do |config|
56
56
  config.options[:job_logger] = Ezlog::Sidekiq::JobLogger
@@ -3,6 +3,5 @@ module Ezlog
3
3
  autoload :ErrorLogger, 'ezlog/sidekiq/error_logger'
4
4
  autoload :JobContext, 'ezlog/sidekiq/job_context'
5
5
  autoload :JobLogger, 'ezlog/sidekiq/job_logger'
6
- autoload :LoggerExtension, 'ezlog/sidekiq/logger_extension'
7
6
  end
8
7
  end
@@ -1,3 +1,3 @@
1
1
  module Ezlog
2
- VERSION = '0.7.1'
2
+ VERSION = '0.8.0'
3
3
  end
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.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoltan Ormandi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-12 00:00:00.000000000 Z
11
+ date: 2020-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -159,7 +159,6 @@ files:
159
159
  - lib/ezlog/sidekiq/error_logger.rb
160
160
  - lib/ezlog/sidekiq/job_context.rb
161
161
  - lib/ezlog/sidekiq/job_logger.rb
162
- - lib/ezlog/sidekiq/logger_extension.rb
163
162
  - lib/ezlog/version.rb
164
163
  - lib/sequel/extensions/ezlog_logging.rb
165
164
  homepage: https://github.com/emartech/ezlog
@@ -1,11 +0,0 @@
1
- module Ezlog
2
- module Sidekiq
3
- module LoggerExtension
4
- include LogContextHelper
5
-
6
- def with_context(context, &block)
7
- within_log_context context, &block
8
- end
9
- end
10
- end
11
- end