fanforce-app-worker 1.1.0.rc6 → 1.1.0.rc7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fanforce/app_worker/version.rb +1 -1
- data/lib/fanforce/app_worker/worker.rb +1 -1
- data/lib/fanforce/app_worker.rb +1 -5
- 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: 6578c4b610026f79a2c86dbd7b9cdefc0a742976
|
4
|
+
data.tar.gz: 416de1d6c143382c5e41a5ac1d41f0d943eaa43b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 858038d7c6e44d1ec180ee0196d0ed30a677b715dd3568a1f707acad96ae69a8e061f28090e3411922312f4bcd3eb1a3496d651fd5e6dff6c1a65fc5193b9500
|
7
|
+
data.tar.gz: 1d4e15f5a244c57ecd63f17520a817f3f2cf596619bfeae97558ac21c9c503c43766c94652bc5ecc94cd2c872b2a5f3c637a681b402c3703970d7d4fff35bbb1
|
@@ -6,7 +6,7 @@ class Fanforce::AppWorker
|
|
6
6
|
@@redis = {}
|
7
7
|
@@log = Logger.new($stdout)
|
8
8
|
@@log.datetime_format = '%H:%M:%S'
|
9
|
-
@@log.formatter = proc do |severity, datetime,
|
9
|
+
@@log.formatter = proc do |severity, datetime, prog_name, msg| "#{datetime}: #{msg}\n" end
|
10
10
|
|
11
11
|
def self.iron_token
|
12
12
|
@@iron[:token] || ENV['IRON_TOKEN']
|
data/lib/fanforce/app_worker.rb
CHANGED
@@ -8,14 +8,10 @@ require_relative 'app_worker/worker'
|
|
8
8
|
require_relative 'app_worker/errors'
|
9
9
|
require_relative 'app_worker/runner'
|
10
10
|
|
11
|
-
|
12
11
|
########################################################################################################################
|
13
12
|
|
14
13
|
# The following is run if file is required from an IronWorker
|
15
|
-
if
|
16
|
-
worker_root_dir = $1
|
17
|
-
loader_filename = $2
|
18
|
-
|
14
|
+
if ENV['HOME'] == '/mnt/task'
|
19
15
|
require 'fanforce/app_factory/load_iron_worker'
|
20
16
|
Fanforce::App.load(nil)
|
21
17
|
|