lib/cloud-crowd.rb in documentcloud-cloud-crowd-0.1.0 vs lib/cloud-crowd.rb in documentcloud-cloud-crowd-0.1.1
- old
+ new
@@ -3,50 +3,51 @@
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__))
# Common Gems:
require 'rubygems'
gem 'activerecord'
-gem 'daemons'
gem 'json'
gem 'rest-client'
gem 'right_aws'
gem 'sinatra'
+gem 'thin'
# Autoloading for all the pieces which may or may not be needed:
autoload :ActiveRecord, 'activerecord'
autoload :Benchmark, 'benchmark'
-autoload :Daemons, 'daemons'
autoload :Digest, 'digest'
autoload :ERB, 'erb'
autoload :FileUtils, 'fileutils'
autoload :JSON, 'json'
autoload :RestClient, 'restclient'
autoload :RightAws, 'right_aws'
autoload :Sinatra, 'sinatra'
autoload :Socket, 'socket'
+autoload :Thin, 'thin'
autoload :YAML, 'yaml'
# Common code which should really be required in every circumstance.
require 'cloud_crowd/exceptions'
module CloudCrowd
# Autoload all the CloudCrowd classes which may not be required.
- autoload :App, 'cloud_crowd/app'
autoload :Action, 'cloud_crowd/action'
autoload :AssetStore, 'cloud_crowd/asset_store'
autoload :Helpers, 'cloud_crowd/helpers'
autoload :Inflector, 'cloud_crowd/inflector'
autoload :Job, 'cloud_crowd/models'
+ autoload :Node, 'cloud_crowd/node'
+ autoload :NodeRecord, 'cloud_crowd/models'
+ autoload :Server, 'cloud_crowd/server'
autoload :Worker, 'cloud_crowd/worker'
autoload :WorkUnit, 'cloud_crowd/models'
- autoload :WorkerRecord, 'cloud_crowd/models'
# Root directory of the CloudCrowd gem.
ROOT = File.expand_path(File.dirname(__FILE__) + '/..')
# Keep the version in sync with the gemspec.
- VERSION = '0.1.0'
+ VERSION = '0.1.1'
# A Job is processing if its WorkUnits in the queue to be handled by workers.
PROCESSING = 1
# A Job has succeeded if all of its WorkUnits have finished successfully.
\ No newline at end of file