Skip to content

Latest commit

 

History

History
74 lines (45 loc) · 2.36 KB

README.md

File metadata and controls

74 lines (45 loc) · 2.36 KB

Gem Version Build Status Coverage Status Dependency Status

SchemaMonkey::Padrino

Installs SchemaMonkey into a Padrino app--and with it will come all the ActiveRecord extensions based on it that you have included in your app.

Installation

In your application's Gemfile

gem "schema_monkey_padrino"

Usage

In your config/database.rb

require 'erb'
require 'active_record'
require 'schema_monkey_padrino'

YAML.load(...)

In your Rakefile:

require 'schema_monkey_padrino/rake'

Compatibility

SchemaMonkey::Padrino 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::Padrino? 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::Padrino 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.