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.
In your application's Gemfile
gem "schema_monkey_padrino"
In your config/database.rb
require 'erb'
require 'active_record'
require 'schema_monkey_padrino'
YAML.load(...)
In your Rakefile
:
require 'schema_monkey_padrino/rake'
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
- 0.1.0 - Initial release
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.