require 'sequel'

require 'active_support/core_ext/hash'

require 'optimus_prime/pipeline'
require 'optimus_prime/step'
require 'optimus_prime/source'
require 'optimus_prime/destination'

require 'optimus_prime/adapters/base_adapter.rb'
require 'optimus_prime/adapters/sentry_adapter.rb'

require 'optimus_prime/sources/s3_source'
require 'optimus_prime/destinations/rdbms_writer'
require 'optimus_prime/sources/flurry_helpers/flurry_connector'
require 'optimus_prime/transformers/expand_json'

# Load all Sources and Destinations
Dir[File.dirname(__FILE__) + '/optimus_prime/**/*.rb'].each do |file|
  require file
end

# Load all extend classes
Dir[File.dirname(__FILE__) + '/core_ext/*.rb'].each do |file|
  require file
end

require 'sequel'

require 'active_support/core_ext/hash'

require 'optimus_prime/pipeline'
require 'optimus_prime/step'
require 'optimus_prime/source'
require 'optimus_prime/destination'

require 'optimus_prime/adapters/base_adapter.rb'
require 'optimus_prime/adapters/sentry_adapter.rb'

require 'optimus_prime/sources/s3_source'
require 'optimus_prime/destinations/rdbms_writer'
require 'optimus_prime/sources/flurry_helpers/flurry_connector'
require 'optimus_prime/transformers/expand_json'
require 'optimus_prime/sources/app_annie'

# Load all Sources and Destinations
Dir[File.dirname(__FILE__) + '/optimus_prime/**/*.rb'].each do |file|
  require file
end

# Load all extend classes
Dir[File.dirname(__FILE__) + '/core_ext/*.rb'].each do |file|
  require file
end

Load AppAnnie source before loading AppAnnieProductSales source.
Load AppAnnie source before loading AppAnnieProductSales source.
