Sha256: 99bf8ccd0fa68d0491dfc0fc30e8c9a27ef057f2b48b51b698a262eed60ecb28

Contents?: true

Size: 1.16 KB

Versions: 14

Compression:

Stored size: 1.16 KB

Contents

# frozen_string_literal: true

require 'pry'

# Manipulate images with minimal use of memory via ImageMagick / GraphicsMagick
#
# exe/rag addons/mini_magick

self.local_template_path = File.dirname(__FILE__)

gac 'base rails 7 image created'

add_controller('home', 'index')
route("root 'home#index'")

force_copy

copy_file 'app/controllers/home_controller.rb'            , 'app/controllers/home_controller.rb'
copy_file 'app/views/home/index.html.erb'                 , 'app/views/home/index.html.erb'

copy_file 'app/views/layouts/_alerts.html.erb'            , 'app/views/layouts/_alerts.html.erb'
copy_file 'app/views/layouts/_navbar.html.erb'            , 'app/views/layouts/_navbar.html.erb'
copy_file 'app/views/layouts/_footer.html.erb'            , 'app/views/layouts/_footer.html.erb'
template  'app/views/layouts/application.html.erb'        , 'app/views/layouts/application.html.erb'

copy_file 'app/assets/images/cat1.jpg'                           , 'app/assets/images/cat1.jpg'
copy_file 'app/assets/images/cat2.jpg'                           , 'app/assets/images/cat2.jpg'
copy_file 'app/assets/images/cat3.jpg'                           , 'app/assets/images/cat3.jpg'

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rails_app_generator-0.2.13 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.12 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.11 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.10 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.9 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.8 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.7 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.6 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.5 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.4 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.3 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.2 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.1 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.0 after_templates/addons/mini_magick/_.rb