sidekiq-runner 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 +4 -4
- data/lib/sidekiq-runner/sidekiq.god +1 -1
- data/lib/sidekiq-runner/sidekiq_instance.rb +1 -1
- data/lib/sidekiq-runner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b7fa70811b720ebc2ab7a34f674df39ce1f2816
|
4
|
+
data.tar.gz: 61bbd1e7ba1e5b094f0b0b4dd3b9b8f2cef8cde9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e15d46d709d85d15832e1595a0601ffc77c7cc60b71dda140a5d92fa9d2644252c46f84e04e594f9880799f6680a9c0b68b00ba5455c5370479eaa6de1a6f7d
|
7
|
+
data.tar.gz: 9728647c72592024dba383849ded7f4ed3dc658ceb28cb09b944a7926f9314d0518422441b06a12e7dcb3690b009ec2363b546bb6ec746bf5d5c1edbaa29e211
|
@@ -23,7 +23,7 @@ sidekiq_config.each do |name, skiq|
|
|
23
23
|
|
24
24
|
# Working directory has to be set properly.
|
25
25
|
# Be aware that by default, God sets the working directory to / (root dir).
|
26
|
-
w.dir = skiq.chdir || Rails.root
|
26
|
+
w.dir = skiq.chdir || (defined?(Rails) ? Rails.root : Dir.pwd)
|
27
27
|
|
28
28
|
# Determine the state on startup.
|
29
29
|
# If process is running move to 'up' state, otherwise move to 'start' state.
|