Sha256: fe281f113448680fd0eb083b0134a61c27f2219863e3fd9375432cd8ad31510b

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 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'
gem 'wheels_routes'

stategies << lambda do
  migration_template 'db/migrate/add_fields_to_users.rb', 'db/migrate/add_fields_to_users'
  migration_template 'db/migrate/create_blogs.rb', 'db/migrate/create_blogs'
  migration_template 'db/migrate/create_galleries.rb', 'db/migrate/create_galleries'
  migration_template 'db/migrate/create_images.rb', 'db/migrate/create_images'
  migration_template 'db/migrate/create_profiles.rb', 'db/migrate/create_profiles'
  migration_template 'db/migrate/create_roles.rb', 'db/migrate/create_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 [: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'
  directory 'app', 'app'
  gem "will_paginate", :git=>"http://github.com/mislav/will_paginate.git",
        :branch=>"rails3"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wheels-0.0.5 lib/generators/wheels/recipes/wheels.rb
wheels-0.0.4 lib/generators/wheels/recipes/wheels.rb