GithubHelp home page GithubHelp logo

diesel's Introduction

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.

diesel's People

Contributors

jferris avatar mike-burns avatar mjankowski avatar sikachu avatar weppos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.