Skip to content
项目

关于

Template generator for Ruby on Rails 3 applications

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Rails Templater

Rails Templater is a gem which generates new Ruby on Rails 3 applications the way you want them. Based on your choices, Rails Templater will create an application configured correctly. For example, if you select Mongoid for an ODM and RSpec for your testing framework, Rails Templater will generate all necessary hooks to handle dropping your collections from MongoDB. The project was inspired by ffmike’s BigOldRailsTemplate Rails 2 template project.

Install

gem install rails_templater

Usage

At the command prompt, create a new Rails application using the templater command:

templater myapp_name

Generated Application

Rails Templater provides you with the following choices during application generation:

Database

  • Mongoid as your Object Document Mapper for MongoDB
  • ActiveRecord as your Object Relational Mapper for Relational Databases

Testing

Matchers (optional)

Fixture Replacement

Integration Testing (optional)

Code Coverage

  • RCov (optional, only for Ruby 1.8)
  • CoverMe (optional, only for Ruby 1.9)

JavaScript

Template Engine

Sass Extensions (optional)

  • Compass as your stylesheet authoring framework

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix in a branch.
  • Send me a pull request.

探索相关项目

加载中…