Module: BarnyardHarvester

Defined in:
lib/barnyard_harvester/mongodb.rb,
lib/barnyard_harvester.rb,
lib/barnyard_harvester/hash.rb,
lib/barnyard_harvester/queue.rb,
lib/barnyard_harvester/redis.rb,
lib/barnyard_harvester/version.rb,
lib/barnyard_harvester/dynamodb.rb,
lib/barnyard_harvester/hash_queue.rb,
lib/barnyard_harvester/generic_queue.rb,
lib/barnyard_harvester/mongodb_helper.rb

Overview

require “lib/barnyard_harvester/mongodb_helper”

Defined Under Namespace

Classes: AddQueue, Barn, ChangeQueue, DeleteQueue, GenericQueue, MongoDbHelper, Queue, Sync

Constant Summary collapse

ADD =
"add"
CHANGE =
"change"
DELETE =
"delete"
DEFAULT_REDIS_SETTINGS =
{:host => "localhost", :port => 6379}
QUEUE_FARMER =
"barnyard-farmer"
QUEUE_HARVESTER =
"barnyard-harvests"
QUEUE_TRANSACTION =
"barnyard-transactions"
QUEUE_CHANGE =
"barnyard-changes"
DEFAULT_MONGO_SETTINGS =
{
    :host_list => "localhost:27017",
    :collection => "test_collection",
    :db => "test_db"
}
VERSION =
"0.0.13"
DEFAULT_DYNAMODB_SETTINGS =
{
    :dynamo_db_endpoint => "dynamodb.us-west-1.amazonaws.com",
    :access_key_id => ENV["AWS_ACCESS_KEY_ID"],
    :secret_access_key => ENV["AWS_SECRET_ACCESS_KEY"]
}