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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30a0b9d4ac98fb00be494ece0aee9e9cf5e94a99
4
- data.tar.gz: e96eb2c8304fa71ab7f0e1f9b23bfa16ed5665e0
3
+ metadata.gz: 6578c4b610026f79a2c86dbd7b9cdefc0a742976
4
+ data.tar.gz: 416de1d6c143382c5e41a5ac1d41f0d943eaa43b
5
5
  SHA512:
6
- metadata.gz: 7ea68059705ea7425bc283e6b1862512fe4a158dde4b8913be831c4020cfc654dd975e1534c726f0c2cc2a53653c9650ec8e0dfb5e2ea1c1342183256bc3185b
7
- data.tar.gz: 9d6d4ce53892988c28664d20f7a2355bbf0c1172940866d43c5b83e11a0f272254c8f52eba31f64e01af9d13cdc5c1362663fcb7800913a59d37da0d865304fd
6
+ metadata.gz: 858038d7c6e44d1ec180ee0196d0ed30a677b715dd3568a1f707acad96ae69a8e061f28090e3411922312f4bcd3eb1a3496d651fd5e6dff6c1a65fc5193b9500
7
+ data.tar.gz: 1d4e15f5a244c57ecd63f17520a817f3f2cf596619bfeae97558ac21c9c503c43766c94652bc5ecc94cd2c872b2a5f3c637a681b402c3703970d7d4fff35bbb1
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class AppWorker
3
- VERSION = '1.1.0.rc6'
3
+ VERSION = '1.1.0.rc7'
4
4
  end
5
5
  end
@@ -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, progname, msg| "#{datetime}: #{msg}\n" end
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']
@@ -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 caller[0].split(':')[0] =~ /^(\/mnt\/task)\/([^\/])+.rb$/
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-app-worker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.rc6
4
+ version: 1.1.0.rc7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark