Sha256: 9d9eaf1b5b3c68671a6c2694942b21e23103feb181cdc88462c3e9c6607b3e9f

Contents?: true

Size: 729 Bytes

Versions: 5

Compression:

Stored size: 729 Bytes

Contents

require 'logger'
require 'multi_json'
require 'active_support/all'

require_relative 'plugin_worker/version'
require_relative 'plugin_worker/utils'
require_relative 'plugin_worker/worker'
require_relative 'plugin_worker/errors'
require_relative 'plugin_worker/runner'

########################################################################################################################

# The following is run if file is required from an IronWorker
if ENV['HOME'] == '/mnt/task'
  require 'fanforce/plugin_factory/load_iron_worker'
  Fanforce::Plugin.load(nil)

  Plugin = Fanforce::Plugin
  PluginWorker = Fanforce::PluginWorker

  puts 'FINISHED LOADING PLUGIN'
else
  puts "UNKNOWN CALLER: #{caller[0].split(':')[0]}"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fanforce-plugin-worker-2.0.0.rc1 lib/fanforce/plugin_worker.rb
fanforce-plugin-worker-1.6.0 lib/fanforce/plugin_worker.rb
fanforce-plugin-worker-1.6.0.rc3 lib/fanforce/plugin_worker.rb
fanforce-plugin-worker-1.6.0.rc2 lib/fanforce/plugin_worker.rb
fanforce-plugin-worker-1.6.0.rc1 lib/fanforce/plugin_worker.rb