Module: Redshifter
- Defined in:
- lib/redshifter/table.rb,
lib/redshifter/tasks.rb,
lib/redshifter/config.rb,
lib/redshifter/util/s3.rb,
lib/redshifter/version.rb,
lib/redshifter/util/redshift.rb,
lib/redshifter/util/update_table.rb,
lib/redshifter/util/s3_manifest_writer.rb,
lib/redshifter/util/table_config_validator.rb,
lib/redshifter/util/create_or_replace_table.rb,
lib/redshifter/job/update_redshift_table_job.rb,
lib/redshifter/extract_and_update_redshift_table.rb,
lib/redshifter/extract_and_replace_redshift_table.rb,
lib/redshifter/util/extract_and_transform_updates.rb
Defined Under Namespace
Modules: Job, Util Classes: ExtractAndReplaceRedshiftTable, ExtractAndUpdateRedshiftTable, Table, Tasks
Constant Summary collapse
- VERSION =
"0.5.1"
Class Method Summary collapse
Class Method Details
.config ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/redshifter/config.rb', line 9 def config @config ||= Struct.new(:tables, :redshift_username, :redshift_password, :redshift_host, :redshift_port, :redshift_database, :redshift_schema, :aws_access_key_id, :aws_secret_access_key, :s3_bucket, :s3_bucket_region, :heroku_api_key, :heroku_app_name, :temp_directory_path, :table_config_path).new end |
.setup {|config| ... } ⇒ Object
3 4 5 6 7 |
# File 'lib/redshifter/config.rb', line 3 def setup yield config if block_given? load_export_table_definitions config_dynosaur end |