Sha256: da542e676ea965107a916946a16a2811abd43220f3d80a04dfde73482ad7449d
Contents?: true
Size: 1.65 KB
Versions: 1
Compression:
Stored size: 1.65 KB
Contents
gem 'rails3-generators' gem 'RedCloth' gem 'acts-as-taggable-on' gem 'da_huangs_ruby_extensions' gem 'casey_jones' gem 'inherited_resources', '1.1.2' gem 'has_scope' stategies << lambda do migration_template 'db/migrate/add_fields_to_users.rb', 'db/migrate/add_fields_to_users' sleep 0.1 migration_template 'db/migrate/create_blogs.rb', 'db/migrate/create_blogs' sleep 0.1 migration_template 'db/migrate/create_galleries.rb', 'db/migrate/create_galleries' sleep 0.1 migration_template 'db/migrate/create_images.rb', 'db/migrate/create_images' sleep 0.1 migration_template 'db/migrate/create_profiles.rb', 'db/migrate/create_profiles' sleep 0.1 migration_template 'db/migrate/create_roles.rb', 'db/migrate/create_roles' user_attr = %w(user_email user_password user_first_name user_last_name user_blog_title user_alias) for attrib in user_attr class_eval "attr_accessor :#{attrib}" send "#{attrib}=", ask("Please enter #{attrib}...") end migration_template 'db/migrate/insert_admin_user_and_roles.rb', 'db/migrate/insert_admin_user_and_roles' route "wheels_resources" class_eval do attr_accessor :bucket, :access_key_id, :secret_access_key end say ("If you have your S3 info handy, put it in now.") for attribute in %w(bucket access_key_id secret_access_key) self.send "#{attribute}=", ask("What's the #{attribute}?") end template 'config/amazon_s3.yml', 'config/amazon_s3.yml' run "git submodule add git://github.com/tylergannon/ckeditor.git public/ckeditor" directory 'public', 'public' gem "will_paginate", :git=>"http://github.com/mislav/will_paginate.git", :branch=>"rails3" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wheels-0.0.16 | lib/generators/wheels/recipes/wheels.rb |