pliny-sidekiq 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: ab240d9f7969d7049596632f177ffad4f5a139ac
4
- data.tar.gz: 3b0c41b7dcf5b0254ff4937e415dea0b687c84c2
3
+ metadata.gz: d814c1977c6e97e107083a10359b8ef5e3efa37d
4
+ data.tar.gz: e241187810c48bbf9a94ae3a7ea47db9a7083cd6
5
5
  SHA512:
6
- metadata.gz: 1fa733fe7245f5a4f56e0b2fbd6850e1072c7a637ea20858eb632f7961613a676bef3517d7a4ea5e7ed528f0c42cd4f2e4964ba55fc17069f6458d77de04e6dc
7
- data.tar.gz: a6d70ac9a6b31d97e8183413df4c2eab880d04078eb69e1a6e755d0bb2a8a8e1f190a979703ed50f1f26845fb87d5c1164576ebe8ed3e6922a6ec426b35b0fda
6
+ metadata.gz: 68c94b947c57dad69a404252a25bfadd0500d574d5693a505d740095621b1d197c012cacf190935385e7826a89bc849e417cc8f7601416dfe21eb7f8f0a64047
7
+ data.tar.gz: 4c7721dcce2d857aa80e39f9342e8a9e21814f78a2c64924786b07c51b49a40f5942915b78e9ed2dd7e4ff8d508415ebd0c6f52b0807bb7de4b6737cca48366e
data/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## 0.2.1
10
+
11
+ ### Fixed
12
+ - A bug that prevented the server logging middleware from being initialized
13
+ through chain.add.
14
+
9
15
  ## 0.2.0
10
16
 
11
17
  ### Changed
data/README.md CHANGED
@@ -29,7 +29,7 @@ Create a `config/initializers/sidekiq.rb` and with the following contents
29
29
  Sidekiq.configure_server do |config|
30
30
  config.server_middleware do |chain|
31
31
  chain.add Pliny::Sidekiq::Middleware::Server::RequestId
32
- chain.add Pliny::Sidekiq::Middleware::Server::Log, metric_prefix: 'my-app'
32
+ chain.add Pliny::Sidekiq::Middleware::Server::Log
33
33
  end
34
34
 
35
35
  config.client_middleware do |chain|
@@ -1,6 +1,9 @@
1
1
  module Pliny::Sidekiq::Middleware
2
2
  module Server
3
3
  class Log
4
+ def initialize(_opts={})
5
+ end
6
+
4
7
  def call(worker, job, queue)
5
8
  context = {
6
9
  sidekiq: true,
@@ -1,5 +1,5 @@
1
1
  module Pliny
2
2
  module Sidekiq
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pliny-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guðmundur Bjarni Ólafsson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-06 00:00:00.000000000 Z
11
+ date: 2016-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pliny