Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Similar to enginex but can generate and setup multiple individual dummy apps for testing your gem
Ruby
tree: 978c80fa99

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
sandbox
test
.gitignore
Gemfile
MIT-LICENSE
README.textile
Rakefile
multiengine.gemspec

README.textile

Enginex

Similar to enginex but can generate and setup multiple individual dummy apps (configured for either Mongoid or Active Record) for testing your gem.

Usage

$ enginex ENGINE_NAME [options]

Example usage

Create a default engine called ‘MyEngine’

@$ enginex my-engine

Dummy apps:

  • dummy-active_record

Create engine named ‘MyEngine’ and dummy apps configured for A.R and Mongoid

$ enginex my-engine --orms mongoid ar

Dummy apps:

  • dummy-mongoid
  • dummy-active_record

Create engine named ‘Demox’ and a single dummy app configured for Mongoid.
Use Rspec as the testing framework for the engine.

$ enginex demox --orms mongoid -t rspec

Dummy apps:

  • dummy-mongoid

Create engine named ‘Demox’ and create dummy apps for cancan and devise (types).
For each type create dummy apps for A.R and Mongoid. Use Rspec as the testing framework.

$ enginex demo --orms mongoid ar --types cancan devise -t rspec

Dummy apps:

  • dummy-cancan-mongoid
  • dummy-cancan-active_record
  • dummy-devise-mongoid
  • dummy-devise-active_record

Use —help to see supported options.

Bugs and Feedback

If you discover any bugs, feel free to send me a message or create an issue on GitHub tracker

MIT License. Copyright 2011 Kristian Mandrup

Something went wrong with that request. Please try again.