job_boss 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- data/job_boss.gemspec +1 -1
- data/lib/job_boss/config.rb +1 -1
- metadata +3 -3
data/job_boss.gemspec
CHANGED
data/lib/job_boss/config.rb
CHANGED
@@ -11,7 +11,7 @@ module JobBoss
|
|
11
11
|
@jobs_path = ENV['JB_JOBS_PATH'] || 'app/jobs'
|
12
12
|
@sleep_interval = ENV['JB_SLEEP_INTERVAL'].blank? ? 0.5 : ENV['JB_SLEEP_INTERVAL'].to_f
|
13
13
|
@employee_limit = ENV['JB_EMPLOYEE_LIMIT'].blank? ? 4 : ENV['JB_EMPLOYEE_LIMIT'].to_i
|
14
|
-
@environment = ENV['JB_ENVIRONMENT'] || 'development'
|
14
|
+
@environment = ENV['JB_ENVIRONMENT'] || ENV['RAILS_ENV'] || 'development'
|
15
15
|
|
16
16
|
require 'optparse'
|
17
17
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: job_boss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 7
|
10
|
+
version: 0.7.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brian Underwood
|