eivo-rails-sidekiq 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: e9c5a8a7c8b98d2919617c975143a26fde52dd2c4d6eac0ffb5bdc8fa34d9e8f
4
- data.tar.gz: 0207c17f23e5a8c01045a0e458dc67fad739821516ca58bd09cafc61098becc3
3
+ metadata.gz: f11681c6f7a91f2af9bb5309c81f85bc6145d6f8633fd47f725c181229ce49ff
4
+ data.tar.gz: b08fc23c5a1e20ed3a082281c9f5a8994b2f66079a511028bafe77091d53bd12
5
5
  SHA512:
6
- metadata.gz: 8e54da8308c0bcfa826dba5bec0c195e524f001951add869ad224b0c585177c731ebb06259c1909f2341a2bc590db6d55f6b35e89e3a6b562c192cd9561f6b34
7
- data.tar.gz: 76cb6044d5779166e38adef5f16c6a423cc511feff6e926ff94a7ec65d5a1f1f6f4fb4158817348942ee3b5e77ec17e8896d78a62ba27a863b67cb1a66f524c3
6
+ metadata.gz: 55a8c68458e949825eeeee6b4aa05281fd0c9a40c7b5b37ffcb7fdbfe9b917240cd1e7b7710d8d9c172d607ff83fdbe6ce543fa1ab96d28e11059166c22b60ff
7
+ data.tar.gz: 2470e46cfe593f3a7cb33250b29cbbfd86905b36edd7ddafd224f2cd0eddf65370230f146f344e03318b88a01545ac9ab34988ec8041741f740b27d1781e98b4
@@ -14,7 +14,10 @@ end
14
14
 
15
15
  Sidekiq.configure_server do |config|
16
16
  config.redis = redis_config.dup
17
- config.log_formatter = Sidekiq::Logger::Formatters::JSON.new
17
+
18
+ if Rails.env.staging? || Rails.env.production?
19
+ config.log_formatter = ::EIVO::Formatter.new
20
+ end
18
21
  end
19
22
 
20
23
  ActiveJob::Base.queue_adapter = :sidekiq if defined?(ActiveJob)
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'eivo-rails-sidekiq'
5
- spec.version = '0.1.0'
5
+ spec.version = '0.1.1'
6
6
  spec.authors = ['Jonathan VUKOVICH-TRIBOUHARET']
7
7
  spec.email = ['jonathan@eivo.co']
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eivo-rails-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan VUKOVICH-TRIBOUHARET
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-25 00:00:00.000000000 Z
11
+ date: 2020-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq