Class: Crimagify::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Crimagify::Generators::InstallGenerator
- Defined in:
- lib/generators/crimagify/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_config_file ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/generators/crimagify/install/install_generator.rb', line 7 def copy_config_file copy_file "crimagify_versions.yml", "config/crimagify_versions.yml" copy_file "crimagify_settings.yml", "config/crimagify_settings.yml" copy_file "cropify_cropper.css.scss", "app/assets/stylesheets/cropify_cropper.css.scss" copy_file "jquery.cropify.Jcrop.css", "app/assets/stylesheets/jquery.cropify.Jcrop.css" copy_file "cropify_mixin.css.scss", "app/assets/stylesheets/cropify_mixin.css.scss" end |
#copy_migrations ⇒ Object
15 16 17 |
# File 'lib/generators/crimagify/install/install_generator.rb', line 15 def copy_migrations rake "crimagify:install:migrations" end |