###############################################################################
# Copyright 2012 - 2013 American Pharma Technologies LLC. All rights reserved.
#
# WORKING targets the test server for quality assurance principal testing.
# This uses the QUALITY environment for QA testing.
#
# DB PROCESSOR ENGINE
###############################################################################

#==============================================================================
# Platform
#==============================================================================
# the rails environment to run in
set :use_rails, false
set :rails_env, (DESTINATION==0 ? 'stage' : 'quality')

# or enable codeigniter -- mutually exclusive with :use_rails
set :use_codeigniter, true
set :ci_project, 'dbprocessor'
set :ci_env, 'production'
set :ci_encryption_key, 'lQ5SzsF$Za2&w!4ZSrz44!9S2tgV7Y$Z'
set :ci_custom_config, "\
    // This is the sms provider to use
    $assign_to_config['sms_method'] = 'twilio';

    // final failure backup email
    //$assign_to_config['ap_backup_addr'] = 'michael.rusnack@ameri-pharma.com';

    // late data time limits (in days). typically 30 days back/1 day forward
    //$assign_to_config['past_data_time_limit'] = 30;
    //$assign_to_config['future_data_time_limit'] = 1;"

