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 +4 -4
- data/lib/daddy/rails/railtie.rb +1 -0
- data/lib/daddy/sidekiq.rb +6 -0
- data/lib/daddy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d90e6edba15aee3a43fa787d6447271de0af026
|
4
|
+
data.tar.gz: 7e650044d32e89727f8b67cbbfa6f9374c1de8c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f7077920cf66005898f32172251d568ccfbc45678db016b1acc59d49e9103c4b4cfa64f7c727467080c5862fc4b7290c0ac121f6227a31e913cb1619b500fec
|
7
|
+
data.tar.gz: c36de8016e7041551c2044f73a391ed4e61ed5b86a0e2c504fe8863639c57ccb88634a481daf8f5f70de9e820c50adb1a50ed8f1e5fcad5ee0c296c7dfd91f54
|
data/lib/daddy/rails/railtie.rb
CHANGED
data/lib/daddy/sidekiq.rb
CHANGED
@@ -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|
|
data/lib/daddy/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|