* Initial automatic cleanup with rubocop * Fix syntax error introduced by rubocop * Cleanup seeds file * Cleanup lib folder * Exclude bin folder because it contains auto generated files * Make Rubocop a little bit more chatty * Block length should not include comments in the count * Cleanup config folder * Cleanup specs * Updated Rubocop version and generated a todo file * Fix broken ArticlesApi spec * Fix tests * Restored rubocop pre-commit hook
7 lines
448 B
Ruby
7 lines
448 B
Ruby
S3DirectUpload.config do |c|
|
|
c.access_key_id = ApplicationConfig["AWS_S3_VIDEO_ID"] # your access key id
|
|
c.secret_access_key = ApplicationConfig["AWS_S3_VIDEO_KEY"] # your secret access key
|
|
c.bucket = ApplicationConfig["AWS_S3_INPUT_BUCKET"] # your bucket name
|
|
c.region = nil # region prefix. _Required_ for non-default AWS region, eg. "eu-west-1"
|
|
c.url = nil # S3 API endpoint (optional), eg. "https://#{c.bucket}.s3.amazonaws.com/"
|
|
end
|