rom-sql Join the chat at https://rom-rb.zulipchat.com

Gem Version Build Status Code Climate Test Coverage Inline docs

SQL support for rom-rb.

Resources:

Installation

Add this line to your application’s Gemfile:

ruby gem 'rom-sql'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rom-sql

Docker

Development

In order to have reproducible environment for development, Docker can be used. Provided it’s installed, in order to start developing, one can simply execute:

bash docker-compose run --rm gem "bash"

If this is the first time this command is executed, it will take some time to set up the dependencies and build the rom-sql container. This should happen only on first execution and in case dependency images are removed.

After dependencies are set container will be started in a bash shell.

Testing

In order to test the changes, execute:

bash docker-compose build gem docker-compose run --rm gem 'rspec'

Stopping the dependencies

In order to stop the dependencies, execute:

bash docker-compose down --remove-orphans --volumes

License

See LICENSE file.