No release in over 3 years
Making Renalware plugin development easier
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 5.2.2
 Project Readme

Maintainability Test Coverage

Engineer

This gem makes developing a Renalware plugin (a Rails engine) a little easier. It does most of the standard Engine initialization including:

  • appending the engine's db/migrate, db/triggers, db/functions and db/views paths to the application's config.paths so that migrations across all engines and the app itself - and any sql definition files referenced in migrations - can be found during a db:migrate
  • loading any config/locale/**/*.yml that exist in the engine.
  • more to follow..

Usage

In your Rails engine add the following to lib/xxxx/engine.rb:

  class Engine < ::Rails::Engine
    isolate_namespace Renalware::Xxxx
    include Engineer::DefaultInitializers
    ...
  end

Installation

Add this line to your application's Gemfile:

gem 'engineer'

And then execute:

$ bundle

Development Tasks

  • Add tests
  • Add a generator to bring in standard files for a new Renalware plugin
  • Look for other Engine boiler-plate code we can move here.

License

The gem is available as open source under the terms of the MIT License.