Gem Version Build Status Coverage Status Dependency Status

SchemaMonkey::Rails

Arranges to insert SchemaMonkey into a rails app--and with it will come all the ActiveRecord extensions based on it that you have included in your app.

Installation & Usage

In your application's Gemfile

gem "schema_monkey_rails"

That's all you need to do. When the gem is loaded, it will define a Railtie that will insert SchemaMonkey appropriately.

If Rails::Railtie isn't defined, this gem does nothing.

Compatibility

SchemaMonkey::Rails is tested on:

  • ruby 1.9.3 with activerecord 4.2, using mysql2, sqlite3 or postgresql
  • ruby 2.1.5 with activerecord 4.2, using mysql2, sqlite3 or postgresql

History

  • 0.1.0 - Initial release

Development & Testing

Are you interested in contributing to SchemaMonkey::Rails? Thanks! Please follow the standard protocol: fork, feature branch, develop, push, and issue pull request.

Some things to know about to help you develop and test:

  • schema_dev: SchemaMonkey::Rails uses schema_dev to facilitate running rspec tests on the matrix of ruby, activerecord, and database versions that the gem supports, both locally and on travis-ci

To to run rspec locally on the full matrix, do:

    $ schema_dev bundle install
    $ schema_dev rspec

You can also run on just one configuration at a time; For info, see schema_dev --help or the schema_dev README.

The matrix of configurations is specified in schema_dev.yml in the project root.