Sha256: ea479714c580c74b79f1319695f3beef6499c7d0f49c6d3e064058c7a2cc9610
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
module HasAttached class InstallGenerator < Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def generate_config create_file "config/s3.yml", <<-CONTENT production: bucket: BUCKET_NAME access_key_id: ACCESS_KEY_ID secret_access_key: SECRET_ACCESS_KEY CONTENT create_file "config/styles.yml", <<-CONTENT styles: photo: large: "800x600" CONTENT end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
has-attached-0.1.1 | lib/generators/has-attached/install_generator.rb |