daddy 0.5.27 → 0.5.28

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: 97dfe05969727069b029383685b934f2f11d7dd5
4
- data.tar.gz: 28fae74f2f46ca2d2f11fe25b6d2a614def8b1c3
3
+ metadata.gz: 4d90e6edba15aee3a43fa787d6447271de0af026
4
+ data.tar.gz: 7e650044d32e89727f8b67cbbfa6f9374c1de8c4
5
5
  SHA512:
6
- metadata.gz: f6925467e1de73c4ca26825b9b70d457d9603b2333337e97a128b4147790316b409eee12bb3db6716bec812dfeadbe215cbc4435f92e0494065d601671a41ba6
7
- data.tar.gz: 3b737d748cd7e79d1f85c1865eee329536a53d3abcab9a7b5ad44efea0aba9e9d47bf03cced2ba530d0ff9c47586daf40b61c65dc9c80451a9e0e70419bb7ea2
6
+ metadata.gz: 6f7077920cf66005898f32172251d568ccfbc45678db016b1acc59d49e9103c4b4cfa64f7c727467080c5862fc4b7290c0ac121f6227a31e913cb1619b500fec
7
+ data.tar.gz: c36de8016e7041551c2044f73a391ed4e61ed5b86a0e2c504fe8863639c57ccb88634a481daf8f5f70de9e820c50adb1a50ed8f1e5fcad5ee0c296c7dfd91f54
@@ -25,6 +25,7 @@ module Daddy
25
25
 
26
26
  initializer 'sidekiq' do
27
27
  if defined?(Sidekiq)
28
+ ::Rails.logger.info '[daddy] loading sidekiq configuration'
28
29
  require 'daddy/sidekiq'
29
30
  end
30
31
  end
@@ -3,6 +3,12 @@ redis_url = ENV['REDIS_URL'] || 'redis://localhost:6379/0'
3
3
 
4
4
  Sidekiq.configure_server do |config|
5
5
  config.redis = { url: redis_url, namespace: db_config['database'] }
6
+
7
+ begin
8
+ require 'sidekiq/scheduler'
9
+ rescue LoadError
10
+ puts 'sidekiq-scheduler is not loaded.'
11
+ end
6
12
  end
7
13
 
8
14
  Sidekiq.configure_client do |config|
@@ -1,3 +1,3 @@
1
1
  module Daddy
2
- VERSION = '0.5.27'
2
+ VERSION = '0.5.28'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daddy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.27
4
+ version: 0.5.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-03 00:00:00.000000000 Z
11
+ date: 2017-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara