Sha256: f03e1e88f4034369f662edde05056da2f5ccd6fa2d2fdd77b0842475cf1d0952

Contents?: true

Size: 372 Bytes

Versions: 32

Compression:

Stored size: 372 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'totoro'
# You might want to change this
ENV['RAILS_ENV'] ||= 'development'

root = Dir.pwd
root = File.dirname(root) until File.exist?(File.join(root, 'config'))
Dir.chdir(root)

require File.join(root, 'config', 'environment')

worker_class = ARGV[0]

::Worker.const_get(worker_class.to_s.camelize).new.execute

Version data entries

32 entries across 31 versions & 1 rubygems

Version Path
totoro-1.0.7 bin/totoro
totoro-1.0.6 pkg/totoro-1.0.5/bin/totoro
totoro-1.0.6 bin/totoro
totoro-1.0.5 bin/totoro
totoro-1.0.4 bin/totoro
totoro-1.0.3 bin/totoro
totoro-1.0.2 bin/totoro
totoro-1.0.1 bin/totoro
totoro-1.0.0 bin/totoro
totoro-0.6.1 bin/totoro
totoro-0.6.0 bin/totoro
totoro-0.5.7 bin/totoro
totoro-0.5.6 bin/totoro
totoro-0.5.5 bin/totoro
totoro-0.5.4 bin/totoro
totoro-0.5.3 bin/totoro
totoro-0.5.2 bin/totoro
totoro-0.5.1 bin/totoro
totoro-0.5.0 bin/totoro
totoro-0.4.1 bin/totoro