Diesel gives your Rails engines power.
Ruby
Latest commit dae77db Mar 22, 2013 @jferris jferris Deprecate Diesel
* We're not longer using this at all

Resolves #7.
Permalink
Failed to load latest commit information.
bin Use rails generators with the diesel command Jan 10, 2011
features rails 3.2.3 defaults to whitelist attributes and we do mass assignmen… Apr 5, 2012
gemfiles update to use most recent rails versions in appraisals Apr 5, 2012
lib/diesel
.gitignore Fixed gemspec to include .yml files; bump to 0.1.1 Dec 22, 2010
.travis.yml Update Travis configuration to reflect new gemfile Feb 10, 2012
Appraisals update to use most recent rails versions in appraisals Apr 5, 2012
Gemfile Use Bundler gem helpers. Add version file. Nov 11, 2011
Gemfile.lock No more turn in the test application Feb 11, 2012
MIT-LICENSE
README.md Deprecate Diesel Mar 22, 2013
Rakefile
diesel.gemspec No more turn in the test application Feb 11, 2012

README.md

Diesel

Diesel gives your Rails engines power.

Deprecated

Rails engines have greatly improved since the 3.0 days, and we no longer feel that enhancements from diesel are necessary.

Diesel is deprecated and no longer being developed.

Usage

It makes it easier to have your Engine provide generators like:

  • An "install" generator like "rails g clearance:install"
  • A "features" generator like "rails g clearance:features"
  • A "views" generator like "rails g clearance:views"

It makes it easier to test your Engine with Cucumber stories like:

Scenario: generate a Rails app, run the generates, and run the tests
  When I successfully run `bundle exec rails new testapp`
  And I cd to "testapp"
  And I add the "cucumber-rails" gem
  And I add the "capybara" gem
  And I add the "rspec-rails" gem
  And I add the "database_cleaner" gem
  And I add the "diesel" gem
  And I add the "myengine" gem from this project
  And I reset the Bundler environment variable
  And I run `bundle install --local`
  And I successfully run `bundle exec rails generate cucumber:install`
  And I successfully run `bundle exec rails generate myengine:install`
  And I successfully run `bundle exec rails generate myengine:features`
  And I successfully run `bundle exec rake db:migrate --trace`
  And I successfully run `bundle exec rake --trace`
  Then the output should contain "1 scenario (1 passed)"
  And the output should not contain "Could not find generator"

Credits

thoughtbot

Diesel is maintained and funded by thoughtbot, inc

Thank you to all the contributors!

The names and logos for thoughtbot are trademarks of thoughtbot, inc.

License

Diesel is Copyright © 2012 thoughtbot. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.